skysight-inc/HackerNews huggingface dataset:
I do an interview in which we do TDD on a problem together. So we are frequently running tests during the interview. However, one of the things that's expected from the candidate is that they will be able to predict what happens when we run tests. Will the tests pass? Will an exception be thrown? How will it fail?

Maybe as do often the difference in this discussion is a quantitative one not one in principle.
And there is a seemingly endless supply of oil and gas. If you pay enough.
I have seen mixed reviews about Hetzner online. Does anyone have any enlightening anecdotal evidence in favor or against the company?
How to Update Ghost on Digital Ocean Droplet
This will be a great thing for Javascript. One thing I noticed, however, was that the main arguments for Hack-style pipes over F# pipes really highlight the difference between functional languages like Haskell and languages like JS: in Haskell one designs functions for composition (and more generally, one designs structures for combination), whereas the fact that F# pipes cause awkward contortions in JS is mostly related to the fact that functions aren't designed for composition.

While I marginally prefer F# pipes, both will drastically improve the readability of JS code.
Google de-indexes 3k articles over bogus DMCA notice
> The latest release comes from NAEP’s 2020 assessment of long-term trends, which was administered by the National Center for Education Statistics to nine- and 13-year-olds before COVID-19 first shuttered schools last spring.

> The long-term assessment is a crucial piece of data for another reason: It was administered to students between October 2019 and March 2020, making it a final snapshot of academic trends before the emergence of COVID-19. Loveless said he hoped future analyses of how kids learned during and after the greatest disaster in K-12 history wouldn’t overlook the “deeper,” persistent stagnation that preceded it.
Of course not but just being selective about who you do that with. And yes, it still carries a risk but it’s sortof reduced, don’t you think?
Er, the Bystander effect should be considered a victim of the replication crisis, because it hasn't been. Replicated, I mean -- quite the opposite [0]. Namely, it's been found that the more witnesses there are, the greater the chances of someone intervening.

The Kitty Genovese story should be further examined, too -- many apartment-bound witnesses called the cops, who (much like modern cops) took their sweet time, only arriving after it was already too late. 21st-century re-examination of the story, in fact, shows that newsies in '64 understood that they weren't telling the whole truth, but doing so would have "ruined the story". [1]

There's a huge cultural undercurrent in the West, trying to paint humanity as monstrous; this is a great example. It strikes me that the Bystander effect, as it's currently taught, is justification for neoliberal greed. If people are "actually" arseholes in large groups, then authoritarians, the superrich, and the like have moral license to be arseholes. It's science!

[0] https://web.archive.org/web/20190510231740/https://nscr.nl/e...

[1] https://en.wikipedia.org/wiki/Murder_of_Kitty_Genovese#Accur...
as evidenced by Leibniz, it seems like most of it would have happened without him. his work on series was probably not going to happen for a bit without him.
Aren’t American trucks bigger though? Seems like the economics would encourage companies to make the biggest truck that can physically fit on the roads, to maximize cargo per driver hour.
You shouldn't invoke setup.py directly
Because Free energy from the sky is cheaper than costly energy from state sponsors of terrorism
To me, Intel is starting to look more like IBM. Still showing engineering might in some areas, holding onto a huge trove of patents, making decent money, but losing growth, momentum and appeal over a long period of time.

Sure, they will exist and refuse to die, but will they be a significant part of the future? I’m not optimistic.
They typically move more slowly - have more layers of design by committee than you will. They’ve already built a large ship that requires movement, you’re in a speedboat. Sure, they can crush you, if you move at the same speed and in the same direction - use your agility to move.
I saw one of Tim Minchin's performances once. I think he quit comedy quite a while ago.
> Except for the poor sod in Peru who couldn't make phone calls or post duck-face pictures to Instagram, but no one asked him.

There are countless situations where suddenly not having a working phone means a serious problem. The article presents an extremely negligent look at the issue.
Ask HN: Bounty – iOS doesn't hold my scroll position when going back to HN
This is a problem that's been frustrating me here on HN when using iOS Safari on iPhone 12 Pro Max:

When visiting any link on HN, whether it goes to another HN page or external website, then using the Back button or back swipe to return, my scroll position is not held. The page appears to reload and I'm left at the top of the page. The only way to hold my scroll position is to open the link in a new tab with a long press.

This doesn't happen on any other mobile site for me. Also doesn't happen when using Chrome on MacOS in mobile emulation mode.

Have tried closing all tabs, logging out of HN, quitting browser, deleting HN Safari cache, rebooting phone, all to no avail.

$20 Venmo or PayPal to first commenter with a solution. :)
> I’m the guy who, on a soundstage, yelled, “Who’s blocking the camera?! I can’t see what’s on the monitor!” The assistant director replied, “It’s you, sir, you’re standing in front of the lens.”

This is amazing. I have to imagine this inspired one of my favorite jokes from Naked Gun:

> Frank: [looking into microscope] I-I can't see anything.

> Ed: Use your open eye, Frank.
That would be something to discuss with the user and the company that then might own the phone. In this case though, someone completely unrelated to the contract locked the phone. Someone in another country. Someone working for some completely unrelated telco company. Someone who just randomly locked some phones by banging out a script to generate phone numbers, without checking if the phones were owned by the user, their telco, or my grandmother.
Or use the privacyredirect addon ;)
And then Dept A thinks you live here, Dept B thinks you live there, Dept C thinks you have a warrant out for your arrest, and little municipal dept Y.43 thinks you're dead.

Yeah, I can see a few problems with that.
One of these is not like the other. I agree with all your sentiments except for the last one. Having experienced close friends dealing with child sexual abuse, I'm very thankful that children are educated about such boundaries very early on.
"‘There is a reason why famous people are often screwed up’"

If famous people seem screwed up wait until you see 'regular' people. The opioid addiction epidemic in America is not just limited to the wealthy, that is much is true
Here’s a midly annoying problem I’m currently facing with Slack. Getting annoyed of jumping between DM’s and channels where I end up losing track of a channel I may have needed open or was going through. I feel like having tabs in slack would fix this? Not sure if it makes sense for the app to have this feature but something I’ve been thinking about.
Is the world economy entering a wage-price spiral?
Yeah, I get ya. Much music is made directly on laptops, and if you figure the surrounding stuff as well (sound samples, animated backdrops, VST's etc) the assets required for a gig can be several GiBs big.
Yeah, but this one is particularly bad with a lot of real world consequences.

If I were that developer I would have never have blogged about it publicly. It is admitting to gross negligence IMHO.
And it's not like local gigs are impossible to find. That is doing delivery for local company. Get back to home each day, for not that much worse pay.
China GDP disappoints, third-quarter growth slows to 4.9%
They got the rights, so it's more of a remake.
I often find myself wishing my mental maths was better in general, I'm pretty dreadful at it and while I'm never more than five seconds or so away from a calculator it's still sometimes a slowdown and context switch I could do without.
When I used to maintain email systems, I had a monthly archive script that, on the first of the month, created a $(LAST_MONTH-YEAR) mailbox, and moved the user's entire inbox to it. It also archived the "Trash" mailbox with a date.

Users could opt out of this, but none did. Informal polling about doing it mid month and keep "last two weeks" of mails in the inbox suggested it wasn't worth the effort: people really enjoyed the clean break.

In theory that kind of tiny affordance could be added to any (or every!) mail client, I'm sure some have them and some use that facility. But how many of these people with the 100k inboxes have any idea they might do something about it? These people obviously haven't grasped the concept of .. i dunno, owning their information input? can't even express it.
Spoofing biometric KYC with real-time deepfakes
Proud to share this preview of my team's work on AI Red Teaming of face biometrics systems. We are the first to show how easy is to spoof industrial-grade identity verification systems with real-time deepfakes, and other tricks.
>In the current era, I think we've lost confidence and taste for balanced narratives, neutral depictions and such.

Probably because the notion that we've ever had "balanced narratives, neutral depictions and such" is a bald-faced lie, per, "Negro lynched for assaulting white woman," et al.

The media landscape has balkanized enough that attempting to declare A Single Truth from on high (however fact-based, or not, it actually was) is no longer possible. To those constantly thrown under the steamroller of Stability and Civility, this is a good thing. At this point, people have to choose between convenience or truthz because a convenient truth is unattainable.
The Great Supply-Chain Massacre
> It seems like the military wants to expand it to where mere non-participation is not sufficient to be free of it.

I noticed this about a major U.S. news program in the 2000s. Their format was to get 6-8 people on screen with a “diverse set of viewpoints” to debate. Whether intentional or not, what they were doing was debate training. The anchor hinted at the message they wanted you to promote before the debate started, usually the “right” message started first, and the “diverse viewpoints” were there to introduce you to common retorts you’ll encounter and how you can defend against them.

They were training you to go out and spread their message in your social circles. I thought it was absolutely brilliant, they figured out how to use their news program to reach folks who didn’t watch their news program. Though I was a bit frustrated since I didn’t agree with their message!
I think you made the wrong call here.
What's the purpose of a pipe operator without stressing the need for a composition operator? So often I see a function with the body return it's input parameter piped. That's just compose with extra steps.
Currently I think there aren't any, and the MBP will only get its full 140W capacity using the magsafe cable.
I had a similar issue when moving our stack to ECS Fargate. logs wouldn’t tell us anything other than ‘application was terminated’ within seconds of it booting. The most helpful thing was looking at the reason given for the container shutting down(which still was a difficult riddle for a Fargate noob).

In our case, it was a message saying something like ‘container timed out’ originally making us think it was a network issue. We ended up tracing it back to our app sometimes taking 21-30 seconds to fully boot, instead of the 20 second limit Fargate had for health checks. So even though the container did end up booting, Fargate was already waiting for it to start so it could kill it.
How to Stop Objectifying Yourself
That's kind of his point though, OP did not need to post to HN, he can just contact AWS Support and get the bucket deleted at (probably) no charge.

Support will routinely give forgive an account balance given a good enough reason.
How does one prove runtime complexity? I would love to know how to do this, just out of interest.
The P4 high clock speeds were not a hack, they were the root of the problem. High clock speeds were an architectural constraint driven by the _marketing_ department. Intel's architect knew that this wasn't the way to go for actual performance but delivered what was asked of them.
Police Squad recently got a beautiful remastered Blu-Ray release.
> You don't need a degree

The low barrier to entry is one the greatest things about programming. I don't have a CS degree, but for a while I spent some time actively studying data structures and algorithms on my own (and solving hundreds of programming problems at "online judge"-type sites like SPOJ; it's fun!). I don't feel in any way "inferior" to people with a degree.
They do this for new accounts, obviously it will not affect you guys??
Exactly. But with like 40%ish of food completely wasted/thrown away on the consumer side "total Kg" is not the only thing to optimize for any more. It feels like there's an opportunity there to optimize for things like "better taste" and sell them into markets with more disposable income. One of my favorite Youtube channels is "weird fruit explorer" where this guy goes to all these different countries and eats fruit you never see in the U.S.
Before that, how do I find customers and clients?
Sure, but you really need to understand the internals to be able to make these assumptions.

For instance, in your example, I know that the call to the C code to do the list operations is atomic (a single bytecode instruction), but I can't assume that all such calls to C code are safe because of this, unless I know for sure that the C code doesn't itself release the GIL. I assume that simple calls like list append/pop wouldn't have any reason to do this, but I can't assume this for any given function/method call that delegates to C, since some calls do release the GIL.

So, with or without GIL, you either really need to understand what's going on under the hood so you can avoid using locks in your code (GIL or atomics-based lock-free programming), or you use locks (mutex, semaphore, condition variables etc). No matter what you do, to write thread safe programs, you need to understand what you're doing and how things are synchronizing and operating. The GIL doesn't remove that need.

Of course, removing the GIL removes one possible implementation option, I just don't believe the GIL really makes it any easier. Once you know enough internals to know what is and isn't safe with the GIL, you could just as easily do your own syncrhonization.
as a fellow present-day Austrian that was exactly my first thought before even reading your comment. Must be a linguistic thing
Even Newton himself has said "If I have seen further my self it is because I stand on shoulders of giants."
This has been widely disputed take it all with a grain of salt , https://news.harvard.edu/gazette/story/2021/05/fears-over-fa...
Note that the "old" M1 doesn't support more than one external display natively. You can get around this with displaylink adapters, but docking stations that support this is annoying to find.
Because nobody knows the optimal, true outcome. That outcome probably doesn't exist, and even if it does, it's impossible to know with the limited information available.

Practically every significant real-world interaction involves judgment calls, heuristics, and personal feelings. They feed in to you taking your best guess based on your limited information.

So adding more time to the process doesn't always make it better. You may learn, for example, that the person seems untrustworthy. "Selling past the close" implies that the person doesn't understand the situation, and is pursuing more contact for some reason other than your own best interest. The disconnect suggests that you may not understand what's going on, and it may be in your best interest to break off a deal that may not be what you think it is.

Humans do practically everything on the basis of very incomplete information. They use timing and word choice, among many other things, to try to close that gap.

This is a very important lesson. This isn't a case of humans failing to be logical. It's a case of incomplete information, and if you treat it as if it were a complete-information game, you're going to lose. That's illogical.

If it were a job that we could send computers to, we would. We can't, because we can't define the job well enough for the computers to do it. And this is a lesson for all programmers as well: most of our job is not talking to the computers, but talking to the humans to figure out what they actually want. If they could have said it in complete and logical terms, they'd have written the programs themselves.
In your effort to create a false dichotomy you have ignored several factors and points.

15.3% is the FICA factor (assuming not above income cap), split evenly between employer and employee. Add on top how the state, municipalities, school districts extract their payroll/income taxes, which can be 100% on employee, 50% on employee, 0% on employee, or none of the above. In Texas, it is 100% on employer. In Ohio, the split mixes and matches with some of the entities charging the employer and employee. Ergo, it's not always a 50/50 split between employee and employer.

In the end, it is a wash whether applied to employer or employee. FICA extracts the same amount, and other entities will extract their amount. Reduction by the employee or employer via credits are typically not feasible or are strongly engineered against.

Thanks, and this is my last comment on this thread. Have a good day.
We need a class action lawsuit against Twitter for enabling all of the neurotic and humor challenged people.
Hey all. This is my first iteration of a simple news aggregator for the Cannabis industry, with a focus on it being mobile (or narrow browser window) -friendly. I'm pulling in articles from a number of sources, with more being added by every few days.

Over the coming weeks, I'll be looking to add some filtering options to allow users to filter by source, categories, or keywords. I'll also be looking to add an RSS feed for either the full list, or for filtered lists.

The intentional use case (and my personal reason for making it) is to replace the loss of the RSS feed, which most of these news sources fail to provide these days.

Anyway, I hope it goes down well, and if you have any comments, please feel free to post them.

Thanks!
Skiena's algorithm book goes into some detail on proving complexity and proving optimality.
> It literally takes less than hour to do

Yikes. An hour just to delete some files in a folder? It seems to me that S3 should be avoided unless you really, really, really need it.
The comment isn't moderation. It's a signal to other readers that 80% of the links submitted by this user [0] are for this user's own blog. Actually 80% is just for the first page of links. The second page is 90%! HN benefits from variety.

[0] https://news.ycombinator.com/submitted?id=edent
Ask HN: Which Macbook Pro configuration did you get?
Which Macbook Pro configuration did you get and what is your primary use? Coding, video encoding, etc.
The price of oil and gas has been far more inflated than the price of truck drivers since 1970.
Nice research. I look for to read the entire report about that
Being somewhat generous, I don't think it's because they didn't understand the probabilities, it's because they didn't think about the impact of what they were doing at all, beyond the problem they needed to solve.

I.e., the only thing they were considering was whether the number entered at the start of the test would show up in the right places at the other end of their system. They simply didn't consider that an actual phone would be shut off along the way.
According to the article the empty button still calls LIST per 1000 objects. So if the guy in the SO thread has 2B object this one click would still cost him ~$10k ??
interviewing.io has raised a Series A
I wonder how many engineers (and others) are “pigeon-holed” in their careers. Change is scary and exciting, rewarding and risky. Tim can be an inspiration, or an outlier we can enviously watch from our seats. The latter will at least be hella amusing.
Hacker has been discovered to be a random disgruntled employee looking for a quick buck.

Hope he serves as a lesson of how to not behave as a public servant.
I’m feeling grateful I get to use languages with user-defined operators (aka infix functions).
I have to disagree, sure some jokes are about sex and race but its not the majority by far. And some of those jokes are actually good. Even when it came out, some jokes fell flat.
Commercial Internet jobs have exploded since 2012
AS others have said, they seem lazy as they've been copied ad nauseam in the 40 years since the movie. I believe that Airplane! was the first zany comedy containing these ridiculous types of jokes. Many movies have followed and tried to copy the humour but have failed. Will there be discussions in 30 years about Scary Movie and its sequels? I doubt it.
Yes it's definitely good for filtering out the people who are very bad.
I agree with you the title could be clearer, and I agree with the sibling comment that your re-wording doesn’t quite fix it. Maybe “2700 years ago in the region that is now present day Austria…”. Even just “People [who lived] in present day Austria…” would be slightly better (but not great) by inserting the past-tense verb. As it stands the title reads like “People [who are currently] in present day Austria…” Context, i.e., the rest of the sentence, immediately fixes this interpretation, but it’s still momentarily jarring.

“Present day” is indeed a common phrase, but contrary to a few claims here, it is not normally used to place the subject of a sentence in the past. It is normally used opposite of that, to identify the time period as the present. Example: people in present day Babylon often drink beer. It would be weird to assume these people were drinking beer 3300 years ago and that I was talking about the past.
Quoting for remarkable insight:

> “Fame” takes that internal camera we call the “self” and puts it on a massive selfie stick, so when you are in public a percentage of your brain is always occupied by observing yourself in the third person. And eventually you don’t know how to reel that camera back in, even when you’re at home with your partner and kids. You start to believe that you are an entity. You learn to like yourself as much as you are liked, which means, when the trolls come trolling, you tend to hate yourself as much as you are hated.
How do you test for maturity?
Comrade Cola – Oppress Your Thirst JavaScript Tutorial (2019)
Our entire solar system may exist inside a giant magnetic tunnel
No mandatory training? In Finland before they allow conscripts to do anything they have to spend at least week or two if not month or two on training.
How does Rosetta handle it? Has anyone tested jumping into the middle of an instruction on an M1 Mac?
it is very possible... I often paste parts of some code into a lambda and missing a brace here and there.
Satellites reveal the secrets of water-guzzling farms in California
> Within the last year, AWS added a handy Empty button to the S3 console when viewing a bucket. You can click that button and watch the S3 console make API calls on your behalf.

> Here's what it does: It calls a LIST on the bucket, pagination through the objects in the bucket 1000 at a time. It calls a DeleteObjects API method, deleting 1000 at a time.

> The cost is 1 API LIST call per 1000 objects in the bucket. Delete operations are free, so there's no extra cost there.

source: I read the article.
pigeonhole principle not strong with this one...
Great so if my employer decides that I shouldn't have the phone anymore I can't even call 911 in an emergency.
Truly Historic moment.
What is even worse - this company can lock phones that aren't their property.