skysight-inc/HackerNews huggingface dataset:
Puzzles no, but it really matters how candidates are evaluated on coding.

For coding, if a coding question boils down to implementing KMP string matching or something that's only realistically solvable by memorizing the entire algorithm and writing it out on a whiteboard, then it's not any different than any of the puzzle type questions like "why are manholes round?"

The proper way to evaluate coding questions, and what is mentioned in the article, is that one is evaluating general intelligence in the context of software programming. Is the candidate coming up with a reasonable solution? Are they asking questions to understand the problem better? If they get stumped by something, do they stay stuck on it, ask for help, or think through it? Can they find the issues with their code and improve on it?

I haven't heard of a better way to interview engineers, but if there is I'm definitely all ears.
I was about to ask if anyone knows a decent API to build my own product off of, and I found out weather.gov has an API available without requiring a key for now, they just ask that you include contact information in your user agent so they don't accidentally block you.

https://www.weather.gov/documentation/services-web-api
I do like key-driven soft menus (like the steering wheel controls commonly used for HUDs or gauge cluster menus), but they get a bit unwieldy with longer lists. Some automakers (GM) address this by nesting all the options in a bunch of sub-menus, but I find this frustrating because I end up just having to search through a bunch of menus to find what I want.

Some automakers (Mazda, BMW) use a knob instead, which makes it a bit quicker to scroll through a longer list, but I have found myself overshooting and then having to back track which is sometimes annoying.

There's really pros and cons to whatever implementation is used. While I completely agree that any function that might be operated while driving needs to be able to be operable with hard controls, I also don't think it's a good idea to clutter those menus with a bunch of junk that you don't want or need while driving.

I think there's a good case to be made for 3 levels of controls:

* Things that must have dedicated hard keys: anything that must be adjusted rapidly for driver attentiveness, control, or comfort -- HVAC, audio levels and basic tuning, all lighting and vehicle controls.

* Things that must have hard keys, but can live in a shared menu: anything that a driver may want to adjust while driving, but is not essential for immediate use -- trip data, infotainment, non-critical gauge monitoring etc.

* Things that don't need hard keys and should not clutter any of the above interfaces: odd-ball configuration settings that a driver would not need to operate while driving -- key fob configuration, entry-exit preference configuration, software updates, integrations with external services, maintenance logs, etc.
You are correct. The estimates are taken from the confirmed cases. I just wanted to point out that it is easy to dismiss the risk service workers are taking if you only look at the fatality rate. The hospitalization rate seems to be one or two orders of magnitude higher.

Edit: grammar.
Inflation During the “Great Depression” 1930’s
> 1) Criminal Tresspassing - typically defined as the entering the property of another without express permission from the owner (this tends to include intruding via drone these days)

You generally need to be aware of it though, right? Wandering in the woods won't get you in violation if you accidentally cross property boundaries, there needs to be a fence or at least a sign informing anyone about the blanket "No Trespassing"?
Managing scheduled reminders for pull requests with Slack
If you do it the no-knead way, making bread in the oven is less work than a bread machine and less noisy. Less clean up, and better bread.
thanks for recommendation, this looks really advanced
Remote dev extension is a huge advantage of VSCode and is not open sourced.
Something like this would make sure that all queries are correct per some expected schema and processes keep the expected and live schemas in sync. Such a process might be "database migrations run in the CD pipeline and nothing else changes the database". Of course there are edge cases here and there (someone will eventually need to log into a production database), but these processes go a long way toward reducing risk.
We Tested Five TikTok Algorithm Theories to See Which Ones Work
I think part of the reason why VSCode is popular is because of how extensible it is. Also, the fact that it's built around JS makes it accessible to more people which means more extensions for example.
Fingers crossed that all the shenanigans preventing cheap ventilators coming to market will force some regulatory action.
thanks, i think I'll read this one first, it seems more approachable
Many people don't trust Intel & the SGX technology.

Intel controls the initial attestation keys – so you're dependent on their goodwill. Much of the world will view Intel as being as cheerfully compliant with US government requests, including undisclosed & arguably-illegal requests. (That's just like how some in the US view Huawei as being compliant in undisclosed ways with the Chinese government's requests.)

Sophisticated, high-budget/state-supported attackers may be able to compromise SGX units, via physical analysis/disassembly/reassembly. (This might happen before a unit is placed in service, or just show up to the outside as a temporary service outage.) So any secrecy/security features provided by their qualities could be a false promise.

Numerous flaws have been discovered, and more are likely to be discovered, in SGX. Try: https://www.google.com/search?q=SGX+flaws

Some security experts deeply distrust both SGX specifically, and the general idea that such a piece of hardware could provide the touted benefits against sufficiently-sophisticated attackers.
It varies a lot from college to college. And even within colleges.

In person colleges have stronger social bonds - for better or worse.

For example, some colleges are reinventing fraternities and sororities to encourage people to develop healthy habits.

Of course some frats are carrying on as they were.
That sounds nice. Your link 404s tho.

Edit: it did at first, now it's loading. I've seen other 404s just clicking around the docs. It's possible you've got some CDN caching issues?
You'd be wrong. The critical controls are uniquely shaped so that the pilot can put his hands quickly on the correct one and know it's correct.

Part of pilot training (at least in my dad's day in the AF) was blindfolding the pilot and the instructor names a control, and the student must put his hands on it. Or he flunks.
Coronavirus and the End of Economics
In terms of sales volume in the US, you are correct: Mazda is not selling more cars. If you look at their financial reporting, they're making more money from car sales. Looks like ~60% more.

Anyone with a lick of business sense would happily trade -10% sales volume for +60% profit from higher margins. They didn't price themselves out, they just decided to not play the loss-leader volume game Ford/Honda/Toyota is playing.
Why is he the only one being quarantined then? And from what I'm seeing, the exposure was the 11th, so 14 days would already be up.
You decided to mistrust an entire global organization because one guy duffed an interview? Its spelled out clearly in the article: WHO membership is only given to countries that are members of the United Nations - which does not recognize Taiwan - or whose applications are approved by the World Health Assembly.

Yes the WHO is likely mistreating Taiwan, but its based on the UN and global politics, nothing else. China isn't controlling the WHO. China is just a major player in geopolitics whose reach affects the UN, which affects the WHO.
Rust has both static (based on monomorphization, similar to a template instantiation in C++) and dynamic (based on vtables, similar to inheritance in C++) dispatch: https://doc.rust-lang.org/1.8.0/book/trait-objects.html. Both Rust and C++ are moving in the direction of encouraging static dispatch.
It's philosophical for a lot of us... it's just rarely scientific.
Ideas for a Better World
Great, looking forward for your feedback. It’s currently just a weekend project, so it might still have some rough edges...
This isn't a home, and it wasn't a window. This is like going to a local business, turning the doorhandle, and walking in. How can that possibly be construed as illegal? If your vulnerability is that you have an unlocked door, that's not a fucking vulnerability, it's just an entrance.
The employee admits that he was exposed to someone on March 11th. That's already 17 days ago, so the quarantine would be up.
Restating a comment from about a year ago[0]:

If you are in the United States, nothing beats getting the forecast straight from the horses mouth (NWS that is). Some companies are notorious for producing 30+ day forecasts, which can't have any meaningful levels of skill.

NOAA/NWS should just create their own mobile application. I use Wx[1], which parses NWS data directly and can be found on f-droid[2] and g---le play.

Granted, Wx doesn't follow Material Design for Android in the slightest, but I like it that way because it's very information-dense, snappy, and light (unlike r--ct "native" and other JS toolkits out there).

[0]: https://news.ycombinator.com/item?id=19775291

[1]: https://gitlab.com/joshua.tee/wx

[2]: https://f-droid.org/en/packages/joshuatee.wx/
Who is getting the short or long end of the stick is not something I aim to answer, or even purport to be able to answer. This is a matter of perspective. I'm a Hispanic person that attended an elite university and have household names on my resume. I'd have a good chance of getting interviews regardless of my gender or ethnicity - and when you do take ethnicity into account it probably helps me even more. I'm largely indifferent towards this kind of discrimination in hiring. But is the perspective of a white or asian man pursuing a coding boot-camp to try and break into tech going to have the same opinion on policies that greatly reduce or eliminate his chances of getting an interview as compared to if he was a woman or URM? Many see getting called slurs as a small price to pay to get a chance to break into tech.

The only thing that bothers me is attempting to equate acknowledgement of these practices as offensive or taboo. The reality is that this is what many companies are doing. Thus, the only way one can avoid offense in that scenario is to deny reality.
Amazon struggles to find its coronavirus footing
I am very curious about your experience. Could you provide some more details?
There's no reason a running service couldn't also opensource its back end code. It does provide an avenue for people to tinker, potentially improve, and self-host if they have the resources available or the service itself goes under.

There are also a lot of open projects that distribute the work of handling tweaks to parsers and source lists when the upstreams drift.

Even globally I can't imagine the minutely data from reporting stations everywhere being "big data", maybe in the 10s of gigabytes a day (very rough guess, I haven't looked into this specifically)? I'd still be willing to bet API / web requests dwarf the processing and bandwidth requirements of the raw data for a public service like this.

That probably does put it pretty reasonably in the realm of self-hosting if you put a threshold on how much historical data you want to keep and geofence the region you care about.
I intentionally picked an extreme example to illustrate my point, which is that most of the ethical concerns with giving people brain implants are function of the drawbacks of currently available implantation technology; not fundamental issues with the concept itself.

Obviously we won't be getting things quite to the level of cost and safety as tattoos anytime in the near future. Even Elon Musk's goal with Neuralink is somewhat less ambitious; he only wants it to be as safe and convenient as LASIK.
Good, as they should. Amazon is the most productive, value-creating company in decades, and the desire for self-righteous neo-Marxists to demand things outside of their mutually-agreed upon contract and use the media as their mouthpiece disgusts me and any sane person.
Lisp is an interesting point. I guess the argunent is that it's the right tool for every job?

Unix is a reasonable example of a polyglot environment, but at a high cost. Lots of serialization/deserialization through text. That has a high cost in terms of bugs, complexity, lines of code, and inefficiency.
They could just get the weather data directly from the national bodies that provide it. It's not like they were hurting for money to staff their own weather division.
Disrespectful snide aside, probably 8-10 weeks with water supply, dependent of course on your excess body fat.
Those programs communicate by serialization and deserialization, usually in bespoke, poorly documented data formats.

Unix doesn't put a strong emphasis on protocols. It just says "everything is text, except when it's not". It's not very helpful.
> Sure that's true, but performance is about measurement.

I have a very low degree of confidence that a pure Python solution (even JIT optimized) is going to compete with a native solution, not to mention that by all appearances it isn't sufficiently well-supported to meet our criteria. Measuring the performance for me feels like a waste of time; it's easier just to forego Pypy until the ecosystem matures.

> Poetry has some missing pieces still (I can list them if you're interested but I'm on my phone) but it's the first time I've felt ok recommending a packaging tool to beginners. The experience is way better than the alternatives like pipenv.

This is good to know. I'll have to give it a try.
Why not both?

Because you respect your users and know their privacy has value.
Somewhat related: https://news.ycombinator.com/item?id=22741887
I keep hearing this rumor, but C99 did not erroneously include unions-as-type-punning in a list of undefined behavior. The normative language is unclear, but clarifications were added1][2].

1: http://www.open-std.org/jtc1/sc22/wg14/www/docs/dr_257.htm

2: http://www.open-std.org/jtc1/sc22/wg14/www/docs/dr_283.htm
Welcome to Hacker News. I think you might be lost. Friendly advice: Try spending some time reading posts and comments for a while to become familiar with the site before jumping in.

Again, welcome.
It keeps greeting me every morning with the weather in Cupertino, though I’m three thousand miles away. It seems it forgets my location every upgrade.
Those are orthogonal problems to plan 9. tl;dr all this runs in vmx(3), though it is still in its infancy and slow as molasses but working good enough to scrape by.

Emacs is a poor fit as it already is an OS. plan 9, an operating system which encourages programs to talk to each other, offers no advantages to a monolithic text editing operating system. You're better off learning sam or acme and learn how they interact with the platform which is where their power comes from. That's how you use plan 9, you work with it, harness it. It's a kind of "be one with the os" zen thing.

SBCL I have no experience with but my guess is all the tooling and libraries are built around a 50 year old operating system. Porting languages isn't that big a deal, we have a buch like ocaml, python, Go, pforth, and maybe hugs/haskell among others. The issues are libraries which assume some unholy assortment of unix/posix/linux/whatever bindings and dependencies. plus we have no c++ because few at bell labs thought much of it even though they spawned it. Tells you something.

Firefox. The big one. The modern web browser is a primitive document viewer from the 90's which borrowed ideas put forth some 25+ years earlier by Ted Nelson and others in the 1960's and demonstrated by Doug Englebert in the MOAD. Now it can run computer code while displaying video, audio, text and images on your already existing computer. In plan 9 we would use separate tools to accomplish these tasks. A web browser would at most need to render html, ccs and handle basic javascript. The more complex stuff like pdf, audio and video should be plumbed to external programs which can be removed or swapped out as needed.
Group Testing against Covid-19 [pdf]
My iphone touch screen won't work if my fingers aren't clean and dry.
Firstly, let me say that I'm a big advocate for privacy.

But, for products I love, I also sometimes opt in to telemetry - it depends on the product, the company, and the data that's collected.

In the case of Visual Studio Code, it's very clear what data is collected, and I decided I was fine with it. It's free, it's OSS, and I want to help make it even better.

My only gripe with VS Code is that the telemetry is opt-out, rather than opt-in. Yes, it's easy to opt-out, but that's not the point - IMO, it should always be opt-in.
A couple years ago I got bored on the train, and coded a simple ray-caster in Pico-8.

Ray-Casting is fun because it's a relatively simply algorithm to "rediscover", and can be coded in just a few hundred lines of code... I've debated making it a guided question to ask during interviews, though I've resisted thus far because I'm afraid it might be a bit too much for a junior candidate, and might be too easy for a senior candidate.
> Note that in this case, it's still a legit OS dialog.

No it isn't. The dialog prompt is "System need your privilege to change." That's not passing QA anywhere -- it's just a custom message someone put into Zoom without bothering to proofread.
Could (ISC)² allow CISSP exam from home?
Only the State has power. Otherwise, all interactions between Amazon employees/customers are peaceful.
Use the native Android weather app hidden in the widgets.
Changes between 1.1.1e and 1.1.1f [31 Mar 2020]
> This drove Armstrong to suicide by defenestration

For those who are extra slow like me: he killed himself by jumping out of a window.
14 days had already passed, and then some, from exposure to the time he came in and was fired.
KeepTruckin Lays off 400 despite Apr 2019 $149M Investment
So this truck logistics company just raised $149M a year ago, yet today it laid off like 20% of its staff. https://news.crunchbase.com/news/keeptruckin-drives-in-149m-series-d-taking-valuation-to-1-4b/

Is this a housecleaning exercise, because they can't be short of cash from recent events. Preparing for a sale?
It is common for an IdP to apply specific policies and controls dependent on which service provider the user is authenticating to. The IdP is specifically saying "user X has access to application Y." That is why the Audience is a (required) component of a SAML Response.
It's time to make your own face mask
If the protocol were designed to require an SGX-like component, sure, leaving it out would be fatal. But not improved over alternative design choices!
"Eschew flamebait. Don't introduce flamewar topics unless you have something genuinely new to say. Avoid unrelated controversies and generic tangents."

https://news.ycombinator.com/newsguidelines.html

Edit: please don't create accounts to break the site guidelines with.
Yes (granted I'm a Canadian who supports countries covering medical expenses for all citizens), but are we also going to close hospitals if any of their employees test positive?
Which ruins it for a large portion of the userbase. Do you have a good product if it only runs on a Nokia NGage? It's a grey area
Only if there was UB, and the point is that there probably isn't. (I'm not really knowledgeable on the C standard, so I might have misinterpreted something.)
>Semi-related but for transit apps, I much prefer the dedicated "Transit" app over any of the mapping services.

Have you tried Citymapper? It looks pretty similar in features and covers a different set of cities (there's some crossover but not as much as I'd of thought), might be useful.
well said. I for one don't like all those touchscreen buttons. Screens should be for maps and other non-interactive stuff.
But it's not. The suppliers that supply restaurants and stuff will have extra on hand. It's just a matter of their orders going down and grocery orders going up.

I have seen the empty shelves, but grocery stores are still well stocked with enough food to eat.
I don't believe this is equivalent though.
With hardware controls, most (if not all) of them are immediately accessible at all times. With proper training, body movement and tactile feedback will train your muscle memory which will help you find the right control without much of a hassle.
I hope that someday we will have an anti-trust regime that scrutinizes this kind of thing more carefully.

One of the main things I liked about Dark Sky was that they charged for their app. They were good, people knew they were good and paid for it, so they had a business model other than acquisition.

I guess there goes that. Wunderground was completely crippled after their acquisition by the weather channel and became a useless heap of junk; looks like it's Dark Sky's turn. Weather Underground was a great resource, but they never got a funding model that really worked; their subscription-based "ad removal" didn't really work for me.
I replied on Twitter, but I'll include it here as well:

> Correction: SimpleSAMLphp easily allows for per-SP signing certs/keys. See https://simplesamlphp.org/docs/stable/simplesamlphp-referenc... (signature.certificate and signature.privatekey)
> If a company wants the "best people" it needs to follow up hiring with performance tracking, and identify and reward the people and hiring practices which increase performance. [2]

And that's glossing over a ton of massive difficulty, which is one of the biggest reasons things move slowly and are more based on opinion than data.
In VMC you still have a responsibility to see and avoid, regardless of whether you're on an instrument flight plan or not. (Ref: Regulation 14 CFR Part 91.113 (b))

Radar coverage has become ubiquitous in most places, but there's not universal coverage. Heads-up time is very important unless you're flying in actual IMC.
So what's your solution then, companies can just tell employees to stay home for no valid when they try to plan a strike or organize, and then fire them if they still try to do so?
Bootstrap 5 dropping IE 10 and 11 browser support: where does that leave us?
Only if you have a complete Python/R environment installed.
Is there any reason to think a Dark Sky powered Apple Weather app will work differently?
Costco delivers, and has a better corporate reputation than Amazon and Walmart.
Where is everyone getting all of this sourdough starter?
At this point I assume everything I buy might have coronavirus sitting on the outside packaging. I wipe every item down with a soapy cloth after getting home, wash fruits with soap, reheat meats that are not completely sealed, etc.

I think everyone should be doing this, there's no way to track possible infection through the entire supply chain but since the virus dies after some time, inner packages are probably safe if they've been untouched for a while.
My understanding is that 10 day forecasts just aren’t accurate enough to really mean anything, so most weather sources don’t publish them.
> the food supply chain going when borders are closed over coronavirus concerns?

After the last two decades, believing the United States has any ability to police its borders (especially its southern one) is willful delusion.
> Many see getting called slurs as a small price to pay to get a chance to break into tech.

No, no they really dont!

What a horrifying thing to say. Normalizing racial and sexual harassment is a large part of the problem. Are you going to claim you don't understand how the tech industry is so homogenous while simultaneously claiming that racial slurs are just some inconsequential price of admission in tech?