skysight-inc/HackerNews huggingface dataset:
I would expect a far higher failure rate, maybe closer to 80-90%, especially at a successful company with happy employees.

The engineers will be focused on building actual systems and be totally unprepared for technical interviewing.

Engineers great in one domain will be interviewed by those in different areas with different views on what constitutes “basic” knowledge.

None of their work history within the company can be used as part of the evaluation—you must simulate the problem where nearly all your work is locked up behind an NDA.
Terrible idea. If a programmer is so unfamiliar with C/C++ to believe ^ is pow(), she/he will create a lot of other problems regardless. Without to mention the kind of bugs created by such incorrect usage would be simple to spot most of the cases.
The back end is a lot of work, but so is the front end in a language like C++.

In fact most of the essential complexity is in the front end; you make do with a simple back end, but the front end is irreducibly complex if you want it to actually compile the language to spec.

And you need the front end to lint, especially if you want to avoid false positives, the bane of linting tools.
What optimisations, please?

Not OP, but FWIW I'm just using standard lists (you asked, I'm not sure what use it is):
https://raw.githubusercontent.com/StevenBlack/hosts/master/h...
https://mirror1.malwaredomains.com/files/justdomains
http://sysctl.org/cameleon/hosts
https://zeustracker.abuse.ch/blocklist.php?download=domainbl...
https://s3.amazonaws.com/lists.disconnect.me/simple_tracking...
https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt

https://hosts-file.net/ad_servers.txt
If you're selling ~$150k worth of customizable hardware and services to improve people's business processes, I'm not sure there are many genuine buyers out there that haven't got a few minutes to discuss which of the many, many options might be relevant to their needs rather than rely on probably unrepresentative "base price" and "popular" options on a website. If there are executives that evaluate ~$150k range business process improvements based on published sticker prices to save time on calling salespeople, their company really, really ought to be taking decision making power away from them.
> Once something has been sold to nearly half the population of the planet for a decade or more, you can't sensibly call it a "fashion".

While I don't disagree with your main point, I have to say that this is wrong.

That's what fashion literally is. Everybody wears clothes and so clothes are sold to the entire population of the planet. Yet we don't dress like in the 60's anymore. Maybe some do, but you definitely can't find big masses of people dressing like in the early 1800's, for example.
Hopefully, but not all over, only in spots.
Kudos for you trying to alleviate that, but from my past experience you are very the minority - most of the interviewers behave like '12 angry men' judges.
Olivia: An open source chatbot build with a neural network in Go
I clicked through first (like a good boy), spent 2-3 minutes reading the whole FAQ, then was going to post "can someone dumb this down for me? I don't get it." So thank you.
Took a look at this some time ago, a few things you might like to know before diving deeper:

OpenAPI support

Developers seemed to oversee that there is an important spec-first trend with building apis. Currently there is no way to generate code / models from OpenAPI spec, only generates documentation - so the statement about "OpenAPI integration" is only partially true.

Instead you have to fall back to legacy technique of manually coding models - this is bad for teams that adapted OpenAPI as their single source of truth. With this project you will have to maintain php code on api updates and it breaks any established spec-first OpenAPI roundtrip workflow.

Security

Very weak support for expected security out of the box - you need to implement Symfony based security ideas - if you have already done this and know that dark planet, go for it, if you have never seen that before be prepared for lots of awkwardness:

/**
* Secured resource.
*
* @ApiResource(
* attributes={"access_control"="is_granted('ROLE_USER')"},
* collectionOperations={
* "get",
* "post"={"access_control"="is_granted('ROLE_ADMIN')"}
* },
* itemOperations={
* "get"={"access_control"="is_granted('ROLE_USER') and object.owner == user"},
* "put"={"access_control"="is_granted('ROLE_USER') and previous_object.owner == user"},
* }
* )
* @ORM\Entity
*/

Yes, that is a PHP comment - Symfony uses comments for simulation of the non-existing language feature of annotations. Anybody who needs to make money in the Symfony universe follows that awkward and evil cult. Privately you will always hate it, but if all your team says "cool" you just shut up and accept it (and start looking for the next better job).

The whole security story with Symfony seems to be a horrible mess and after-thought, feels incredible tacked-on and will slowly grow into a maintenance nightmare. Badly maintained external libraries. Every software that uses it implements it in a different way.

But: because of large adaption in companies you will still find a solution for everything - be prepared for a long journey. You will end up with your very own solution and never be sure, if it is really secure - why did you want to use open source in the first place - was it for security reasons?

Interesting alternative security implementation:
https://medium.com/@ordermind/better-authorization-for-symfo...

Integration

This is just Symfony, so luckily you will find libraries for everything. However, it seems to be somehow detached from the current API product market, so there are some overlapping and not so obvious integration points with tools that help with API management. Note: this is not a complete api platform like the name suggests - many basic features for API management are missing. Developers should stop simulation of "no other software exists" and instead offer nice integration with some of the advanced api management tools.

Nice: GraphQL output only needs import of one library, no additional coding needed.

Support: Better learn french if you are using this to build your company on.
They discuss that in the thread. Consensus seems to be to warn when seeing “2 ^ (certain base-10 literals)”.

It’s uncommon to use base 10 when bit-twiddling with the XOR operator - so this makes sense.

Of course, it would be better if C-family languages didn’t use ^ for XOR in the first place.
I'm super grateful to my dad for having let my hands near a computer at a time (late 80s, 90s) when computers were super expensive in India (they cost like a year's pay for a fresh grad back then). We couldn't afford one, but he took me to meet people who did and who showed me fascinating stuff like synthesizing sounds. I still recall my first "short circuit" on seeing a BASIC program that read "I = I + 1" and freaking out with "that's not possible".

My dad's University got a computer to help work with Indian languages (wonderful work on hardware and software for Tamil, Telugu, Devanagari done by research teams at Centre for Development of Advanced Computing Pune in the pre-unicode days). Still in high school, I got to help around organizing the library of the Indian Music Department. Later on, I wrote my own cataloging software in Emacs Lisp that kept details in a plain text file. Playing around with Slackware Linux in the early 90s definitely gave the feeling of being part of something big.
I think you're being unrealistic about development in a team with mixed experience levels. These things slip through. We can stop them automatically, without needing to rely on a manually written test, or on being spotted in a code review. It's all upside from where I'm standing.
Have you seen the F-35 cockpit? It's just one giant touchscreen.
Okay, so how does any of this conflict with what I stated. Most vehicles with screens, touch or not, usually have audio controls copied to the steering wheel. How many buttons it takes is dependent on brand and even model. Plus you will take your focus off driving while reaching, muscle memory or not. Let alone a good driver is always looking around which includes glances left and right so as long as the task you are trying to do, buttons or touch screen, is simple you are fine.

I did not declare that settings were the property of touch screens, I simply stated that the vast majority of settings that exist are never modified. This goes for cars with buttons too.

The discussion is that touch screens are bad. My point is for those touch screens which are not placed correctly or have a bad UI, then yes they can be bad. There are some atrocious implementations out there however the Tesla is certainly not one of them.
The Electric Vehicle Revolution Will Be Dirty and Unequal
Interesting. So for instance if the offence is sharing a Hollywood movie on Bittorrent, the ip address would not be enough to get fined? What then? Use ip to get search warrant?

(I'm from Europe, asking out of curiosity.)
Not including a linter in the earlier C compilers are one of the hughe mistakes of that area. Compilers absolutely should have linters, they are very valuable tools. Think about all the
common security mistakes in your average C application that could have been avoided over the years with a linter.

I'm pretty sure Dennis Ritchie at some point himself said that not including a linter was a mistake, but I cannot find a quote of this with a quick search.
Samsung’s security reminder makes the case for not owning a Samsung smart TV
check out what 'auto' does from C++11 onwards then, oh and smart pointers too: memory management is no hell anymore
Has the author of uBlock origin said what the plans are post-this-change? Should Chrome actually follow through with what it says it will do, the performance of uBO will drop overnight. Is this acceptable? Will development continue?
Right! Whenever I am next someone about to type in their password, I forcefully look away so the person feel in peace to type in their passwords :)
Thanks, I've corrected my previous comment.
In a word, drivers. We’ve come a long way since the dark days of the 90s, but hardware support on Linux still lags far, far behind Windows. This shows up in all sorts of ways on a daily basis. Graphics drivers, I’m looking at you Nvidia, are noticeably buggier and slower. Lots of little random errors crop up that are simply unfixable because the hardware mfr isn’t interested. Example: My USB controller resets itself every 15m for some reason. And good luck getting sleep/hibernate to function correctly unless you went out of your way to choose a hardware combination that is known to properly handle PM on Linux (I’m talking every peripheral here). For server-class stuff you’re generally in good shape but desktop Linux is still mostly an afterthought.
many large touring motorcycles have built in navigation and music, Harley and Honda even support Apple car play now. Harley had good voice control as well. Indian has a large panel on their bikes with navigation and split screen.

It all comes down to being a responsible rider/driver
I would honestly just copy it as an iso with something like dd.
Similar experience. While the django rest framework is a joy to use, I’m almost inclined to call graphene a headache. Poor docs, lots of spread our third party extensions that really should be in the core... I have even found myself wondering if the stark discrepancy between drf and graphene reflects or hints at a decline of django as a framework.
Pretty much 100% of interactions with my car are either android auto voice controls or physical knobs (mostly the knobs on my steering wheel). There's basically no reason to fudge around with either a touch screen or a rotary dial while driving.
Experienced people make mistakes, and that's okay. I've made mistakes like this, or worse. I want my tools to help me write good code, not assume that I'm an infallible machine.

We need to kill the myth that good programmers don't need help from their tools.
By that logic you could get rid of a lot of warnings. TBH, I think getting good warnings is a major feature of modern compilers.
You can turn specific warnings off. You can also usually disable them inline. There are very common ways to deal with false positive warnings.
So beautifully written
The trade war with China is reckless and damaging to the US chip industry. This is a self-inflicted wound that should of been avoided.
Don't forget the added stress adverts cause.
What I mean is, at least in the US it is defined as an arc minute at the equator, not just any great circle.
I've seen a few new ones pop up around leeds in the last 5 years, but not many.
Roundup of all the most important AR and VR news of the past week
Just like crosswalks. More accidents on crosswalks than somewhere else.
Reminds me of Pharo Smalltalk VM or Lisp Machines. There is something powerful about the whole OS utilizing single language and allowing you to interact with and alter everything.
Incremental learning and guidance is important. If the compiler can point out something that's technically correct but in practice wrong (because 2^16 is the weirdest way of writing that value) it will help some people
Almost all press focus on the fact that there are two millions people on the street and the possibility of power abuse caused by this bill.
None of them pay any attention to pros & cons of this bill from a rational perspective. People barely remembers that the origin of this bill is to extradite one brutal killer of a Taiwan girl. No one is seeking middle ground or constructive result.

People see, people fear, people destroy, without any regard to pragmatism and rationality. Great.
Fantastic work, this is very enjoyable and was instantly bookmarked!
Cassini reveals new sculpting in Saturn rings
Strongly agree, I know there is some literature on that, but just wanted to add that for me the process of solving problems is very asynchronous and usually the a-ha comes out in the most unexpected times.
If you're applying for your first job, you might treat job hunting like a fussy suitor problem and want to get five offers to get a good picture of your market value. You get a job where you're pretty happy with the salary, the benefits, and the work.

When you apply for subsequent jobs, you no longer need to take a large sample to calibrate your judgement; you only need to compare the job to your current one. And questions like salary and the nature of the work can be answered during the phone screen.

If changing jobs takes three days of annual leave and boosts my salary by $10,000 that seems like a pretty good trade to me.
From the article: this is why I can’t use MSTeams despite being an Office 365 subscriber:

> Another significant concern appears when organisations have more than 1 O365 tenant, often due to the result of acquisitions and mergers, inheriting additional O365 tenants, and users from each original organisation still using different tenants. Teams requires the user to login to a single tenant and can work in that tenant only.

> Although it is possible to have the users guested into the other tenant, and then they can switch tenants within the Teams user interface, so that they can collaborate with users in the other organisation, this is far from ideal as the user must actively switch between tenants before they will receive any notifications from that tenant, and cannot collaborate in 2 teams from different tenants concurrently. Also switching tenants can easily take 15–20 seconds to complete, so switching back and forth feels cumbersome too.

I’m a member of 5 different Slack tenants, 2 of which are free/open tenants (think: open-source projects). While Slack isn’t ideal (switching tenants in the desktop Electron app takes about 1-3 seconds) in Teams it will likely never happen because it’s counter to the Office 365 business model (I don’t want to be a “guest”, I want to be a first-class user in multiple tenants simultaneously - I need it for my work!)
That sounds awfully like Boeing's 737-MAX MCAS debacle.
Before anyone out there buys one of these domains for SEO-purposes:

I work as a technical-SEO consultant and we had the funny idea of checking all these domains about a year ago: None of them are worth buying! None of them has any SEO-potential!

- the page-rank passed from milliondollarhomepage.com to these domains is minimal (huge PR divided through tons of links is worthless)

- domains expired for a long time get some sort of "reset" from Google (we experimented with this - strong domains last used years ago do not rank faster than "fresh" domains)

Therefore, in the case of PageRank and SEO-potential: It is better to try to buy domains of local companies in your area that went out of business. These are much stronger.

And in general: Buying old domains for backlinks is a waste of time. Getting high-quality backlinks from legit sites and improving your own domain in regards to technical optimization and usability is much more effective - and scalable.

Edit: Improved formatting
Yeah, the collect isn't really needed, you could easily use a reduce to calculate the value.
Birtly – Simple Project Management Solution launched on Product Hunt
Wait... so your point is that since "bad programmers" do this, there shouldn't be a warning for it? That is among the silliest thing I ever heard. Especially since there's a trivial way to get rid of the warning: just write "18" instead of "2^16", if you REALLY intended the xor.

Also: it's incredibly naive to think that "bad programmers" are the only ones that would make a mistake like this. I'm very familiar with all C/C++ operators and know perfectly well that the caret represents xor, but I could easily imagine myself slipping and writing 2^16 instead of 1 << 16, because that's how the rest of the world writes exponentials.

Let he/she who has never written a typo and had the compiler save them cast the first stone.
> painted cycle lanes makes cyclists feel secure, but does not create much awareness by motorists

> It also forces the planners to do a good job when designing junctions.

Living in Dublin, I have the opposite perspective on this.

I much prefer roads with painted lanes (or better, no cycle lanes), as having cyclists on the road necessarily makes motorists more aware of their existence (particularly when you have a lot of cyclists, so this effect increases with usage). I agree that painted lanes give more of a false sense of security to cyclists than anything (motorists will still ignore you if they can), but with segregated lanes they always ignore you.

This seems fine until you realise that well-planned segregated lanes are much more difficult to achieve (and where I live, an absolutel rarity—we have some of the most dangerously haphazard segregated lanes), and even very well-planned segregated lanes are still quite limiting in terms of cyclist movement. They lead to cycle congestion, cyclists become more of a danger to eachother, and you will always have entry/exit points which are far far more dangerous than if the cyclists had been on the road and visible all along.

On a more political level, they also reinforce the idea that roads belong to cars, and that cyclists, by using them, are invading them and should not be there.
The crew dragon is designed to be completely autonomous. 99% of the time, the astronaut is just a passenger, so there is less requirement for physical controls.

In terms of mission control telling you to press X button, it is almost certain that mission control would have a simulation of the cockpit running that would show them exactly what the astronaut is seeing on their display. So they will always be able to direct the astronaut correctly.

I definitely think a touch screen in this situation can be safer, because it can display information in a way that makes it quicker for the astronaut to understand the situation. It in theory requires less training because there is less requirement to remember the position and function of every single switch.
Surely other countries have the same model of dangerous Whirlpool dryers?
I agree that one should respect other countries law, from their point of view. But when you are not allowed (read killed) to protest against the ones who decides the law, that is a big problem whatever the laws are.

Democracy is not only about majority votes, it is about free speech, the ability to review and criticize the government. It is about that the people do not get censored information but where the people are the bosses of the government, not the other way around.
I'm in favor of reducing speed lines, but I don't think that is enough. I haven't seen a city with more bikes (or where cycling works better) than Copenhagen, and it's full of bike lanes (the vast majority of them proper, segregated bike lanes, not painted, of course).
True; I think that's the global definition anyway.
That was an awesome read! As a dad myself i can only hope i will have the honor of helping my kids as much as possible.
I know from people inside SpaceX that they have covers for the essential switch panels which they put on when Musk is around, because he objects to them for confused silly reasons (like tesla cross-marketing). The astronauts and capsule engineers know better, of course, so this is the compromise.
I don't know if it is a good practice, but I often have statements and expressions that look awfully similar. Flipping bits does happen often enough.

Mostly written as y ^ (1 << x), which could easily resolve to these expressions. Mostly at runtime, sure, but there are exceptions. Especially if you like descriptive constants. I would expect it to be quite difficult to separate the "correct cases" without people starting to just suppress compiler warnings or trick it with writing the same stuff in different words (which might be better).

On the other hand, setting max_short to something like 18 is probably a really god prank in larger programming environments. The compiler would just ruin all the fun here.
Heuristics like this are important because humans are not machines. If you run into a warning in one of these situations, they are usually rectified by changing the statement slightly. Worst case scenario you can #pragma push and pop the warning.
U.S. Work VISA guide for hiring global tech talent
Geopolitical Context of Iran's APT34 Leak
Sunshower
Facebook killed raw social graph search a long time ago due to creepy queries and privacy concerns; having throttled access via UI to information is a lot different than having uncontrolled semantic access (especially once data starts getting cached outside their control. For example where they can no longer comply with removal requests.
Isn't that pretty much the definition of a warning? An expression that is technically valid, but probably a mistake. If something wasn't a valid expression, it would be a compiler error, not a warning.
Interface looks awesome! Will give it a try.
Obviously there are parameters, but Wilson's principles have been one of the pillars of modern international relations. Discounting them would mean throwing us back to "might makes right", which is a recipe for permanent war.

If you want to discuss why Texas does not meet parameters for independent statehood in your opinion, I'm happy to listen; but you cannot unilaterally say an unexplained "no" without looking very clearly tyrannical.
> Apparently HR did an internal audit and found no evidence of retaliation. Which isn't surprising. It just means that for every decision made by a manager in this case, they had a reasonable business justification that wasn't simply a desire to retaliate.

I'm not sure why you believe that. HR exists to protect the company from its staff. This just screams to me that they were in damage control mode.
When does weird become too weird? I’m building a non-instant messenger, for example.
Taiwan doesn‘t want that extradition law either.

https://qz.com/1642413/why-taiwan-is-so-outspoken-on-hong-ko...
Even if it doesn't change anything, they at least stood up and fought.