skysight-inc/HackerNews huggingface dataset:
Question for those who use Deno in their $job: How well does Jest work with Deno to test TypeScript? I was wondering because the announcement says it supports typescript natively, which is intriguing after I've had issues with node+jest+es6+typescript.

(Issues = mts vs ts, configuration problems, lots of conflicting documentation. It doesn't help that I'm mostly DevOps and don't spend every day on writing Lambdas for AWS etc)

Edited to add: The installation page[1] talks about asdf[2] but I find mise-en-place[3] to be faster than asdf.

1: https://docs.deno.com/runtime/getting_started/installation/

2: https://asdf-vm.com/

3: https://mise.jdx.dev/

Mise/asdf are pretty great. A .tool-versions file in your homedir will set up default versions, and you can override them with .tool-versions in your repos. And because 2 different tools can read those versioning files, you can include them in the repo and pin versions.
One reason English is so popular (aside from pure economics) and that other countries quickly adopt English slang words is because we don't have such a thing.
Java solved the problem by having Throwable as the root of all exceptions and not advertising that fact loudly. The derived Exception class is the root of all safely catchable exceptions. When someone catches a Throwable, something strange is going on.
I wouldn't say that it's hard to grok.. even a year ago I found that rust projects lent themselves well towards understanding the project structure due to rust being fairly explicit about most things, and with an LSP integration I could follow along fairly easily compared to something like a python or a ruby project.

Go is just easier to read. You don't have a lot of generics typically to assemble in your mental model, no lifetimes to consider, no explicit interface implementations, and so on. All of those things in Rust are great for what they do, but I think it makes it more difficult to breeze through a codebase compared to Go.
Personally, I don't agree with this proposal. While yes, I agree, that bare excepts are often a source of bugs, I don't think it should be the language's responsibility to nanny the programmer on such things. To me, this seems to only reduce the functionality of the language. If explicit exception handling is necessary, let the programmer make that decision.
Hackers targeted Android users by exploiting zero-day bug in Qualcomm chips
How much of this happened after the Truman Doctrine was announced? Or, for that matter, after the atomic bomb was dropped on Nagasaki?
So with this data diode I can install an application to use the PC speaker as an output device, and then record the sound for exfil? Nice.
K8s: the major version will never change, so instead we’ll introduce breaking changes with minor versions.
The closest thing to a unique offering that they have is YouTube. What other services don't have perfectly reasonable replacements ready and waiting?
The pep explicitly adresses the use case, and it's still allowed.

The point of the pep is that it should be explicit, especially because the short form doesn't show whether catching terminating exceptions is a bug or intentional
Come to think of it, execute-and-inhibit style as described here is exactly what's going on when in continuous deployment you run your same pipeline many times a day with small changes, and gate new development behind feature flags. We're familiar with the confidence derived from frequently repeating the whole job.
It's sort of funny that where the title alludes to the arrow of time, opening with a quote asserting "all measurements are in principle reversible", it pretty quickly gets to a different arrow of time - that of comprehension:

> "If you haven't read the previous post ... this won't make any sense"

Could you have demonstrated, perhaps accidentally, an alternative organising principle allowing temporal ordering to emerge in a computationally oriented ontology? Can the future only "make sense" if it temporally follows the past?

Only half kidding!
AlphaFold is excellent engineering, but I struggle calling this a breakthrough in science. Take T cell receptor (TCR) proteins, which are produced pseudo-randomly by somatic recombination, yielding an enormous diversity. AlphaFold's predictions for those are not useful. A breakthrough in folding would have produced rules that are universal. What was produced instead is a really good regressor in the space of proteins where some known training examples are closeby.

If I was the Nobel Committee, I would have waited a bit to see if this issue aged well. Also, in terms of giving credit, I think those who invented pairwise and multiple alignment dynamic programming algorithms deserved some recognition. AlphaFold built on top of those. They are the cornerstone of the entire field of biological sequence analysis. Interestingly, ESM was trained on raw sequences, not on multiple alignments. And while it performed worse, it generalizes better to unseen proteins like TCRs.
can these language improvements be implemented at linter level?

so that people can opt-in or opt-out selectively, per their own discretion, for these kinds of rules

I dont see the point of this being part of the language since it break compat and brings zero benefits at runtime
Visualize your Supabase data with beautiful charts
Let me ask you—do you like supabase?

I absolutely love it! Supabase has made it so much easier for front-end devs to build MVPs and prototypes quickly. They provide a solid database with simple APIs and an SDK that’s a breeze to use. It’s amazing how they simplify everything—just a few interactions, and you’ve got a fully functional database, authentication, SMTP, and more, all in one place.

But there’s one thing missing…

A simple way to visualize data from the Supabase database.

That’s why I’m introducing supacharts.dev — a companion supabase tool to create beautiful charts from your Supabase data.

As someone who’s used Supabase a lot (I love you ant wilson!), I’ve always wanted an easy way to visualize my data without writing SQL queries and making charts manually. So, I decided to make Supacharts available for everyone.

We’re still fine-tuning the product since it was built for internal use, but now we’re aiming for a great user experience. In the meantime, join our waitlist and get a juicy discount code of 20% when we launch the tool!

It will be Freemium model with a one time purchase upgrade.

Thank you!
Which says that — if you choose to interpret things charitably and leave cost-cutting and profiteering out of it — the culinary tradition lags behind lifestyle changes severely. Urban populations largely don't have physically demanding, very manual jobs from dawn till dusk anymore, yet traditional portion sizes and composition of the dishes stay the same as they would be for heavy duty workers (I'm not speaking of abused workers or slaves here, mind you).

While you may interject that privileged classes used to have larger portions and better quality food without having to work so much at all times, it somehow coincides with fatty bellies being a status symbol in many locales. Being obese used to be a sort of privileged class mark.
I think he misrepresents Russell and also Godel in ways. I enjoyed the book when I was young and it did launch my interest in logic but reading Godel’s personal writings, he had great respect for Russell and literally wrote in a paper defending Russell that he would not have made his discovery without the Principia Mathematica, because it showed him an instance of a consistent language and then he took the further step of noticing you could do this infinitely. My recollection was Hasshelhoff thought Russell was a kind of dunce who didn’t know what he was doing. He was putting in the fucking work for others to build on, and it was incredibly hard work if you read Russell’s autobiography of that time.
It's possible that different entities experience each other's experiences differently.. that is, if you were to magically teleport your experience of reading this post into my brain it might be overpoweringly disorienting and even painful. On the other hand it could just be "a little weird". Or would I instantly have everything that differentiates my mind from yours completely overwritten? This would probably catastrophically reduce my fitness because I'd have to--or more like you'd have to--learn how to operate my body.
Need to make demo/demo user whose password can’t be changed. I’m not watching video or signing up to see. I use spreadsheet right now for planning and it works well.
In English, "Schadenfreude" is not capitalized!
The cars can be driven as cars, however all cloud features are going to break. Some would say that this is good news as they cannot be tracked.
Is “search it up” much different from a similar phrase “search for it”? The structure of the original quote is “imperative verb, direct object, adverb” but I wouldn’t call that a change in grammar so much as a change in diction.
They are there?
> Bare excepts are syntactic sugar for `except BaseException`.

I'm guessing that a `3to4` script would be provided which replaces bare `except:` with `except BaseException:`. We have the experience of `2to3` to draw on with regards to how that might play out.

EDIT: Haha, I now see that this PEP proposes a change without advancing the major version. That surprises me.
Elon Musk seizes @America handle on X to promote Trump
...ahh, a bit of a misreading on my part. However, I was really looking for your explanation of the horrors that could happen rather than what the suggestion was. Thinking through a bit more, yeah, implicit re-raise does have some pretty bad outcomes if you can't change code in a dependency.

It still feels like `deno` is somewhat on the right track where permissions are dropped by default, but It'd Be Nice(tm) if programming languages enabled that a bit easier.

import sales_tax_calculator as xyz with [ cap.NETWORK, cap.FILESYSTEM, cap.USB, ...etc... ]
xyz.calculate( sales_price, state=user.address.state )

We're implicitly allowing imported libraries the full power of the containing programming language where with promiscuous code sharing (trending towards a low-trust environment), it'd be a lot better to _not_ give `cap.FS, NETWORK, USB, etc...` by default.

Bringing it back around: `import somelib with [ cap.BARE_EXCEPT, cap.RAISE ]` or something to control their handling of "unknown" exceptions is interesting. Let them handle any exceptions or interrupts they've authored, but let me explicitly have control over catching stuff that isn't "from them".

...an extended version of dependency injection or inversion of control.
In the PEP, some of the comments noted this was basically a linting issue. No reason to break the language over it.
It's an interesting argument for monopolies possibly being a net-good, but I don't think regulators really look at it. Companies do R&D because they like their monopoly status and don't want to be caught flat-footed by something new.
My case was different from yours. Our project wasn't working by coincidence, the dependency resolver was flagging incompatibilities that simply didn't apply to our case, and began refusing to build a stable working project. Yes it's more risky to override that kind of guardrail, that's why I would only do it when I know the risks and tradeoffs and determine it's the best course of action on balance. I strongly believe that tools should ultimately work for the user, over dogmatic principles.

I'm fine with the those safety guardrails being the default behavior, but removing any sort of escape hatch because the pip devs think that they know better than the users of the tool 100% of the time is what I object to.

In the end we ended up ditching pip entirely for this use case and ended up with a much better system, with absolutely no disasters as a result, but we had a burn a lot of time and angst that could have been spent on actual problems we were trying to solve.
Maybe someone can correct my logic. As long as we are drilling for oil, wouldn't the natural gas need to go somewhere anyway? I believe it gets flared if not used.

ie - we should responsibly use all the excess natural gas rather than flaring it?
Could the richest people liquidate holdings for the value Forbes estimates their worth at? I doubt it.

Is it possible that the people figuring up "wealth" for these articles have multiple reasons to exaggerate the totals? Perhaps outweighing their impulses towards scientific and journalistic credibility?
My question was about whether an itemized receipt changes who pays
with COM and OLE, this was possible in excel on win3.11 !
People are happy about censorship as long as it doesn't invoke them, I guess seeing reactions.
HN strongly reflects whatever thing SV is all hyped about. Today it's AI. Yesterday it was cryptocurrency. I don't think it's that hard to ignore the items that don't interest you -- there are plenty that aren't about The Current Hotness -- and if you wait long enough, the topic will stop being so trendy anyway.
The banks don't like to dump multiple billions at once into these schemes. It's more about trickling hundreds of millions a year out to cover all possible living expenses, and a lot of that going into assets like houses and ships that can get repoed if shit hits the fan.

He wanted $13B liquid to start Blue Origin, a pretty speculative venture that might end up with nothing. And wanted to still outright own Blue Origin unlike Musk's Twitter buy that was highly leveraged by the Saudis.
I'm surprised no one's mentioned Virtualization-based security in this thread. I suspect this is responsible for a big part of the gap.

https://www.tomshardware.com/news/windows-vbs-harms-performa...
Timeshift is not exclusive to Mint. It's important to note that it was archived in 2022, and therefore will not see fixes or improvements. I'm a big fan of Snapper as a replacement, and encourage everyone to explore it. https://github.com/openSUSE/snapper
For the full story visit MapHappenings.com
Oop - you're right, I missed that they wanted server examples specifically. Thanks for the save.
That actually isn't really the point here, the point here is that ccTLDs are reserved (mostly) for ISO 3166-1 alpha-2 country codes and one of them is about to cease to exist. Not to say .io hasn't been a mess, but it's kind of irrelevant.
Sadly they already joined the NATO.
I bet her calligraphy sucks too. And is she any good at milking a cow?

In 2024 there's no need to feel sad about deprecated (or now niche) skills being lackluster.

I'd be more concerned if she couldn't find information efficiently when she goes searching for it. That's a skill that mustn't be lackluster.
I fully expect a WPE-backed fork before anything is in court.
My concern, and IMO what should be the overwhelming concern of the maintainers, is not the code that is being written, or the code that will be written, but all the code that has been written, and will never be touched again. A break like this will force lots of python users to avoid upgrading to 3.17, jettison packages they may want to keep using, or deal with the hassle of patching unmaintained dependencies on their own.

For those Python users for whom writing python is the core of their work that might be fine. For all the other users for whom python is an foreign, incidental, but indispensable part of their work (scientists, analysts, ...) the choice is untenable. While python can and should strive to be a more 'serious', 'professional' language, it _must_ have respect and empathy for the latter camp. Elevating something that should be a linter rule to a language change ain't that.
Then separate out the basic science from the defense work which requires that bureaucratic oversight. Or direct that funding to universities. My main point is allowing monopolies because they direct their excess profits to research to hide their excess profits is just a complicated tax to fund basic research, which we would be better off spending directly on research without bloated executive salaries and distorted markets in e.g. search or browsers.
That requires getting a different job, my friend. Vendor lock-in with housing is real.
I wish there was a benchmark with Windows 11 LTSC and showing if it has any actual performance advantage or not
I find that when initially exploring a problem space, it's useful to consider functions as “verbs” to help me think through the solution, and that feels useful in helping me figure out a solution to my problem—I've isolated some_operation() into its own function, and it's easy to see at a glance whether or not some_operation() does the specific thing its name claims to do (and if so, how well).

But then after things have solidified somewhat, it's good practice to go back through your code and determine whether those “verbs” ended up being used more than once. Quite often, something that I thought would be repeated enough to justify being its own function, is actually only invoked in one specific place—so I go back and inline these functions as needed.

The less my code looks like a byzantine tangle of function invocations, and the more my code reads like a straightforward list of statements to execute in order, the better it makes me feel, because I know that I'm not unnecessarily hiding complexity, and I can get a better, more concrete feel for what my program's execution looks like.
Deprecating without removing ever seems reasonable
This! And where do people think open source funding, hackathons, bug bounties for software that's not even theirs, oss-fuzz, really incredible but not necessarily profitable research like Project Zero comes from? AdWords largesse.
I am referring to the intent here. Gold in religious art is ment to signify importance just as the tacky rich guy’s gold is.

Use of gold on a kings actual throne may seem more appropriate than a CEO’s chair but that’s a judgement about what should be venerated not the intent behind the use of gold.
> I wouldn't mind for English to have "standardisation body" akin to French or German one (or RAE for Spanish) that could maybe get rid of backward, dumb spelling ;)

That's even less likely now than in the past, with the elite cultural trends in English-speaking countries favoring the adoption of foreign spellings and pronunciation. That just piles on the complexity to unmanageable levels.

IMHO, for instance, there's no excuse for the requirement that English newspaper readers know Pinyin [1], rather than some more English-friendly romanization system, to be able to read news about China, when Chinese speakers themselves use a completely different, non-roman writing system. What's next, just printing the Chinese characters without romanization? Pinyin has its uses, but writing things out for foreigners is not something it does well.

[1] which gives many letters very unexpected values (e.g. c = ts) and many vowels are impossible for an English-speaker to guess correctly.
He quotes from The Guardian, Al Jazeera, and Haaretz /s

How many of those killed were actually Hamas fighters?
Can't speak for everyone, but at least in my case, especially when I was first learning about Linux, I'd mess up stuff with my graphics card driver or wifi card driver or something, and I'd get to a state where stuff wouldn't boot, or a GUI wouldn't start up. I'm decent enough now to where I'd be able to fix it, but when I was starting out I would sometimes feel that I had to wipe the hard drive to get it working (particularly before I had a smartphone, so when the WiFi went out I really had no way to look up how to fix it).

NixOS is nice because if you get to a situation like that, you can simply reboot and choose a previous generation, and then figure out where you went wrong.
You can visit my retro-computing site: twostopbits.com. No AI there!
This isn't actually an FP post.
Author here if anyone has questions. This is a bit different from my usual posts...
Hi, I created this plugin to help people with their support after spending 7 hours in a queue to get an answer to my (pretty simple and standard) question.

This tool has a lot of automation and customization, and it's not stupid as most chatbots.

If you have a website, you can create a chatbot even without registration, here: https://enumhq.com/test-drive

Let me know what you think.

Thanks!
Surprisingly some people are apparently advertising tax advoidance strategies, which is why the IRS has the authority to regulate "promoters" of certain schemes, such as a recently popular one where unuseful land is donated to conservation to generate a large deduction.
Maybe a consumption tax with broad exemptions for necessary goods like food, clothing, shelter, etc would be a nice way of dealing with the issues people seem to have with others having wealth.

Billionaire heirs use the inheritance to buy a yacht, big tax bill, mostly use the inheritance to continue funding things that are generally good for society, smaller tax bill.
As usual with Wolfram, too hand-wavy. It could be true but this is not serious physics.
> A breakthrough in folding would have produced folding rules that are universal.

Protein folding ≠ protein structure prediction

> I think those who invented pairwise and multiple alignment dynamic programming algorithms deserved some recognition

I would add BLAST as well but that ship has sailed, I’m afraid.
I can say the same about FB, Messenger, Reddit, WhatsApp,

(...)

HackerNews, mails, letters, conversations.

The end.
> is to be able to have finances to back a research division, where you can spend billions on building a new type of technology, if need be, that may not pan out. You don't need a monopoly to accomplish that

A company in an industry with very tight margins has much less money to invest in fundamental research. All the recent growth in generative AI has been driven by companies with very high margins; Google, Facebook, Amazon. If all those FANG were in tightly competitive markets and hence had low margins, they wouldn't have had billions of dollars to spend on the GPU compute necessary to develop modern language models. Which is evidenced by the fact that no companies in more competitive sectors have produced any large language models.
The idea that time is tied to computation makes me wonder if everything we see as 'progress' is just the universe showing us the loading screen percentage of the game of life.
If I'm not mistaken both sides have hired some extremely prominent lawyers (Rachel Kassabian, Neal Katyal).
New scientific fraud cases worry me: Now also in material science [video]
Show HN: I Made a Chrome Extension to Prevent Developer Burnout
I made a Chrome extension to help developers and other desk workers prevent burnout. As a frontend developer, I found myself neglecting my health during long coding sessions. This extension provides customizable break reminders and guided activities to help you stay productive and healthy.

If you’re curious about it, you can try it out here: https://chromewebstore.google.com/detail/deskbreak/fcmmkgomk...

Why I Made It:

After experiencing burnout myself, I realized that long hours of coding without proper breaks were affecting my productivity and well-being. This extension is my solution to help others avoid the same problem. It’s designed to be non-intrusive while ensuring regular, healthy breaks to help prevent burnout.

What You Can Do After Setup:

- Set your preferred break intervals according to your work schedule

- Receive customizable break reminders

- Try guided activities like stretches and eye exercises

- Track your progress over time

- Integrate breaks seamlessly with your workflow

Tech Stack:

- React for the UI

- JavaScript for core functionality

- Chrome Extension APIs for browser integration

- Tailwind CSS for styling

- Vite for the build process

Challenges I Faced:

- Balancing non-intrusiveness with effectiveness in a developer’s workflow

- Ensuring user privacy while storing preferences

- Optimizing performance within Chrome extension limitations

Feedback:

I’d love to hear your thoughts on how this could fit into your workflow. What additional features would make it more useful? Are there any issues you encounter while trying it out?