« first day (2144 days earlier)      last day (2799 days later) » 
02:00 - 11:0011:00 - 00:00

2:03 AM
@hasan that's a sequence diagram? Which part don't you understand? It just takes you through the flow of the program and which methods are called?
 
is there a place i can ask a c programming question?
 
Like the C language?
 
exactly
 

C

C stands for Control.
Or just ask on StackOverflow itself
 
awesome thanks
 
2:07 AM
np
 
actually do you know anything about c?
all the other rooms seem to be dead so i figured id just check
 
not really but just ask your question lol
 
I wrote a simple hello world program called m.c then used bcc -c -ansi m.c to compile it to object code and get m.o but my questions is how do i use ld86 and what do i need to link it with to properly generate an a.out type file?
 
not sure about linkers....
Are you just trying to do file IO?
@user3743168 googling tells me:
4
Q: generating a.out file format with gcc

NulikHow do I generate a.out file format with gcc on x86 architectures ? With nasm I can do this easily with -f flag, for example: [user@host]$ nasm -f aout start.asm [user@host]$ objdump -a start.o start.o: file format a.out-i386-linux start.o [user@host]$ On linux, compiling .c files pro...

 
I can actually generate an a.out file, I was just trying to do it manually to get an idea of the linking process
 
 
3 hours later…
5:04 AM
morning
 
sup
 
 
1 hour later…
6:10 AM
We've parallelized a core process in our system. We're currently in Stage 1: Euphoria. Everything is fast! Our ETL rate has quadrupled! Everything is great!
Soon, we'll hit Stage 2: Terror. Nothing works! We have deadlocks! Data is mysteriously corrupted! Everything is terrible!
 
Morning
 
6:32 AM
twitch.tv/pokerstars/v/86167635 <--- This poker match was really cool. If you get the chance, watch the last 2 hours or at least last 20 minutes
 
what is interesting in watching a 2 hours poker game?
seems dull...
 
It's studying the people
I watch pretty much 8 hour of it and I NEVER watch poker. But this one guy was interesting AF to study
 
6:52 AM
lol
anyway i also gave my notice that i'm quitting...
 
ohhhh shiet
How did they take it? How do you feel?
 
now i'm felling like a loser too :(
 
I've started a train..
loser?
 
they asked why i'm leaving
do i have problems with anyone else in team
 
@Proxy Congrats. It's never easy, and I don't know your motivations, but it's usually a necessary step.
 
6:54 AM
and that i can take few days off i need time to chill
basically they wanted me to stay although i don't know why
 
shiet
My boss said "GTFO"
 
@AvnerShahar-Kashtan i just did not fit in the team and i did not advanced as i planed too... i feel like i'm in limbo regarding my self development
in the end now i feel bad for leaving but i just don't fit here
 
don't be
it is what it is
 
yeah gotta focus on finishing college now and then searching something else
 
I'm on the look out.. Sure hope I'll find something at least within 2 months.. Else it's getting a bit harsh :P
 
7:00 AM
yeah i can survive for 2 months... which means i need to find one until the end of september
 
i just don't know is it smart to put on my resume if i worked here before
because it only 4 months
its a double edged sword
 
yes
I would
 
Morn all
 
@Proxy Don't feel bad. Not all jobs fit all people.
 
7:19 AM
good morning
 
everyone who is here is automatically worthy of a good job in the dev industry
just because they are here and what does this room represents
 
that was inspiring, thank You
 
/r/getmotivated
 
I will negotiate about my salary today. I'm very interested about the outcome...
 
well best of luck
 
7:26 AM
@ntohl where are you from? i don't think you ever mentioned it
 
1 year ago the boss asked me what have I imagined for salary. Usual stuff. You have to say a number first, so You can work for the company way below the others without noticing it
Hungary
 
thx
 
I didn't even get to negotiate, very disappointed
 
oh your a neighbor then. good luck
 
7:29 AM
than they told me, that I will get the amount in 3 steps. First 3 month is when the contract is not fix yet. Both of us can quit without 1 month notice period
that's level 1. Than level 2, than when I step into normal software engineer stuff, I will get to level 3, which was the amount I told
2 month ago finally I'm working on project
asked about the salary raise.
they told me, that I need to do a presentation
I have done that
asked when will it be evaluated...
 
what kind of presentation?
 
answer: "It's not like that. There will be a formal ceremony"
presentation was about a program part that I wrote, while I was working in the support team
long story short, I have made a decision, that if they don't raise this month, I will start searching for job
and it was last minute chance, that the boss asked me to talk about this today
I haven't seen anything creative like that to postpone the raise I should have 4 month ago. At the interview they said, usually it's 8 month till I get to level 3
 
we need to bring one of the big guns (roel,avner,squgy...) to form a company and give us jobs... soon the entire room will be unemployed xd
 
ugh. There would be some healthy disagreement about some oppinions. Like using of var, and naming conventions
 
well if you spoke to them multiple times you did your part
 
7:38 AM
@Proxy where are You from?
 
croatia
my college was in varazdin so i was like 50km from the border :P
 
nice
@Proxy asked them 3 times directly and indirectly
 
@ntohl And whether types should be nullable. :)
 
they are just stalling until you give them the ultimatum...
offtopic what is the average salary for a programmer in hungary? also low?ž
 
@AvnerShahar-Kashtan :D and that
 
7:45 AM
Finally finished my app I've been working on for the past week.
 
without null we would pull our hair out to make a simple code to compile. Tho when there is a reason to use null, I would use null object pattern.
@Proxy yes. Extremely
 
What? Without null, life is glorious.
 
Oh hi Roel
 
you can share the number :P
 
7:47 AM
Hello peeps!
 
20 885 usd per year base salary
 
before taxes you mean?
 
that is not so bad
 
before the taxes
taxes are about 60%
 
damn what
 
7:49 AM
You can't compare salaries in different countries; it all depends on purchasing power.
 
thats very true...
 
true but its still an indication
the biggest problem from croatia is if you want to go out
cause everywhere else the standard is much higher...
 
Then you just need to go to a country where pay is high and cost is low.
For example, the USA. Just.. don't get sick or anything. And get out after a few years.
 
Why not get sick in the USA? We have good healthcare.
 
If you're insured, sure.
 
7:55 AM
as an idea
lets compare salaries in loafs of bread
 
Uninsured too, Hospitals here in the U.S Can't refuse you health care.
Hospital care is expensive, but most insurance companies backdate 3 months.
 
@misha130 How about in bread, wine and sheep.
 
that's not a stupid thing. Also take into count water, loaf of bread, milk, and gas
 
why sheep?
 
7:56 AM
@misha130 Because if we're going to decompose currency into a barter economy, we might as well go all the way. :)
 
@misha130 So, every month, I can eat about 2150 loafs of bread.
Hahahahahaha omg that will be painful
 
It takes so long to get a app approved on slideme
Mine was approved on Amazon within hours.
 
@misha130 Standard regulated loaf price here is 5.07ILS, if you want to calculate.
 
i'm at 625 loafs :(
 
slideme app?
I have to pay around 800 loafs of breed due to rent alone
(I have this hilarious visualization of me handing loafs of bread to a government agent)
 
7:59 AM
Slideme is the websites, the app is a building game
 
I work on an hourly basis and have my taxes calculated bimonthly. Generally speaking, I have no idea how much money I make.
 
rent is loaf easy here
around 250
 
@JakobMillah man. Are you in any NGO or something close to that?
 
2761 breads
woohoo
 
next time instead of money i'm gonna leave few boxes of bread
to my landlord
 
8:01 AM
I think he'll take it
 
Let's create an app that calculates the salary based on the bread loaf.
groundbreaking idea
 
Can you imagine the size of the freezer to accommodate payment in loafs of bread?
 
@ElieSaad NGO? Like a work union?
 
1144 loafs
 
It's a good system, since each loaf can be sliced, with individual slices being more fine-grained (pun intended) units of currency.
2
 
8:02 AM
@JakobMillah NGO, like an organization, but you don't get paid.
 
o/
 
@AvnerShahar-Kashtan :D:D:D
@scheien \o
 
@ElieSaad Well... Not really :P There are enormous amount of organisations so... ^^ A choir's like an organisation, isn't it? In that case, yeah
 
@RoelvanUden y u say hi to @scheien and not me? :(
 
@scheien \o/
@ElieSaad Hi
 
8:04 AM
@ElieSaad Hiiii @ElieSaad \o/
 
@JakobMillah man its awesome helping others discover their own selves. Like help them shape the best version. The human behavior is a weird piece of shit.
@JakobMillah @RoelvanUden oh guysss <3
best monday *evah*.
Wtf why evah not in italic.
 
@JakobMillah o/ whats up?
@ElieSaad o/
 
@scheien how is you?
 
@scheien Mixed. Had a good weekend and now back at documentating my knowledge and looking for jobs D: You?
Had a good weekend?
 
@ElieSaad I am fine thanks. Spending the weekend in the mountains did good. :) How are you this monday morning?
 
8:19 AM
hi guys
i have a question
 
@JakobMillah Totally. 3 days in the mountains does good
 
@scheien that sounds great! Had nice weather as well?
 
i have an icon iside a button like the following Iamge
 
@JakobMillah A bit of both. Rain and windy the first day, then it got a bit better.
No fish though. :(
 
@scheien Hah, no fish when I was in Norway either. shieet
 
8:21 AM
i want when i resizes the form the Icon inside the button steches with the button
anyone can Help me?
 
WPF or Winform?
 
thanks in advance
Winform
c#
 
KillMe
 
@scheien feeling like after a hangover. Was somewhere around 1.6k in altitude. Weather is awesome, stars looks op in the night. And now back at work ..
 
I am sceptical if it works in Winforms.
 
8:23 AM
means it cant be done?
 
[Route("GetStudiesByParam/{BlaId}/{AnotherlId}/{ShitId}")]
[HttpGet]
public JsonResult GetStudiesByParam(int BlaId, int AnotherId, int ShitId)
{

I put a breakpoint on this, never being accessed. I get a 404 error in my console. Any idea?
 
@HamreenAhmad what is the type of the icon?
 
png @ntohl
i can change it if its needed
 
@HamreenAhmad Provide z code plix
 
what is z code
sorry iam beginner
 
8:26 AM
yeah. Some code would be nice
but I guess You added the image to the button in the designer
 
@HamreenAhmad It's my russian accent. Give us the .aspx code so we see how you add the image etc
 
yes
this is my code :D
 
thanks
 
sorry iam not kidding
 
@ElieSaad I'm guessing the mismatch between "AnotherId" and "AnotherlId" is just a typo when copying the code here, but make sure you don't have any similar mismatches.
@HamreenAhmad Press F7. THAT is your code. The WinForms designer just creates code in the background. You'll have to understand that, and understand what the code does, in order to progress.
 
8:30 AM
@HamreenAhmad in the form's onresize event try to blueButton1.Image.Size = ...
 
Also, WinForms is an old an inflexible framework, so it really is a lot of work to do things like what you want. You have to go into owner-draw and other headaches.
WPF has a steeper learning curve, but once you're over it, customizing things like that is a breeze.
 
Yeah. I would not try to do such things in winforms
 
It's just an example here. The parameter are correct in my code.
I did add routes.MapMvcAttributeRoutes(); To my route config. What could be wrong?
 
I am so into webforms, no idea why I even said .aspx... Sorry for causing confusion -.-
 
i have not written any code Form.cs and Form.Desiger.cs
 
8:32 AM
Havn't looked into winforms/wpf for years... shiet
 
all are autogenerated
 
@ElieSaad You're sure the parameters all match, the route name... using GET and not POST in your console?
 
iam begginer in c# and iam old java programmer
 
@AvnerShahar-Kashtan $.ajax({
type: "GET",
yep ^
 
@HamreenAhmad It's not really about C# the language, more about choosing the right UI framework. WinForms is old. Not deprecated as such (since it's still supported) but it really shows its age. WPF learned a lot of good lessons from HTML on how to have composable, flexible UI.
Does your controller have a RoutePrefix defined?
 
8:36 AM
Nop it doesn't. I have the web api nuget package installed if that gives anything
 
Thanks @AvnerShahar-Kashtan
it seems like Swing and JavaFX
i try to learn about WPF
 
I created a WinForms project... I forgot you don't design with a markup language. Oh god
 
@ElieSaad Same here. Was about 1200m only, but it was pretty stunning looking at the sky at night (no light pollution) :)
 
@AvnerShahar-Kashtan I tried accessing the url with integers directly in my url bar. Same thing. The action isn't accessed and 404 error.
 
@ElieSaad I suspect there's a mess with both WebAPI and MVC inthe same project.
Does your controller inherit Controller or ApiController?
 
8:40 AM
@scheien Yeahh. It's my kind of hangover. Instead of clubbing stars be awesome.
@AvnerShahar-Kashtan from Controller
 
Good morning
I have a riddle for you guys

We have code-first database with a decimal (standard precision)
we've saved some test-data in de db, giving the decimal a value of `4.00` but when we fetch the data our model gets `400M' from the db.

we've tried setting a custom precision, but that didn't help either.
We're using EF6

anyone know what we're doing wrong?
 
Do you know the anwser yourself?
 
I hope my future employers don't view this chat... I have 2 starred comments... Both being about Friday..
 
8:55 AM
no, I don't know the answer, Roel
 
I think if Your future employer comes here to view this chat, he/she would do the job him/herself
 
I wouldn't ask if I knew the answer
 
a riddle is usually asked, if there is a solution already
 
are you guys gonna complain about my wording again ?
 
sorry
 
8:56 AM
#Triggered :D
 
btw standard decimal in sql is decimal (18,0) in C# it's completely different
 
with my other project it was (18, 2)
 
try to specify that in SQL side store the thing in decimal (18,4)
 
but we tried setting it as (6, 2), which didn't work either
 
ohh
 
8:59 AM
we also use mysql, not sql
 
@VictoriaS. Hey, when we don't know the answer, easiest thing is to talk about the question. :)
 
not that that should matter much
We've been at this silly thing all morning
 
same collation of the database as the previous project? Maybe . and , are considered thousand separator wrong
 
yes
utf8_unicode_ci
 
It's not a riddle if you don't know the answer.
 
9:10 AM
@RoelvanUden give her a break, she was toying with the words .. :(
 
I'm educating here :P
 
no, Roel, you're being mean
 
You go girll ! Seems u got educated :P
 
Shiet
 
we have an issue with an invoice cannot be posted. I updated one field. now the issue is no longer producible
time to roll back the database
:P
 
9:20 AM
Why the F doesn't my images work
 
your profile pic?
 
yes.
 
I don't know. I thought that that was your intention
 
I swapped in hopes to make it work this time around. nope
 
Hahaha!
 
9:21 AM
@JakobMillah: have you tried turn it off and on again?
 
Roels not mean he teachs tough love
 
I thought it was cool the first weeks.. Now I'm annoyed
@JackyNguyen I'l try
 
Just upload one to SO, rather than choosing gravatar or whatever.
 
@RoelvanUden That's what I am doin? ;o It looks good everywhere but on the thumbnails in the chat
 
Victoria accept your results and divide by 100
 
9:23 AM
roel, have you worked with routing?? This shit is getting out of control.
 
@Ggalla1779 Nasty :|
 
am practical!
 
So when they need to get x millions lines of data, they need to divide every cell with 100? ;)
 
no, @Ggalla1779. Thatr's UGLY coding.
 
sometimes in a complex world (ours) you have to accept things... the quick fix works for now until you can find the point at which you understand the problem and fix it proper
 
9:25 AM
yea no, because quick fixes get forgotten
 
@JakobMillah, I think it's a sever issue
maintenance maybe
 
@VictoriaS. ow I doubt you will forget it
 
@VictoriaS. Ohh you mean those TODOs which says "Temp fix. Fix this shit later". I've stumbled upon those.. "Last edited: 4 years ago"
 
I inherited a code from a guy who already quit
 
9:28 AM
his code and his documentation are like 2 animals
 
am sure I came across this before but cant remember...it was 2014/15
 
I know that feeling, @JackyNguyen
 
...and one is a snail and the other is a turtle
 
and I cursed more than 10 times an hour
 
I inherited code from a guy who still works here. But even he can't read it.
(not relevant because I already remade that entire thing. It was hell.)
 
9:29 AM
so go check code that puts data to database
then check code that lifts it
 
data in database is correct.
 
ok 1 way worked great
so your fetch data types/ class is off
 
yea
 
go google for examples of what your using
then you may see what problem is
 
dbcontext.products.Tolist()
 
9:31 AM
thats way I work if I dont have clue
 
can't go much wrong with thàt
It's not like we're writing actual queries by hand or something
 
so run code
see what the value is and its type at that point
 
400M
 
why you think stuff like automapper exists
 
like I already said a dozen times
 
9:32 AM
@JakobMillah Oh.
@ElieSaad Sure.
 
we're not even mapping yet
pure model from database
 
@Ggalla1779 To make your life miserable.
 
also automapper is shite
 
lol, for my case, the code will not work if I don't uncomment one line from his codebase
 
I tried it and wasted a week trying to get it to work
 
9:33 AM
@RoelvanUden haha... flks like it
 
yet, he still released it to the customer
 
I dont
sorry victoria I cant mind what I did before
there was tons of high values and I am sure I say the M thing
 
            // I have a few numbers
            var rang = Enumerable.Range(0, 15);
            // and I want to list them
            foreach (int r in rang) { Console.WriteLine(r); }
            // by enumerable
            var sel = rang.Select(delegate (int item) { Console.WriteLine(item); return 0; });
            Enumerable.Count(sel);

            // Is there a function, something like this:
            rang.ExecuteOnEachElement(delegate (int item) { Console.WriteLine(item); });
??
 
@RoelvanUden I have this piece of routing:
[Route("GetStudiesByParam/{companyId}/{medicalId}/{providerId}")]
[HttpGet]
public JsonResult GetStudiesByParam(int companyId, int medicalId, int providerId)
{

I have added in the routeconfig: routes.MapMvcAttributeRoutes();
If I try to access the url, it gives error 404.
I created a test controller with a view, gave it a route attribute. Same result.
I have webApi nuget package as well. *just if this gives anything*
 
@ElieSaad What url does the controller have?
And what url did u use
 
9:37 AM
Its name. E.g. TestController. I left it as default from what MVC gives me.
I just call localhost:***/Test/GetStudiesByParam/1/0/2
 
@ElieSaad: why 'Test'?
 
@ElieSaad Try giving it a route attribute ttoo
 
@JackyNguyen Would example do? What's the difference .. we are grasping the concept.
 
try taking the 'Test' out?
 
@RoelvanUden one moment.
 
9:41 AM
you don't have the API list page in your MVC app?
it should list available api calls for you
 
@JackyNguyen i think you are mistaken somewhere with what i am doing.
 
@ElieSaad: you want to test your api route right?
but your route keeps giving you 404 error?
 
@RoelvanUden i put: [RoutePrefix("Operation")]
Because operation is my controller name as well. It's what i need it to be.
I received a 500 internal server error now
@JackyNguyen yeah it's not even hitting the action.
 
it means your url is not correct?
 
@ElieSaad Why RoutePrefix? Shouldnt it be Route?
 
9:49 AM
@RoelvanUden Route would be useless in our case. If i use route on my action result, the controller route will be overwritten. Route prefix is used for naming the controller url.
@JackyNguyen if only it was that simple ..
 
Is there anyone who knows about LINQ and lambda?
 
A few
 
@RoelvanUden the prefix might work! I am testing on a deleteme project, and it worked somehow :P
 
@marbel82 "Is there anyone?" "Yes, there is at least one person"
 
Can you see my question above
 
9:54 AM
What question?
 
She posted some code up above ^^ Just above my code
 
oh, I missed that because of different avatars
 
He... not she :)
 
You sure about that? @marbel82 ;o
 
rang.forEach(x => Console.WriteLine(x))
 
9:56 AM
Sht. Apologies i used it by mistake. I normally don't use he/she for those purposes :P
 
@marbel82 there isn't, normally foreach is ran on such range
 
@JakobMillah I have balls :P
 
@marbel82 ... or something like that
 
The reasoning is as follows: LINQ promotes no side effects, while what you do is side effects only, so an imperative approach is more appropriate
 
@marbel82 Alright, I approve your cojones!
 
9:58 AM
also don't do .Select(x => { Console.WriteLine(x); return 0; }), that's silly
 
@milleniumbug I wanted to show what I mean
So I understand that it's best to use foreach?
 
so foreach(var x in Enumerable.Range(0,15).Where(x => ?).Select(x => x+5).Some().More().Transformations()) { Console.WriteLine(x); }
@marbel82 yup
 
@milleniumbug WOW what does it x => ? or Where(x => ?)?
 
x => x+5 -> delegate (var x) { return x+5; }
well, not exactly
but you get the idea
 
@milleniumbug ok
 
10:33 AM
@ElieSaad Cool, I have to set myself some avatar
 
off-topic question... when working with large amounts of money (in a database!) what is the best way to store/edit the values (the data type). Is it better to use a decimal value or store the values as an integer and always divide by 100?
 
the latter assumes your currency divides into 100
 
yes
i'm not familiar with a currency that does not :P
 
bitcoin :D
also yens don't divide at all
I think there was a currency which divides into 1000 parts
 
i still think in the marketplace that they round yens as well
but i'm talking out of my head with this
as you can have something be 199.23 yen
 
10:47 AM
.NET needs a better text templating engine
 
@StevenLiekens Compile-time or runtime?
I've used T4 a bit, but not extensively. Not good enough?
 
not good enough
I want something where I don't have to write C# code in the template
I just want to write some text with placeholders, plug in my data, and the template engine should figure out how to fill in placeholders
 
Nah. SEems even more complicated.
 
02:00 - 11:0011:00 - 00:00

« first day (2144 days earlier)      last day (2799 days later) »