« first day (3746 days earlier)      last day (1426 days later) » 

00:56
Hi all, I'm applying at some major C++ employers, and they're asking for code samples! I don't remember that happening before.

So, if some brave volunteers here could gimme some tough, judgmental love, here's sample #1: https://github.com/potswa/fastir

I've just slapped a README.md onto my old postgraduate project, which has never been shared or even documented whatsoever. So now here's a thesis worth of crap stuffed into a couple pages of markdown.
@JerryCoffin, just the guy I was hoping to bother!
@Potatoswatter After years on Fidonet, Usenet, and here on SO, I'm so thick skinned that bothering me is next to impossible, but give it your best shot if you really want to.
You can start by imagining everything I say in Roger Rabbit's voice.
@Potatoswatter Just makes me think of Jessica...next attempt?
So there's this numerical application I wrote for a master's thesis, but never wrote the thesis. Now I want to use it anyway for getting a job.
Link just above ^
@Potatoswatter Yeah, I've started reading your README.
01:12
@Potatoswatter Open it in CLion and fix all the linting errors.
@Mikhail That sounds like it might take a while. (Also, I don't use CLion.)
I just put myself in jail - using boost
user image
9
01:30
I have been investigating some fences/metal mesh for building a secure chicken coop, and I found out in the news that similar material are being put up in DC for inauguration. I would not have thought that same material can be used to fend against foxes, eagles and humans :x I must be lacking imagination ...
@Potatoswatter I guess a lot here depends on how ambitious you are. Code cleanup tend to be a good thing, but as you said, it can get pretty tedious. I'd also at least consider trying to make it a bit more portable (currently seems to be for ios, but at least offhand it's not obvious why it couldn't be completely portable). Oh, I'd also add a makefile and at least one or two test/demo input files. At least if you gave this to me, I'd want to run it and see what it does...
Yeah, I'll add a makefile, which is just generic. And a "try it out" section for the readme.
It is portable standard C++, what did you see to indicate otherwise?
… it does use pthreads instead of std::thread, because 1) it's ancient, and 2) ohhh I'm doing something tricky with the address space
@Potatoswatter The s6::ios_lock stuff. Might be portable, depending on what "ios_lock.h" contains, but that doesn't seem to be included in the repo.
That's another repo also on my GitHub account. The ios there refers to C++ <ios>.
I'm annoyed that GitHub 1) shows the .gitmodules file at all, and 2) doesn't recognize a local frigging link
Anyway that's easy enough to solve by putting the URL next to the #include
01:45
@Potatoswatter Ah, I see. I guess if I was thinking, I'd probably have realized that.
@sehe Sorry, I was kind of preoccupied, but that's pretty cool.
Aha, the submodule is configured with a local path instead of a GitHub URL
02:03
@Potatoswatter "works on my machine" strikes again!
 
6 hours later…
 
3 hours later…
10:54
#PardonSehe
11:28
scraped = public. Surprise, robots.txt is only privacy theatre.
Most scrapers only look at robots.txt to avoid being blacklisted.
it just tells people how to not raise red flags
 
2 hours later…
13:39
Holy shit people there are still some people here :D?
You probably saw this, but in case you didn't tiktok.com/@alberta.png/video/6918037666793639174?source=h5_m
^ I laughed out loud
"this is still here" is a phrase that is increasingly posted here, and by extrapolating, in a couple years it will be the only chat message here being repeated
IDK I have vague memories of the community migrating like 3-5 years ago
@BenjaminGruenbaum The loungers are definitely the nicest and the sweetest people. As a stranger, visiting this room will definitely give your a boost in your confidence.
That's how I felt when I first came here. All warm and fuzzy.
My previous statement was the kind a immoral 2nd hand car dealer would say before he tricks your giving him your life saving for the old car that would break down the second day after you have paid fully for it.
13:56
Mar 29 '14 at 22:30, by Benjamin Gruenbaum
The C++ Stack Overflow chat. — Benjamin Gruenbaum 7 secs ago
 
1 hour later…
15:25
@CupOfJava hehe
15:53
:P
 
1 hour later…
We gotta up the hyperbole. "for dummies" isn't enough "for fucking idiots" isn't enough, we need for "irredeemably mentally incapable people"
17:42
I hear the book comes with a free hour of a guy who comes over to your house and degrades you for not knowing Java
The movie is so much better.
 
3 hours later…
user7659542
20:54
@PeterT issue is that you have multiple incompatible aspects: on the one hand many arrogans sw engineers who think they are geniuses and on the other side people who don't realize they are idiots. Those two aspects are not mutually exclusive per se. But the problem arises when sw engineers start calling other sw engineers idiots, although they are inherently biased. So who is objectively able to assess which people are idiots?
We are all pretty dumb, just some are dumber than the others.
user7659542
I m probably an idiot. I thought that stack was part of the memory's data segment
user7659542
apparently it is not.
user7659542
@TelKitty Indeed, the psychologist Allain de Bottom has quite an interesting view on this. Whenever he receives patients who lack confidence and are going difficult times because they believe to be too incompetent/stupid compared to other people. He just answers +/-: "Don t worry, we are all stupid. We are a bunch of idiots living together on the same planet"
21:21
user7659542
@Mikhail it s always an honor to see great minds at work
22:03
I committed my bounty ahead of time even though I had the goal of driving more attention to the existing excellent answer.
I just couldn't suffer the steady stream of new, low-value answers. Bounties attract two kinds of attention, sadly
 
2 hours later…
23:48
@sehe admittedly the quesiton is rather incomplete, for example the first comment.
Not to mention the suggestions are for apache, but all the cool kid are on nginx
In March 2019, Nginx Inc was acquired by F5 Networks for $670 million. At that moment, as Techcrunch reports, Nginx server was powering “375 million websites with some 1,500 paying customers”.
Look at that monetization rate :-)
1500/375000000 ?

« first day (3746 days earlier)      last day (1426 days later) »