skysight-inc/HackerNews huggingface dataset:
I've had very similar experiences with Delphi, Jade and embedded C developer interviews. It makes me wonder why other companies don't actually care whether I can write new code, only whether I can replay algorithms.

When interviewing I build a set of simple examples like yours and run people through them, normally in person. How they talk to me is also important.

Albeit here in Australia FAANG interviews are mostly regarded as yet another US foible like driving on the wrong side of the road. I've had exactly one attempt in ~10 job changes but they failed (I walked out as soon as they made it obvious that they were serious... but were not offering FAANG money).
The Corrupted Blood Incident
The cited post[1] recommends an enum for this job, which avoids the dynamic dispatch and makes it easier to get at a specific state’s data when you have the whole machine.

[1] https://hoverbear.org/blog/rust-state-machine-pattern/
Yes, and don't forget to shutdown Discord too! They will never be able to use another tool to organize these raids, this is genius. (this is sarcasm, of course)
Artist Standardizes Metro Maps from Around the World
At my company I take a very different view depending on where in the stack the tech is used:

Developer tooling (Developer machines, IDE's, source control, CI, issue tracking, etc): Pay for the best.

The product: Only use FOSS. Give back by contributing and by making some of our work available as FOSS.

For the product, especially for the client-side, I just see it as too risky to include proprietary software. Even if the pricing is fine for right now, it can easily change later (got burned by both Google Maps and Mapbox years ago), and in some cases even prevent you from using different pricing models because of base costs it may add per user.

On the infrastructure side I'm more flexible, but even there:
1. Stick to commoditized services as far as possible, where the pricing is predictable. I'd include most cloud services in this, and most "enterprise" offerings not.
2. Avoid hard vendor lock-in if feasible, but only up to a point (don't build something from scratch just to avoid the lock-in).
What Does a Hacker Do?
Unfortunately OmniGraffle for iOS is still far from the desktop OmniGraffle quality. Sometimes the app crashes when you try to do anything. Sometimes the app doesn't crashes, but refuses to save your past 10 minutes or so of work. It has been frustrating experience enough that I usually just fallback to Draw.io (which works surprisingly good on iPad Safari...)

Their other stuff on iOS, such as OmniFocus, OmniOutliner and OmniPlan has been nothing but fantastic.
Omnigraffle is an essential tool for me. I couldn’t write my articles without it, and it’s the best visualizer I’ve ever used.

I happily pay for it.
Utterly not true outside the US. I've seen lots of people in negative equity, unable to afford the mortgage and unable to sell (the mortgage liability doesn't go away if you sell the property. If the mortgage is bigger than the current house price, selling doesn't help). People with multiple properties and multiple mortgages are in worse trouble. It's very easy to go bankrupt in this situation, I've seen it happen.
There is a good way to have mixed-dpi setup: you use Gnome-on-Wayland (for normal users who expect normal desktop) or Sway (for those who want tiling wm).

Mixed DPI is not coming to X11 displays. If you insist on X11, you are going to have bad time.
Isn't that just consulting? Every project is unique. You don't benefit from having multiple customers for each project. I do understand that betting against overfunded startups can pay off but then it is not CaaS anymore.

You're basically doing the opposite strategy of VC investing. Instead of killing competition by picking a winner and giving that winner more cash than everyone else, you try to build a range of very resilient viable products that can survive until the VC backed startup runs out of funding.

It's quite interesting that one of my personal projects is basically doing just that (except it's non commercial). It is meant to be a replacement for a product whose startup has run out of funding.
I've had that advice myself. and they were right. Once my resume and application was cleaned up I found better jobs.
>from someone who already has some

Not really possible right now =)
Thanks for sharing these projects. So far I only knew tsql.

I'm in the avoid code generation camp as well as typically my build processes are complex enough and don't need another step.

But I am not quite satisfied by the existing query generators. Also after having read https://github.com/jawj/mostly-ormless/blob/master/README.md I wanted to put Postgres' `json_agg` function into use as it looks like it is simplifying a lot of the nested objects stuff one serves over REST APIs.

So I designed my own https://github.com/hoeck/typesafe-query-builder - with special support for `json_agg` and `json_build_object`. Its working already in production and for me, the dev UX is unprecedented in working with database code. Typechecks and autocompletions really boost it.
But to be honest, I'm a bit worried about Typescript compiler bugs and compilation times when the project grows.
I find headlines like this problematic. Yes, NO2 and CO2 levels are decreasing, but they will return back to previous levels as soon as possible or maybe even increase. [1]

The problem is, that due to headlines like this, the general population will believe, that our world can reduce C02 simply as soon as it will be necessary due to climate change. But then, it will probably already be too late.

We humans have a hard time coping with slow processes, which applies to things like corona virus and climate change alike.

[1] https://www.bbc.com/news/science-environment-51944780
Can vape pens be used for this ?
Crowdsourced list of discounts due to Covid-19
Ask HN: What are the Online Investing Courses you like?
Hello!

I'm currently want to take time to learn about investing and personal finance management. What are the online courses you could recommend?
Of course no, watch LSSC tonight![0]

[0] https://twitter.com/colbertlateshow/status/12451765583751290...
That hyperbole might be an improvement.

Literally copying the literal Stasi approach to spying (not the rest, just spying) would simultaneously improve the quality of the data and reduce the negative side effects relative to the UK’s Investigatory Powers Act 2016.
Assume you are on a call with three other people. Alice has a solid connection and you can deliver best quality video to her, Bob is on a low bandwidth connection from home and you will need a better compression ratio for him because he can't handle full bandwidth, while Carol is on a shit mobile connection that has high latency, low bandwidth, and drops packets. For each of these you would want a different encoding scheme and possibly very different packet sizes, but if you are sending it from your desktop at home you would basically be sending almost 3X the amount of data to handle the three different streams (plus the additional CPU for all of the different compression steps) -- Zoom sends one stream to their servers and then re-broadcasts at different compression levels and different packet schemes to give the best result for each user.

Justifiable, but in no way shape or form is this E2E encrypted and any company that makes this claim is committing fraud.

The tl;dr of "Zoom E2E Encryption Explained Like You're 5" is rather simple: "It isn't E2E encrypted"
Advocating for programmer ergonomics is always a good thing. And I think more people should advocate and try to design languages in such a way that the way of programming more closely resembles the actual real thing [1, 2].

As you might recall in cognitive psychology there's a specific idea that translating a problem to a more recognizable problem (or simply changing the symbols) is a good thing [3]. Having less working memory is a good thing.

Reading your post, I believe those principles are behind it.

[1] http://worrydream.com/LearnableProgramming/

[2] Sublime's feature of showing a color when you give a hex value.

[3] Chapter 12 - Cognitive Psychology (3rd edition) by Bruce Goldstein
Maybe it was a mistake for the software industry to give up on the nice big colorful cardboard box with software inside it. Bought at a physical retail store, with CD-ROMs in it an a thick printed manual. Certainly gave more or a feeling of actually having bought something, different from just clicking a "buy" button in an appstore.
A man lost his multi-million dollar company in 10 seconds
Speaking of popularity over accuracy:

> Instead, Google has become like the pampering robots in WALL-E, giving us what we want at the expense of what we need.

I'm guessing this is referring to "WALL-E shows how the technology will make us lazy and fat" meme. I've watched WALL-E for the first time quite recently, and I notice little details, and I can say that WALL-E is not showing that message. It's actually explained quite explicitly in the movie that the fatness of people is the side effect of prolonged stay in space, and not of their dependence on technology.
Everything you always wanted to know about human memory (but were afraid to ask)
That is probably the way to go, agreed.
Pandemic aside, they still have a $100M GDPR fine hanging from a previous breach!

https://www.theregister.co.uk/2020/01/13/ico_british_airways...
It is still 2 factor auth. And according to them the most smooth one.

In OTP/TOTP it doesn't matter where the OTP comes from, so code is the second factor. In google auth the mobile device is the second factor.
Do robocallers spoof the number that gets displayed? I haven't personally seen that.
I brushed off an old AMD motherboard. And did a quick CPU scout on Ebay to see what I'd need to pay for the greatest CPU of yesteryear. And for about a tenner, I could get AMD's best offering. But alas, it burnt many watts, and had barely any more grunt than my old Core2Duo in my aging laptop - so I doubt it is actually worth the bother.

I have hardware that is over a decade old, 'young' people scoff at anything over a few years old! But there's a sweet spot to be had where you can buy older, rather than ancient or new and save yourself a fortune.

That said, my latest console is a Gamecube.
Of course dynamic dispatch helps, but using it for a state machine is going to raise eyebrows and kill performance.
i don't understand why he chose to build a new language? if rust sucks for embedded, why not spend you time helping improve it? if asm/C/C++ s so good, why not just continue to use his favorite language?
When you take someone’s badge most people who remain immediately starts to shun the laid off worker.

Can you clarify what you mean here? Is this something that happens in your experience? I would personally never want to shun someone who just got laid off, especially if they were a friend.

Your respect and trust of them as a person is immediately (rightly) seen as a lie.

Am I misunderstanding you here? You're saying that the moment someone gets laid off you are justified in losing all respect for and trust of that person if you're still on the team? I have to believe people aren't that cruel in general.
Chrome Releases Paused
That keys-with-steel-cable thing car rental companies do is terrible. And there is absolutely no point in doing so. Either give me two separate keys so two drivers can use them, or just give me one key.
I tried this in the past, but could not even get it to compile. Can you share your working setup, or have you just found this?
Actual source of the maps has more cities: https://air.plumelabs.com/bruxelles-air-quality-map-bKDg
Show HN: Line of code to geolocate web visitors and show local phone number
They could use naive solution for like len(query)<12, and then implement the asymptotically good solution for other situations.
Couldn't find exactly what you mentioned, but this is still a terrific read:

https://en.wikipedia.org/wiki/Beavis
I think the not owning the software subjective sentiment is made worse by the subscription model. Personally paying for Photoshop for example was more acceptable when it was "physically" an App in my Mac. I still have very old versions I can launch on vintage Macs or Emulators. As a kid I definitely remember owning and organizing my apps with their nice icons (the spatial file manager helped), thinking it was "real" things.
I work in the embedded space and so I have used a few proprietary debuggers/IDEs/build systems. They've still got a lot of market share.

The huge problem with them is that they're proprietary. They don't have the wide usage of the open source equivalents, so debugging problems is hard. If you want to develop at home, at work and on a PC in a lab, you have to navigate licensing issues. If you want to do a build and test as part of your CI process, you have to navigate licensing issues. Then you move jobs and they've bought into a different, incompatible proprietary system and you have to learn it all over again.

The open source options are actually good enough, and the advantage of being able to have the entire build system on a new computer after running a few apt-gets and downloading some free software is huge. The skills persist across jobs, I can use them at home for my own projects, I never have to worry about licenses expiring.
Inspired by the captured WW2 German flying wing, no doubt.
I disagree with the implementation, State should be a trait with NextState as an associated type. This makes things cumbersome when it can be a set of types, but it makes excellent use of the type system and ownership patterns of Rust. Edit: and the type state pattern http://cliffle.com/blog/rust-typestate/

As an aside, if you want to dive in with FSMs and automata theory (as well as some basic language topics) go read Sipser's book, "Introduction to the Theory of Computation." You'll go from logic to state machines to understanding why Turing Machines are so dope in a few dozen pages. The math isn't bad.
This is a great project -- we use a Rust port of this [1] following the general principles to process the bunyan logs of hundreds of node containers with a single machine. I'd love to see AVX512 support (mainly to get more out of the ridiculously overpriced AWS instances..) [2].

[1] https://github.com/simd-lite/simd-json
[2] https://github.com/simdjson/simdjson/issues/10
The verbose output didn't seem to point out the exact system call or libc call that got stuck. A lldb/gdb bt stacktrace could pinpoint what's hanging (for example, some people mentioned parsing /etc/services). I don't think this has been resolved yet?
> Lots of people don't go to ICUs - only 10% of the deaths happened in an ICU.
Do you perhaps have a citation for this?
> the only surefire way to hire is to bring people on temporarily and evaluate their performance in 1-3 months

In countries that have decent leave policies this might be possible for people who have jobs, but it would be expensive then and even more expensive for others. I can see myself taking a month off to go and work at Elite Company X, then going back, working out my notice, then starting the new job. But that stretchs the hiring period and makes them vulnerable to counteroffers (I can give notice to Elite Company X too).

But where I am now, no way. I can't take a month off on less than about six months notice, and right now I wouldn't get it because of the pandemic. So in the event that someone wanted to hire me, or someone senior in the US (etc), they'd have to front enough money to make it worth while quitting my current job on the off chance I might make it past the trial period.

Albeit when I was younger and jobs were much easier to get, I used to habitually negotiate salary at new jobs by saying "pay me what you want, then in three months you either start paying me what I'm asking or dump me". It is effective, sounds a bit arrogant (and not everyone likes that), and only once did someone try to negotiate after the trial period. That was a very short negotiation and they decided they'd rather keep me.
It's not about the point, it's more about giving credit/praise/acknowledgement where it's due.

Parent is probably saying those things will most likely be disproportionally low for that kind of effort/impact.
Nginx Unit Adds Assembly Language Support
Yes, this is basically erasing type invariants by moving them into runtime code. Similar things have been done with things like GPIO pins in embedded code, having the pin numbers carried in the type (`struct Pin1;`) and being able to erase those for collections by moving them to runtime (`struct Pin { id: u8 }`). Unfortunately it comes with a bunch of extra implementation overhead currently, maybe in the future with const-generics it would be possible to reduce this overhead (that would end up being closer to some sort of merge between the first example and the "future directions") .
If it has a little battery it could for a short duration have an even lower heat signature by turning off the turbine.
Wow, that descended into a Rust jerk-off pretty quickly.
Yes. I would pay for a native Mac experience. I would never pay for any app that uses something like Electron. If you’re okay with mediocre software, why buy a Mac outside of doing development?
Vimeo disabled its Kaylor Dale Blakley account due to violations
Alphabet in bid to buy Hacker News
What's wrong here is that Zoom hacked together an installer against all normal structure that Apple recommends. And that installed includes a very stupidly designed component that will try to run whatever you ask it with admin privileges.

This is yet another indication that nobody at Zoom has a single clue on how to build a secure and stable application. Another example of that mindset released today: https://www.theverge.com/2020/3/31/21201956/zoom-leak-user-i... They are proving to completely not understand how to design security/privacy features. Frankly, their technology team sounds like total amateurs that hack things together.
Ask HN: What are the lockdown *factual* impacts on your job?
There is a lot of buzz around the current and future impacts of the lockdown on the economy. Everything looks mostly macro-level guess play. How has the lockdown impacted your own company business, and how has it impacted your own job?
This is the tip of the iceberg with these sorts of contracts, and many of the issues aren't specific to ventilators or the current pandemic.
The author used Tinder as an example of “signal amplification”, in that, a method to reach more people.

So the signalling on Tinder is your profile - pictures and description, they monetise the ability to signal to more people. And, as you alluded to, they absolutely don’t make that action public since amplifying your signal on a dating app reeks of desperation.
10xer – Become a 10x programmer now!
This answer has soo much value in it, thanks for sharing this.
A bit of April fools...
That's a bit sad (an quite prevalent in some industries) viewpoint. Maybe it comes to what makes you feel satisfied with yourself and happy - if its only work, then yes above is true. But those actually having the type of work worth such a sacrifice are miniscule, I guess 1-5% of HN readers.

What about achieving happiness and self-fulfillment from other things than work? I couldn't care less about my (well paid & successful) corporate job, because after it ends, I put on harness and helmet and go climbing. Or on the weekends hiking, skiing, ski touring, paragliding, diving, and so on. Traveling around the world for vacations. I have a great wife, I have a tiny little son I love very much. Those are properly fulfilling things in life, very well worth investing one's time and energy. Plenty comes back, and even if not, its a great thing to do nevertheless.

At work, there are plenty of folks with mindset you describe. Investing themselves into corporate careers, thinking money, talking money. Most I know have pretty sad lives.
well widespread facial recognition technology has only just recently been available to law enforcement and the police have been catching criminals since their inception. it might be a useful law enforcement tool but it is hardly a requirement for them to be able to catch someone.
"aha XD I owned alcoholics look at how clever and advanced am I, you normal human beings wouldn't understand, this is actually a societal critique aimed at bettering the world, we're artists" - /b/

> you have to be a bit more clever in your trouble-making

Or you know, once you're not 14 years old anymore you can reassess your life and decide it's not ok to DDOS hospitals during an epidemic, or call the swat on someone who beat you in a video game.
So, basically, DCOS?
I don't think subscription is that bad.

Development and support is never ending.

Single purchase, you also get "single development", and then it dies.

At some point the market is not infinite.
Note that 2106 is about 86 years from now — quite a bit more than 15-20.

Also, 20 years ago was before the Linux 2.4 kernel. You encounter systems running Linux 2.2 routinely?!
Yeah, GitHub's search is next to useless to me because I can't trust it. I search for a string, maybe get some results, but I can't be confident that those are all the occurences of the string I searched for.
Covid19 Transmission Visualization in India
An open source API for generating social images – OG IMPACT
Covid is a poor metaphor for this. Time_t is perfectly observable and predictable and approaches linearly. 2106 is a long time away.
If I understand the description correctly, dangerzone completely rasterizes the pdf. This seems pretty drastic. Isn't there some tool that just checks the PDF or removes the scripting, without having to install a commercial antivirus software?
You gotta love TypeScript: 1-hour webinar
Why specifically human neurons? Why source the neurons from human stem cells rather than mouse cells? PR I suppose.
As you pointed out it always depends on where you put the ends. You could say client-server communication via TLS is end-to-end encrypted and be right if you define one end to be your browser and the other end to be the HTTPs server. The term end-to-end encryption was popularized mostly by chat applications though, where the two ends would be the trusted client devices of the communicating users.
10 Unwritten social rules everyone should know
There is one huge difference, if I'm not mistaken. In our tests neither Skype nor Google Hangouts allowed the speaker of a talk to view the audience while screen sharing. It's annoying and feels very odd to give a two-hour lecture to your laptop with zero feedback from the audience.

Maybe we did something wrong, though, and missed features in Hangouts and Skype. If that is the case I'd be very happy if someone could point it out to me. (Our whole university is using Google Hangouts right now, because our administration doesn't want to pay for additional Zoom subscriptions.)
Death rate ONLY dépends on thé testing.
The comparison is against Python, which definitely has better ergonomics and includes everything needed for scripts like this (but does have package management too if the huge standard library is not enough).
That's more a fairytale, then the explanation to human history at least. It sounds almost as if feudalism gone, because guys with swords had no banks to keep their heavy yellowish coins. Which is not very accurate. FWIW very few feudal families were able to hoard gold, or jewels, and for the most part they kept the same things in their castles a village granddaddy would, just in bigger quantities (i.e. food, and fuel). Coins were as expendable as a sauerkraut, and sausages, just easier to store (but not always as liquid as fantasy series makes us think). Were you a feudal you would care the most for the sole thing able to give you wealth almost every year - land.