« first day (2546 days earlier)      last day (2402 days later) » 

1:02 PM
@YvesHenri Yah
 
@RoelvanUden it says it cant implicitly convert IEnumerable<Wheel> to bool (first Where)
the second (inner) Where returns an IEnumerable, not a bool :(
 
@YvesHenri do you want to confirm there are any number of wheels in the componentlist?
 
cars.Where(car => car.Components.Any(comp => comp is Wheel)) then
that is, get all cars which have at least one wheel
 
because to describe your linq query you are doing the following:
 
@milleniumbug this will return all the cars in the database if at least one have a wheel
 
1:08 PM
well, yes
isn't that what you want?
 
@YvesHenri Could you rephrase your query?
Do you want all cars that have wheels?
All cars that have ONLY wheels and no other components?
 
no
I want to get the cars who have a wheel
 
One wheel? Minimum? Exactly?
 
Query2SpokenLanguage => for all cars get me those where car has exactly list of wheel
 
@YvesHenri oh, reread the Q
in that case you're wrong
 
1:10 PM
suppose I have a car without a wheel, and another WITH a wheel. I want to get the car who has the wheel
 
1 min ago, by milleniumbug
that is, get all cars which have at least one wheel
 
but i want a car with 4 wheels
 
it actually does what you want
 
are you sure ?
 
THE WHEEL
HE HAZ THE WHEEEL
THEEE WHEEEEEEEEEEEEEEEEEEEEEEEEEELLLL
 
1:11 PM
i havve autism too @SebastianL
 
omfg
 
it doesnt matter how many wheels it has. if its in the Car's components list, return it
 
@YvesHenri You have 5 cars.
1: No wheels, but a door
2: One wheel, one door
3: Two wheels, one door
4: 4 wheels, no door
5: 5 wheels, 13 doors

Which ones would you like, and which ones are invalid?
 
Which one is a goat?
 
@Metallkiller it should return 2, 3, 4 and 5
 
1:12 PM
4 mins ago, by milleniumbug
cars.Where(car => car.Components.Any(comp => comp is Wheel)) then
 
cars.Where(c => c.Components.Any(comp => comp is Wheel));
 
...i shouldn't have given you that acsii generator
 
returns any cars that have at least one wheel
 
crud you milleniumbug
 
1:13 PM
deal with it :)
 
and crud you to Kierean!
!!giphy Nerd Rules!
 
!!giphy homer win
 
1:14 PM
→ [1 message](rebecca.blackfriday) moved to [Trash can](rebecca.blackfriday)
mehhhh
 
you tried
 
I actually ways going for the one where he shows his middle fingers...
 
@Metallkiller this does return all the cars with all the components, even the "1" car
 
no it fucking doesn't
 
.Any(comp = comp is Wheel) implies that if at least ONE car has a wheel (this is true in your example), Where will succeed and return all the cars
try it @milleniumbug
 
1:16 PM
Where will only return each car where the query succeeds, individually.
 
no, Any returns false and therefore fails the .Where predicate, therefore it will be filtered out
 
@Nerdintraining Say crud me one more time
I dare you
I double dare you
 
if Any returns false and fail the Where, nothing will be returned
 
If you have to cars, one with wheels one without wheels, it will only return the one with wheels
 
Also how did you manage to spell my name wrong, its right there D:
 
1:17 PM
 _______  _______           ______     _______  _______
(  ____ \(  ____ )|\     /|(  __  \   (       )(  ____ \
| (    \/| (    )|| )   ( || (  \  )  | () () || (    \/
| |      | (____)|| |   | || |   ) |  | || || || (__
| |      |     __)| |   | || |   | |  | |(_)| ||  __)
| |      | (\ (   | |   | || |   ) |  | |   | || (
| (____/\| ) \ \__| (___) || (__/  )  | )   ( || (____/\
(_______/|/   \__/(_______)(______/   |/     \|(_______/
3
@Kieran b*tsch
 
Are you testing your new ascii generator or just being annoying?
 
@YvesHenri Wait, in the database?
 
@Nerdintraining how'd you like that apple!
 
savage
 
I'd say apples but im not sure what else would fall under what i said
 
1:19 PM
@mikeTheLiar the latter
 
4 messages moved to Trash can
@Nerdintraining I can get behind this
 
Does that mean you support me?^^
 
Nah, i think he just wants to get behind you
 
It can be two things.
 
haha
 
1:21 PM
@Kieran Aswell, i will shove a granade up your ass next time we play together pirate
^^
 
I'D LIKE TO SEE YOU TRY
 
threaten me with a good time
 
I know you'd like THAT
 
@YvesHenri what about you try it
 
Aswell why the crud is the crud me pinned on the starboard ?
 
1:22 PM
2 mins ago, by mikeTheLiar
@Nerdintraining I can get behind this
 
@mikeTheLiar you haven't beem here in the morning today.
 
"Morning" according to whose time zone?
 
Ahh
@mikeTheLiar Zentral central European i think
 
> Zentral
 
:'(
 
1:24 PM
inb4 triggered
 
xDDD
#germantourret
 
DID YOU JUST ASSUME MY TIME ZONE
 
YES I DID
 
mine is GMT +20
 
mine is craft
 
@RoelvanUden how'd you find a video of steffwi?
 
@mikeTheLiar !!magic
 
@MohamedAhmed al qahira!
 
!!tell roel magic
 
1:28 PM
@roel (∩ ͡° ͜ʖ ͡°)⊃━☆゚. * ・ 。 ᵀᴴᴱ ᴳᴬᴹᴱ
 
@MohamedAhmed enta men msr?
 
@Nerdintraining ana men El Sharqia :'D
 
I'm here for the flag football
 
1:29 PM
@MohamedAhmed nice
@MohamedAhmed i used to life in kairo :D
 
live*?
 
You know Arabic too
 
@Vap0r same here
:grabs popcorn:
 
In 250 words or less, explain why PHP is the preferred backend language of intellectuals.
 
1:32 PM
@MohamedAhmed ya a bit
 
@Vap0r trolololololo
 
:39467171
 
@milleniumbug hahaha
@Neoares git gud
 
chat doesn't let me
I just wanted to blank
@Vap0r they like $?
 
@Vap0r Because it's simple obviously!
 
1:35 PM
@Neoares lol nice
@RoelvanUden Is that an insult I can't tell anymore lol
I found a solution that I think we can all agree on: phalanger.codeplex.com
 
How about no.
2
We don't want PHP on the CLR now do we
 
there is one application of PHP where it works better than its intended purpose though
 
probably couldn't work as a T4 replacement though
 
1:42 PM
List<int?> has a ?> in it
 
* whistle *
 
@Nerdintraining I'm more surprised with that I knew what it would be without looking at the URL than with the actual content
 
@RoelvanUden yes
@milleniumbug it's a feature
@ntohl so you're saying at this point PHP is better maintained than .NET?
 
@milleniumbug kekekekek
 
@Nerdintraining they're both great applications
 
1:45 PM
@Vap0r I'm saying phalanger is moved to github, where it sais Phalanger is the predecessor of peachpie
Don't go PHP tho
 
@milleniumbug .NET 4.5 added that in so when developers start to question themselves for writing .NET they can just put in a question mark (?)
 
at least I have chicken types
 
@ntohl Can't hear you right now I'm talking to Zend
Since mikeTheLiar much can we vote to give his RO spot to me?
I don't think he'd mind
 
Can we not bring Slack drama in here? Literally the entire reason that we have Slack is to keep unnecessary drama out of this chat room.
 
... Slack?
 
1:52 PM
What happens in Slack stays in Slack
...wait, you have Slack? Can I join in?
 
I'm not on ur slack
 
@Vap0r because who the fuck wants you
jk ilu
 
... no ur right i'm bad
 
in They can take our chat but they'll never take our freedom, Jun 29 at 15:35, by mikeTheLiar
Send an email to coctothorpecastle@gmail.com please include some identifying information if it's not obvious who you are
 
email: coctothorpecastle@gmail.com subject: slack plz content: iz Vap0r
 
1:58 PM
@Vap0r that would be sufficient except fuck you
2
 
Hmmm.
 
Seconded
 
no
thirded
 
This place sucks btw, I hope your slack room isn't as trash
 
2:01 PM
You have no idea @Vap0r
 
I have high sensitivity to anything offensive and insist you refer to me as "xir or xim". Am I still invited?
+1 report
123 to ban Sippy
 
l0l like i use stackoverflow
 
123
Sippy where's your vote?
 
@Vap0r slack is even worse
 
> slack is even worse xir
 
2:03 PM
Slack is where we moved the trash after we got 360 no-scope modded
 
FTFY
 
> TFS appreciation party! :nyan: an unsafe place for general shitposting and nihilist commit messages ¯_(ツ)_/¯ [java-hate] [fgt] [toxy-proxy] [good-dragon][bad-dragon]
 
So...naming things.
I have to parse XML files. Some of these sometimes have one or two CDATA nodes.
 
I know this may be an unpopular opinion so please don't flag me, but terrorists are the worst
 
I now have XmlFileReader, that delegates to a dataExtractor when encountering a CDATA node
 
2:05 PM
@Metallkiller we have something we use for parsing XML files at my place and they work great. There's some intelligent learning functionality baked in too.
 
> XML
> 2017
 
@Vap0r you don't like flags?
 
One sec I'll see if I can find it
 
You probably fucking kneel for the anthem, don't you
 
hahahaha
 
2:05 PM
That's what we use for XML ^
 
It's the time of Vap0r!
 
rekt
 
I'd like to pull the method from the extractor and the pure-xml mathods from teh xmlreader, which are named the same, into their own respective classes, maybe in their own namespace.
For now I have myproject.Node.Xml and .Node.CData
 
2:06 PM
May 5 '16 at 15:17, by BoltClock
THIS ROOM IS OUT OF CONTROL
 
@Metallkiller no I lay down
I plank for the national anthem
 
@Feeds wait what
 
@Vap0r I don't understand what you're getting at
 
doublerect
 
@Feeds Also, I don't know what to do with my life anymore
 
2:07 PM
50 mins ago, by Nerd in training
 _______  _______           ______     _______  _______
(  ____ \(  ____ )|\     /|(  __  \   (       )(  ____ \
| (    \/| (    )|| )   ( || (  \  )  | () () || (    \/
| |      | (____)|| |   | || |   ) |  | || || || (__
| |      |     __)| |   | || |   | |  | |(_)| ||  __)
| |      | (\ (   | |   | || |   ) |  | |   | || (
| (____/\| ) \ \__| (___) || (__/  )  | )   ( || (____/\
(_______/|/   \__/(_______)(______/   |/     \|(_______/
 
@Vap0r Unfortunately, I'm the one considered the intern, and this is my (and a colleagues) project, and my responsibility...
 
@mikeTheLiar please see Metalkiller's response to see what I'm getting at lol
he's an intern
 
@Metallkiller are you an intern or a new guy?
 
string internship
 
@Sippy The latter
 
2:08 PM
Go get a new job
 
Apprentice actially
 
Don't let them force you to make shit
 
@Metallkiller the latter? Talk about a job where you get stepped all over
 
XML is so 2001
 
But I like this program, I can use whatever technology I like
 
2:08 PM
Clearly
Hence XML
 
Quality ^
 
:thinking-face:
why am i here
 
because you level dex
 
Also, I like XML. The predecessor of this program had to parse our custom formatted .txt files. Had to fix that, that sucked. Then the guys creating those files upgraded to xml YAY.
I love XML.
 
oh no it's retarded
 
2:09 PM
> I like XML
 
!!failsafe
 
said no one, ever
 
confirmed rogue AI
 
!!tell metalkiller quote get metalkiller
 
!!miketheliar
 
Aug 16 at 13:13, by mikeTheLiar
I r dum
 
Almost forgot about that, thx
 
LOL
> The predecessor of this program had to parse our custom formatted .txt fils
 
....how did you lose an e by copypasting?
 
2:12 PM
I had to type it out
I removed my right-click so I wouldn't copy-paste code
 
You right click to copy paste?
 
What was I supposed to do remove the "c" key?
So I just remoed the upside down ^ key
 
Yes
 
is it bad code design to use an iterator in a getter?
 
Me after someone removes my "c" key: "I an't believe you've done this"
 
2:14 PM
Sep 8 at 8:19, by Wietlol
"It's not how you copy, it's how you paste that makes you a good programmer."
 
Kinda reflective of the languages, respectively, when you think of it
 
Oh good, you've started to understand this chat room
 
!!votekick Vap0r
 
@Metallkiller That didn't make much sense. Use the !!/help command to learn more.
 
damn
 
2:16 PM
@Vap0r geeeee, I wonder why is that the case
 
Lol and half your commands don't work either
@milleniumbug no clue my dude but it needs to stop
I'm putting my fingers down and taking a stance
 
@Vap0r "I am en exellent # prorammer!"
 
> This user has been automatically suspended for posting inappropriate content and cannot chat for 29 minutes.
@Vap0r yay it stopped
 
@Nerdintraining more like sharpie instead of #
 
Cap thats not nice!
 
hi all
you know in webforms how you could use a script manager and an update panel to hide page refresh, how do I do that with mvc?
for instance I have a login page with video in the background
I want to log the user in but if the user data is incorrect I dont want to reset the page because that restarts the video
any suggestions?
 
> for instance I have a login page with video in the background

Why do you hate people on mobile data connections?
 
I have no idea about mvc or asp.net, so just put the login form inside an iframe and reload that :P
Time to go home, cya guys tomorrow!
 
@SteffenWinkler it is a still image on mobile :)
 
2:34 PM
oh, you are forgiven then ;)
 
@Skullomania Request via JS.
Don't post the formz
 
@RoelvanUden as in using angular?
 
@Skullomania As in using JS.
 
@RoelvanUden sensai have you enjoyed this one already?
 
same
 
3:02 PM
xya
 
@Nerdintraining just stop posting it already... no need to deliberately provoke getting flagged
 
What's a good way to say/I'm looking for a better way to say the following: "all functionality of the software and all database related activities happened within the software"
More background information: I've created an API and I'm giving background description in saying that, before now, any and all functions and database related changes happened in one piece of software. With the introduction of this API, we are no longer bound to this one piece of software and the limitations it comes with etc
Idk if it's self inclusive or something like that.
 
I don't see how "all functionality of the software" doesn't include the database activities.
 
You're right. I am hoping there is some software terminology that simplifies explaining this scenario.
 
3:32 PM
Does anyone have advice on what is best practice for logging errors to db table in sql server? Should I use a specific logging library or ..? Should I create a loggingService to access to db to save errors?
How should I save the errors to db?
 
@Euridice01 log4net is good for that
 
So far, I have a db table to save the log files but it's currently empty
ok I can take a look at log4net
Also are there any good tutorials/resources on how to set up logging properly?
Confession: I never set up logging for any project I worked on :S
and today is the day I need to
so I want to make sure I'm doing it properly
 
user7480455
Hi all
 
I found this awesome video lol: youtube.com/watch?v=2lAdQ_QwNww
 
BREAKING: found the source files
 
3:44 PM
@Daruchini wooohhhoooo ;)
 
user7480455
anyone on today that has added customer error pages to their mvc websites?
 
@SebastianL On an external HDD tucked away on a shelf...
it was never ment to be found
 
4:38 PM
whoo
just completed my Fully MVVM drag and drop canvas library
it works on anything from wpf to xamarin
professor just wanted a simple UML schema, i can only imagine his jaw dropping when he sees i made a program that can make umls
 
Hello guys
 
well infact its so mvvm there isnt a single line of code behind the mainview
except of the initialize function ofc
 
private void Listview_Refreshing(object sender, EventArgs e)
        {
            var item = (e as Details);
this doesn't work
I wanna get values from e
any help?
 
i dont think you can cast event args to Eventdetails
unless that details is some kind of
 
@GeorgeSarcasmGod well done. :)
 
4:43 PM
thanks
i think imma sell this lib for 50 euros
 
How long did it take you?
 
Oh, yes I'm having error. So how could I get the property from e to my variable item?
 
i spend the first day trying to understand what prism and mvvm is
but i got it
from now on im making all my code based on mvvm
even net .core works on viewmodels
 
So it's a drag and drop canvas library. What is that useful for?
 
4:45 PM
drag and drop is like the pinnacle of user interaction
interactive applications i guess
furthermore you wont even find such thing in the internet
good drag and drop that is not a resource hog is hard to find
 
@GeorgeSarcasmGod Have you never heard of neuralink? That's way beyond drag-n-drop :P
 
Awesome, well if there's a link to it I'd like to check it out to learn more about it.
 
no link yet
soon enough there will be
its not an gamebreaking thing, its just the fact
if you write on mvvm, say in on one platform like wpf for example
you can easily move it and scale to Xamarin via xamarin forms
and xamarin supports ios and android which very amazing
 
portable class library
 
and its c# too
plus net. core also works on view models so you can even move it to the web as a web service
@KendallFrey i havent checked it yet, artificial intelligence is on my subject list next year tho
to me its pretty useless for now, minus datamining
ive heard data-miners and AI guys are like the highest paid Computer engineering subcategories
 
4:56 PM
Hey guys I have been redirected here to ask about databases
 
well shit, i best rename the room then
 
CREATE TABLE `Categoria_Articulo` (
	`ID_articulo`	INTEGER,
	`ID_categoria`	INTEGER,
	PRIMARY KEY(ID_articulo,ID_categoria),
	FOREIGN KEY(`ID_articulo`) REFERENCES Articulo,
	FOREIGN KEY(`ID_categoria`) REFERENCES Categoria
);
These foreign keys are okey?
 
room topic changed to C# : General discussions about the c# language and databases I guess | Don't ask if you can ask - just ask your question | gist.github.com - For Easy Code Pasting | stackoverflow.com/help/privileges/flag-posts - Please read the flagging rules before flagging a post as spam | Do not place panini in... questionable places [.net] [asp.net] [asp.net-mvc] [c#] [coreclr] [entity-framework] [linq] [visual-studio] [wcf] [wpf]
@QuicoLlinaresLlorens this question is so vague as to be meaningless
 
or I should put like:
FOREIGN KEY(ID_articulo) REFERENCES Articulo(ID)
 
We can't possibly comment on this without knowing much, much more about your schema.
 
4:59 PM
I only mean that if the Foreign key references
is okey
 
!!???
 
or I should add the PK of Articulo
 
Those definitely look like foreign keys.
 
4:59 PM
> w3schools
 

« first day (2546 days earlier)      last day (2402 days later) »