« first day (2441 days earlier)      last day (2510 days later) » 

10:01 AM
Thanks guys
 
The guiding principle is to always pull from the DB only the data you need - only the rows, only the columns.
 
@SebastianL ur turn brah
 
@Tarma do you have a link to it?
@AvnerShahar-Kashtan var query = "select * from hugeTable"; //we'll filter in the program.
 
10:17 AM
@satibel Even worse. When you use EF, the infrastructure is oriented towards retrieving entire entities. Retrieving "all fields except X and Y" is a pain, since you have to start pulling in anonymous types.
Our main entity is Case, and it has a property called CaseGraph, which can be several megabytes in size. One of the bigger performance upgrades we're working on is extracting the CaseGraph to a different table, so I can pull in Case entities without jumping through hoops in the scenarios where I don't care about the graph.
 
Heyo \o/
 
@AvnerShahar-Kashtan should be easy, create a new "Graph" table , make the id that of the Case table, and move CaseGraph to it. then remove CaseGraph from the Case table.
 
`var oldest = ctx.Database.SqlQuery<int>("SELECT MAX(Age) FROM People");`
`oldest` is `string` holding the raw query, what am I missing?
 
@Nerdintraining I am here to continue
 
@KamilSolecki playing sebastian atm
 
10:23 AM
@satibel Yeah, that's pretty much what we did. Then we rolled it back. :-|
@MohamedAhmed Is this what the debugger is showing you? Or can you see that var really is a string?
Because VS has debugger visualizations that show you a DbRawSqlQuery object's inner query text. But it isn't a string.
 
@AvnerShahar-Kashtan Sorry, the printed oldest is the raw query, not sure what its type is
 
@MohamedAhmed msdn.microsoft.com/en-us/library/…``1%28System.String,System.Obje‌​ct[]%29
It's a DbRawSqlQuery<int>
 
I see its full work mode today
I shall work as well.
 
@AvnerShahar-Kashtan but what's wrong with my code?
 
technically nothing
 
10:27 AM
@KamilSolecki lichess.org/PTpl7gSH if youd like to watch
 
@Nerdintraining who is who?
 
@Nerdintraining gg you got me when i lost the first rook
 
^^
It took me way to long to find that mat possibility
@KamilSolecki i'm black
now i'm white
 
@MohamedAhmed You haven't stated any problem.
Ah, I think I see the problem. oldest doesn't hold the resulting value - it holds the query.
call oldest.First() to get the value from it.
 
Morn all
anyone know how to format a date in SQL server with date and then have 0 for mins sec milliseconds
 
10:34 AM
@AvnerShahar-Kashtan Thanks
 
@MohamedAhmed Think of it this way - the same object is returned from SELECT MAX(Age) and from SELECT AGE - there's nothing in the API that knows that it's a scalar result, not a result set.
So what you're receiving is, effectively, an IEnumerable<int> with just one row.
 
@KamilSolecki i wana do a two way play me 'swell?
 
@satibel yes I have the link "Ask a Question" but i don't make it...It seems to have banned me.. :-( how to resolve it? is it temporary?
the message is
You have reached your question limit
Sorry, we are no longer accepting questions from this account. See the Help Center to learn more.
 
209
Q: What can I do when getting "We are no longer accepting questions/answers from this account"?

ArjanDo not repost the question you were about to ask until you have READ EVERYTHING WE ARE ABOUT TO TELL YOU. While trying to ask a question, one could get: We are no longer accepting questions from this account. See the Help Center to learn more. Likewise, for answers: We are no longe...

 
@Nerdintraining its from yesterday: lichess.org/10XpWZ1w
 
10:39 AM
@AvnerShahar-Kashtan ehanks, I read this...
 
thats my view
@KamilSolecki here i rebuilt it
i dont know what my olan was or even if i had a plan^^
 
@Tarma I think you have made too many low quality questions and then have gathered a lot of downvotes, thus you are prevented from posting, until you make useful contributions (e.g. answers that get upvoted).
 
is it offensive if i post the help vampire link under low quality questions?
 
10:54 AM
yes, someone might get offended, but if it's true, you can post it, IMO.
 
@satibel k thx, if anyone is offended i post the picture afterwards :D
 
ᴵ ᵈᵉᶜˡᶦⁿᵉ ᵃˡˡ ʳᵉˢᵖᵒⁿˢᵃᵇᶦˡᶦᵗʸ ᶦⁿ ᶜᵃˢᵉ ᵒᶠ ᵖᵉʳᵐᵃⁿᵃⁿᵗ ᵒʳ ⁿᵒⁿ⁻ᵖᵉʳᵐᵃⁿᵃⁿᵗ ᵇᵃⁿ ᵃˢ ᵗʰᵉ ʳᵉˢᵘˡᵗ ᵒᶠ ᶠᵒˡˡᵒʷᶦⁿᵍ ᵐʸ ᵃᵈᵛᶦᶜᵉ
 
waiting on 2 now
Sebastian and Kamil^^
 
@Tarma am the same...cant ask a question
 
@satibel Ha, I wish
 
11:08 AM
Good day.
 
@SebastianL Yes, I'm afraid
Please don't do that
An automatic comment with tips on how to improve questions would be much better
Guidance >>>> Ranting
 
@satibel I really, really disagree with that. At least as it's presented.
 
Hi Guys . This is my first chat on stackoverflow
 
Offending people isn't necessary or healthy.
There are many situations where speaking truth is important, even if it offends. But the offense itself is never the goal.
 
I am having 3+ yrs of exp in dotnet . I want to go for certification
 
11:11 AM
Offending people does not cause them to think. It causes them to get angry and defensive. The opposite of the desired result.
@Pavan Why? Do you know of specific jobs that ask for certification, or reward it (with salary bonuses, for instance)?
 
which certification i should go for as my aim is to become tech architect in future
 
Developer certifications are all but useless in most markets I've known.
 
@Avner
Not for job but for demonstrated skills
 
@Pavan I don't know how things go in your location
 
@Pavan I've interviewed people before. I never even looked at a certification on the CV. I wouldn't respect it much if I'd seen it.
 
11:12 AM
I am from India
 
But we're currently actively recruiting and we don't give two damns about the certifications people have.
Although that could be the mindset in Israel
I don't know how things are in India.
 
@Madara thanks
 
Don't listen to advice from people who don't know the state of the industry (a.k.a., usually, parents, friends from other industries etc)
 
Is it good to go for TOGEF at 3 yrs of exp.
 
Ask people near you who work in tech whether or not they care about certifications, and which you should take.
 
11:14 AM
I'm using [SimpleTcp](https://github.com/BrandonPotter/SimpleTCP) to handle user connections within a server application, but I'm struggling to figure out the "best" way to look map `TcpClient` instances (from the lib) to my `User` instances. When `SimpleTcp` receives a message from a client, it fires off an event which I handle, and I'm given the `TcpClient` instance of who sent the message.

Is it really as simple as something like `Dictionary<TcpClient, User>`? That just feels wayyyy to easy to me.
I suck at markdown.
 
@jhmckimm Nah, it's the chat that sucks at markdown
It doesn't process multiline messages.
 
Whyyyyyyy
 
@Pavan In Israel, for most dev (i.e. non-research) jobs, most people won't even care much about your degree. Experience is what counts.
 
@AvnerShahar-Kashtan I weep at the lack of it in the candidates we get every day :(
 
@MadaraUchiha It's a vicious circle. You need a job to gain experience. You get experience when you have a job.
 
11:17 AM
@SebastianL @KamilSolecki your go's
 
@AvnerShahar-Kashtan Or, you know, go online, answer questions on Stack Overflow, make stuff and put them on GitHub, go to meetups, etc.
 
I sidestepped the issue because of my army service. Other people use open-source projects or pet projects to gain experience. Some start with QA or peripheral jobs and move into development.
 
There are plenty of ways to gain experience in tech
 
@Avner Does Israel has opening for Indian .Net developer? :)
 
@Pavan Well, that depends, are you willing to come to Israel convert to Judaism and come to Israel? 😃
 
11:19 AM
@Pavan Israeli companies usually prefer outsourcing, rather than relocating.
Immigration laws are a problem, and it's not easy to bring in workers.
 
@AvnerShahar-Kashtan BTW, are you guys also getting a flood of CVs from people who used to work in binary options/casinos?
 
@MadaraUchiha "To apply for this job, you must have 3 years of experience, familiarity with the relevant technologies, and a willingness to submit to genital mutilation".
 
@AvnerShahar-Kashtan 👍
 
@MadaraUchiha I'm not in hiring in my current job, happily. Why, is the binary options industry in a death spiral? Good.
 
@Avner thanks for info
 
11:22 AM
@AvnerShahar-Kashtan We don't accept people who worked in binary options for more than a few months on principle.
Doesn't matter how good you are.
I know plenty of companies who do the same.
 
Hmpff. Interesting.
 
@Nerdintraining yo move
 
I don't know if I wouldn't accept a candidate, but I would like to hear their explanation on why they stayed so long.
 
@MadaraUchiha 'binary options'?
 
I mean, it doesn't matter how good you are. I don't want to work with you if you have no problem working for a place whose primary business is deceiving people
 
11:25 AM
And, in general, what they think is a programmer's moral responsibility to the code they produce.
Not for the interview. It's just a topic I like discussing. :)
 
@RoelvanUden It's presented as an investment, in truth it's gambling on stocks
 
Oh, gamblers. Great.
 
> While binary options theoretically play a role in asset pricing, they are prone to fraud and banned by regulators in many jurisdictios as a form of gambling
 
@AvnerShahar-Kashtan Soon, including in Israel.
 
@MadaraUchiha Amen.
 
11:27 AM
@AvnerShahar-Kashtan Going to be a discussion about it in the Knesset Monday: themarker.com/markets/1.4192290 (Hebrew)
 
@MadaraUchiha like CFDs?
 
šff
its ultra hot outside
 
So yeah... Mapping TcpClient to User. Just a dictionary? Or is there a more "appreciated" way?
And yeah it is. I have windows open and fans on and I'm nak... Wait...
 
@jhmckimm Dictionaries are time-honored mappers.
@jhmckimm Fans + Naked = Danger.
 
xD
 
11:32 AM
@SebastianL CFDs are what binary options/forex companies are going to use to overcome regulations
But yes, essentially.
 
My current implementation is, umm.
public PlayerSession ByClient(TcpClient client)
{
    return this.sessions.Where(s => s.Client.Client == client).Single();
}
 
@AvnerShahar-Kashtan this is probably closer to what I meant, that was just a quick meme, ^^
@Proxy how many naked beautiful people?
 
to my delight zero
 
@AvnerShahar-Kashtan instructions unclear ...
 
Got... Stuck in ceiling fan?
 
11:36 AM
that^
 
How does that even happen.
I mean, it's probably happened somewhere.
 
Who said anything about ceiling fans?
 
That's the meme.
it's just a meme, bro
 
Ah, I see.
 
WTF did I just watch?
 
@jhmckimm How To Get Your Dick Caught in a Ceiling Fan.
 
wgat tge actual fuck?^^
 
<---- this is me, not clicking on that video.
 
its not rebecca thats for sure
 
11:42 AM
@AvnerShahar-Kashtan that's How To Basic
 
(That's not actually the one I was looking for, but it'll do.)
 
@AvnerShahar-Kashtan be smart. Be like Avner.
 
@jhmckimm just noticed, ittle dew is an homophone of it'll do. x)
 
@KamilSolecki your go's
 
12:25 PM
@KamilSolecki you slow today
 
@AvnerShahar-Kashtan lol btw, just noticed that TheMarker blocks adblock users, but their block is also client-side
So I just disabled JavaScript and the site works fine
 
@MadaraUchiha Startup Nation.
 
@AvnerShahar-Kashtan It's funny how all of these websites work better with JavaScript disabled
Meaning that nearly 100% of the JavaScript they put into the sites is unnecessary at best, and actively against your interests as a user at worst.
 
Anyone else, on occasion, suddenly get a black bar across their chat?
 
@Kramb Yes
And it disappears when you scroll/move the mouse near it?
 
12:29 PM
Yea
 
the ghost of C# Past
 
Glad I'm not the only one. Although I hadn't reported it because it always disappears so quickly.
 
I'll try to inspect next time it happens
 
there is nothing there, it's an artifact of the refresh
 
ah
 
12:30 PM
@MadaraUchiha Hmm, that's both a good observation and an interesting metric - how much of a site's code is in service to the user.
 
@AvnerShahar-Kashtan Usually, very little, especially with publishers
You're a news site, you deliver text and images
There's very little behavior required here
Maybe to play videos (Even that is no longer necessary with HTML5's <video> element)
 
@MadaraUchiha "You're a news site, you deliver eyeballs to ads.
There, fixed that for you.
 
@AvnerShahar-Kashtan Exactly.
 
I've worked in news sites. I know, unfortunately, how it works.
 
@AvnerShahar-Kashtan it's scary how they can identify you over multiple devices
 
12:34 PM
@AvnerShahar-Kashtan I've worked on the other end.
I'm afraid I know all too well how it works.
 
Jjournalists and editors try to write good stories. Desk managers, mostly editors and reporters who've moved up to management, trying to balance their desire for good journalism with the unreasonable demands from upper management to make their sections profitable.
 
News sites are the least worst in this case
 
(I worked there as a journalist, just to be clear, not as a programmer)
It's ridiculous, that an editor is charged with making his news section profitable.
 
"7 Things You've Never Imagined About Bananas, With 14 Pages And 7000 Ads"
I don't understand how there's any business to these sites.
 
Because humans love lists
 
12:36 PM
I just read titts @Kramb
that made me happy
 
lmfao
 
I read a good article on Medium about how those link-grids at the bottom of those sites work, moving traffic from site to site.
Can't remember the title.
 
@KevinMaxwell your' question is gone?
 
@AvnerShahar-Kashtan Safari already blocks 3rd parties, as does Firefox in private browsing mode
Chrome soon too
It is my hope that such ad abusing sites would disappear like ye toolbars and popups of olde.
 
Yeah, though I don't like the fact that the mechanism for it is for Google, an ad company, deciding which ads I get to see and which I don't.
 
12:40 PM
@AvnerShahar-Kashtan It's an easy decision for me
None :D
 
Yeah, uBlock does the job.
 
I can understand their decision though
 
I hope it will be like Apple's no-Flash policy.
 
They can't hold this off for much longer, so they might as well surf the wave and lead it to some favorable outcome for them.
 
Yeah, it was a self-serving decision to get people to write iOS-native apps rather than building cross-platform Flash apps.
But Flash was a cancer on the industry and it needed that kick to go off and die.
 
12:42 PM
@AvnerShahar-Kashtan Nah, it was because they couldn't implement a Flash runtime that didn't critically hurt performance
And they couldn't implement it in a way in which their UI would remain smooth and silk and based on their guidelines
 
@MadaraUchiha Yeah, because Flash was crap. It was crap on any platform. It was crap with Adobe's code and it was crap with Google's code. It was crap with a goat. It was crap on a boat.
 
@AvnerShahar-Kashtan Yup
Worth noting that Flash used to be amazing
It was when Adobe bought it and took a huge dump on it that it became cancerous.
 
Yeah, and like IE6, once it became the de-facto standard, Adobe dropped any pretense of making an effort.
 
why must you be so mean to flash, it was a necessary evil in the evolution of web dev
 
12:47 PM
@misha130 I don't think it was evil at all
I think that a large company took something good and shat all over it
 
It's evil.
 
a necessary "bad"?
 
Sounds like a few companies I know
 
Do they start with A and O and M?
 
orange?
 
12:49 PM
@jhmckimm Yup, yup and mega yup.
@misha130 Oracle, probably.
 
Oracle
 
ah
 
Oracle. Shat on Java. Shat on MySQL. Shat on everything.
 
yes but its amazing that it still exists and prospers
 
@misha130 I wouldn't say Java "prospers"
 
12:49 PM
oracle shat on it all
 
tbh, Java was already shit. xD
lol jks
It's "okay"
 
It's alive, sure, but I don't think it's gaining a great many new users
Not at the rate that JavaScript/TypeScript and more recently .NET Core are.
 
JS makes me want to bash my brains out.
I hate how it's being adopted through Node.Js and the likes.
 
@jhmckimm How so? I think JS is a really expressive and powerful language, with a slightly larger number of gotchas than the other mainstream languages
 
12:51 PM
It feels horrible to write, it feels horrible to use, it feels horrible to run.
 
those stats dont mean much though
 
I'm one for logical evaluation and stuff - it can get stuff done.
But if it doesn't feel nice to use, then I'm not going to use it.
Thankfully I have that option.
 
@jhmckimm I disagree on all 3 counts
 
shrugs - Just my opinion.
 
But I'm sensing we're entering into the realm of religious debates, so ok :P
I do like TypeScript a lot though
 
12:53 PM
Not even religion. It's a question of experience. When I first started writing JS, I hated it. But that's because I expected it to be C#.
 
I think that the development experience with it is very good.
 
@MadaraUchiha ts is the bomb
 
TS is a solution to the symptom, not the problem.
 
@jhmckimm What do you feel is the problem?
 
JS sucks.
 
12:53 PM
WASM might change things. Might not.
 
WASM. <3
 
@jhmckimm ...
 
its for games though
 
Is there an actual argument there somewhere?
Or is it just the same irrational hate I feel towards Microsoft?
 
@misha130 Games were the trigger. But if it catches on, it'll be like IL - write in whatever language you want, run the WASM bytecode.
 
12:55 PM
sure but I am looking at statistics and 66% of the devs know JS
 
I know a guy who's taken the time to learn and use Emscripten
It's a pretty amazing thing
 
It's the same irrational hate.
 
so its like who is this niche audience we are going for
 
1
Q: How to create a cross reference check?

Kevin MaxwellTLDR: I am trying to display a reference from User A to User B and I want User B to be able to recognize there is a reference from User A. In my application, I have a section where I connect Users to each other in order to see their relationships (ex. Brother, Sister and etc.) This section is ca...

 
@misha130 66% of the devs who answered the survey*
 
12:55 PM
I truly wish though WASM would succeed
 
@MadaraUchiha this.isAnnoying = true
 
@KevinMaxwell cool, I was going to look at that this AM
hehe
before I get calls
 
@satibel What, the fact that you don't have a private keyword?
That's what bothers you?
 
@MadaraUchiha this. everywhere.
 
That properties are accessed directly
 
12:56 PM
@juanvan I resubmitted my question.
 
@satibel Meh, I have very little this in my code.
this is a weakpoint of the language in my eyes, so I avoid it.
The nice thing about JS is that you can actually do that.
You can't avoid using classes or objects in C#, but you can in JS.
 
!!learn this <>https://twitter.com/bendhalpern/status/578925947245633536
 
@AvnerShahar-Kashtan Command this learned
 
Here's an article that I may eventually read that might change my views on JS: arstechnica.com/civis/viewtopic.php?f=20&t=1216933
 
To be fair, JavaScript is a very free language
That has both upsides and downsides
When C# code looks bad, you want to kill someone. When JavaScript code looks bad, you want to kill yourself.
And FTR, in my previous company I've maintained a monster made of vanilla JS (no libraries, no frameworks, no compilers/transpilers), IE8 support
I've seen the bottom of the abyss.
 

« first day (2441 days earlier)      last day (2510 days later) »