« first day (1966 days earlier)      last day (2985 days later) » 

12:11 AM
Guys other company upped offer for 87k
Fml four days in new company
I really like my current coworkers so far
Besides money, how do you judge company?
 
are you learning - do you enjoy/tolerate your coworkers - is there potential for career development
 
do you like the work? Do you feel good about the end result of your efforts?
is it challenging enough?
are expectations from management realistic?
 
right now I'm banging my head agains HSTS
I just want an option to disable HSTS for a domain because I have self signed certificates for testing, dangit
 
 
3 hours later…
3:22 AM
what is the best:
GetEntities().Single(e => e.Id == "A specific entity");
or
GetEntities().Where(e => e.Id == "A specific entity").Single();
 
GetEntities().Single(e => e.Id == "A specific entity");
this is good
 
@Learning why?
 
Because you dont need additional where function
 
3:43 AM
hello,
I'm using Sqlite database and I got an error
 
@mark error?
 
 
1 hour later…
4:54 AM
hello
 
5:04 AM
 
 
2 hours later…
7:02 AM
hi guys
Can anybody tell me what are the desirable situtation where we should create static methods?
 
@Learning Any situation where it makes sense to not need to create an instance of an object
 
@AlexL:Thanks alex for replying.but can you give me any real life example where i can use this?
 
Moooooooorning
 
@Learning There is no hard and fast rule. Most of the time I use them for internal helper functions
As an example i have a Session variable, it is linked only to system time and is required all over my code
I generate the value from a static method
but in the modern world of DI its growing ever more rare to see such things declared as static as you inject them
 
let me give you 1 scenario
I have 1 eccomerce website and on home page of that web site i am displaying some products to sell
so which ever user visits my ecommerce website home page would be able to see all that products
now i have 1 function which will get all products from database to display on my eccomerce website home page
so should i create that fucntion as static or non-static?
 
7:15 AM
non-static
 
can you explain why?
 
A strong reason would be to permit loose-coupling
its desirable to not have your presentation layer depend on your data access layer
 
@AlexL:What will happen if at 1 time more than 10 users simultaneousl access that website and how will that static method will behave
@AlexL:Will it servers all that user purposes?
 
It would depend on how the static method is coded, its no different than creating an istance of an object and calling the same code except the code doesnt have access to this.
 
Morning @JakobMillah
How was game night? did you get in?
 
7:25 AM
Ye, I did :) I had to reinstall one time, but got in around 8pm
Very very smooth launch, I have to say
played for about an hour, so not much ^^
 
hehe
@AlexL How are you getting your data then?
 
It seems ok.. Somewhat overwhelming since it seems to be the korean version of EVE when it comes to complexity
Just too bad that it's SOOOOO korean...
 
yeah, I saw that. Looks pretty stunning, but I guess it's not for me
I like dungeons, raids and those kind of stuff
not just grinding
The pvp part looks great, but to much missing at this point, endgame wise.
And you can't just gank people, which is stupid. You get negative karma and whatnot
 
@scheien via the Business layer
or Domain layer
or what ever you want to call your layers
I will be more precise
 
Maybe he doesn't have a business layer
:)
Sometimes I call them slices.
 
7:34 AM
@scheien Will take long time till I reach end game xD I just walk around and do all kind of shizzle. Harvesting mainly
 
its desirable to not have your presentation layer depend on any implmentation of your data access layer but instead on some sort of abstraction normally an interface
 
@JakobMillah: It looked like a heavy grind, all the way, and all the time. I'm more into question, lore and stuff like that.
@AlexL: I agree.
 
@scheien It's very easy leveling tbh. I am level 13 and I did jack shiet yesterday xD But after level 50 its grindy if you are into getting 60+, but I'll never have that in focus. I will jus tdo all the other stuff
 
Hello! Fast question: how can I parse the following string with DateTime.ParseExact method: "PT11M22S" ?
What format shall I apply?
 
@JakobMillah yet.:)
 
7:38 AM
Yet haha
 
@Denver: what have you tried?
 
Well, I tried PTmmMssS as a format, but it is definetely should not work.
I can't understand how do I avoid the letters in input string.
Except cutting them off before the ParseExact call.
 
did you try it?
 
I did not try removing letters from an input string. But it will work.
 
7:58 AM
is it not because M and S are reserved and you need to escape them some how?
something like "PTmm\MssS" should work
 
Hi. If there is a member in a class that goes like protected virtual override...is that superfluous? (Unnecessary, redundant)?
 
@deostroll its a compilation error
CS0113 A member '[name]' marked as override cannot be marked as new or virtual
 
Yeah, an override must be of a method that is virtual so the virtual keyword would be superfluous
You can override it again in a further inheriting class, so in a sense it's 'still' virtual
 
okay...that made sense...thanks all.
 
 
13 million
 
XD
I'll write anything you want for 13 million
 
Thats a hell of a pay check
 
how about fixing their decimal seperator
plot twist: it's not a typo
 
Being rich would be weird
"I like the look of that burger, but it's in San Francisco and I'm in Didcot. Well, I've got a day and a half to kill and the private jet is gathering dust..."
 
8:27 AM
their list of required skills is extremely specific
 
@AlexL Yeah, I should ignore S and M somehow, but \S and \M is not correct.
 
> Experience Developing American Disability Act (ADA) compliance Web Applications for Adaptive Technologies/Tools such as JAWS, Dragon Naturally Speaking & Zoom Text.
 
They should probably put that in the title
Web Accessibility Consultant or something
 
@Denver works fine for me
CultureInfo provider = CultureInfo.InvariantCulture;
var result = DateTime.ParseExact("PT11M22S", @"PTmm\MssS", provider);
 
Ow, true. Forgot @. Thanks!
 
8:37 AM
Yo good morning etc etc
 
Etc etc etc
You guys know somthing?
 
I know many many things
except how to save this project
it's like a leaking ship that's on fire and we're using the water from the leak to put out the flames
someone tried to comment out a CSS rule by prefixing it with //
//  padding: 0 20px 20px;
 
@StevenLiekens I do that a lot, force of habbit
 
yeah but do you check it into source control like that?
 
@StevenLiekens ಠ_ಠ
 
8:51 AM
@StevenLiekens god no, i use VS for most of that stuff it marks it as an error, i also dont push without local tests
@Squiggle on the other hand my production code does throw new ಠ_ಠ("i'm not angry i'm just disappointed");
 
ಠ_ಠ is a valid identifier?
 
yes
 
:D
that made my day
 
public class ಠ_ಠ : Exception {}
throw new ಠ_ಠ()
 
It extends DisappointmentException
 
8:57 AM
Letter Tha from Kannada, apparently.
According to google translate
 
I tried public class (╯°□°)╯︵┻━┻ : Exception but its not valid
 
Good morning.
 
I think you need different brackets
Good morning @RoelvanUden. Help yourself to coffee. Free doughnuts in the kitchen.
we're trying to break C# today
 
Thanks. Where can I find the tea? Earl grey if you please.
 
Sorry, we've only got Kenyan, Lady Grey and Lapsang Souchon.
Club Mate?
 
9:02 AM
Uwot Mate
 
Club Mate, mate.
It's like a cocaine-infused iced tea. Great stuff.
 
oontz oontz oontz
@Squiggle That's that shit you wanted me to try init
 
is it? Yeah probably. Get some. It's ace.
BaseController
base(VolumeDirection.Up);
 
@JakobMillah Is that the German version of bass?
 
9:10 AM
Pretty much, with some influence of polish!
 
(why would you polish your bass tho)
 
To make it gleam?
 
Cillit Bass
 
Look what it does to a penny!
 
because poland knows their untz
 
9:13 AM
overheard someone planning on using CSV
 
shit man that's over 10 years old :-/
 
jeeeeeeeeez, getting old
 
@StevenLiekens what's wrong with CSV?
 
user5671675
hi, how can I hide some components from design view in visual studio c# form app ?
 
9:16 AM
WinForms?
 
user5671675
yes
 
many things
 
user5671675
so is it possible?
 
Never ever watching design view. Don't nkow
 
user5671675
thats good advice :)
 
user5671675
9:24 AM
but i like to know if its possible or now
 
Depends what you mean by 'hide'
Make it so that they don't draw? I think so. But they still take up space in the form's layout, I think
 
user5671675
i have few panels on my design view from and I whant to hide them from view
 
Don't think it's possible tbh. If you are stacking elements tohugh, you can make the one you care about stick to the front. But hiding completely is probably not possible
 
user5671675
Looks like I have to stick with code view more than design :)
 
Eventually, it's gonna be a higher risk crashing using it than it would benefit
 
9:38 AM
morning
 
Gruetzi
 
Danksagungen
 
9:58 AM
any help on this question:stackoverflow.com/questions/35791513/what-are-the-desirable-situation-r‌​eal-life-example-to-create-static-methods-ex
stackoverflow.com/questions/35791513/what-are-the-desirable-situation-real-life-‌​example-to-create-static-methods-ex
0
Q: What are the desirable situation (real life example) to create static methods except for creating helper?

LearningI just want to understand the purpose that static method serves and what are the desirable situation where i can create static methods except some would say that static methods are used for creating helper. Consider i have 1 website that will be used in my company only like Human resource manage...

 
Rule of thumb: Static methods are bad if they reference any other objects.
to put it in simple terms
I've seen static data access layers which have caused all sorts of frustrating headaches
 
Does C# have static variables inside methods?
VB does
 
I don't think so
only constants
 
void Foo(){ static int bar = 3; ConsoleWriteLine(3); }
 
static variables inside methods?
 
10:07 AM
yeep
 
wtf
how does that even
 
Initialised once and used forevermore in that method :)
Supposedly.
 
That way madness lies
 
that sounds like something that shouldn't be done? ;o
 
void Foo(){ const int bar = 3; } is allowed
 
10:09 AM
@JakobMillah Used correctly they are safer than normal static variables due to the reduced scope
 
is that what VB does?
 
@AlexL True
 
@StevenLiekens I think you can still reassign them
 
It just feels very wrong for a method to have its own state
 
Solution: Don't use VB
 
10:10 AM
Cash shop item in BDO.. That's pretty sad
 
I'd love to change my appearnace.
 
appearnace
 
@JakobMillah oh no they are tring to make money so they can pay for the server bills what madness is this!
 
More the english and typo :P
Good value though if you could change your appearnace in PvP
 
@JakobMillah Its a language port of a existing game isnt it?
 
10:14 AM
That's right
 
They always have one or two translation errors
at least in the 30 or so of them I have played
 
Ye. I can't put my finger on if I like BDO or not.. The game feels rich, but with the most poor UI in existens
 
I made my char look like Donald Trump and now I am regret, pls help
 
haha
 
@TomW just make it suck. Don't give 'em armor or anything. Direct feed.
 
10:18 AM
oh yeah, I'm assuming that would be just to go around inviting people to teabag you
But in a years' time when he's either irrelevant or the Glorious Leader that won't be funny anymore
 
Well, if he turn into a Glorious Leader, the world won't exist for much longer
WW5 inc
 
Glad I moved into an apartment with it's own nuclear bomb shelter.
j/k nuclear war terrifies me lol
 
@JakobMillah RF online was the same, as is FFXI
 
;_;
 
its a lost in translation thing
 
10:23 AM
I which I had the age to play FFXI
 
10:34 AM
age?
 
It's for 12 year-olds and younger?
 
Never played any FF, wouldn't know
 
Spiky hair. Silly clothes. Mostly feels like playing pretty-looking spreadsheets.
 
@TomW I was too young to pay the monthly sub. Played WoW during the time since we had the prepaid cards in store
 
Oh, and $main_character dies or is already dead or is the embodiment of a dream of an ancient civilisation or something.
because woo
 
10:37 AM
Grew up with FFX on PS2.. That game
 
FFVII was my first. I don't think I slept for 3 days.
first game to ever make me cry
then again that might have been sleep deprivation
 
Never played it.. Also a bit before my time
 
ya wee whippersnapper
 
Mine was FFVIII
Everyone complains on how bad it is; I absolutely fucking loved it, so fuck them.
 
For me it's weird going back to after playing FFX
 
10:52 AM
Mercurial is weird
Feel like I'm gonna break all the things
 
OK, let's see how 3 year old (I think) coffee pods taste
blech, that's how
 
LUNCH time
half day past :> sweet
 
11:11 AM
sup guys
 
chillin'
 
how do i access stock prices with c#?
i wana make a heristic stock price detector
 
heuristic?
historic?
First find a source for stock prices, then crunch the data however you want.
 
heuristic is like a sensor that likes the same pattern
 
You intent to make an extremely complex piece of algorithmic predictive modelling and you're asking on how to access data? Are you sure you're on the right idea here?
 
11:14 AM
if that pattern deviates, the sensor cries
 
sure
 
so if a stock price falls 50 cents
alert me
but i need toa cces prices first --> to list --> if price < 50$ --> //code
@RoelvanUden what's up fam
 
@Adan did you try asking Google?
 
.. fam?
 
family
didnt bother, thought the pros at this chat would know, but il go and dig around, thanks anyways
 
11:16 AM
or did you even try asking StackOverflow?
204
Q: Alternative to google finance api

KivaI wanted to use Google Finance API to get stock data about company but this API is deprecated since 2011/26/05. So my question is simple :) What do you use as free API to get stock data in real time?

put some effort in yourself before asking other people to put effort in for you
jeez
 
i know how to build the app, all ineed is just to pull stock prices, should be simple enough, il google
 
thought it'd be 1 liner: pull x from www.google.com
nvm
 
wat
 
put all strings in www.google.com.tolist()
something like that, anyways gona google
 
11:18 AM
you're trolling m8
 
lol
 
Love it xD
 
11:44 AM
should we always add row and columns to bootstrap container class ?
 
hello guys
i have created 1 console application
 
@MariaPithia A whole one!?
YouTube autoplay is taking me on a journey through early 90s house music
oontzoontzoontzoontzoontz
 
11:59 AM
and i have created a window shcedular which will run this console application daily at specified time
but only problem is when that console application is run that black screen appears
is it possible to hide it?
 
Yes and no.
Hiding a console application is traditionally not possible. It's a console application after all, it runs in a command prompt, but with the dark magic you can hide the window with interop. Which is a bad idea (tm).
A much simpler way is to make your console application a GUI application.. and not spawn a GUI.
 
does brits say "stand by" instead of "hold on" on phones?
 
12:15 PM
@tweray No hahaha
 
this dude say "stand by please", i'm like, am i speaking to my combat commander
 
xD
He might be ex military
My boss is ex military
 
Ugh, I'm dying here. Send coffee.
I mean help. Send help.
 
He died for freedom and honour panini and jicama
 
12:22 PM
lunchtime supermarket run awww yisss
 
Coffee?
 
what nlog layout do you guys use?
I'm switching to this one
 layout="${date:universalTime=true:format=yyyy-MM-ddTHH\:mm\:ss.fffZ}|${level:uppercase=true}|${logger:shortName=True}|${message}|${exception:format=tostring}"
 
@JakobMillah Precisely.
 
i would use local time unless i got some team member in the other side of earth. gmt make me sick
 
but local time is server time and you don't necessarily know where your server is
UTC logs seem more useful to me
 
12:30 PM
um... if i have admin right on any server in any place in the world, first thing i do is to adjust it's clock to EST
but of course, that's above the fact that you have admin right on your server
 
I don't have any right on the server
 
well that make a different story then
 
I throw binaries + installation instructions over the wall of confusion so operations can deploy my app and that's that
 
i'm just bored of conversation like:
"hey we saw some 100 error log in event log around 4pm"
"wat? i don't see anything on our end, let me pull the trace"
... 1 hour later
"dude, when you say 4pm, you mean EST?"
"no, i mean PST"
"..."
"..."
 
seems kinda strange that you would want to mess with server time
 
12:35 PM
well, if it is a server specifically serving my app, of course i want it to serve the best of my perspective and troubleshoot convenience
 
12:48 PM
motivation is dropping. Weekend couldn't come any sooner
 
agreed
 
ahyup
 
@JakobMillah hell ye
 
I freakin hate Fast Reports
System.NullReferenceException... Ok, but where the F do I receive this exception?
Getting that is like; You have to start over
 
Dan
You create an object without initializing it.
By default, it's null and you get this exception
 
12:56 PM
I get that, but this is Fast Report.. Everything is made using a graphical interface. I can't control what's going on behind the scenes
And even if I could, I got like 30 elements that could be null in this case.
 
Never used fast report, but it seems it lacks some error handling
:)
 
It lacks in many ways haha. Got any experience in other Report designing tools that actually works?
 

« first day (1966 days earlier)      last day (2985 days later) »