skysight-inc/HackerNews huggingface dataset:
It's "prefer composition over inheritance" though, not "never use inheritance".

There is a time and a place for it.
I learned concurrency and parallelism by confronting blocking behavior: waiting on a networking or filesystem request stops the world, so we need a new execution context to keep things moving.

What I realized, eventually, is that blocking is a beautiful thing. Embrace the thread of execution going to sleep, as another thread may now execute on the (single core at the time) CPU.

Now you have an organization problem, how to distribute threads across different tasks, some sequential, some parallel, some blocking, some nonblocking. Thread-per-request? Thread-per-connection?

And now a management problem. Spawning threads. Killing threads. Thread pools. Multithreaded logging. Exceptions and error handling.

Totally manageable in mild cases, and big wins in throughput, but scaling limits will present themselves.

I confront many of these tradeoffs in a fun little exercise I call "Miner Mover", implemented in Ruby using many different concurrency primitives here: https://github.com/rickhull/miner_mover
CMEs in Java are a constant thorn to many Java programmers as a lifetime violation bug. Hell even NPEs are too for that matter, lol.
Thank you for your feedback!! Year, dropdown list UI should be replaced by tiles or something.
> elegance matters

absolutely, but no need for strong violence. ANSI C and RISC-V are doing fine.

> x86-64 which is not dying

true. technically speaking, it is long gone - any Intel CPU since about Pentium Pro is actually a well-hidden RISC, because it is more efficient. Sure that requires a pretty beefy CISC decoder in front, but the sheer power of having a virtual 8086 mode next to amd64 must totally justify all that extra TDP.

> [x86 is] something students can run on real hardware, and that's cool and engaging

also true, but nothing compares to booting the real xv6 on a real RISC-V system for the first time, which is easy and fun (and cheap, if we’re talking value). i recommend.
> re2 uses a DFA-based system instead that just doesn't support the kinds of regexes that catastrophically backtrack

There are certain fearures that are harder or impossible to implement with RE2's approach, but it's not true that it doesn't support the kind of regex that would catastrophically backtrack using a backtracking engine.

`(.*a)*b` would be a (silly) example of a regex that can catastrophically backtrack using backtracking engines and re2 supports it just fine without backtracking.
Uber taking 25% commissions on each trip is insane. The drivers are not paid fairly because of that. Besides the commission they need to pay tax and car maintenance. If you over charge the passengers then they’ll use other services.
There is a lightly trafficked, mostly straight, 2 lane highway between where I live and the closest city large enough to need 5 digits on its population signs. The speed limit is 65. I drive 75 on it. Most people drive 85. In fair weather, with the right vehicle, 95 would be safe for most of it. A few years ago, the limit was 55, and at that time, a sheriffs deputy told me they don’t bother anybody going under 70.

I don’t know what you really mean by acceptable, but there are plenty of roads with a 65 mph speed limit where 80 miles an hour is perfectly safe, and there are of course plenty of roads with a 65 mph speed limit where 70 mph is and unsafely fast. And there are road conditions in all of those roads where 45 mph would be on unsafe. It is difficult to make blanket statements about what a safe speed is knowing nothing other than the posted speed limit.

To put the same point in a different context, remember that it wasn’t really that long ago that there was a national 55 mph speed limit, and many of the same interstates that used to have a 55 mph speed limit now have an 80 mph speed limit.
In general you need some miracle to get a factor of X, for instance progress in semiconductors has required a few miracles a decade. For a long time we got those miracles until we didn't. (It's not an accident that people are complaining that this year's GPUs aren't cheaper than last year's GPUs because transistors are not longer getting cheaper with die shrinks which is the real end of "Moore's law")

In a lot of cases you get a few miracles then you run out of miracles. Like aviation. That's the normal case in technology in fact, cases like semiconductors where the miracles keep coming are really unusual.
That is an _out there_ reading of it. Note I've seen the opposite argument: that the headlines are honest but the body copy is dishonest: i.e. I've seen just as many people make the argument that it's unfair that FAA is forcing this, and turning a checklist into disciplinary action, and the media is helping cover it up by framing it as voluntary.
So, is there a way to check if any malicious packages installed in my conda environment?
'Millions of dollars per day' is about $1 billion a year? Considering Apple's annual revenue is about $400 billion and its net income is about $100 billion, it's more than reasonable for apple to spend millions per day beefing up their AI.

I guess 'millions of dollars per day' gets more clicks than 'apple spends less than .25% of its revenue on AI'.
tl;dr: shoddy construction because nobody GAF.
Sometimes the boss gives a wink and a nudge though
Likely they got 200+ applications and closed it for sanity, if current Linkedin numbers are to be believed.
A new Tesla is less than $35,000. You can get a used one for ~$20,000. And that's right now, when used car prices are still crazy.

Repair costs are common to all vehicles. Battery replacements are around $13,000, but batteries generally last 300,000-500,000 miles, during which time you might have needed 2-3 engine and transmission repairs at a similar total expense.
Long Covid Symptoms Can Emerge Months After Infection
> there doesn't exist a problem space where both Rust and Python are reasonable choices

This thread, and many other threads about Rust, are filled with people arguing the exact opposite - that Rust is a good, productive language for high-level application development. I agree with you, there's relatively little overlap - that's what I'm arguing for!
More like buttercream frosting is made out of butter. Sometimes people make something similar from margarine, but it isn't quite the same, and isn't as common.

But even that analogy isn't perfect, because while buttercream frosting made from margerine is usually cheaper and lower quality, from what I've seen, "IoT" devices that don't depend on remote servers, or send back telemetry tend to be higher end and more expensive.
No discussion about exponential backtracking in regexes is complete without a mention of this infamous article: https://swtch.com/~rsc/regexp/regexp1.html

That said, looking at this particular application, I would not use a regex at all, but simple substring scanning.
> I never said that it got them via the play store.

You literally asked "How did they even get the android.permission.INSTALL_PACKAGES permission approved on the play store?"

And I gave you a straightforward answer. I wasn't arguing with you, I was answering the question you posed.
So then tests are optional?

Most bugs are elementary logic bugs expressible in every programming language.
This bit maybe deserves some further comment:

> could be a treatment for genetic deafness in adults

But would they want such a treatment? What is it like to hear, when you have never heard before? From what I understand, the restoration (storation?) of a sense, to an adult who has never had that sense, is often an extremely unpleasant experience. Disorienting, frightening, dizzying, painful. The brain adapted and rewired itself around not having that sense. Children have remarkable neural plasticity here, but adults don't as much. In deaf people, the auditory cortex is adapted to spatial navigation and vision, not sound. In the case of hearing restored by other means (surgery, cochlear implants, etc.) in adults who were born deaf, it can take many years to learn how to interpret what is being experienced in a useful way, and many give up long before that.

Not to be a downer or anything, on its own this is still an amazing technology.
I think these companies are just fundamentally not profitable, and they have zero incentives to care, even less than the systems they tried to replace. My DoorDash account is now flagged because a driver delivered to a completely different house, and I had the gall to report it as not delivered. I even texted the driver after they sent a picture (which verifies it as not my house), but they didn't respond. Now, my DoorDash account has all sorts of weird things happen to it, as if my account is a fraud account, even though their own systems verify my report. The GPS coordinates associated with the delivery email also show it was at a completely different address. The DoorDash support just ended tha chat when I chatted in about the subsequent issues.

These modern day, purely software-based companies don't care about customers because they don't have to. They abstract away the customer and the customer experience to pure statistics. The best (i.e., worst) example of this is Amazon. It takes somewhere around 5 minutes to get to an actual human after you are barraged and belittled by their Alexa chat assistant. The chat assistant will condescendingly tell you to give it accurate information, otherwise it will give poor resolutions. Oh, I'm sorry Amazon "forgot" to refund me $700+ for an item that was successfully returned and they "forgot" to encode this into their system. And there are some instances where it will refuse to connect you to an agent.
Very few of us have jobs where they need 2 weeks from us, there's usually conversation before. Absolutely no one is going to end up burnt long-term because they gave a week instead of two.
"just" :_D
> If driving for Uber instead caused you to have 500,000 miles on it

Try to find a 2010 Prius with over 300,000 miles. There are only a handful in the US because they fall apart long before 500,000 miles.

Depreciation isn't just about the car's value - it's also about the amount of mechanical work you have to put in for the suspension, tires, brakes, etc during the time that it goes from 150,000 miles to 500,000 miles.

My mom's 2010-era Prius is a good example. The dash displays failed at around 100,000 miles, and she bought a new car rather than pay $2,500 to have the dash pulled out and display replaced.
I’ve wondered if extremely dense storage like this would give rise to a new “tape trading” or bootleg culture - if you could export Spotify’s entire catalog or every movie made so far to a single storage tape and duplicate it all, what would that be like?
the power of tail call optimization :)
There's also the maintenance costs that aren't tires, and go far faster in a taxi. Oil changes, tire changes and rotations, brake pads and belts. You can find taxi drivers explaining their costs out there.

This summer in Spain, many a taxi driver was driving a Tesla instead of the traditional Mercedes. The reason: Not just electricity vs gas, but massive savings in other maintenance.
Redesigned Google Fonts website
They run international shipping logistics so maybe something macro looms large.

Economic disruption in China would be the macro thing. They have real estate issues and large youth unemployment apparently.

More likely they are looking towards an IPO, the market for which is about to reopen if we don’t have any major economic disruptions before instacart and arm list. CNBC squawk box and Cramer talk about flexport a lot so Monday will be interesting if they cover it. It’s already on the general cnbc website.

If I were in Peterson’s shoes I’d get on that show early next week for damage control.
It's to be replaced with the new never clean Taylor unit, that only has to go down for 4 hours every 2 weeks. It however breaks often requiring service calls, so no soda for anyone in the area.

Doing our part for a healthier world! -Ronald
Not every business model you dislike is rent seeking. I really wish people would quit throwing that term around -- it means something and it's very rare that I see it used properly.

Cisco's value is in their huge userbase, (at least historically, not sure what the story is recently) access to their TAC, and their ability to absorb finger-pointing. They're expensive, they throw their weight around, there's more exciting or outright better options, but to claim they're providing little to no value for the money you pay them is absurd.
Yea, but that's their system. If you can't predict the price of a ride because it changes minute by minute, then that's not exactly great.
Fixed now! I assume the typo itself isn't in the Arctic Vault.
You're right, I did abuse the term "rent seeking" but history really does show that high margin businesses would rather go out of business than stay competitive.

If people weren't afraid of China, Cisco would be gone already.

If Xi could have just put off the scary behavior to his successor, our carmakers and other major industries would have put themselves out of their misery too. (e.g. GM's plan is to have electric Cadillacs and I guess everybody else rides a bike)
> So they probably care more about the impact of match fixing on the "fairness" of sports betting

Not the 'fairness' of sports betting, but the impact on the sports betting industry. If people think sporting matches are fixed, they will stop gambling which is bad news for the gambling industry. It's why the NFL, which is now in bed with the gambling industry, is so paranoid about players gambling. It not only is bad for the NFL, but especially so for the gambling industry they are partnering with.
It's not a front end for ACH. If it were ultimately ACH based, reversals would be no big deal. It'd be business as usual.
The way works on Spotify is that the artists for the piece are listed as Pergolesi, Emma Kirkby. Then you can click on either artist.

This seems ok for me - at least, not terrible. I can see why you'd want the two categories though.

https://open.spotify.com/album/6bPCZb1WjvotzyNkg2LciV?si=doH...
A piano can be used to infringe IP, but of course there is more context here right? Right?
...and based on different JavaScript engines.
Legos interact with each other in a very well-defined manner. The circular interlocking portions must be manufactured to a tolerance of 10 micrometers so that the bricks lock as expected, but can be removed easily.

In a good interface (e.g. an API), the parameters passed around can be defined and characterized precisely, perhaps using input validation and strong typing. The designer of an interface should know and handle all the permutations of data in and data out. If a surface-level function can't handle negative values, then the designer must know how the function will respond.

Back to Legos. despite their extraordinarily tight specifications, there is practically nothing that can't be built with Legos, in the precisely-defined Lego universe. Six 2x4 bricks fit together in 915,103,765 ways. It's unlikely any particular design decision by Lego enabled this, but it's almost like they built a Turing-complete construction language.

Similarly, good interfaces shouldn't unreasonably constrain the user.

Finally, and this may be stretching the analogy, Legos interfaces sort of act like a "black box". One can attach a Lego to any interface of an existing Lego project without concern for what color the bricks are, how many bricks are connected, even the types of all the other bricks involved. The interface is all that matters.

Likewise, a good interface doesn't require the user to dig into the source code to understand how to use the surface level connections.

Reference: https://en.wikipedia.org/wiki/Lego
Just be overemployed and never resign a job. There is no reason to give anything to an employer but the bare minimum.
He was recently replaced (ie, strongly encouraged to resign), ostensibly for poor performance of the company. It's all about accountability related to his leadership, including hiring decisions.
Americans are coping ourselves to death
It's a 23 minute video that is 21mb. The video quality is (intentionally?) extremely low.
Aside from the fact that it’s probably impossible to put 500k miles of ubering on a car because the interior will be so clapped out after 100k that you’ll get 1-starred into oblivion.
Opting out of tipping doesn't change anything but people's opinion of you.
I’ve been on the company’s side of a few RIFs lately, it’s not fun for anyone, and clearly worse for the employees. But even for brand new employees we do at least a month’s severance + health care etc. For many, it’s 90+ days. Unless your company is at urgent risk of bankruptcy, just be a normal human and spend the few extra dollars so a bad day is a as good as possible.
Perhaps, but if his decision-making met the company's needs, he'd still be CEO.
Spain is full of professional taxi drivers (not on Uber) driving Teslas. People that had been driving before, for years, and do it full time. They drive Teslas because they are big enough for a taxi, and they really end up ahead. And take into account that the other normal Taxi cab there drive isn't a 4 year old Kia, but a Mercedes.
Show HN: Convert Youtube Video to Pdf
> but in a LOT of companies leaving with no notice puts everybody (coworkers, management, business, client - real human beings) in a crazy bad spot.

Not my problem.

Luckily for them, I stay because I practice overemployment.
"I mean, I don't remember the last time it didn't direct me to the right resources."

The internet is dying because of bots and their generated senctences unconnected to reality. Here's a UUID you will not comprehend. 25250006-c1f2-493f-abb9-eb96d9aa45e3
The original commenter clearly didn't understand it, since they asserted that "statically linked libraries prevent this attack vector".

Which is unambiguously not the case, they merely slow it down by a small margin.
Always ideal, but he'd likely still be CEO if there wasn't (and related to far more than just hiring)
Except that the various pieces aren't actually free,
so it relies on people being rich enough, or things being cheap enough, to not worry about the costs, but someone's paying money. Being realistic and sharing the costs is better than pretending they don't exist.
Apple does not need a tracking pixel as it has better information on 50+% of Americans then facebook. Where they live where they eat who they hang out what they spend on all the info is with apple.
Gatekeeping (social proof) is what people turn to in the absence of objective criteria. Nobody needs gatekeepers to decide who the best athletes are.
> My litmus test for whether to respond to a piece of media with healthy skepticism or outright rejection often comes down to a simple gut-check: “Is this coming - ultimately - from a place of hate?”. I’ve found that to be surprisingly effective.

How exactly are you confirming this "surprising effectiveness"? Going with what your gut thinks is literally the default for everyone, it's the opposite of critical thinking.

I think what you are saying ultimately reduces down to the question: 'Do you like this person?', which is a fine position to have, but don't lie to yourself that it's anything other than that.
I find it really bizarre when zombie IP like Atari keeps getting passed around after it has zero connection to the original company. But seeing stuff like this takes it to another level.
I completely understand where the author is coming from. I tried to go serverless but the drawbacks are so big that it was a lot easier to scale up my Laravel stack. There are bottlenecks everywhere in tech but bottleneck during development are the worst of them all.
That would at least trigger COBRA and unemployment, which having quit and not actually started a new job wouldn’t. That’s a better situation from my perspective.
OK, we've changed the URL to that from https://www.science.org/content/article/most-bees-live-under.... For the pictures.
1. "People" say many things. You can find at least a few people who say the most absurd things.

2. There are literally millions of websites trying to game Google, so that their precious site ranks higher and gets more traffic. Google did a better job of indexing the web when the web wasn't actively working against Google.
Afaik, all employees are entitled to COBRA - in my experience, when it’s mentioned as a severance benefit, the company is paying the employee’s portion of that expense (it’s what all the companies I’ve been involved with have provided) and the remainder of the severance is in addition to that.
That's not how this works. People progress through their careers. Some of your coworkers will do really well, some will do ok. Now imagine two universes. You're 45. In Universe A every one of your old coworkers remembers you fondly and would love to work with you again. You've built up ~25 years of good will, and the folks who do really well will keep inviting you to join them. In Universe B they all think "meh" and have forgotten about you. Which of these two universes would you like to be in?
There aren’t many three sigma customers, and it’s cheaper to drop you then fix the bug.

You might like the short film “Please Hold” for a more nuanced take.
Fair enough. There were a number of things that didn't jive with me about the film as I watched it: the fight choreography was meh, Luke's behavior given his previous characterization, Rey's almost complete lack of actual character development, and of course Admiral Holdo being portrayed as a wise leader by the filmmakers, but when you look at her actual actions and the consequences of them, it's unclear if a leader could be less competent.

The Luke thing was the only one of those that really bugged me though.

However, the moment I walked out of the cinema and the spectacle faded and I thought about the implications of certain other things in the film, the less happy I was.

For example, a ship going lightspeed was used as a weapon in TLJ. The implications of this are pretty huge. Shooting lasers around in a universe where you can apparently have kinetic lightspeed weapons is dumb. If treated as canon, TLJ makes every other space battle in Star Wars nonsense.

Similarly, I would say in Star Wars up until TLJ, it was somewhat clear (to me at least) that space in Star Wars is not a vacuum, but more of an "ether". People get out of their spaceships on small asteroids without any sort of vac-suit and breathe fine. Sound propagates during space battles. Spaceships (their engines, their ability to open/close, etc) seem to operate in approximately the same way on a planet as they do in space. So when they used Leia's first onscreen usage of the Force (which is actually a whole 'nother thing) to totally break that system and treat outer space in Star Wars as if it's what we experience in our universe, it kinda sucked. And all for the sake of a "she's dead, actually she's not" gotcha thing.

In summary, Rian Johnson explicitly said one of his goals when making the film was to "subvert expectations". But I think there is a huge difference between "subverting expectations" and "indiscriminately shitting on existing canon", and he was definitely just doing more of the latter. Yes, it is very easy to "surprise" people when you make characters do things that they have no reason to do from previous character development and when you ignore the laws of physics (or lack thereof) that had previously been established.

In summary: Rogue One is the only Disney Star Wars film I would save from a fire. Though I also greatly enjoyed "Andor".
It's exactly the right thing to do!

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...

Occasionally we make an exception (in fact I just did: https://news.ycombinator.com/item?id=37441718), but for the most part you should post the best popular article and link to the specialized paper in the comments. The one domain where this rule doesn't apply is computing, since enough of the audience here understands that domain.