« first day (3313 days earlier)      last day (1618 days later) » 

3:42 AM
When you are trying to rent out a property and most of your visitors are wildlife. Wildlife don't pay rent, they living rent free on your property. It's so unfair that they don't even allow me to pet them or hug them a little.
I love animals, so that's not a problem. But when some of those wildlife come and steal the love of my life - my pet chickens. They deserve to be caught and locked up in a cage!!!
Also I need to spend less time on the internet - 20 some years ago, the internet was like a raw beauty, full of information and freedom. It was like utopia. Nowadays, it's full of ads, cages and thieves who are trying to steal all your information. Sadness.
 
I routinely install a bunch of stuff from a clean setup including cuda and binaries in under an 90 minutes.
 
 
2 hours later…
5:37 AM
I have an excellent idea ... again cough cough - what if we start making a game such as 'Animal Simulator'? Like, you can use VR and live the life of an animal, be that cat, dog, birds or pigs?
Can you believe that, you get to live as a pig in a virtual reality game, yes, a pig! Or maybe a peeping tom bird who spies on neighbourhood residents. Or a raccoon who steals all the cat food and get into a fight with cats.
 
6:19 AM
This game can fulfil all your perverted fantasies - like you can upload your enemy's picture, then turn into a bird in the game and poop on your enemy from the sky all the times!
 
6:36 AM
So... like Goat Simulator?
 
I have never played goat simulator. It would be more like from first person animal view.
There are few pig simulators, but you can see the pig in the game, you are not seeing the world from pig's angle.
 
6:54 AM
Well... you have fun with that.
 
7:10 AM
@Destructor There are basically two factors: 1) nobody knew of an implementation where unsigned char would have a trap representation (probably the best known system with trap representations is Unisys MCP, and it doesn't for chars), and 2) it's really useful to have a type that lets you have defined results for doing things like sending data over a network. So, it was pretty easy for the committee to mandate that unsigned char doesn't have any trap representations.
 
 
3 hours later…
10:18 AM
@TelKitty - I'd love an eagle simulator. Or even more challenging, creatively speaking, a pigeon or seagull sim.
Anyway, came to ask a quick question about Cmake. I'm currently using find_package to reference a library, would it be a quick change to directly include / bundle it into my executable?
 
 
2 hours later…
12:30 PM
Hello
 
@Carlie nah, I just know about CPACK being able to generate installers, but I don't think there's something like AppImage for CMake
 
I have the situation where
for(i = 0; i < x; i++){//...}
 
don't we all have these kind of situations? We usually say what type i is though
 
Where x is passed as a parameter to the function. I would like to make it so that x is a default argument then i < x is always true. Is this possible?
in my case i is mpz_class but I was hoping for a more algorithmic solution
 
so you want to have a special value for X that leads to an infinite loop?
 
12:38 PM
Yes! Because there's a return statement inside the loop
 
you could do void function(std::optional<X_t> x){for(X_t i=0; !x || i<*x; ++i){/*...*/}}
 
nwp
That sounds like you want overloading instead of optional to go here.
 
🥴
 
true, overloading would be smarter if the function is simple
 
1:16 PM
On the subject of traps, has anybody actually used or even encountered signaling nans?
 
 
1 hour later…
2:18 PM
@Charlie Seagull sim, excellent idea - being a seagull, stealing tourist's chips, +20 points, robbing tourist's hot dog, +30 points. Chasing tourists and causing them to fall +50 points.
 
Well you're just going to get accused of copying untitled goose game with that idea :P
 
Geese have upright character, they don't go around stealing people's food.
 
jrh
3:17 PM
What's the deal with the related questions on this question? "How do you set, clear, and toggle a single bit?"? Is it just pulling in random C++ tagged questions because it ran out of ideas?
Looks like it's weighting votes over tag relevance; kind of a silly setup IMO; that openCV post with 1 score is way more relevant
 
nwp
They show 4 with high score and at least 1 common tag and 6 where they look more at the tags. Doesn't seem completely unreasonable. On average that might work out. Also they might be aiming for keeping you engaged instead of going purely by relevance, and high score is better for that.
 
jrh
is that new? I don't remember that
maybe I'm just not remembering it right
In any case maybe I'm getting crotchety but I'd rather not have basic C++ interview questions like "iterate over words in a string" shoved in my face when I'm trying to read something else
if it's really always been that way I've gone full SO senior citizen complete with rose tinted glasses "Back in my day, we had real relevant content...."
 
nwp
Well it's true, SO used to not have outdated content. That just cannot be helped.
Well it could, but they seem very reluctant to make meaningful changes.
Let's just change the close vote wording again instead.
 
jrh
3:37 PM
that's a losing battle right there
 
nwp
SO decided not to fight that battle despite the desperate cries of its users.
 
@PeterT - Cheers for the reply. I'll keep searching for a solution. Pretty sure there's a a solution out there.
@TelKitty - Don't forget the all time favourite number one seagull activity...
 
4:07 PM
Hi guys, I have a question that will trigger discussion. I have an itch (but am not certain) that this warrants a design pattern as well.

I have a .cpp file that is branched on 4 different clearcase branches. I want to consolidate all of these differences to the dev branch, but do it in a smart ("the right") way. The most clear cut difference is that one method is completely switched out and has unique behavior for each branch. But the rest of the code is the same.

Given the situation above...what's are some ".cpp orthodox" ways to do this, design pattern or not?
 
 
1 hour later…
5:32 PM
@nwp Instead, SO chooses to fight "other" issues... lol
 
nwp
5:45 PM
I'm going to send in a patch to fix this.
user image
3
Much better.
 
 
1 hour later…
7:06 PM
🦜
 
7:20 PM
@nwp it should be Excepted GDB exit on the up-left corner too..xD
 
Hey, has anyone dealt with gdb pretty printers for cpp classes?
 
7:40 PM
@Mysticial curious your thoughts blog.nuclino.com/…
 
@Mgetz Halfway through reading it and I agree so far. I don't get pulled into a lot of meetings since I'm a "maker". But those fucking interviews...
 
I was reading it and very quickly realized just how much meetings mess me up, they can literally throw my entire day
 
HR fucking gives me like 10 interviews a week of which I reject like half of them with some lame excuse.
 
@Mysticial Just give them slots when it doesn't matter if you're interrupted, e.g. end of day or friday
 
Then X months later when random people get hired, they come to me like, "hey! you interviewed me!". I'm like, "who the hell are you?"
@Mgetz My day is 10:30 - 7:00pm. Interviews are usually done by 4pm. IOW, I'm fucked.
 
7:48 PM
@Mysticial ah ok
well friday... you can just ruin one day then
 
And lunch is 11 - 1pm. (I work + eat at the same time). But because I show up late, it's hard to fit an interview in the morning.
And I have a recurring daily "meeting" from 5am to 10am to keep HR from giving me interviews when I'm asleep.
 
@Mysticial you can't set working hours?
 
@Mgetz They completely ignore them.
 
@Mysticial ah ok, I just decline if I'm already scheduled or outside of hours
 
@Mgetz I find every single excuse possible to get out of interviews.
 
7:52 PM
I wish I could, but I'm the practice's lead devops engineer and we're trying to hire
 
Typically:
- "too many this week"
- "2 in one day"
- "overlapping interview-to-feedback period"
 
@Mysticial "Need this day to get actual work done'
 
For interns:
- "1st language isn't C or C++. Can't interview."
 
you do realize that basically excludes any college graduates in the last 10 years in the US right?
 
@Mgetz Yes. And I can name the schools that do teach C++ on one hand. (mostly just Waterloo, Michigan, and UIUC)
But it's also the point:
1. We want C++. Not JS, Python, actionscript, whatever-the-fuck-script.
2. I hate interviews.
 
7:56 PM
@Mysticial Technically CU as well, but I doubt that's the caliber of graduate you're looking for. As long as Michael Main and Dirk Grunwald are there C and C++ will be taught (somewhat controversially actually)
Grunwald's an interesting fellow, he basically found SPECTRE against netburst back in the day
off topic: apparently something with notifications on mac is a sensitive bug for chrome... they locked it
 
 
1 hour later…
9:03 PM
@Mysticial xD I would do the same
luckily i dont have to because i never get asked to do them, i hope that never changes
 
9:14 PM
youtube.com/watch?v=uTxRF5ag27A ... ah, beaten to it...
 
9:26 PM
stackoverflow.com/questions/11972076/… got deleted. Any chance to restore it?
 
@Mysticial yeah but it also prevent legit people from getting job in C++ if they really want to
I for one had a hard time finding a job in C/C++ except one day Mozilla technicall accepted me but refused because I was in Russia but that's a different story
But if you're looking for interns only, then you're going to have a hardtime finding something worth it
The last intern we had as a python developer, worked 1 month and then gave up and told his supervisor to pull him off.
That was a few days after I told him "please think before you make some changes"
 
9:46 PM
@LoïcFaure-Lacroix We're primarily looking for full-time. But we do some interns as well. We don't require C++ for the interns. But I generally refuse to interview non-C++ interns simply because I'm not really qualified to nor do I want to. And when I do, I typically just give them a math question.
The majority of the intern candidates seem to only know Python and/or Java.
 
I wouldn't apply for a C++ job if I didn't know C++ in the first place
 
I'm pretty sure those that haven't picked up C++ by the end of the internship don't come back.
 
 
@LoïcFaure-Lacroix We get applications from like everywhere. Interestingly, most of the people I end up interviewing are pretty good. As in, I pass almost 1/3 of them - including the phone screens. But when speaking to others, people tend to pass less than 10%. So I have a feeling that the candidates that I get have already been filtered to some extent.
After the usual onsite interviews, even if everybody passes the candidate, the candidate will not get an offer unless there's at least one or two people who "feel extremely strongly" that they need to hire the person - and have a specific position in mind.
It's only the unanimous "this person is in the top 1%" does the person get an offer without a clear place to put them.
 
sounds ok
then I'm wondering why we get so many unskilled python developer
hmm may be it's just that python is becoming the new php so we get everyone
holy shit, I wanted to look how file uploads were managed by the framework widget we use and found out... the files are base64 encoded and sent inside json as string
 
9:56 PM
@LoïcFaure-Lacroix I've interviewed interns who only know Python who don't even know what integer overflow is - or at least can't explain how and why it happens.
Regardless, if I end up interviewing an intern candidate who only knows Python, 90% chance they will fail.
 
I guess too. If you only know python, chances are you won't know about overflows because... you're usually not limited by type sizes
I'd still hire anyone with good background in Scheme because if you have a background in Scheme you're already in the 1%
 
We've also passed on some super-good candidates simply due to skills mismatch and the anticipated unwillingness to pay the person 7 figures right off the bat.
 
what?
like 1,000,000 ?
 
yes. 1 million USD.
 
what's the average income for a good dev?
here, 6 figures and you're technically in the 10%
 
10:06 PM
I'm actually not sure what the average is. But it's definitely 6 figures.
Every once in a while, we'll interview a candidate who holds some senior position somewhere else. Everybody unanimously passes the person as "in that top 1%". But it will cost 7 figures to poach the candidate and no team is willing to take that gamble.
When that happens (which has happened twice for me), I question why we even bothered to bring the person in for interviews in the first place.
That said, there are exceptions once the position is high enough - IOW, golden parachute territory.
 
I'd bet 2 person in 6 figures are going to be better than anyone in 7 figure , it's just a matter of searching well... But I guess "it depends"
 
There's a lot of economics involved. How much someone gets paid is a function of supply and demand of their skillset as much as how much value they may bring.
 
user9499319
11:18 PM
Is studying EE putting me at a disadvantage when applying for software development jobs?
 
user9499319
I have got a few interviews for some placements. But incalculable rejections. I wonder if it's because I didn't do Computer Science, and opted for EE instead.
 
user9499319
Even though my heart was set for computing. I wanted to approach it from a more fundamental low-level, than how many CS programs seem to be structured. At least that was the opinion of the younger version of me.
 
user9499319
Did I make a mistake? :(
 
user9499319
I am not even picky about it. Although my heart is set on C/C++ internships, I can't seem to find many so I have started applying widely across the board.
 
@AaronDarwish kind of really depends what the industry is around you. If you have lots of IoT, microcontroller stuff then EE should be plus
 
user9499319
11:29 PM
Clarification: An industrial placement is a year in industry, during the penultimate study year of your bachelor's degree. It pays about 17K GBP (equivalent to 22K USD) annually.
 
user9499319
@PeterT I have done a couple of projects. Though unfortunately the examinations, volunteering, and other university demands makes it hard to properly develop them and market them to potential employers.
 
user9499319
Most people around me thought I'd find a placement "easily". But the reality was different. The vast majority of companies don't reply. If you ask them if they've had the time to consider your application. They'd return to you a rejection.
 
user9499319
Mind you, I have so far secured a 1st class degree grades-wise in my university studies. (Haven't graduated yet).

And do have (paid) work experience in the software industry.
 
I don't know how the market is for those placements, but I think job searching in general, even if you can find something "easily" doesn't mean you get 0 rejections
 
user9499319
Mhm. That's why I started worrying that maybe it's my EE degree that's the problem. If somehow it's putting me at a disadvantage against CS qualified ppl.
 
user9499319
11:35 PM
Even though, at least to me, it seems ironic. Because in EE we've studied many fundamental topics to computing. Everything from DSPs, uCs, uPs, to the assembly language that operates on the likes of the MCS-51, x86, etc., And C/C++ of course.
 
I mean, no formally complete degree has got to be dampener in addition to you presumably being bound near the University. I mean sure, some pure software projects might help when looking for a software job, but I wouldn't think the degree alone is a huge restriction
For most programming positions those specifics aren't hugely relevant. We had non CS-engineers, a Phycisist and a Mathmatician as Programmers at one time or another
 
user9499319
Thanks for your insights, @PeterT.
I suspected so. Especially that most of EE topics are part of CS. And the topics that I have missed from CS (such as databases, maybe a proper OS module) are things I could pick up.
 
user9499319
But yeah.. I have completed a project. An Alexa Skill that controls HVAC devices using the BACnet protocol. With many features.
 
user9499319
Kind of hard to showcase it. I haven't uploaded it to Github because it's commercially owned by the company that I had work experience with. Though it wouldn't be hard to create a clone in a week's time.
 
user9499319
But I assume that sort of project isn't impressive enough to make me marketable.
 
user9499319
11:40 PM
I'd need extensive time to write proper open-source projects and upload them to the likes of GitHub.
 
user9499319
Something I wish I knew sooner than later.. I mean.. I have to secure a placement asap and I don't think I'll have enough time to complete a good project.
 
Not really intimately familiar with the UK hiring scene for those kinds of placements. But I don't think spending week on a Github project is going to give you a better ROI compared to just writing more applications.
I mean, you mentioned the project was for another company, do you have that company as reference in your application. I would think that would be worth more than the GitHub project. A hiring manager is sooner going to call the company than look at GitHub
 
user9499319
I do have a reference. But most placements don't seem to give my application the time of the day to review it.
 
user9499319
Perhaps I am applying to the wrong companies. I am using ads on a site called Gradcracker.
 
Like which order of magnitude are we talking about here? 5, 10, 50 or like 100 rejections?
 
user9499319
11:46 PM
Maybe I should try to find smaller firms, who don't have a structured placement program in place. And convince them to take part in the scheme. As it's cheap labor and some students might be productive.
 
user9499319
About 50 rejections so far.
 
user9499319
Roughly, a tad more.
 
user9499319
And finally secured two interviews.
 
user9499319
Unfortunately not software dev based. Pure EE.
 
That still seems reasonable if there's a bunch of applicants at the same time (i.e. nearing the end of a semester). Especially if the same program exists for post-grads then I'd think most companies would prefer those
 
user9499319
11:48 PM
I think the competition for the companies that have the funds to list themselves and their programs on the likes of Gradcracker is far too stiff.
 
user9499319
As far as I am aware. The year in the industry program isn't for post-grad per se. Post-grads should apply for grad schemes instead.
 
user9499319
But as you said, most students are applying to these same positions. Some from top-notch schools. Mine isn't that highly ranked. It's still a "Russel Group", the equivalent of Ivy League of the UK. But one could say it's at the tail of RG universities.
 
user9499319
Not sure.. anyhow. After my next assessment is finished. I will sit down and research smaller firms without a placement program in place and see if they want to take a chance on me.
 
Sounds like a plan. I know getting rejections sucks, but it's really just part of the "game" so to speak. But it really should be easier after you have a degree and the work-experience.
 

« first day (3313 days earlier)      last day (1618 days later) »