skysight-inc/HackerNews huggingface dataset:
I wrote the article, let me clarify.

Imagine you're a newspaper. You spend lots of money and time optimising your site. More people visit and your search ranking increases because Google takes page speed into account.

Your rival newspaper doesn't do any of this. But one day they switch to Google's proprietary language. They now get featured at the top of Google's results page.

All your work was for nothing and you have to spend more time + money on an AMP solution. It's no faster than your previous one, and no improvement on user experience. But you have to otherwise you don't get the top spot.

There is nothing you can do to differentiate your site from a performance point of view.

So, yes, all sites are now fast. That might be good for the users. But it also means that you don't get the free market benefit of optimised sites attracting more users. Which, of course, lowers the quality of content for the user.
The typical approach here as far as I'm aware is to use a deallocation queue - frees of an object that was allocated on another thread are freed by putting that object in the original thread's deallocation queue. When that thread gets an opportunity, it frees everything in its deallocation queue to reclaim that memory.
I’m confused why you would write your own caching proxy in node?

Varnish, ATS, nginx, Apache or even squid would do what you want.
Not magically, intelligently. Earth exists in Space and is livable, therefore it is possible.

I mean, what else do you want? You don't want the mass death of population crash, nobody has the power to order billions of people to stop wanting things and live in poverty, no one person or group can change government policy of all nations, and we can't keep polluting and increasing energy use at current rates.

There's no way back to an ideal perfect before-time. The only way is forward, and the only way forward without mass death is more technology. I hope someone can work out a way to put the polluting energy intensive things away from where we live.
This started a long time ago, I remember during the Bush/Gore election the media using "some people say" as a intro to a topic, as if those words validated the entire thing and had to be responded to. Might have started earlier as well but I didn't watch much US news before that.
Titan Key Replacement
I think it's a bit harsh and elitist to label this with "unfortunately"; for developers like the ones you mention, often their goal or aspiration is not to work in a FAANG or silicon valley startup; they want to make a decent living as a developer in their city and this provides that career for them. Many of those companies aren't trying to be the next unicorn, they're just small dev teams trying to maintain a web site for their business.
I mean, there are several competing companies now and none have matched the range of a 2012 Model S. I'd say it is fair to say that noone considered it possible back in 2012.

Now they build them with profit margins that are at least as good as the ICE cars on the back end. Their problems are related to scale and retail.
Facebook Co-Founder Chris Hughes Got Barack Obama Elected
Wood wide web: Trees' social networks are mapped
I agree that once you get a certain size of application, you effectively reduce the complexity of deployment to a small portion of the overall work. In those cases, something like Java is probably appropriate. In fact, most companies leave Ruby/PHP for Java service once they mature.

I was more referring to your statement of using Java over PHP. PHP's syntax may be approaching something like Java, but the differences between the languages are still so vast, that they are only similar in syntax.
Pretty much this. Yes, technical skill is important, but to some degree, the proficiency to do our jobs can mostly be taught given a proven background and some proven competency during the interview. Good communication skills? That's something taught over a lifetime.
If bypasses were common (mostly just sending "1"), then a configurable number you could cycle would work fine. Everyone would have a different number and you only get 3 tries.

Anything more complicated like actually following the voice prompt isn't going to happen soon.
Why on earth is that unfortunate? Seems like a positive thing to me, even if some people don't make it to the pinnacle of their craft so what? If someone has gainful employment and meaning in their life I see that as a net positive.
I hear this complaint a lot but I find those argument orders completely intuitive.

You filter (1) an array with (2) a function.
You map (1) a function over (2) an array.
You reduce (1) an array with (2) a function.

It follows exactly what I'm thinking when I type it. To reverse the orders would be, what? "Mapping an array with a function?" "Filter a function on an array?"
If you are looking for speed tacking an event loop on an interpreted scripting language is trying to dig a hole with a rake.

Its why the demand for such functionality was almost wholly absent from Python, PHP, etc for so long. Asyncio is a throughput boon even in a single core environment, which dates its practicality back to the 90s - and it was found there, in pretty much every graphics stack and COM. C apis have used what is fundamentally a promise since the 80s,

But if you are in a situation where you want those kinds of performance characteristics where you have work to do during blocking operations you probably don't want to be writing that code in an interpreted language to begin with.

Last week I was optimizing some performance critical Python but when considering my options I just ported the whole thing to Boost / C++ and got an ~80x speedup over the whole loop.

Theres only a narrow range of problems actually best solved with interpreted asyncio, pretty much only in the space where introducing a build system and doing language binding isn't worth it but the gains from being non-blocking are. They exist, and its definitely not a bad thing to have async support in your interpreted language, but it definitely isn't mission critical in the slightest.
Life-long medical care is vastly more complicated than dealing with a car accident. It's true that the American system piles additional complexity on top of that. But the worst case in car repair is buying a new car. Medical care is so complex we can't even pick a worst case, but the many, many terrible cases can last years, cost millions of dollars, and have no clear answers from beginning to end.
The market works pretty often when it is fair. The cell phone market is not, at least in the US. The providers maintain high costs of switching via contracts and phone leases and radio fragmentation (Verizon/Sprint/TMo/ATT use different frequencies, all but the highest end new phones generally only work on one or two) and carrier locking. If I could just put a different SIM in my phone anytime to switch carriers, there would be much more space for good carriers to exist - the cost of switching would just be spending an hour at the store porting your number.
I'm so excited to read this!
Quick link to replacement:
https://myaccount.google.com/replacemykey
Why don’t we just fine the telco $10 each time they connect an obviously fraudulent call?

The fact that they’re still using signaling system 7 is not a defense for their negligence.
You can measure all the differences in TV picture you described (and you didn't even mention colour gamut & dynamic range). You can measure the differences in optical glass.
You can't measure the difference between a $10/m speaker cable and $10000/m speaker cable (usually... some of the expensive speaker cable is so crazy it may mess up the sound), or an amplifier sitting on a $5000 stand. And $1000 power cables, plugging into your usual wall outlet...
Consider: for pretty much any animal I'm aware of, there's a notion of the minimum amount of space it needs to live normally. Somehow for people we've convinced ourselves that there is no such minimum (or it's so small as to be absurd).
The counter argument is that there are gobs of languages whose names for mother and father sound nothing like ma or pa.
Hadn't heard of this outlet before - quite an interesting article, but the conclusion started to get more than a bit esoteric. Looking through the chain of funding, we find that the funders are

> https://eppc.org/about/

> Founded in 1976 by Dr. Ernest W. Lefever, the Ethics and Public Policy Center is Washington, D.C.’s premier institute dedicated to applying the Judeo-Christian moral tradition to critical issues of public policy. From the Cold War to the war on terrorism, from disputes over the role of religion in public life to battles over the nature of the family, EPPC and its scholars have consistently sought to defend and promote our nation’s founding principles—respect for the inherent dignity of the human person, individual freedom and responsibility, justice, the rule of law, and limited government.

One of the key projects of some of the "traditionalists" is to tear down the Enlightenment and modernity/post-modernity itself - which, interestingly, coheres with the conclusion quite well; it's clear why the outlet published this article.

The history of mesmerism is interesting.
> include whitespace and brainfuck

make part of the test a reverse question where the interviewers have to work out what language your solution is in

1:v!`*5*54p2*62*77,*5<
v _@>v >v>:#<.>1+:2^
>:3%|>:5%|> 1#^_^
v"z"<pvv<"p
:>v>v2,"-z2
"",8**,B5"*
iF,622#"::4
"",,3*^<^<3
>^>^>^>,8#^6#*<
I'm not blaming anyone, I'm just pointing out that ORMs aren't going to have every SQL feature. Django didn't add windowing functions until rather recently. So while they are great for most use cases, but you're going to have to drop down to SQL if you want to use advanced features which are not available in your ORM of choice.
Thanks - appreciate it!
Not my experience, as long as you're prepared to accept that people may need some prompting, and won't necessarily find the optimal solutions.

Someone who knows the 'trivia' may remember how to implement quicksort without actually being any good.

But someone with even a little bit of understanding and some prodding to not worry about efficiency will be able to come up with some sort of solution, even if bubblesort. If people appear truly petrified, it's easy to give them a chance by breaking down the problem and see if they can reason about it. E.g.whay if you start with a two element array? Then how about 3? How do you generalise that?

Someone with both the trivia and the smarts will give you a good solution and be able to muse about tradeoffs of different implementation methods, pivot selection and the like.

It's usually fairly simple to find out if people understand the solution they offer up and can reason about it, and that's often a lot more important than whether they come up with a great solution.
Perhaps look at it from the perspective of a software developer, Dan. A user files a bug report about bad output. The developer is mystified, because he definitely didn't intend for the code he wrote to work that way, and other users are happy with the program's output.

Now the developer has a choice: dismiss the bug report, thinking the user must be crazy, or accept that there is a problem with the software's output and fix it.
i don't think the github page helps either
The brightness of the UI should match the ambient light in the environment. Light UI in daylight, Dark UI at night. Brightness adjustments applied to both based on the ambient light. Some people may also prefer hue adjustments (blue reduction) for low ambient light along the lines of f.lux, Night Shift, Night Light, etc.
Interesting - thank you!
Just test it yourself. I've googled "iphone 11", here is first 3 links:

1) https://www.techradar.com/news/iphone-xi
Absolute trash, playing video, obtrusive ads, popup. Thank you but no, I don't want to consume shit even if content is stellar (actually it is not).

2) https://9to5mac.com/guides/iphone-11/
Reasonable, actually surprisingly readable. Awesome in terms of rivals.

3) https://www.theinquirer.net/inquirer/news/3066173/iphone-11-...
Absolute trash, can't even see the content because of popup "we'll sell you soul after you accept".

---

Blocking ads is bad for everyone, because you still "consume" the website and it has incentive to continue while users are ok with that (not leaving). More likely your ad-block provider sells you visiting history to similarweb or so because nothing is free :)
Are most business ideas accidental?
Who has purposely built something from the start with monetizing it in mind? It seems like all the information that I read about starting businesses happen accidentally. They were working on something and it happened to gain traction.
You're missing the point. Go is not the tool for their specific problems because it's a crappy language that lacks generics, algebraic data types, etc.

In contrast, a language very much like Rust, but with GC, would be the right tool for their problems.
Thank you - seems like it may be a very localised issue in that case (although the fact that Wayback is also struggling to grab the content suggests otherwise).
Simpler: stop showing tweets just because other people liked them. That's not a reshare, so it shouldn't be treated that way.

More generally, discourage large conversations and encourage fragmentation.
"I need a function to add two numbers together."

Innumeracy is the norm: I'd guess > 85% of people don't understand the concept of a function.

And they probably can code if they were working independently. Or they've done some classes, wathced some videos and think they understand it.

But when you add the pressure of an interview, your unpracticed skills fall apart. Also, you have to think on your feet to fill in the blanks in a question.

That's how it should be, because we're not hiring hobbyists; candidates need to be able to demonstrate that they're pros, and able to do so under the pressure of an interview.

I've done my share of phone screens who were flatly unqualified as developers. (Thankfully we've never had someone completely clueless land an in-person interview. That's also a disservice to the candidate as we should provide better guidance through the phone screen.)

Some of them are junior, possibly they lie on their resume and simply keep applying to job after job. That's the 99% that Joel wrote about[1].

You also occasionally get guys who were in management or similar roles and are looking to transition to being engineers. And I think these may have a similar problem to the senior engineers: they have lost the skill (or never had it) and are finding out the hard way.

[1]: https://www.joelonsoftware.com/2005/01/27/news-58/
Does anyone here actually buy the "giving the rich more money lets them create more jobs" BS anymore?

Hasn't trickle-down economics been thoroughly disproven at this point?
So, for me, it is a glorified cooking timer and alarm clock. If I could buy a closed unit that just did that, then I would be happy.
Just stop. Is it really hard to understand that normal people can make mistakes without being malicious or incompetent? Imperfect and incompetent are not synonyms.

And my response to the OP was to push back on the idea that only "idiots" could make mistakes. To me that is an absurdly reductionist view of human nature.
I don't disagree that he should do that, but given how deep in the pockets of industry our government currently is, it may be that the only feasible solution is an economic one. They won't listen to people, but they will listen to money.
IIRC, you would upload wav or mp3 to YTMND, and then it would play back in Flash. I think it worked like this for one or both of these reasons:

1. Syncing the audio and video. It is difficult to sync a gif with audio. They have to be started at the exact same time, be the exact same length, and never get out of sync due to lag/stutter. This wasn't important for early YTMNDs, but mattered later when people created what were disparagingly referred to as "___ short films".

2. Bandwidth. I think Max had said the Flash solution was more efficient than serving the raw audio and gif. Think of it as an early version of WebM.

I think the use of Flash could be controlled on a per-YTMND basis - the creator could disable the use of Flash. And/or maybe it was that Flash was only used for animated gifs?
It has cool images.
Everything is Turing complete until proven otherwise.
It’s dangerous to craft rich narratives without access to even the slightest bits of ground truth.
From a performance perspective, you likely want to do those with `foreach` anyway in PHP. Especially when the array function is fed a closure. I know it is not as interesting as using those functions, but because of PHP internals, `foreach` is almost always preferred.

https://stackoverflow.com/questions/18144782/performance-of-...
Top six weird programming languages
The Nintendo character with zero Google results [Video]
A lot of people getting misguide by very persistent, and I'd say pushy Typescript promotion.

It is deceptive to say that Typescript is just "a backward compatible tool for type checks"

Will Typescript add more troubles for you? Yes, it will.

People have little idea for what they sign for: it is not just some script to do build time type checks, but an entire language + ecosystem standing apart from standard JS along with expected interoperability issues and "one way door" problem

Library authors opting for TS may well be closing door for contributors from mainstream dev demographic.

Commercial dev shops may loose out on trading type checks for smaller ecosystem, smaller dev base, and productivity loss

For one man companies, and smaller shops: you will be ready pull your hair after few months dealing with tooling. TS tooling problems make usual webpack breakages look trivial, and will greatly affect your productivity
I cursed out a robot trying to sell me solar panels yesterday, but the robot just called me back again the same day, trying to sell me solar panels again. It really is unpleasant. I used to get cruise ship scam calls that always started with the sound of a fog horn.

I think people who run these robocall companies should be burned at the stake.
> Phones have at most 15 digits? I'm putting 20 or 25 just in case.

That's fine, but if we have to go beyond 15 digits, it will probably be an upgrade as big as going to IPv6 128-bit addresses given that the ITU has specified fifteen for a while now:

* https://en.wikipedia.org/wiki/E.164
This sort of incentive scheme is the main reason credit card companies can charge transaction fees to vendors (for “fraud prevention”).

At this point we all effectively pay an extra few percent sales tax for their “services”, when simply securing the payment network would cost much less than that.
Just add a damn dislike button. Don't let obnoxious ideas go without punishment.
FTFY:

Absolutely untrue in my experience, I can't speak for other people. To imply that this is absolutely untrue in the global space would require that I have interviewed everyone.

Whiteboard problems absolutely do work in my interviews. Again, use of the word absolute indicates that I've never interviewed without a whiteboard. Given the high number of candidates I've interviewed, this might indicate a flaw in the interview process.

The vast majority of applicants I select for interviews cannot code at all. And I mean that literally: they're at a loss at how to write a function that adds two numbers or counts the number of elements in a list. I should consider the possibility that I'm selecting the wrong people for interviews.

Worse is that these guys can be employed as developers (even 'senior' ones!) for years and years in 'serious' enterprises. Clearly other companies are making the same mistakes I am making in their candidate selection process.

How, you ask? By using copy-paste and cleverly navigating their enterprise processes and dodging responsibility.

Maybe this is what you mean by 'being good at working with others', but it's definitely not what I want in a software developer.

Source: I've interviewed a great deal of poorly selected people for lots of positions over the years.
VMWare Acquires Bitnami
Yeah, I don't understand it either. Organizational inertia? Maybe they can afford to indulge someone in the organization who's hell-bent on this?
Amazing. It kind of sound unbelievable, but I don’t have that much experience working with big corporations.

This should be read by everyone concerned about, how few people in a startup can beat big corporations
RAII can help you protect heap memory (and other resources besides memory) because it's more about registering code to run on the end of object lifetimes rather than just the memory being deallocated. Alloca isnt really a great option for async flows for instance, to say nothing of file descriptors, or abstract concepts like 'the idea of this mutex being locked'. Alloca is also terrible for memory passed on to other threads obviously..

Albeit most of that is moot when compared to a GCed language like the global discussion.
Exploring new frontiers for Git push performance
If swaros are low-highend, what's high-highend?
So Tesla paid $2.6B for SolarCity, but that didn't even include cell manufacturing so they aren't benefitting from this tariff-stimulated demand for foreign export, Panasonic is?
They do solve allowing those of us who want to live in rural areas to do so in an environmentally friendly way. No cities please.
I touch on it here: https://news.ycombinator.com/item?id=19650813 which includes a link to their paper on it.
Praise our caring European governments for banning incandescent light bulbs for the benefit of Philips and Osram while you can still burn as many liters of Diesel (together with noise pollution) as you please.
a series of easy-medium-hard to gauge where someone is at might be that 'sweet spot' - there's not one question that would cover enough, although I think fizzbuzz tries to.
> I have an opportunity to teach Rust to a large-ish group within my company, so it's top of mind for me right now.

If you could share an experience report when you're done, that would be most helpful. :-)
FAA expects Boeing to submit 737 MAX fix soon for approval
Exhaust and noise is a problem certainly, but IMO a bigger problem is the ridiculous amount of space that gets reserved to support cars that could be used to support people instead.
This isn't the same as client side prediction though, the entire game simulation in the aoe case practically runs on every client, where the only input to the simulation are commands that are passed between all players and executed in lockstep, where the simulation essentially stops if for a given turn no command for that turn has been received.

Gives you really low bandwidth reqs (and randomness is still possible assuming you just seed things the same on all machines).

But also means you might have to wait 50-200ms (or some arbitrary sliding window depending on network conditions) until your click actually registers ingame as a move as commands are scheduled to be processed far enough in the future (some number of command turns in the future) that you at that point would have received every other players commands for that given turn and thus be able to execute all commands for all players locally for that turn, which is not ideal if you're playing a twitchy shooter, but alright if it's an RTS.
As a start, for keeping details from pilots even after the first crash. For example, after the first crash, Boeing did not disclose that MCAS keeps repeating at 5 second intervals. Surely this was relevant information for pilots in life and death situations. But perhaps it would have required Boeing acknowledging the need for additional training, and corporate greed got the better of their judgement.
Exactly what I thought. I imagined it was clear that anything this thing hears can be kept. I bet the terms of use explicitly say that they can, in readable English