skysight-inc/HackerNews huggingface dataset:
> returning a null array to represent no items, and returning a single object without an array to represent one item.

This just reminded me of a long ago incident at a former employer. I worked in back-office at a hedge fund and was responsible for maintaining several APIs & services written in C++. The APIs were pretty straight forward query for object(s), get back a vector of objects. If nothing was found, you'd get back an empty vector.

The company also had a program where they'd hire grad students right out of school and immerse them in the trading desk, working on trading algorithms and such. One such kid sent in a "bug report" directly to me, CCing all of front office. The "bug"? We was querying for something that didn't exist, so he got back an empty vector. He didn't check that it wasn't empty, and immediately accessed the front of the vector. Boom, segfault.

Normally, I would have been kind to such a junior dev, but their original email was very condescending and went to an unnecessarily large audience - like hundreds of people that didn't have time for this. His email read something to the effect of "Your API is crashing my code. Fix your API."

Instead, this junior got a whole other lesson instead. I replied all, and included all of back-office on the email (so the rest of the team was aware to watch out for this clown). "The API is working perfectly fine and as designed. The fuck up is on your end. You queried for something that doesn't exist and proceeded to dereference and empty vector. Fix YOUR fucking code."
Neat minimal app! Each new page loads fast enough for me that the loaders are very jarring. Minimal UI improvement might be to remove the loader and just transition to the view when it is done loading. Show the loader after 200ms or some amount of time if it is taking unexpectedly long.
A burger place is in the top-10? This list is suspicious.
qrencode also has a -t argument which accepts a utf8 value. Great way for quickly opening URLs you have in your clipboard on mobile devices during development as you can pipe in your clipboard to qrencode.
I think the question is very much of scope/purpose. I expect that narrow-use one-offs and internal services are easy. I don't have the experience to back this up, but I wouldn't be surprised if it is much harder to write a general-purpose server for use on the open internet by arbitrary clients (and of course <10% of clients will be responsible for 90% of "interesting" behavior).
I don't think American carriers care at all about preventing government spying.
GitPod is a lifesaver on the go when you need to work on private repos. Couldn't recommend more highly.
If anyone from GCP is watching, are there updates about the following?
- Global load balancer for UDP.
- GCS signed urls for a prefix instead of only per object.
- Better latency between Europe and India.
Why? In and Out Burger has been in the top ten list for many years.

Also, their burgers are very good too.
Cooking is what, 1 hour a day? And it's something you can often involve your kids in, same with the other household errands (let's say that's another hour). That's 14 hours gone. We still have 34 hours left. So basically 5 hours PER DAY still to spend with your kids. That's still a lot!
> HubSpot Inc., a cloud-computing software company, grabbed the No. 1 ranking

Haha, is this the same HubSpot? https://www.nytimes.com/2016/04/06/books/review-disrupted-da...
You seem to have re-iterated the Gervais principle:

https://www.ribbonfarm.com/2009/10/07/the-gervais-principle-...

(although leader, model worker, autopilot are more polite terms than sociopath, clueless, and losers)
Why, because you look down on that type of work?
I lost my father and my uncle to rare forms of prostate cancer. Here's to more research funding and accelerated progress on every front.
I was wondering this myself. I’ve never heard of this before.
I sort of interpret "unsupported extensions" as "adblockers" - and with the current model of modifying the DOM I don't think it's preventable.

Maybe in the future we could run the website in one version of the DOM, hidden from the user, and then have the adblocker make a separate DOM that is displayed to the user. That loses almost all of the anti tracking and most of the security benefits though.
Thanks.

Interesting to see that JUUL is at #31
I don't understand why archive.org keeps all kinds of formats, .ogg and .mp3, .pdf and .jpg for the same resource? Why not just whatever the original format was? Sometimes its a dozen or so formats it seems like.

There are probably a lot of reasons, but I don't know where to chat about it to learn more.

edit: now that I think about it, if the original is pdf, then jpeg makes sense for loading one-page-at-a-time in the browser, but it seems like mp3 transcoding to ogg is reasonable to leave up to the user?
(Author here.)

The analogy to `git log` is just that, an analogy. Here's a concrete thing that you get with layers that you don't get with `git log` or conventional abstractions and refactoring: alternatives. Often we see comments in codebases that some complex, hairy function is really a much simpler function with certain optimizations applied. There's been lots of work done to try to separate out functional spec from optimization so that the two can be managed separately. But this is all open research. Layers let you get the value of this separation today, with very little code (just a lot of reorientation in mindset). If you adopt layers you can use the simple version in an earlier layer, and then replace it in a later layer. Your CI system will exercise both, and flag if either stops passing tests. What used to be a code comment now stays up to date.
I like this idea. Another feature that could be helpful for users who are eary of group think thought bubbles is to have some kind of analytics on the most common types of words, phrases, and topics that the moderator censors.
The judiciary branch.
> The John Carmack’s of today will be remembered in detail with or without blanket archive efforts.

Sure, but this leaves us a distorted view of history, where we have lots of details on the lives of "great men" and next to none on how ordinary people lived. Which means the vast majority of people who lived and died in that period end up written out of their own history.

Archaeologists spend a lot of time rooting around in ancient rubbish piles and cesspools, because these are some of the very few places where physical evidence of how ordinary people lived has survived. Nobody in ancient times would have nominated those sites as culturally important or worthy of preservation. But what we know of how ordinary people in those times worked, played, ate and drank comes largely from things dug up from them.
I think the core problem is that one of the root causes of the patchwork hard to understand code is lack of spending the effort to keep the code understandable. Refactor into new models, move around code so it makes more sense given changes in requirements, etc.

If that level of maintenance isn't being performed (which is almost a given, assuming we are looking at a problem with such a patchwork problem), then this new tool won't be fully followed and the end result will be a patchwork code base that reaches nightmarish levels where some features are added in this layered approach, but other features are added directly to the code, and even other features are added directly to prior layers.

If the tooling force people to use this in the recommended way then it may have interesting payoffs that are worthwhile. But lacking such an enforced requirement, I don't see applying being beneficial except in the code bases that least benefit from it.
Glassdoor is good for negative signaling, not so much positive signaling. It probably makes sense that larger, older companies will inevitably get bumped down in Glassdoor’s eyes, since it’s much harder to climb back up than to drop down, and the likelihood of dropping down increases over time.

I would take Glassdoor with a grain of salt (unless you read the negative reviews and find specific constants across reviews). I would also strongly encourage devs to keep FAANG companies as a healthy benchmark for production software.
Not a surprise since both companies require in-person work and don’t place remote work as one of their cultural values. Both have become extremely corporate places to work.

Many of the Googlers I know dread the Gbus rides from SF, and many that have left have found remote work or city jobs.
Someone recommended this book on here a couple of weeks ago: https://bigmachine.io/products/the-imposters-handbook/

This is a pretty neat book, that explains a lot of difficult concepts in technology in an easier to grasp manner. Things like P=NP and Big O get covered.
I prefer my e-mails in a standalone IMAP client.

E-mail clients don’t serve ads.

For security reasons, they block linked content by default, meaning google can’t track what I do with my e-mails.

Google can terminate an account any time without any reason, if they do that, I won’t lose access the e-mails I’ve received or sent.

My screen refresh rate is 60Hz, ping from here to gmail.com 36ms, this means web interface has at least 3x latency compared to a locally running app.

I don’t care about their web interface re-designs, or browser compatibility issues like the one discussed.

Gmail can’t turn off IMAP as it would break e-mail on smartphones. Large share of these smartphones run old versions of Google Android which will never be updated, this also helps to ensure their IMAP access is here to stay.
The other thing about those places is that they only attract the desperate devs. So you know when they pull out that bullshit in the interview that if you were to take a job there you'd be on a team chock full of juniors with a few "seniors" that just fill a chair for 50 hours a week and haven't learnt anything new in the last decade.
Kylin (Operating System)
Comments moved to https://news.ycombinator.com/item?id=21762510.
I really can't convince myself to put any stock in this. How can one compare In-N-Out Burger to Google? Aside from a small fraction, most of the positions don't overlap.

Also when really big, recognizable companies have their rating change so drastically, it's obviously reflects more about the PR of the company than it's work environment. If you don't consider ideology, Google didn't actually become a terrible place to work rather it's its employees, by the nature of their demographic, be more informed and apt to oppose certain policy and also feel they have the leverage to cause internal change.
Option three would be to not distribute cash through dividends or buy backs and reinvest directly in the business. In that case the net result and tax treatment is about the same as buying back shares. Trying to treat buy backs as a special case would just result in a defacto incentivization of conglomerates.
> I know PG claims meta programming was the secret to ViaWeb's success, but I'm not sure how exactly that was the case

IIRC, PG said the advantage of Lisp was being able to add features much more quickly than the competition, so that (a) they could be adding features almost daily that the competition would take weeks or months to match, and (b) whenever the competition added a new feature that looked like a good idea, they could implement it within a day or two, so by the time the press came around to ask them if they had it too, they could say yes.

I also remember him saying that Lisp macros were about 25% of Viaweb's code, so a significant part of the advantage of Lisp was metaprogamming.

> even if true whether that is still relevant today.

It's probably not that much of an advantage any more if your competition is other startups, since they probably have access to basically the same metaprogramming tools that you do.

It might still be a significant advantage if your competition is large, mature businesses whose business model you are trying to disrupt.

> I have found Python to hit the sweet spot much better in terms of rapid prototyping, and providing a runway to making the prototype more rigorous and maintainable.

I have found this to be true as well. But I also find that I do a significant amount of metaprogramming in Python, and one of the key things to transitioning to more rigorous and maintainable code is to make sure that whatever metaprogramming needs to stay there for the long term is packaged into a library or a tool whose internals won't need to change.
It just goes to show. They are comparing Apples to Burgers.

There is really no point in paying attention to nonsense like this.
Both a burger chain and an airline are among the top ten companies. And VIPKid, which I had to look up, which is apparently a "teach kids in China English via the web on your own schedule" service.

This list sounds ridiculous.
Because it pays ~$30k/year and Google/Facebook pay ~$200k/year.
Enterra Solutions is looking for a Data Engineer. Apply.
I logged in just to make this same comment but you beat me to it. Agile is micromanagement in disguise, and we fell for it hook, line, and sinker.
Tumblr blogs often include people's names, faces, and/or details about their personal lives. That's very much personally identifiable information! And while they did post it publicly, they likely didn't do so with the intention of it being saved forever in a publicly available, easily searchable archive. This especially applies for porn blogs where people post their own original content.

There's certainly value in archiving social media but I think it has to be balanced against the harms, instead of defending the practice with literal religious fervor and dismissing all criticism out of hand.
Can recommend Ge Wang's Artful Design. Dense, photo-graphic-novel hybrid you can sample for hours. And low-key it's an encyclopedic History of Computer Music ;)

https://artful.design/
I've never had a LI profile (nor FB nor G+ nor myspace etc). I've never had a problem finding or getting a job. Both from the candidate side and the hiring side, it seems pretty optional to me.
I found the answer in your twitter thread: https://twitter.com/i/status/1204847952134656000
Totally. And a lot of people don't realize you can remove Gmail from your Google account, and then use your new non-gmail address as the username for your existing Google Account. That way folks can still share Google docs with you, etc. Works seamlessly.
> No More Games. No More Bombs. No More Walking. No More Fun. No More Swimming. 67. That is 17 years past 50. 17 more than I needed or wanted. Boring. I am always bitchy. No Fun – for anybody. 67. You are getting Greedy. Act your old age. Relax – This won’t hurt.

--Dr. Hunter S. Thompson
I'm hoping that the new Microsoft Edge based on Chromium is going to be a viable alternative (with uBlock Origin)
Ethical Tech: Giving Guide
"As such, it can be hard to justify why you're spending your 20% time learning how load balancers work in nitty-gritty details since it's unlikely you'll be writing one from scratch or helping the company with it."

Unless you use load balancers in non-trivial ways at scale and really need to understand the ins and outs of how they work to utilize them effectively.
As for trains the situation already is perfect all over (well, perhaps not all over but everywhere I've been to) the Europe. Cheap, comfortable, everywhere. The situation with the Internet connection and delivery services is somewhat worse but improving and I hope Startlink etc are going to revolutionize the market by delivering Internet everywhere.

I believe Internet everywhere really is an essential thing every nation has to get to revitalize rural development.
Glenn Maddern: The Future of Reusable CSS (2016)
File coin test net is live
If you restrict it to “formal” regular expressions you’ll stay out of “arbitrary code executing on a Turing machine”.
I thought the chosen example for idempotent requests was a bit funny as I don't think POST is necessarily idempotent and depending on your specific use case making it so may or may not be easy.
Align Engineering Metrics with Business KPIs
Ask HN: Is a startup no longer a startup once you hit PMF?
XSS in Gmail’s AMP4Email via DOM Clobbering
This post would make sense if it didn’t ignore the iMac Pro.
TV Maker Vizio Is Building an Ad Business of Its Own
I might be wrong, it was a long time ago, but IIRC a different DNS rebinding attack was actually part of the reason this behavior was introduced to the URL class, to help protect against such attacks in Java Applets.
The amount that's owed is known, but ability to repay can change.

Suppose that someone invents a better version of ELIZA, and everyone in the psychotherapy business is suddenly out of work.

Or slightly less absurdly, suppose that Intuit and H&R Block mess up their next round of lobbying, and the IRS implements that one-click tax payment we've all been asking for. And the accountant industry shrinks by a few percent and wages go down for the ones that are left.

Either of those would be a significant shift in the job prospects of a large group of people, which could affect how many student loans actually get repaid.

I think it might also count as a risk if it suddenly became fashionable to get degrees in, say, underwater basket weaving. As in, incoming students aren't perfectly rational with perfect information about what degrees have what job prospects, and I'm assuming the college loan system might not react quickly if something caused an overall shift towards less economically useful degrees.

It does lack one "feature" that helps the bad mortgages cause problems, in that I don't think it would be self-reinforcing. From what I understand, subprime defaults were contagious in a way that I don't think this would be.
Oh! My bad. The "Run" button is featured in the video.
The data on Glassdoor is abysmal. I was looking up several engineering job titles in the local area (NYC) to compare them to the sorts of salaries we had needed to offer to land good candidates. The quoted numbers were consistently 60-70% of the actual salaries we had to offer four years ago.
A peaceful protest that is non-cooperative in nature will eventually be noticed. If they leave when the authorities tell them to leave (Occupy Wall Street) then yes you are correct.
Because if they factored salary into their metrics that highly the only thing would matter is pay.

This list is about the best places to work in the world in 2020. Not best tech place to work. Or best place to work if you have a degree.

In N Out pays very well for a fast food position. Compared to comparable jobs at other fast food companies, it’s easily the best one to work at.
I guess it depends on what you call a safe landing. For large airplanes the maximum takeoff weight is typically greater than the maximum landing weight. If an airplane lands overweight it can no longer fly until it has been inspected and repaired. Most emergencies will involve flying around for long enough to get the aircraft within the acceptable weight limit. Some older aircraft have the ability to dump fuel, although I don't know of any new ones that have this capability.

Needing to land before getting under weight usually means a crash landing. In modern times, very few things like fire or an engine self-destructing will require immediately getting out of the air. It is usually better to fly in a straight line, figure out what is going on, figure out where to land, then land. This lets you get underweight, lets you communicate with air traffic control, lets emergency services prepare, etc.
Have you tried Fastmail's own app? Seems pretty decent to me (though I don't use it that much: I don't often read/write mail on my smartphone).
While not abnormal, performing a go-around with a visual circuit landing shortly following is a high stress situation. The argument is likely that the pilots were distracted/overloaded by the tasks they had to perform in short order, while maintaining situational awareness.
Ask yourself this, if you have a 5 year old kid then in which company would you want him/her to work when he/she grows up ? Google or In and Out Burger ?
Caller ID information is sent to the receiver by the switch.

If your switch is under your control (say, you're using Asterisk), you can send whatever you want, as demonstrated nearly constantly by all those spam calls.
I worked in companies that looked great on Glassdoor had 4/5 stars ... but the reality was very different.
Companies nowadays "encourage" employees to leave reviews on Glassdoor because they think that will
attract "talents", help with hiring, and make them look good in front of the next VC.

The reality is that I started not to trust companies who have all great reviews on Glassdoor.
I tend to focus instead on the negative ones, that like on Amazon, very often highlight
the weak spots.

So I don't really buy into this `Best Places to Work` list.
Ctr.run: Modern, fast, efficient and on-demand Docker builds
Baidu's model ERNIE has achieved new SOTA on GLUE; first model to score 90
The fastest way is probably the ArchiveTeam IRC channel[1].

[1] https://www.archiveteam.org/index.php?title=Archiveteam:IRC
Use the time to learn to code, you can totally get in to the industry starting that way.

Also once you got the basics try to think of a simple project. I'd even help you find one, just comment below. (depends a lot on what you want to learn). A project is really the best way to learn things beyond the very basics, learning without a clear goal is quickly demotivating. As a bonus you have something to show afterwards.

I learned web stuff while I was in school and became a front-end developer afterwards. Now I dipped in to AI and got an AI related job (not as a dev, but having some experience helps to propel you in the direction you want to go).
"Emerson’s stock price, which has already responded to stories of D.E. Shaw’s potential activism, was up slightly Tuesday."
That might be true, but I would guess most people take the "better safe than sorry" approach and just have one.
Some other, related ideas & paradigms:

Context-Oriented Programming: https://arxiv.org/pdf/1105.0069.pdf

Feature-Oriented Software Development: https://en.wikipedia.org/wiki/Feature-oriented_programming
> disputed

There are many disputers. One thing they all have in common is a complete lack of evidence. Ader, for example, pops up 17 years later saying he flew. But he's got no airplane, no witnesses, no photo, no followup - just a drawing. Even worse, he claimed an altitude of 3 inches - about what you'd get from going over a bump or a gust of wind.

And does anyone really believe someone would toil away for months/years, build an airplane, make one flight with it, not tell anyone, dismantle and trash the airplane, and forget about it?

Nope. I'd be flying all the time showing off my creation.
Biological Blueprints for Next Generation AI Systems
If it works for me then why should I?
I can't speak for In-N-Out, but I know Chick-Fil-A treats their employees quite well.
It's meaningless to talk about what education was "intended" to be, because it varies from society to society, and changes over time. In general, we as a society decide what it is intended to be about.

But if you are going to look at history, then why not go all the way to the root of the modern Western academia - where the word itself originates?

https://en.wikipedia.org/wiki/Platonic_Academy

On one hand, it was indeed about learning just for the sake of learning. But on the other hand, it also didn't have degrees, positions, tenure, or any other attributes of a formal hierarchy.

And note that it was something that people did aside from gainful employment (or other source of income). Which means that it was closed to most, not even because they weren't welcome there, but because they didn't have the free time to devote to learning for the sake of learning.

Could we revive the Academy today, free for everybody? Sure, but I don't think this would solve any of the problems with "bullshit degrees".