skysight-inc/HackerNews huggingface dataset:
Tabs vs Spaces

Tabs are always correct, IF spaces are never used instead. One tab, for one level of indent. Adjust to preference.

Alas, I don't think there's a standard way of specifying...

// kate: space-indent off; indent-width 8; tab-width 8; mixedindent off; indent-mode tab;

Similarly, // comments should be preferred, but /* comments */ are acceptable at the top of large function blocks for large blobs of comments. Judicious / sparing use as the key idea to make it worth the exceptions if commenting out large blocks during tests or refactors.
I'm still waiting for furry artwork to become culturally acceptable in technical lectures. I briefly snuck a cute Lucario/Zeraora drawing into a presentation on my college final, and the critical reception has been promising, so far.
> In the vast majority of cases, integer overflow or truncation when casting is a bug, regardless whether it is undefined, implementation-defined or well-defined behavior. Avoiding undefined behavior doesn't buy you anything.

With respect, this is nonsense. With UB, the compiler might remove the line of code entirely. With overflow/underflow/truncation, the results are well-defined and the compiler is not allowed to simply remove the offending line.
> A bog standard, off-the-shelf "how dare you not turn every single conversation on the internet to this important issue" reply.

Claims of genocide isn't "every single conversation on the internet" and it most certainly isn't unimportant. You're constructing a strawman?
Jerking it before heading off to work.
> The risk is that they hire someone who doesn't know GWT and six weeks later (and six months later) they still don't know it.

100% THIS.

If I wanted to fire someone I just hired, it ends up taking 2-3 quarters (1 Q realize they suck, 1-2 Qs managing them out/building a case) AND looks very bad on the hiring manager because you wasted $1.75*BASE_SALARY of company money and have nothing to show for it.

I understand some candidates can learn quickly, but as a hiring manager you learn very quickly to plan and assume for the worst case, because sadly, most people do kinda suck.
Not all of them accumulate, only those with a certain range of molecular weights and chemical signatures.
I didn't even mention the dot operator syntax (.*,.^,./) used in Matlab, while numpy uses only implicit broadcasting. On the other hand, numpy can partially leverage map, filter, comprehension (though with performance loss). Julia has both much expanded dot-syntax and (multidimensional) comprehensions/map/filter with full performance.

What else? Matlab indexes with end, while numpy just leaves it open (e.g. 3:). Numpy allows negative indices, not Matlab. n:m is both a standalone range and an indexing expression in Matlab, not in numpy. Also numpy uses open ranges, Matlab closed ranges. And A[2:2:10] has dramatically different meaning in Matlab and numpy.
I think it's the first time that I witness this comic https://xkcd.com/793/ happening but with math as a target.
dingboard w
A lot of white collar hiring is rooted in a romantic or even fantastic vision of hiring. Seeking out the good worker before they’ve even worked.

Just hire like how blue collar jobs hire and this would be a non issue. In other words: no hoops or tests just hire who is willing to work and either train on the job or fire who doesn’t work out. Problem solved. Cities are literally built from dust by hiring like this. You can build an app like this too.
Beware of WAL mode, as you sacrifice ACID in this configuration.

https://sqlite.org/lang_attach.html

'Transactions involving multiple attached databases are atomic, assuming that the main database is not ":memory:" and the journal_mode is not WAL. If the main database is ":memory:" or if the journal_mode is WAL, then transactions continue to be atomic within each individual database file. But if the host computer crashes in the middle of a COMMIT where two or more database files are updated, some of those files might get the changes where others might not.'
Yes, I know it's the meaning of it, but I'm saying that the presence of "units" allows you to sort of... operationalize it? In a way that removes the ambiguity about what's going on. Or like, in theory. I dunno it's a comment on the internet lol.
I vaguely remember reading about a pneumatic (?) transistor that operated with air flow and no moving parts, but I can't find that anywhere. I don't mean the Tesla valve.
Thanks for the explanation! That makes it more clear. Nice research and thanks for the reply.
I'm wondering if there are similar demos featuring graphics and sound with strong constraints but written in Python?
Sundar said a few things here and there, but for the most part it felt like he was dodging questions or genuinely had no idea how to answer them.

Nilay did try and press him a few times, and I understand why - The Verge is also at the risk of losing visitors and that will affect their bottom line.

That aside, it just felt like Sundar didn’t have a clear way to answer the concerns.

He completely dodged the question of penalising websites with 90% traffic drop, and he had little to say in the way of Big Tech gobbling up everyone’s work for AI training but only paying the big publishers for it.

The next year is going to be an absolute slog when it comes to using Google Search. Sundar alludes to this by saying that they are now upgrading search systems to better identify interesting/useful content.

My understanding of that is that they are simply doing all this testing in real-time and if that means smaller publishers get pushed out - in their eyes it is a small price to pay.
That would be ideal. But I'll bet people won't do this though. I wouldn't. I don't have time to do the due diligence. So the downside is that you have a lot more "dead" capital that isn't doing anything productive and is slowly losing value due to inflation. Dead capital means it's harder to fundraise, to borrow money for your mortgage, etc etc.

Now I'm not saying that's necessarily /worse/...but we should be clear about what the real downside is.
1st Reaction: But it looks so much cooler than rot13!

2nd Reaction: If it actually can be de-pixelated, then you didn't use large-enough pixels.
> they will also know by tradition the springs, streams and wells that yield clean water

I once drank water from a mountain stream and spent a week sick from some sort of phage associated with beavers.

As any avid hiker can tell you, even crystal clear, pristine surface waters still run the risk of making you sick. Even without the need of human intervention.

Almost every human culture has some traditional drink that involves something boiled. It's weird to assume Europeans were magically different.
Start writing first! Writing is much harder than figuring out hosting. If it were me, I'd start writing posts on GitHub Gists because it's easy.

Not personally a fan of CMSs, dynamic sites, or third-party platforms like Medium, Substack, Hashnode, etc. I would consider GitHub Pages, which you can set up with your custom domain, or perhaps some simple paid services like blot.im or pika.page. Try to keep it low-fuss.
Any kind you want. Being smart matters 100000x more than your major.
Delivery of F-35 jets on hold may take up to a year to resume
I think previous work history is currently most used as a substitute. As in the hiring company assumes the previous companies have acted as a gatekeeper. Given the amount of money involved it would be difficult to maintain a formalization / certification process that would be both trusted and resistant to corruption.
while `Result<T,E>` is very similar to an exception there are a couple of limitations:

1. results must be handled explicitly, exceptions are forwarded automatically. This means I must deal with each result locally, even with a "forward up" to the caller. This means much complex and less readable code

2. exceptions have a stacktrace, handled automatically for you. This means more precise location of where the error occurred. For the same reasons exceptions are heavier - as they keep more data AND is updated for each frame (when handled, and depends on the implementations)

3. the syntax to deal with exceptions is ugly as hell. I haven't found anything better than the python syntax, and still is not something you like to see.
> Usually it won't.

But that's the employer's own fault. I was offering suggestions to employers.

> And in most cases, you can't revamp the whole hiring process

In most cases, they should revamp their whole hiring process. The point of this HN submission is that employers can't find employees, and that's also the point of my original comment. "We can't change anything about hiring" is why you can't find employees. It's a poor excuse.
In that everything is poisonous at the right dose.
No, it's another datapoint for IQ. General intelligence was discovered empirically, not hypothesized and then searched-for.

The basic observation was that people who score highly on one intelligence-related test will generally score highly on every other intelligence-related test. The "dimensions" of intelligence, while hypothetically separable and distinct, don't actually appear to be so in practice. Smart people are smart at most things (in general), dumb people are dumb at most things (in general).

This only gets shaky when one uses it to make moral arguments about people's value or worth, so I'll just explicitly say it: being smart is not a moral victory or very likely even something you earned at all. Smart and dumb people have equal claim to a dignified life here on earth.
PFAS are everywhere, but my understanding was that not every PFAS substance is unsafe for humans. (Maybe it's just wishful thinking?)
How is inserting random line breaks, making it impossible to copy&paste a simple paragraph as a paragraph instead of a bunch of lines "fine"??? This is very common for regular non OCR pdfs, you don't need any math complexity

(but also math equations have plenty of hope even though they're complex indeed, you can copy&paste some kind of "latex" representation that is sometimes used to ... produce those PDFs)

> whatever you think is a "real digital document" format

whatever supports basic digital interaction we've had available to use for many decades in alternative formats, or whatever doesn't have those rigid pre-digital-paper-based layout limitations where you can't use one of your most popular digital devices - your phone - to read a doc since the phone is smaller than a sheet of paper
If that $1 of investment doesn't yield any returns that's not an investment it's just an expense.

So yes $1 of savings is worth more than $1 of spending.
It has. I find it infantile and reflective of general millennial peter pan syndrome sensibilities, personally. (i'm a millennial fwiw) But clearly I'm in the minority.

I mean wtf is this. https://kubernetes.io/blog/2024/04/17/kubernetes-v1-30-relea...
Apple have full control over process scheduling so there is absolutely no reason that it should compromise the experience at all. They could notify the app it's about to go into the background so that resource-intensive tasks can be paused, then severely limit CPU shares to preserve battery life and then notify it again when it's about to hit the foreground. That would be enough just to keep application state in memory or socket connections alive.
It would be better to see how many hours they’ve played something like starcraft 2 for logical thinking and working under pressure
My sister's a musician and when I bought the adapter to hook her keyboard-synth to my Sound Blaster and fired up Wing Commander II, I was blown away by the sound track. It didn't hurt that the speakers on the keyboard were far better than the 5W speakers that I originally got with my Sound Blaster 2.0
Tools That Make You Feel Empowered
> most modern games seem to all look the same

Not even close to accurate
Show HN: Quoter – Daily Inspirational Quotes App
I've been working on an app called Quoter, designed to deliver daily inspirational quotes from renowned authors and thinkers.

With Quoter, you can swipe right to like a quote or left to dislike it, making it easy to engage with content that resonates with you. You can save your favorite quotes and organize them into custom collections. Registered users can also add their own quotes. Sharing quotes with friends or on social media is straightforward. Plus, registered users can back up their quotes to keep them safe, even if you reinstall the app.

I created Quoter because I wanted a simple, customizable way to get daily inspiration. There are a lot of quote apps out there, but I felt they lacked interactive features and user-friendly design. Quoter introduces a swipe feature, adding a playful element to the browsing experience. The focus on simplicity ensures that using Quoter is straightforward and intuitive.

Quoter is currently available in the USA, Canada, Australia, Ireland, UK, and New Zealand.

You can download it on iOS:

https://apps.apple.com/us/app/quoter-daily-inspiration/id647...

and Android:

https://play.google.com/store/apps/details?id=com.alexfeller...

I'd love to get your feedback and hear any suggestions for improvement. Thanks!
And the flip side is that the resources available in the universe are practically inexhaustible. A few quadrillion humans wouldn't strain it.
> Burnout is a huge one

Of course, but companies have deadlines to hit and features to release.

It absolutely sucks on the applicant's end, but we can't spend a year helping a new hire work through burnout when most companies are in a fairly competitive market with extremely demanding customers AND much more competitive vendors.
> if we were to launch in 2076 at 0.2c, we could eventually launch something faster

If you never launch at 0.2c, you’re less likely to build the kit that launches something faster later.
>I'm afraid the answer is boringly straightforward: users flagged those articles, and either we didn't see them or we chose not to turn off the flags. Most likely we didn't see them.
The usual pattern is that flags come from a 'coalition' of users: some because they hold opposing views, while others just think the story doesn't belong on HN. Maybe they think it's off-topic or otherwise against the site guidelines, or they think the story has already been covered a lot recently, or who knows what.

In other words, "Sir, this is a Wendy's."
Er. You don't specify what the opinion you formed is.

Should that have been:

"... languages without either JIT or AOT on their reference implementation, are mostly [only?] suitable for scripting and teaching purposes."

... ?
malformed urls have always been the issue, not the exception
Workplace from Meta is going away in August 2025
Yes, there are lots of different styles of cursive that have been taught at various times and places over the last 100 years

there's https://en.wikipedia.org/wiki/Spencerian_script
and
https://en.wikipedia.org/wiki/Zaner-Bloser_(teaching_script)
and
https://en.wikipedia.org/wiki/Palmer_Method
and
https://en.wikipedia.org/wiki/D%27Nealian

probably more.
$6m in annual cost savings is truly unremarkable, if we are to believe levels.fyi [0] [1]

If you're truly paying engineers, project managers, etc $500k a head, it dramatically undermines the financial cost savings.

It very well might be the case that "We spent $25m of engineering resources to save $6m annually".

[0] https://www.levels.fyi/companies/uber/salaries/software-engi...

[1] https://www.levels.fyi/companies/uber/salaries/software-engi...
You don't think Google has made any money off of Russians from YouTube since the war started?

Is there a way to verify that claim?

Because I'm pretty sure I'm still watching YouTubers based in Russia, and I would imagine ads play on their videos (I'm not going to bother turning off my Adblock to check)
'Starships keep exploding' is kind of like saying 'tests keep failing' in test-driven development. Yeah, the tests for the stuff you're actively writing or haven't written yet are going to fail until you finish working on them and to someone who doesn't have a debugger it's just going to look like a crash...

People have forgotten how much destructive testing NASA used to do back in the Apollo era (eg with the Ranger program, 9 were launched over 5 years, the first 5 were total failures, 6th was a partial failure).

SpaceX has pretty rapidly improved in Raptor reliability, we've gone from seeing them routinely spitting out green flames (ie eating themselves) on the early tests, to now routinely firing them on the test stand without issue (with the exceptions assumed to be when they're trying to probe the limits). We've gone from them having trouble lighting them reliably, to lighting and maintaining all engines at launch on both vehicles in the most recent test flight. Similarly it's been a while since we've seen a static fire where an engine failed to light. This is despite the constant performance upgrades pushing its already world leading specs even higher.

The most recent explosions were very likely not due to the engines. For the booster, iirc the theory based on the public data is that the oscillations due to some issue with the grid fin control system caused the propellants to slosh around very hard, damaging the plumbing, causing the engines to shut down and the booster to smash into the water. The Starship had a very visible leak under its skirt that caused it to be unable to maintain attitude, I think the theory with this is that it was a stuck or damaged valve in the RCS.

And, of course, as the other poster mentioned, they're almost at the point where what's failing is the reusability rather than launch, the only launch related milestone left to prove out is engine relight in vacuum. While they will probably figure out reuse eventually, it is not strictly necessary for HLS, especially as it pertains to the Starship itself (which is a much bigger challenge than the booster). The booster is the most expensive part of the vehicle, so their priority is to get reuse for it working. If they encounter significant hurdles with reusing the Starships, they can throw them away for early HLS launches and still be cheaper than SLS.

As far as controlling large numbers of engines and having them be cheap, restartable and throttleable, we have the Merlin in Falcon 9 and especially Falcon Heavy as an example. Heavy has to control 27 engines at liftoff. For powerful, highly efficient engines, we have the RS-25 in Shuttle/SLS and BE-4 in Vulcan/New Glen as additional examples.
This is one of the reasons for the broad popularity of TypeScript, where “[specifying] in the contract of the function that it can return null” is foundational to the experience. Meanwhile thrown errors are unmodelable COMEFROM statements in TS and many other languages.
A properly motivated Apple would have been pushing cross platform Swift/SwiftUI and launched an App Store on both Android and Windows.

Imagine how many developers would just release to the App Store and re-release that on Android/etc to not need two codebase, and Apple would expand their 30% cut massively.

A lot of Android users would get apps from Apple’s store due to vetting/generally higher investment in App Store apps from major companies.
Hanami's Place in Rails
Not sure if that's a good argument. There are lots of places more hospitable and less remote than Antarctica that aren't inhabited either - the reasons why a large number of people would inhabit an area or not are complex.

We have the technology as a species to be able to inhabit Antarctica; there's just no compelling reason to do so at present, so we don't.
I did the same thing, and really focused on opening up loops and getting ascenders and descenders straight, and it made a huge difference

I just picked one of those all the letters in one sentence phrases and practiced on that during phone calls

Sphinx of black quartz judge my vow
Enterprise Alignment from Snorkel AI
> I have low expectations for a robotic field geologist built on a NASA budget.

And yet they have put one on Mars. https://en.wikipedia.org/wiki/Perseverance_(rover)#Instrumen...

Thing is: Building something that can autonomously navigate the many many variables of city traffic without killing people in the process, is a whole different problem space than building something that can stick a scientific instrument into the ground in an empty rock-desert.

> the humans surveyed more ground

Again: Scientific progress is not measured in "kilometers driven". And what "surveying" were they doing exactly? How many experiments did they perform during these runs? How many Terabytes of Data did these excursions produce per kilometer driven?

I don't know the number tbh. but I am willing to bet that the Mars rovers did better. ALOT better.

But okay, if you want to measure distance, lets:

Perseverance (which is still active btw.) covered 25.113 km so far. The Ingenuity drone (which perseverance carried), covered a total of 17.242 km.

So that's a grand total (so far, again, Perseverance is still active) of 42.355 km.

The longest LRV drive was LVR-3 on Apollo 17: 35.89 km. And, let's be clear: That is the total of all its excursions, not a single drive.

So yeah, sorry, but the robots have also out-distanced humans already. Comfortably so.

> Ultimately we're going to colonize space

No, we're not, until such time as we figure out how to leave the solar system and travel to other Earth-like planets.

That seems unfair and unsatisfying, I know, but there is simply no way around the facts: other than Earth, every single place in the solar system that doesn't just outright kill humans the moment they leave the spacecraft (and quite a few would kill people instantly even before that), is less hospitable than Earth would be during an ice age, or after a nuclear war.
Please, do not use subprocess.Popen. Use something like plumbum, way safer and more robust.
hey, it's easier to argue for attorney-client privilege for content that doesn't exist, right? :)
I have already said that there is nothing to "prove" (i.e. no proof) but that it is a necessary corollary of applying the heuristic of Occam's Razor(https://en.wikipedia.org/wiki/Occam%27s_razor).

> A more complex hypothesis isn't useful until you come up with a method of testing that will distinguish it from the simpler hypothesis.

No, the condition is even stronger; a more complex hypothesis should not even be considered until the simpler hypothesis fails for some data/evidence.

It is one from a set of heuristics called philosophical razors (https://en.wikipedia.org/wiki/Philosophical_razor) and uses Abductive reasoning (https://en.wikipedia.org/wiki/Abductive_reasoning).
I'm looking more at the period where Darden Foods was replaced by The Union Group staring with a partial stake in 2016 to full control in 2020. Thai Union Group is a Thailand-based producer of seafood-based food products.

> On May 12, 2014, Darden announced that as part of the spinoff of Red Lobster, it was converting the co-located Red Lobster and Olive Garden locations into standalone Olive Garden locations.[31] On May 16, 2014, Darden announced that it would be selling the Red Lobster seafood restaurant chain to Golden Gate Capital for US$2.1 billion.[32] Darden announced the completion of the sale of Red Lobster on July 28, 2014

So, the divesting by the original owners and founders started around 2014. General Mills kept Darden in charge until his death in 1994.

The Union Group effectively burned 2.1 billion in value in 10 years.