« first day (2183 days earlier)      last day (2756 days later) » 

2:04 PM
mk
 
War
soz ... buried in complexity on whiteboards for a bit there
@Nathvi we aren't up to that scale yet, but i suspect that's where it will end up
@Nathvi I have a complex tree on process steps that make up the business process, represented as rows in the database, with related configuration information
from that data I can construct the business process
 
@War, so it's a decision tree
 
War
think of it like saying "step 1 of type ... with property values of ... and inputs given are ... outputs ..."
@Nathvi decision trees are part of what it can do
 
@War outlook rules :D
 
So, it's more of a dynamic state machine
where you can load in custom logic
 
War
2:08 PM
it's doing things like transoforming data, validation, appending data from systems, pushing data to systems, security checks, making remote and local api calls, templating and sending emails auditing, logging, ect ect ect
@Nathvi yeh that's probably a good / better description of it
it basically allows me to post anything to a single endpoint and have that figure things out and produce valid invoice data in our system
we can then use it for rules to process various events in the system too
or for things like producing exports / reports in some way
One of the things i haven't got round to yet is adding user driven steps in to the processes i build
so the process runs up to a user step then waits for the user to do something, then carries on
 
So, is it workflow software?
 
War
yeh that's what i think of it as
that's how I tend to describe it
 
gotcha
I used to work for a company that did that
for financial stuff
now I'm working in automation
 
War
I built this in a week ... and it's really interesting stuff
 
sounds like it!
 
War
2:12 PM
this is financial stuff too :)
 
hedge funds?
 
War
sort of ...
it's for invoice factoring
 
Maybe we worked for the same company
 
War
allows massive companies to not pay their invoices but then small suppliers to get paid for them ASAP
The closest thing i've seen to this was built by a company called bottom line
other than that the only companies doing anything like this are banks and they tend to lock you in to their way of working
we aren't affiliated with any bank so we can do a hell of a lot more
It's crazy powerful stuff
 
humm... maybe not
 
War
2:15 PM
what was the company you previously worked for if you don't mind me asking?
 
I'd rather not say :)
 
War
fair enough ... some don't like to say
I don't mind talking about past roles but usually don't like to offer up my current company name
 
I'm curious, what do you think about doing auto versioning?
I thought of a way to do auto versioning with semver 2.0
or, auto generated factories via t4?
I'm starting a github project for it
I actually have a working version, I just haven't updated it yet
 
War
versioning is an interesting problem ... I tend to allow my build process to dictate the minor parts of my build and then I manually update the major parts
given that a version number is a 4 part value I go with something like ...
{Major}.{Minor}.{tfs Build number}.{date}
 
why do you need the tfs build number and date?
 
War
2:25 PM
adjusting major and minor manually allows us to make key decisions on weather the release constitutes a major or minor change to the codebase
 
If you use semver 2.0, any api breaking changes = major version++
 
War
@Nathvi I don't but they are useful for testing and tracking where assembly code came from
@Nathvi yeh that's a good rule of thumb to follow
 
Hopefully, over time the major versions don't change very quickly
but when you are first building a system, it changes all the damn time
 
War
yeh it's very rare ... i'm working on v3 of our core platform ... its about 10 years old now
 
nice
 
2:45 PM
@War I was doing the same thing 4-5 years ago in python for a company
 
There an easy way to add folder to a project with Add Existing Item
 
War
@ntohl cool ... how did it go?
 
@War shit :D
 
War
lol
 
it was estimated half year work, to rewrite the software in python
 
2:46 PM
why the hell would you want to rewrite the software in python
 
I joined the project after 1 year, and worked on it for half year
because it's functional
and in a workflow You compose
a lot
 
uhh hu
 
War
a year ... LMAO
i've got this working and semi functional in a week
 
Python isn't functional
 
oh
 
War
2:48 PM
when I say functional i mean it in the sense that it works
 
it seemed to me back then >D
 
War
not functional as in the progrmaming methodology
 
I interpret functional, in a programming context, as the programming methodology
damn terms
 
War
another week it'll be in full blown testing, a week after that I should be able to get it in front of a client
 
damn dude, you're pumping out the code
 
2:50 PM
well. I started when there was a template workflow, and create a class which is a workflow instance
 
War
it'll need improving and adding to but it's core will be in place
 
Are you lead dev? @War
 
War
yeh I am
 
how many devs under you?
 
we had to save instances, make it possible to paralelly start them
 
War
2:51 PM
@Nathvi couple in house, a few more come and go outsourcing bits as needed, couple testers and the Technical director (because he just needs managing constantly)
 
we wanted reports about the ongoing workflows. The workflows were saved in mongodb
 
War
@ntohl I built a step that given a razor template and any blob of data could produce and send an email
2 hours work
 
I had to implement database join on python side
1-2 weeks work
dunno
 
War
python ... although I have never used it I get the php vibe from it ... its that toolkit that although there's nothing really wrong with it as such you just can't use it like a real toolkit
this is the vibe I get from both php and python
not sure why
 
php vibe is true. You can import antigravity, and try to fly, but You have to be a pilot to make it work
 
War
2:55 PM
lol
 
nice xkcd reference :)
 
yes
 
you too read the xkcd, how very internet of you
 
few of them. But that python xkcd I remember
 
I think one of my favorite ones is
 
2:56 PM
 
haha
 
@Nathvi so vim user of You :D bro
 
I do actually use VsVim :o
 
I know. me too
 
did I tell you that?
i guess so
 
2:59 PM
yes. We praised it once
 
o yes
sorry, my memory is crap
I'm off to try and figure out this t4 crap
 
anyway... At the end of half year, we were shut off, and the lead dev offered that, whit his mate they will rewrite what we wrote, and will be finished in 2 weeks. The php (symphony) frontend was spaghetti code, unusable
 
War
@Nathvi uh ... i hate t4 templates
 
the backand was fairly usable
 
@War, I'm learning to love / hate them
 
War
3:04 PM
I think things have gotten better but they are bit of a black hole of knowledge you must have
that said I am more and more starting to use razor to template code I dynamically execute
badass!!!
 
fk yus
@War, yeah, t4 isn't very well integrated, or documented
 
War
neither's razor really ... but it just works
lol gotta love it right
 
@Nerdintraining Saying the chat is dead without me? I don't believe this shizzle
 
haha
 
3:07 PM
That is next level geeky
 
@JakobMillah ^(?:\<(?<T>[A-Za-z][\w:.-]*)(?:\s+[A-Za-z][\w:.-]*=(?:"[^"]*"|'[^']*'))*\s*(?<-‌​‌​T>/)?\>|\</(?<-T>\k<T>)\>|(?:[^<&]|&(?:[A-Za-z]+|#\d+|#x[\da-fA-F]+);)+|<!--(?:[‌​^-‌​]|-(?!-))*-->|<!\[CDATA\[(?:[^\]]|](?!]>))*]]>)*(?(T)(?!))$
 
Oh kurwa
 
Anyone know about TransportControls for Media tag? How do I capture the event when a user clicks on "next" for example?
 
hi all I am getting invalid column where the column exist C# MVC Entity
I tried using the ForeignKey attribute
I also tried using virtual. it is a simple nvarchar column
 
@Skullomania, I think we'll need more context. I could be wrong.
 
3:22 PM
ok
[Required]
        [ForeignKey("PrizeCriteria")]
        public virtual string PrizeCriteria { get; set; }
so there is my issue in a nutshell
 
inb4 batman
 
its an nvarchar column
it shouldn't be any different to read than any other column
it should be public string PrizeCriteria {get; set;}
@KendallFrey what?
 
N/A N/A N/A N/A batman!
 
yes...some people sadly did not get prizes
so it was not applicable
@KendallFrey any clue as to why I am getting the error?
 
3:30 PM
none
 
@Skullomania, I'm looking at this and I don't see it yet (the problem) so I wonder if this is a red herring. The problem may actually be somewhere else.
 
good (ugt) night
 
Anyone here have been using RDP a lot ? i been using it many hours a day sometimes ... since 3 year ago, but every once in a while it wont show up when i click it ! you can just see the process in Task Manager but it wont start ! u click it 10 time ! u see 10 process in task manager but nothing start :| then it fix after 10 ~ 30 min :D
anyone got any idea wtf is wrong ? it happen rarely so i never tried solving but it still happens and is a pain xD
 
@BrandenBoucher I am not sure...some research is suggesting that the column may have nulls even though it is NOTNULL
 
I'm not sure in this situation if that is not allowed for an FK in edm
 
3:40 PM
@Pedram I use Remote Desktop every day, but I've never had anything like what you describe.
 
@Pedram have you tried restarting explorer from the task manager
also what version of windows?
 
@KendallFrey It's really weird and i have no idea what cause this either, while it being like this and not working, i can still use the free Orange Remote Desktop from the Microsoft Store tho, that will work
but built in blue one wont show up lol
@Skullomania i tried closing the RDP process and restarting but not Explorer, and i think it happened to me on 8.1 too but right now i am win10
Welp ! xD I Restarted Windows Explorer and run it back :D but now it is not coming back :D i can still use browser ofcourse :D but no startbar :D just a blackbar xD
i guess i just do a windows restart, that should fix all
 
I admit to never installing 8 or 10...
i am a dino
 
hahaha
 
XP and 7 were great...everything else scares me
 
3:47 PM
10 is quite good
not as stable as 7 but some really awesome features
I may never need multiple monitors again
 
but multiple monitors are awesome!
 
Multiple desktop mode is great
i can have a game desktop and a work desktop and a test desktop
10/10
inb4 - "my privacy"
 
4:02 PM
Search about 30min for a solution to my problem online. Finally found someone asking exactly what I want to know. But no replies... So the search continues...
 
ok I fixed the one issue but I have another
 
Hey everyone
 
@mikeTheLiar So freaking relevant. I swear even microsoft forgot all about this stuff.
 
it states that the bit column does not exist...it wants to add it but I know its already there
 
4:10 PM
I think I broke Visual Studio or my project or something
Keeps telling me I have versions of dependencies I don't have
 
hmmm
Dependency conflict. BigTree 1.0.0 expected Microsoft.AspNetCore.Mvc >= 1.0.0 but received 1.0.0-rc2-final BigTree C:\Users\Brian\Documents\Visual Studio 2015\Projects\BigTree\src\BigTree\project.json
after changing project.json references back to 1.0.0 from 1.0.0-rc2-final
any ideas how to fix that warning?
 
I have something similar it expects 1.2.0.0 yet 1.2.0.0 is never mentioned in the installed packages in visual studio, the csproj file, or the packages folder under the solution directory.
 
NO! Almost thought I found another forum that might have an answer, but it was the same guy. Posted 5 hours later ;-;
 
Just have to give up, go home.
I'm pretty much out of ideas myself
I've full on grep'ed my project folder and can't find these goshdarn references :|

https://stackoverflow.com/questions/39921589/filenotfoundexception-while-compiling-assembly-with-roslyn
 
4:27 PM
I just figured out that you can add a nuget package to every project in a sln
gahhh
 
Yeah
 
that would have been really useful
 
"play media in mediaelement uwp" - billions of results
"set next song for mediaElement uwp" - 0
 
It legitimately returned zero results, actually surprised me
 
4:51 PM
Woooo fixed it
 
nice
 
Just good ole' VS being a nuissance
 
mmhum
 
I have a database with a table containing "Tags".
The tags are currently kind of grouped into different types (not explicitly though). When the database was first seeded, "Campus" Tags were inserted with identity (1-6), then "College" tags with Identity (7-22), etc.

So now if a user comes and asks us to create a new "Campus" tag, the only option I see is to Insert a new row at the end of the table. I cant insert it between other rows because all the Identity IDs are primary keys. So now it wont really be grouped nicely in order anymore.
 
5:59 PM
@Michael No. Yes.
 
6:20 PM
@KendallFrey whats a good way to avoid this?
 
Use something else to group your data, not IDs
 
FK
 
You could also create parent tags.
 
There are parent tags this is how it looks
[ID] ,[DisplayName] ,[DisplayDetail] ,[DisplayCategory] ,[DisplayOrder] ,[Active] ,[ParentID]
@mikeTheLiar @KendallFrey Wait, I think you may have misunderstood what I was saying. The Identity column isnt actually responsible for the grouping.
But it so happens that when the data was seeded, all the like data was inserted together
 
gd
 
6:35 PM
@Nathvi gd?
 
idfk
 
god damn, is what I think that means
 
urc @Tomwa
 
Anyone know how to unload an appdomain?
 
u r correct
fkfkfkfk
 
how do I use the AND operator in a linq where clause?
 
17
Q: LINQ Where with AND OR condition

ZeusSo I have managed to get this query working List<string> listStatus = new List<string>() ; listStatus.add("Text1"); List<string> listMerchants = new List<string>() ; listMerchants.add("Text2"); from item in db.vw_Dropship_OrderItems where listStatus.Contains(item.StatusCode) ...

 
@RyanTernier
I am using the following

from p in db.UnitedWay_KDMC2Pledges
                            where p.DonationYear.Equals("2017") &&
                            p.GotPrize.Equals("True") // bit/boolean
                            select p;
what is the difference?
 
Don't even bother with query syntax, kthx
 
the issue I see is with the single query of the bit field
but I also tried .Equals(1) and ("1")
The error I get is DbComparisonExpression requires arguments with comparable types.
 
7:02 PM
What about p.GotPrize?
 
I fixed
the field is a boolean so I needed to do p.GotPrize == true
 
1 min ago, by Kendall Frey
What about p.GotPrize?
comparing to true is redundant and stupid
 
why so? its not always set to true. It can also be false
 
Every time you use boolean literals, Eric Lippert punches a kitten. Try to keep it to a minimum.
 
7:05 PM
I am using it as a way to turn things off an on
 
@Skullomania in which case comparing to true is STILL FALSE
 
@Skullomania because it's already a boolean condition
if(thing == true) is the same as just saying if(thing)
if(thing != true) == if(!thing)
 
you might as well do p.GotPrize == true != false != true == false
 
so help me understand why it is redundant if the statement" where p.GotPrize == false" returns nothing and "where p.GotPrize == true" returns the desired results
don't insult..educate
 
What does A == true return if A is true?
 
7:08 PM
This reminds me of one the most useless pieces of programming I've ever seen. It was so bad that it was offensive.
bool Reverse(bool b)
{
    bool ret = false;
    if(b == true)
    {
         ret = false;
    }
    else if(b == false)
    {
        ret = true;
    }
    return ret;
}
 
in the database you have a Bit field
bits are wither off or on
correct?
 
@mikeTheLiar I'll never forget System.LOGIC.Bijunction
 
If great for when you're programming with a keyboard that doesn't have a ! key
 
@Skullomania yeah, and in C# they translate to bools which are true or false
 
right
 
7:09 PM
fkfk
god damn t4
 
Maybe a better question is, can you think of a value for A where A == true is different than A?
 
so my other application sets a value in the database to either true or false
the 1 or the 0 true or false will always return...or atleast in my experience
 
Fun fact: == true is so pointless that the compiler will optimize it out even with optimizations disabled
 
ID NAME ISTRUE
1 FOO 0
2 BAR 1

@KendallFrey which will return true?
link:http://stackoverflow.com/a/6360037/1800891
 
@KendallFrey - Really? But what about my implicit == operator that I overloaded to return !value?
 
7:15 PM
You broke C#? I'd like proof of that please
@Skullomania I don't understand what you're asking.
 
@KendallFrey - I would show it to you but it is Friday.
 
mm hmm
 
I am simply saying that if you are looking for a way to exclude false values you need to tell sql not to only look for true. Are you suggesting I instead say where p.GotPrize !=false
 
no, jesus christ
 
That is some impressive unwillingness to listen.
 
7:18 PM
== true is redundant. You can simply select that bit of code and press delete
 
@Skullomania - If you are using where GotPrize == false, and it returns no elements, then you had no elements with .GotPrize that was false. I don't see how the count of GotPrize elements with true would have anything to do with that.
 
I see perhaps I am explaining it wrong
 
!!giphy trainwreck
 
@KendallFrey - How did you get familiar with the IL instruction set?
 
7:23 PM
I read the docs
And I read existing code
 
I have an donation application that allows users to donate and based on their donation amount they may get a prize or not
 
14 mins ago, by Kendall Frey
Maybe a better question is, can you think of a value for A where A == true is different than A?
 
the purpose of the bit field is so that my admins can check off those who received a prize when they come to pick it up
@MorganThrapp do you have something to add?
or are you just here to troll
 
7:27 PM
@KendallFrey - Do you have a link for it?
 
nope, that was a long time ago
 
with a face like that, I would say he's always here to troll
 
One thing I'd suggest is the Opcodes enum
 
@Nathvi I troll with the power of floof!
 
7:28 PM
@TravisJ yeah, that
 
wut
 
@KendallFrey - Thanks :)
 
he doesn't know
hes here to copy and paste others remarks
 
@MorganThrapp - We troll with the power to remove your messages and kick you from the room.
 
That's some hardcore trolling
 
7:29 PM
#firstworldproblems
 
ung
 
I didn't realize I was trolling, sorry. Thought I was making a joke about having a cat on my face.
 
ung
Honestly have no idea how you are trolling either
 
And trying to get enough information to actually answer the question that Skull has, because as it is, until that question is answered, this conversation is pointless.
 
7:30 PM
Travis is the one trolling
 
Me? I am honestly reading the IL enum atm
 
this is where face expressions and tone of voice would be useful information
 
And I thought the boolean deal was straightforward?
 
this.EmotionStatus = EmotionStatus.Confused;
 
maybe I can encode my voice via some binary
 
7:31 PM
8 mins ago, by Kendall Frey
!!giphy trainwreck
status: still trainwreck
 
But with less train this time
 
and more cowbell
 
cowbell++.
 
@KendallFrey - Have you ever written a program to emit IL?
 
7:34 PM
++cowbell
 
What did it do?
 
@KendallFrey, why did you do that?
 
@TravisJ emitted IL :P
 
jebus christo
 
hah
 
7:34 PM
fak
 
It was a brainfuck compiler
 
Oh, interesting
 
at some level, every compiler is a brain fuck compiler
 
meaning it's convoluted
idk, I'm just trying to distract myself from working with t4
 
7:36 PM
brainfuck compilers are the opposite of convoluted
this is the reason brainfuck was created
 
t4 is the definition of brain fuck
I just assumed all compilers were convoluted messes
 
I would imagine Roslyn is fairly complex.
 
@Nathvi brainfuck can be compiled to C with a simple string replacement
I think it's on the wikipedia page
 
The conversion probably isn't as complicated as the optimizations that compilers do.
 
"As the name suggests, brainfuck programs tend to be difficult to comprehend"
from wiki
 
7:48 PM
ServiceController.Start() is throwing "Cannot start service MyService on computer '.'." How do I go about diagnosing this? Visual Studio is running as administrator, and this is happening in unit tests.
 
What level is the service running on ?
 
level?
the final boss level, I reckon
 
permission level
 
I have no idea
 
hint for anyone deploying asp.net core over git to Azure: if npm install etc are in the "postpublish" script they may not finish copying over to the live site folder. Try putting it in the "postrestore" script instead.
 
oh that?
should be network service, lemme double check
 
That's always something to check
you using topshelf?
 
If you write services, start using it
because dear god
service dev sucks without it
it's free
 
I've written services fine myself
 
7:53 PM
I guess I'm thinking more about debugging
every time you have to attach to the debugger, fkkkkk
this runs as a console app
 
My service does too
 
you have to attach to a debugger manually every time?
 
humm, i must have been doing something wrong
 
Did you write it as a hybrid?
 
7:55 PM
I didn't write it
 
You can't just F5 any old service
 
nope
it ALWAYS asked me to attach to a debugger
 
but it's a simple bit of code to make it into a console/service hybrid
 
so i was all "fk this,"
how's that?
@KendallFrey, how do you get t4 templates to generate on build? I've been having a fk of a time with it
or is that asking too much?
I feel like vs integration for t4 sucks
 
Use a compile-time template?
We use runtime templates, but I thought compile-time was the default
 
7:57 PM
I just used the plain text template
 
If it doesn't generate at compile-time what does it do then?
 
I have: Blank t4, Simple t4, advanced t4, resuable t4, runtime, and text
nothing
It only generates if I save the .tt file
If I compile the project, nothing will happen. I've been looking all over god's green earth for good tools to do this
tried a few, and failed
 

« first day (2183 days earlier)      last day (2756 days later) »