« first day (3462 days earlier)      last day (1469 days later) » 

6:53 AM
@traducerad For many countries, this Coronavirus pandemic has already peaked. What do you think people will do when this lockdown is over? People will catch up on socialising and buy more clothes, furniture and the likes than normal - all these things that they can not do at the moment. Sure, in the short term things are really bad, but in the median term, growth might be higher than pre-pandemic.
 
7:04 AM
@LoïcFaure-Lacroix There are 7.78 billion people on earth at the moment. Given 80 years life expectancy. The average death in 3 months time is about 24 million. Current verified deaths due to this Coronavirus: 82,114. Less than 1 percent of normal deaths.
 
 
3 hours later…
user6461957
10:04 AM
I never thought, that implementing a basic version of std::unordered_map in ANSI C is that hard... (at least for me). Implementing a version of std::vector was pretty easy in comparison...
 
user6461957
After this, I will take a C hiatus and go on with modern C++ and embrace its juiciness.
 
user6461957
Drinking orange juice with a lot of vitamin C++.
 
user6461957
(Why do all this reinventing the wheel? Well, b/c of educational purposes... b/c well it kinda interests me how things work under the hood.)
 
user6461957
(My ANSI C unordered_map iterators work at least, but I still have to implement the rehashing when the size increases....)
 
I always find it highly confusing when people suggest "oh why doesn't your professor allow you to use std::vector and std::map, that's not at all how the real world works".
Well, duh. It's computer science, not a job training program, you're supposed to understand the fundamentals not go through a "code school".
2
I mean a lot if academia has severely diminished in its ambitions, because it became a job requirement for too many things, but I think that's not mostly the fault of academia.
 
10:49 AM
You're showing your age. Today it's possible to get a CS degree without, almost ever, touching C++.
 
That has as much to do with age as with region of the world and CS specialty
I've had co-eds that never touched C++. I'm well aware that it's not a requirement for all specializations
 
user6461957
11:11 AM
"You're showing your age. Today it's possible to get a CS degree without, almost ever, touching C++."

Yeah, for example my school... Also my location sucks, you'll mostly find Java, JavaScript and Python jobs...

C or C++ is a rare occurrence. I hate this!!!!
 
user6461957
My most favorite language by far is C. My second favorite is C++
 
user6461957
My entire degree teaches its stuff via Java, Scala, Python and what not. There
 
user6461957
There's almost no C and C++
 
user6461957
Except we had systems programming where we had C and operating systems where we had C as well.
 
user6461957
Many of my peers struggled with the classes in C... B/c all they now was Java
 
user6461957
11:14 AM
They should make C and C++ mandatory. B/c in my opinion they teach you to be a good programmer in general.
 
user6461957
Fuck Java
 
user6461957
C should be anyone's first language.
 
user6461957
The answer from Mario Galindo Queralt is good: quora.com/Will-Rust-replace-C++
 
I don't know if I agree with that. I think learning new languages and tools can be helpful, not only to use those, but to take lessons from them
 
user6461957
Yeah I don't mind that. It is just C/C++ won't likely be replaced or get out of fashion. It is still going strong even after multiple decades.

When I hit up LinkedIn and search for C or C++, I won't find what I was looking for. Even with the keywords C and C++, you'll find vague descriptions like "knowledge in one of these programming languages Java, C, and C++". And when you get to the interview, you will find out that C or C++ won't be used. I mean this really infuriates me.
 
user6461957
11:24 AM
I don't know where in Germany you are supposed to find real C++ or at least C jobs.
Many companies in Germany seem to like Java (at least the traditional ones such as Bosch, Siemens).
 
Any car manufacturer town has a bunch of C and C++ jobs for the various part manufacturers
 
user6461957
I am living in the Lake Constance area (closely bordering Switzerland). I didn't find it so far... :(
 
I feel like Munich and Berlin are the two towns with the most positions open
 
user6461957
Okay, I guess after completing my degree I have to go there.
 
user6461957
The funny thing is, even when the job description explicitly stated "knowledge of C required", and you go to the interview and the interviewer says "yes, you will deal with a lot of C and C++", and then you find out that it isn't true at all once you actually work there, b/c you suddenly find yourself dealing with Python a lot (and almost no C or C++). So I felt like I was being lied to.
 
user6461957
11:30 AM
(And it was in the automotive sector)
 
I would focus more on what you want to do rather than what language specifically you want to use. If you want to do systems programming you will not end up doing python, but you might also not necessarily only write C or C++
 
user6461957
Why I am so mad about it? Well, I looked for C or C++ positions for years, and despite companies promising me you will deal with C or C++, I disappointingly found out that it was not the case at all.
I was being constantly lied to. And this is why I am furious.
 
user6461957
I mean it is okay to have some Python and what not, but if you are given the prospect that you won't deal with C or C++ at all for the remaining future despite they promised it to you, then I think it is normal to be frustrated.
 
user6461957
(Maybe it is b/c I am a working student, and they don't take it seriously? Dunno...)
 
user6461957
What would you do in this situation?
Just deal with it (being lied to)? Or not give up, and look for suitable positions?
 
user6461957
11:38 AM
(I don't care about the money, what really interests me is C and C++, that's why I am so insisting about it.)
 
Sounds strange, you were hired for C++ but they made you do some other programing language? Anyways, C++ devs are always in demand, and usually are some of the better paid.
Lot of stuff in instrumentation and image processing.
 
user6461957
Yeah, I guess it was b/c I was just a "working student" or "student worker". They don't take you seriously I think because of that...
 
Embedded is also a bad space, both salary and work wise. Salaries are low, work can be a lot fk effort for little palpable result.
 
user6461957
You see now where my frustration comes? Anyway, I am not working at that company anymore (it was in the automotive sector).

"
Embedded is also a bad space, both salary and work wise."

Yeah, my salary wasn't good at all. And also my peers salary (who are working there full time).
 
Its also bad job security because you don't use modern techniques, etc.
 
user6461957
11:43 AM
So what should I do when I really, really want to work in a professional setting with a lot of C or C++, but I can't seem to find it (being constantly lied to so far)?
 
Bsically when i try to hire c++ software engineers, more than half are embedded people that don't have basic c++ coding skills (or really many skills at all).
 
user6461957
Should I just take a Java job or JavaScript job, b/c professional experience is better than no experience?
 
user6461957
"
Bsically when i try to hire c++ software engineers, more than half are embedded people that don't have basic c++ coding skills (or really many skills at all)."

That's good to know. So "embedded" is a big no-no for me now.
 
user6461957
I also noticed that my former peers aren't good C or C++ programmers.
 
user6461957
Meaning, there are no Jeremy Coffins, Mikhails, PeterTs etc.
 
11:46 AM
So, there are many C++ postings, you just need to probably look in differnet places.
For example, many instruments such as factory equipment or medical devices run C++
 
user6461957
Okay, so basically never give up and look for the companies with a high probability of C++-utilization.
 
For example all of my interns found jobs within a month. we didn't have money to keep them.
 
user6461957
Yeah, I guess it is due to my unfavorable location (many companies don't seem to do C or C++) and least this is what I found after trying to look for ones for years.
 
user6461957
So, let's assume I won't find a C or C++ related job, should I still consider working for a company that does Java, Python, JavaScript, b/c "professional experience" is better than no experience? Or is my argument flawed here?
 
user6461957
What should I do to become more of an attractive "C++ programmer"?
 
user6461957
11:54 AM
Implementing a unordered_map in ANSI C as one of my GitHub portfolios, won't make me "attractive" I suppose...
 
user6461957
(My goal is to be a C++ programmer. Living C/C++, and breathing C/C++.)
 
user6461957
(And my school does Java, Scala, and Python a lot. So I need to self study no matter what)
 
user6461957
(and my next goal is to contribute to the Linux kernel as a hobby, but I am too stupid right now and need to learn a lot about low-level stuff.)
 
user6461957
I have to either do something on my own (interesting project in C++, or open source contributions) or I just work at some company even if it is not C or C++ related...

The question then will be: if I have worked in companies with little to no exposure to C and C++ and I apply to a real C++ position, then what utility will bring my "professional experience" there.

So maybe it is better to take the initiative and do something on my own?
 
user6461957
2:40 PM
I found a better name for my project: "VitaminC": https://github.com/d03/vitaminc/

Now back to completing the unordered_map.c file once and for all.
 
user6461957
3:50 PM
Yes, my unordered_map_find function works!
 
Wuhan's lockdown is lifted, first international flight landed in Sydney. Isn't this lovely? The first flight from the epicentre, my hometown landed in the city where I live? Coincident, you are doing it right :p
 
user6461957
Be careful, @TelKitty!
 
user6461957
I never understood why anybody trusts the Chinese government giving trustworthy data, if this is the case at all.
 
user6461957
Ugh, there's a bug in my code apparently, "water melon" gets lost when the capacity of my unordered_map is 31 for some odd reason...
 
user6461957
4:38 PM
Ugh, well "water melon" is emplaced, the iterations will come to a halt 1 element too early.
 
user6461957
I need to fix this, cuz I want it to be akin to the actual std::unordered_map.
 
5:49 PM
@TelKitty so?
There is currently 1.5M confirmed cases and 87K deaths, that's roughly 5.8% of all cases that died at the moment... But if you check for recoveries only not including active cases. We're at 21% death out of the closed cases
If we'd follow the same trend for 7.78 Billion people, we'd have a lot more death than we currently have. Considering that the reason we don't have much people contaminated is due to social distancing isolation etc..
So at the end of the day, the actual death rate is somewhere between 5.8%-21% though a lot of people got infected but not confirmed so the lower bound could be lower than 5.8% still. Yesterday the US had around 2000 daily death which is 25% more than usual
And even though the US isn't doing a very good job, 25% increase is still not the worse numbers yet.
 
 
1 hour later…
7:16 PM
@LoïcFaure-Lacroix interesting.
 
7:42 PM
The worst part about it is that deaths in the US are likely to be under counted if deaths don't occur in hospitals. And that most deaths are currently in NY.. But it's starting to rise in other states so expect the US to beat new records soon
I wish I could tell travis to stop tests so it can start test on a new push
I've been pushing things for 1h30 except I could have fixed the issue in less time knowing tests are going to fail anyway
 
 
2 hours later…
10:06 PM
In a recent version of MSVC you can no logner forward declare a class as a struct or vice-versa and have the program link. I lost like 20 minutes figure out why my freshly cloned code wouldn't link :-(
 
user6461957
10:20 PM
20 min? Pffft... I lost like hours trying to find out why my unordered_map's iterators are stopping 1 element earlier... :P
 
user6461957
It's a really strange bug, some bytes change for some odd reason, and I still didn't figured out why exactly...
 
Yes, but in my case the code was working fine until a minor MSVC version bump :-)
 
user6461957
Fair enough. :)
 
10:45 PM
 
user6461957
11:00 PM
Hmmm...
 
user6461957
It makes sense now.
 
user6461957
When you have string literals, the compiler apparently stores them in a contiguous fashion, and since I am doing memcpy(), to copy 61 bytes over and the string literals are shorter than that, then this will cause my weird byte values.

No wonder it took me that long
 
@LoïcFaure-Lacroix I also heard reports that they were counting anyone dead as a coronavirus case in various hospitals in the US. If I remember correctly, it was to get funding. So there could be an overcount of deaths in US.
 
user6461957
It will simply fill up the unused space with garbage since there's no sense of null termination.
 
user6461957
I have to kinda enforce null termination.
 
11:07 PM
Have you guys ever felt the needs to replace booleans with enums for improved code readability?
It also kinda, maybe, gives you stronger types
 
Can't say I have. But it honestly doesn't sound like a bad idea.
 
user6461957
enum bool {false, true}?
 
user6461957
It makes sense in ANSI C maybe
 
My only concern would be whether it would make debugging more difficult.
What is ANSI C?
 
user6461957
C89
 
user6461957
11:09 PM
Well the C standard that is supported pretty much everywhere
 
Ah so an older version of C?
Oh okay.
 
user6461957
Yeah kinda
 
for example auto setting(true,false,12.3f,false) becomes auto setting(enable_option1,disable_option2,12.3f,disable_option3), except that you need to :: every item...
 
Interesting.
I see. That's an interesting spin on things.
 
user6461957
Mikhail, good idea!
 
11:11 PM
What would be a standard ANSI C function? Came across that in an article today.
 
user6461957
What do you mean by that?
 
It was used in this article: techrepublic.com/article/…
 
That article is old enough to appear in a porn movie
 
oh dear.
That's not really helpful.
 
user6461957
Well, I guess they just mean a standard function definition that is already familiar to people who do C.
 
11:16 PM
okay
 
user6461957
Shit, I think I got the corona virus... my throat itches severely...
 
user6461957
Think I am not going to die, but still it's uncomfy
 
That's unfortunate.
I"ve been eating garlic everyday to boost my immune system and eating salads daily.
But of course, salads, require me to go to the store twice a week to get lettuce.
 
user6461957
Well I have stocked up on multivitamins... should be enough to keep my immune system kicking it.
 
That's really good.
 
user6461957
11:21 PM
Dunno if fasting is a good idea if you have the virus...
 
Having a strong immune system will only trigger a deadly autoimmune reaction :-)
 
user6461957
I mean fasting with multivitamins and minerals
 
Yikes. Are you fasting for passover?
 
user6461957
No, I mean fasting 24 h with a multivitamin, minerals (calcium citrate, potassium citrate, magnesium citrate) and DHA/EPA. No protein, no calories.
 
user6461957
Should I rather not do it?
 
11:22 PM
I see.
 
user6461957
Dunno if proteins are important for your immune system...
 
user6461957
Or calories...
 
user6461957
What I now is that your body is being in a stress state when fasting.
 
user6461957
So maybe I should not fast and eat normal, take multivitamins as insurance.
 
user6461957
Having symptoms, like dry coughs, itchy throat...
 
user6461957
11:26 PM
I can phone the authorities about my situation... I have to self quarantine myself probably anyway
 
user6461957
Feels like breathing got a little harder...
 
user6461957
Fuck
 
user6461957
If it is getting any worse, I will need to go to the hospital... but they probably want me to call them before or I don't know...
 
Probably shouldn't fast
 
user6461957
Yep
 
user6461957
11:29 PM
Ah breathing gets really hard...
 
user6461957
Hopefully I am just imaging things and it is not the virus, but it feels really strange right now
 
user6461957
What should I do? I live in Germany. Should I call somebody?
 
Get tested
Also its probably 2:00 am in Germany
 
user6461957
Yep. It's 1:30 am
 
user6461957
Okay, I will just call 112 (ambulance) if it really gets bad... like if shit hits the fan...
 
11:32 PM
Dang, that sounds pretty bad.
I would just stick to normal eating
I would get tested too.
 
user6461957
Yeah, it feels so strange RN. I hope I am just imaging things...
 
Good luck. I'm so sorry :(
 
user6461957
Thank you.
 
user6461957
And I am just 3 decades old. Not that old to begin with
 
Does your country have a text app that you can get in contact with a medical person and describe your symptoms too
?
Aww :( Yeah, I'm 27
 
user6461957
11:34 PM
I am not sure
 
Okay.
 
user6461957
Germany is where I live
 
user6461957
Hmmm... guess I need to Google for any helpful things that I can do...
 
But probably not as useful as calling the hospital.
 
user6461957
11:36 PM
Yeah
 
When did you start feeling like this?
 
user6461957
It started itching really lightly a couple of hours ago and now it got stronger... and I have problems breathing
 
user6461957
Well I mean it feels like a lot heavier to breath
 
Yikes. Idk much about the virus. But I would call the emergency line just incase and give them a heads up.
Idk though
 
user6461957
Yeah
 
11:37 PM
Probably wouldn't be a bad idea.
 
user6461957
I should do it... I am off bye
 
Okay.
Bye
 

« first day (3462 days earlier)      last day (1469 days later) »