skysight-inc/HackerNews huggingface dataset:
Ask HN: Help with getting C++ developer job
Little bit of background: I have 3 years job experience as maintenance developer giving patches to banking product. I work in Java and C code base, but it is mostly legacy code and most of my work required knowing banking well than the technicalities of code itself

My question: I want to get out of the company and want to get job as C++ developer. What should my plan be and what are the things i should concentrate on. Please help me with concepts i should be thorough in, any resources i can use to get better.

Appreciate your help. Thanks :)
Arturo Benedetti Michelangeli
A bug/prank/mistake as stated above. It would have been a lot creepier if limited to the first sentence only.
I try to answer two questions quickly: Am I competent enough for this position? And can I see myself working there? Both are easier to answer if the posting gives solid examples, like a description of a recent project or the markets you serve. I want to understand your desired outcomes, not "required" skills.

More often than not, some "required" skills in the description become negotiable during the interview. But outcomes aren't negotiable because outcomes drive revenue.

I wouldn't abandon a job description for including the phrase "relentlessly positive attitude". But it's pure fluff and I would skim it looking for a concrete description of the work.

Recently I was impressed by this job posting from a small outfit in Kentucky [1]. It's a little long for my taste. But it was easy for me to answer my own questions.

[1]: https://www.level12.io/careers/full-stack-web-app-developer-...
React Blackjack Card Game
This is a great, great point. Ads themselves aren't necessarily scummy or manipulative. I can't even think of the number of restaurants I've found through their ads, products I've ended up buying through ads, or services I learned about through advertising. Which is sort of the point -- I have interests and some money to spend, and ads tell me of new people (or familiar people with new products/foods) to spend it on.

Specialized magazines (hobbyist, regional, etc) seem to hit the absolute right balance for this. People advertising in them know who they're advertising to, in general, and people picking them up know what they're getting; some interesting content (hopefully) and some ads relevant to their hobby/region.

Online ads have gone way, way, wayyyyy too far in getting into the scummy hyper-profiling, and they're not even selling stuff I'm then interested in! So what's the point? I mean, in practical terms the point is to try and differentiate their profiles of me from other people's profiles of me -- marketing techniques applied to the business of marketing -- but in real terms, who (aside from the companies building these profiles) benefits?

I'm personally holding out hope that the US will adopt a "you own your data and can determine its uses" legal framework, and bring the hammer down on anyone amassing profiles on the populace. Google, Equifax, Facebook, the million anonymous marketing and list-selling firms, all that stuff needs to come under heavy regulation.
every 6 months I spend half a day trying to get gocode and whatnot to work with my IDE and still can't get a reliable fix. Go modules really messed up a lot of dev tooling
"That's the very definition" sounds a lot more like a statement of fact than an opinion. I want to know where it was defined, and by whom.
The people forcing those ads onto us "well-paid tech workers writing code for well-funded companies" are also "well-paid tech workers writing code for well-funded companies".
Although your point of view should be pondered by what the status of "dhimmi" is in muslim-ruled countries (not exactly the same as citizen of equal rights), i don't think you contradict my point. Jews were "tolerated", but it was really out of question to have them be in charge.
'I don't know what you mean by "glory",' Alice said.

Humpty Dumpty smiled contemptuously. 'Of course you don't — till I tell you. I meant "there's a nice knock-down argument for you!"'

'But "glory" doesn't mean "a nice knock-down argument",' Alice objected.

'When I use a word,' Humpty Dumpty said, in rather a scornful tone, 'it means just what I choose it to mean — neither more nor less.'

-- L. Carroll
I was going to mention XLNet before I saw your comment.

Also, a recent piece of interesting work [1] shows that with the right control parameters, you could still use gated RNNs, like LSTMs, for pretty good language modeling.

[1] http://www.abigailsee.com/2019/08/13/what-makes-a-good-conve...
The update would restart your device and wipe the malware.
The Intriguing Sneaker Bot Industry
There has to be a difference. You shouldn't become such an experienced person at X or Y that it's actually illegal for you to change jobs now. If you are in a particular field you should be valuable to stay in that field, and changing jobs is a right.
People need to ability to change jobs as much as they like and there should be no blacklist.
Does any of that need to be? Consider the attack surface, none of that is regularly exposed to untrustworthy content.

More relevant: Do I trust SSH? My browser?
The list moved to a github repository https://github.com/cjbarber/ToolsOfTheTrade
I figure this has to be it. In nature spikes are almost always dangerous, whereas blobs are almost always relatively safe objects (typically soft, et cet).
> I think the best solution is FAANG pay it forward and support the entire opensource R&D pipeline

That's not so much a solution, but a new problem: how to get FAANG to actually do that?
Did this exploit exist for all browsers on iOS? Or just Safari?
https://news.ycombinator.com/item?id=20838166
It’s just iOS. But, considering that all browsers have to basically use Safari (or rather WebKit/WebViews) on the backend, I would assume it affects any browser on iOS. With that said, that’s just a guess and I do not know for sure.
I think so too, the examples I listed are just symptoms, but it's the symptoms that bring you down.
Cocky Floridian here.

Having lived in Florida for many year, I'll say hurricanes are terribly destructive but in most* cases, the risk to humans is minimal. Stay in your house (unless it's a prefab), or go down the local shelter.

The worst parts of a hurricane are property damage, lost power, no gas, etc. It's much different than a wildfire or a tornado.

Call me an idiot, but risk vs reward...I'm gonna stay put. I've saved thousands in property damage that way too.

---

* If you build a city below sea level, that can turn out pretty bad. Also, if you are in poor health, live directly on the beach, or live somewhere without shelters or robust infrastructure.
At the end of the day, if it's part of compensation that they have to pay, doesn't matter? And losing $1.3B is not inconsequential no matter how you look at it.
So you admit you don't really know much about the matter, but consider your opinion qualified by virtue of somebody asking you for your opinion?

You can ask me what I think about inflation but that wouldn't make me an economist, would it?
they have complete ownership and redistribution rights to anything worked on hours. no restrictions on work done off hours, other than direct competion. general components that have been sectioned from the code base are usable for personal projects.
> I could be wrong.

You're not :-) The 737 still has direct mechanical linkages to the control surfaces. Changing that would require completely redesigning the aircraft.
Ask HN: Virtual HSA (Healthcare Savings Accounts)?
It seems my personal banks are no longer offering HA accounts. My employer uses a bank, but the nearest branch is a days drive away from me and that's just to sign paperwork.

Does anyone know of a "virtual HSA" one can get? I was hoping that Bank Simple had one but they don't offer anything yet.
That's why we do comparisons per capita.
They have indeed. If you reside in Denmark, you are required to have Danish license plates (and thus to pay the aforementioned tax). Even if you have your official residence in Sweden, but you stay the night in Denmark a little too often, the tax authorities will deem that as residing in Denmark.

The chances of getting caught are high. If someone who dislikes you notices a car with Swedish plates staying the night too often, they might report you, and the fines for violation are terrifying, the tax itself with 50% on top if memory serves.
Fair enough. His conduct afterward could be looked at (though going beyond wikipedia may be necessary). But the original hysteria definitely painted a huge target on his back with a lot of misinformation. I don't think that's deniable
I think it’s more likely that Google researchers were sent these exploits or stumbled upon them through manual research.
Targeting all use cases with x86 is not unusual?
That's why Android is far safer. No exploits there.
Interesting. I spent some time looking for information about what makes oh-my-zsh so great, and was unable to find anything of substance. Do you personally use oh-my-zsh, or you just see others using it?

I'd be interested to hear from anyone who does. I have looked at zsh (and fish, for that matter) in the past and have not come away with a burning desire to switch, but I am open to being convinced it is worth another look.

If anyone has a top 10 or top 5 reasons why they run oh-my-zsh, I'd like to hear them. I tried to find something along those lines, but didn't have any luck.

(BTW, I thought it was obvious that I was discussing interactive shells, since my original response specifically discussed people changing their default shell to zsh or fish. It would seem silly (to me) to think either of those would ever displace bash for shell scripting.)
Of course, people like newer things. But how was the cost of surrounding old builds affected?
Do you have a link or something to disprove that?
I'm not a lawyer, but my understanding is that robocalls already fall under laws that make them illegal. The problem is that if someone makes an illegal call from a spoofed number, you can't tell where the call is actually coming from, so you can't prosecute the caller. SHAKEN/STIR closes the loophole that allows spoofing phone numbers.
All browsers on iOS basically use Safari on the backend since Apple doesn’t allow other browser engines on the App Store. My guess would be that it affects all, but I don’t know for sure.

I haven’t seen other browsers mentioned anywhere.
I, like a typical nerd, was just pedantically annoyed by the misused of the term "malware". I don't actually disagree that the ad industry should burn to the ground.
To be clear, are you saying nobody is a deadbeat? And anyone avoiding responsibility is a victim of something? Some might be, but 100% are? I find this view of the world very naive.

Weed isn’t the reason that someone isn’t taking care of their wife and kids. There could be many reasons, perhaps some legitimate and some not so legitimate. But the reason is never that the weed got a hold of them like people unfamiliar with it seem to think. It just doesn’t have that effect. Some drugs do, though.

Edit:

BTW, although my connection to the situation was quite stressful, I would not call what I went through hell compared to what his (now ex) wife and kids went through. But yes, the blast radius is large there. And the people who got the worst of it were the compassionate ones. They’re so easily manipulated, and the addicts know that.

Now that I think about it, the individual who helped him and his family the most (and who is currently not speaking to him) is actually one of the biggest weed users I alluded to earlier. That guy gets more done in a day before most people even get out of bed.

So yeah, I just can’t take people seriously when they talk about victims of weed addiction, especially when their opinions are formed based on that pothead from high school that didn’t go anywhere. It’s comical sounding if you have any real experience or understanding of these issues.
> Bickeböller's complaint endangered the planned inauguration of the 787, which had already been delayed due to technical difficulties. The problems identified by the engineer, however, weren't addressed by Boeing, which is why he turned to EASA in June. [...] In those papers, it states that management and top executives at Boeing had ordered that the coordination problems with the company's suppliers be "closed." The reason: "to get the 787 production certificate."

I, for one, hope this plane never flies again.
It's obvious to me neither the FAA nor Boeing attempted to accurately replicate the first crash scenario, because this could have wholly averted the second crash. As soon as the planes were grounded, we were getting all sorts of reports about the stablizer being too hard to move and basically an unrecover situation.

Jail time is the only outcome I will accept.
As someone who has had to deal with C++ in the Windows and Linux kernels for the last couple of years, the thing that excited me and drew me to Rust is the use of Result rather than exceptions.

Exceptions are incompatible with environments like the Linux kernel. This then makes you incompatible with the stdlib and most third party libraries. It feels like most exception-less C++ libraries also handle error handling in their own way. This means you are in this weird language+library word disconnected from using existing C++ code. You also have to deal with training, not just for kernel + language but kernel + language + special language variant with all of the gotchas of all three.

Herb Sutter is working on improving this situation but I feel it is a ways out and last I looked at it, I was a little uncomfortable with it.

Even once that is handled, there is the issue of what subset of the stdlib is safe to use. Rust has done some work to help with this with nostd and most third party code that isn't compatible with nostd could probably be easily fixed to do so.

bcraig is working on "freestanding" proposals to fix this in C++.
The dichotomy between hyped and rational people is kind of artificial though. And in a crowd, the most loud echo will always be the hype.

There are bad projects with a lot of hype, bad projects with little hype, good project with little hype and good project with a big hype. Hype just isn't a good proxy for quality.

But hype is often a good proxy for success though: no matter how good your product/techno is, it's going to fail if there is no traction. Overall, if you think a product is good, it's good news if there is hype about it also. (And I think it's exactly what's happening with Rust: a good tool with a good amount of traction. But yeah, fanatics are always boring)
One thing that helps is doing a vegetable scramble with anything that needs to be used up in the morning, falling back to shelf-stable cereals otherwise...
It is in a sense a google proxy. Better results IMO than DDG, more similar to Google without sending your IP/info to google.

I don't understand the stuff too much at a really high level to know which is more private, DDG vs Startpage.

>On 29 March 2016, Ixquick.com was officially "merged" with the same company's Startpage search engine[3] (a search engine with the privacy features of Ixquick, but using only Google search results[4]). Users entering ixquick.com are now automatically re-routed to startpage.com. Ixquick had long declared on its sites, that it operated in compliance with European Union privacy standards, and it retained its original European search engine, Ixquick.eu,[8] until about April 2018, when it was also redirected to startpage.com.

>Prior to the release of Tor Browser version 4.5, Startpage.com was its default search engine.

https://en.wikipedia.org/wiki/Startpage.com
You know, healthy people are flexible and versatile, so they adapt to any situation. In general, running any kind business and being a parent at the same time is normal. But if you have a choice, it's better to focus on one thing.
that doesn't answer the question of why didn't they go public with the information? Most people don't update frequently enough. Also some people may need to change password etc. if they've visited those sites.
I intensely dislike yaml's whitespace-based syntax because whitespace is white, and it gives very little visual context expecially in long, nested documents. Editors that expand/collapse branches do help some, but are no match for highlighting matching pair of braces in other saner formats/languages (I am also not a fan of syntactic whitespace in python, if you get my drift.)

And ansible's parser is broken, in more ways that I can remember (haven't been writing playbooks and stuff for a couple of months now). If you like pointless pain, try embedding ":" in task names for a demo (or one of other several "meta" characters: the colon is just the one that ends to recur most).

I will give a passing mention to the smug, vague error message "You have an error at position (somewhere in the middle of the file) It seems that you are missing... (something) we may be wrong (they almost always are) but it appears it begins in position (some position close to the first line)" that sets off a hunt for the missing brace/colon/space/whatever and makes me want to do stuff to the person who devised it.

This compounds with the confusion brought on weaving of yaml's and jinjia2 syntaxes and ansible's own flakiness on deciding what is evaluated when - which decides when and if a variable does indeed change, when does yes means "yes" rather than true or 1, but not '1' or "true" (try prompting the user for a boolean variable, and find yourself writing if ( (switch == "true") or (switch == "1")) in short order).

Pity that ansible is so damn convenient, or I would have ditched it long time ago for anything - bash included (OK, maybe not bash).
Maybe a shift from sports to actual fitness and health would be a good start. But we must retain an element of teamwork. Maybe the issue is the old design of current popular sports. A newer one targeted to general fitness over specific fitness may help ease the meritocracy that will evolve as it does in all human systems over time. I think some amount of merit-based fitness is good, but when merit is the only qualifier, the motivations get weird fast. College sports is good exmple of that.

What is a sport that democratizes fitness? Can anyone think up one? Seems there are many ways to make this better.
I guess it’s rather pointless to argue about where to put the bar for "luxury". For some, it might be Audi or BMW, for other it might be Ducati or Bentley, it’s not exactly a scientifically defined term.
Likewise tortillas.
I think that's a bit exaggerated. The limits are known: unsafe code can cause problems when combined with any other code in the same module. If you use unsafe, you need to check the whole module, not just the unsafe block. This has been known for a long time, but people tend to not go into detail when talking about this because it's laborious and not really the point.
I think it was fixed. It’s working just fine now, but it was borked when I posted the comment.
Not necessarily a fan of forced vaccination, but a little remark to further the discussion:

Unlike most medical interventions, vaccination is not about one's individual well-being, but more about the protection of the entire population, especially other, more vulnerable individuals (https://en.wikipedia.org/wiki/Herd_immunity).

This is why some vaccines are recommended even if you're not especially in danger, because they help protect others that may not be able to be vaccinated (because they are too weak, or due to a special reaction to the vaccine etc.)

Not saying that it means that forced vaccination is morally justified however! But the question of vaccination is definitely not simply about individual choice in regard to one's own health.
Normally I'd agree but having some familiarity in this area, my observation is that there is a subset of Apple users who buy Apple products who don't think about any post-purchase costs (as with many other products associated with the "higher end / luxury" image in the mind of the customer, I'd imagine).

A customer doesn't expect to be quoted >$1000 to replace a damaged screen on an iMac machine, nor do they expect to be told that their SSD can't be replaced because Apple uses their own proprietary connector [1]. Tons of legitimate things to not like about Apple particularly if you care about the right to repair your own machine. [2]

> When Apple released their first “blade” solid state drive in the Late 2010 release of the MacBook Air, they still used established mSATA interface technology, but ditched the traditional SATA and mSATA form factors found in most laptops at that time, instead opting for a custom connector that’s never been used by another manufacturer before or since. With the 2010 MacBook Air, Apple began a new trend of developing proprietary connectors and form factors that eventually pervaded the entire Apple lineup and ushered in an era of drives that, while easily replaceable, were not so easy to find.

Many people incorrectly assume the connectors are one of the M.2 variants found in many PCs, but to date, Apple has still never used a standard M.2 connector. And unlike M.2 pin arrangements, Apple’s connectors were never given distinguishing names, so from this point on I’ll just refer to the connectors by their pin arrangements as described in the image below.

[1] https://beetstech.com/blog/apple-proprietary-ssd-ultimate-gu...

[2] https://en.wikipedia.org/wiki/Electronics_right_to_repair
Add a MicroSD Card to ReMarkable Tablet
My father staunchly refused to buy a TV for the family, saying that there was nothing besides garbage to watch, for what I am very grateful now.

Back then, I had no understanding why he does so, as he himself and grandfather before him were making substantial money bringing TV sets from Japan.
The question is about removing the option to watch it in the original.
Great as always.

However, I don’t really agree with the linting section up front. The linter should be fixing as many style nits as possible on its own; it should become something that devs rarely have to think about. The goal is to reduce friction, in the form of style nits on pull requests (by bots or humans). The time to discuss style is when you set your linter config. After that you can all forget about it, until the next time linter config comes up. In this model it’s ok to have a strict linting config. Again, it should reduce friction, not introduce friction.
One of the key differences here is that there are resources other than memory. GCs can help you manage memory, but not other kinds of resources that also need managed.
I'd start by making sure you can code in c++ and learn any pitfalls you may have. No sense interviewing when the first few questions on a technical interview may count you out. My first question of an interview was to write my own Vector implementation, second was to explain how smart pointers can leak memory.

There are a lot of free resources, Thinking in C++ has 2 volumes. Stroustrup and Myers write great books and there are many other authors.
While that's true, when using something to measure you're not trying to find a universal truth, just something constant and approximate enough for your purposes that you can utilize it.

If magnetic north was located in Mexico it would still be of use, assuming it was relatively constant.
The support of async disk I/O in Linux differs depending on kernel version and file system type. But it is possible to get 100% async I/O with the is_submit(), and dqlite will leverage that if detected.

There is now a new async I/O API available in Linux (I'm not remembering the name right now, but it was developed by folks at Facebook). It looks promising so I'll check it at some point. (dqlite author here)
The one thing that drives me nuts about startpage is that by default, links open in a new tab.

You can change this in Settings, but it's stored in a cookie which my devices clear from time to time. (Not that I'd rather they store it a different way, the situation is just unfortunate.)