MurphyA/hacker-news huggingface dataset:
by dlcarrier | 2025-04-13 03:25:38+00:00
If I spend too long thinking about plant traits, I get caught up in the difference between traits useful in nature and traits useful for cultivation.

It has to have more instances of failing successfully than any other system. The most coveted plants are the ones that increased their reproduction by evolving deterrents to consumption. They contain irritants to specifically prevent animals from eating them. Those irritants have strong, often bitter flavors and occasionally go so far as to antagonize temperature receptors, yet we eat them specifically because of those irritants. It would be a huge failure if we were eating them in the wild, but because we cultivate them, they are now some of the most widespread and successful plants.
by harshitaneja | 2025-04-13 03:26:39+00:00
This is exactly how we do it with our very own rudimentary internal library and scripts. Barely enough and even though I worry at times it will break unexpectedly but so far we are surprised by how stable everything has been.

Although I really wish there was a first party solution or a well established library for this but I suspect that while it is easy to build only enough to support specific usecases but building a generic enough solution for everyone would be quite an undertaking.
by danpalmer | 2025-04-13 03:26:48+00:00
The problem with HCL is that it's a Level 4 language masquerading as a Level 3 language, rather than a Level 4 language masquerading as a Level 5 (like Starlark, Dhall, even JSONNET). Because of that its syntax is very limited and it needs awkwardly nuanced semantics, and becomes difficult to use well as a result.

HCL is best used when the problem you're solving is nearly one you could use a level 3 language for, whereas in my experience, Starlark is only really worth it when what you need is nearly Python.
by arjonagelhout | 2025-04-13 03:27:10+00:00
My experience with writing shaders (such as for physically based rendering) is that the shading languages (MSL, GLSL, HLSL) are easy to switch between. The hard part is understanding the physics and understanding how GPUs work internally.

My main approach to writing shaders is to look at existing programs (e.g. Blender) and see what techniques are in use. The Google Filament renderer documentation [0] is also really good when it comes to BDSF functions.

Some papers from Unreal Engine might also help, such as "Real Shading in Unreal Engine 4" [1]

[0] https://google.github.io/filament/Filament.md.html

[1] https://cdn2.unrealengine.com/Resources/files/2013SiggraphPr...
by Hakkin | 2025-04-13 03:28:51+00:00
It sets a cookie with a JWT verifying you completed the proof-of-work along with metadata about the origin of the request, the cookie is valid for a week. This is as far as Anubis goes, once you have this cookie you can do whatever you want on the site. For now it seems like enough to stop a decent portion of web crawlers.

You can do more underneath Anubis using the JWT as a sort of session token though, like rate limiting on a per proof-of-work basis, if a client using X token makes more than Y requests in a period of time, invalidate the token and force them to generate a new one. This would force them to either crawl slowly or use many times more resources to crawl your content.
by geerlingguy | 2025-04-13 03:30:55+00:00
Yeah... and that's one of the most innocuous new "features" in ATSC 3.0.

Almost everything I've seen (besides BPS, and maybe HDR if you're one of the few who has a really good home theater setup) is a benefit for broadcasters and advertisers, and a bit worse for consumers (especially requiring new hardware/decoders... and sometimes persistent Internet connections!).
by refulgentis | 2025-04-13 03:31:34+00:00
Right! :)

(the thing is, "continuing down the path" is a Not Even Wrong (in the Pauli sense) description of what's going on. It's a hopelessly confused. At least, I have given up hope: I wrote a quite detailed post, with both a TL;DR and longer, linking out to an approachable article, explaining this.)
by lxgr | 2025-04-13 03:33:17+00:00
At least in Europe, when broadcasting went digital (DVB-T), a lot of cities started being covered by single frequency network transmission, which specifically leverages different transmitter locations transmitting the same signal to decrease dead zones.

Due to how OFDM works, I suppose the idea here is to intentionally send a heterogeneous signal on a few non-overlapping subcarriers (for single-frequency networks) or on different transponders at different locations (since single frequency networks aren't as common in the US due to how broadcasting evolved there, although ATSC 3.0 apparently also allows single frequency networks).
by throw310822 | 2025-04-13 03:34:09+00:00
Episodic memory: remembering your past actions and things that happened to you.

Contextual awareness: integrating the information you have with your understanding of what is happening.

Absolutely trivial examples of interactions requiring them:

"where did I put that file I was working on yesterday?"

"Can you reopen that web page I was reading last week about Egyptians, the one with the red background?"

"What is this notification, is it something important?"

"Delete the intermediate versions and keep only the final one"

Etc.
by Tadpole9181 | 2025-04-13 03:35:29+00:00
I'm sorry, this is hard to take seriously.

Yes, why didn't Democrats change our system and model of governance that was working fine, anticipating the Republicans. It's a shame they didn't stop them in... check 1789. 39 years before their party was founded.

It's a shame they didn't overwrite the constitution (2/3 majority and state ratification) to be parliamentary. To bad they didn't prevent the head of their executive (ergo military) from having time-limited war time powers meant for emergencies and requiring their review... Right after two world wars, two proxy wars, the threat of cold war, or during a war in the Middle East. Or the use of time-limited emergency powers to direct funds used in organizations like FEMA.

Blame, blame, blame. It's always the DNC's fault. They have to know of all threats and be totally unified and work around every obstacle. It's not at all up to, I don't know, the American public not to elect a convicted felon that attempted to overthrow the government, who were found guilty of raping women,who are deplorable, disgusting slobs in every way, and that threaten to go to war with allies. Why didn't the DNC protect us from ourselves? Did you send them letters or calls demanding these actions?

It's a democracy. We got what we asked for and what we deserved.
by Retric | 2025-04-13 03:36:46+00:00
> What happens when people are…

Everyone doesn’t fit those criteria. Motivated reasoning exists with and without propaganda. The specific words used may end up mimicking “a message,” but you can find millions of disgruntled people after any election.

There’s a great deal of talk around how much social media etc changed the landscape but American politics looks basically the same before and after Facebook.
Show HN: A lightweight web browser built with Rust and egui
by coolwulf | 2025-04-13 03:38:05+00:00
Introducing egui Browser: a minimalist HTML rendering engine built with Rust and egui. This first experimental version supports basic HTML display with a clean white background and dark text, but doesn't yet handle JavaScript or complex CSS. I'm actively developing this project and plan to expand its capabilities while maintaining its lightweight, cross-platform architecture
by reissbaker | 2025-04-13 03:41:22+00:00
People fleeing a conflict isn't genocide. And no, the population did not decrease! You can literally look this up. "Moving 5 miles away" is not an overall group population decrease; here is a graph of the population of Israelis and Palestinians respectively: https://www.statista.com/chart/20645/palestine-and-israel-po...

As you can see, it's been up and to the right this whole time, for both groups.

Unless you think that India and Pakistan have been committing genocide against each other for the last 78 years, neither Israel nor Palestine have been committing genocide against each other for the past 77 years. They had a land dispute, which Israel agreed to split via the U.N. partition plan, and which the Palestinians rejected in favor of a war which they subsequently lost. Just like the current war, in which you passively claim they're "getting bombed," as if nothing had happened to trigger the war — in fact, the government of Gaza (Hamas) invaded Israel, killed over a thousand people and took hundreds of hostages, including civilians, sparking a war in which Gaza has now gotten bombed.
by Spunkie | 2025-04-13 03:41:25+00:00
I was never even notified for my 4a and when I try to check it's eligibility it simply says my pixel 4a "is not eligible for a repair, cash payment, or discount." without any additional information.

Does this mean my pixel 4a battery was unaffected for some reason... or simply that the lawyers managed to weasel out of paying 100% of active pixel 4a owners back and my phone is still dangerous or degraded? ¯\_(ツ)_/¯
by lxgr | 2025-04-13 03:43:45+00:00
High-power, and ideally authenticated, alternatives to space-based GNSS are desperately needed, given the sharp uptick in jamming and spoofing incidents in many places.

In a true "end of history" moment, the US and other NATO members discontinued both of their ground-based systems (which are inherently harder to jam due to their much higher transmission power, since transmitters are not power limited) – Omega in the late 1990s and Loran-C in the early 2010s – in favor of GPS, while Russia kept their equivalent functional, and China completed an eLoran network last year.

Add to that the FAA's reduction of their ground-based VOR/DME station network that lets planes navigate when GPS is unavailable...

GPS jamming, and much more concerningly spoofing, will probably quickly come within reach of non-nation-states and smaller groups of all kinds, and ultimately individual actors, and that can't possibly end well for civil aviation if robust countermeasures don't become available very soon.
by sam_bishop | 2025-04-13 03:44:39+00:00
I'm not a compiler expert either, but I think LLVM IR is the way it is for the benefit of the optimizer. It wasn't intended to be written by humans, typically.

It's more "portable" than assembly so that the same optimizer passes can work on multiple architectures. The static-single-assignment restriction makes it easier to write compiler passes by removing the complexity that comes with multiple assignments.
by jandrese | 2025-04-13 03:46:31+00:00
The title is still clickbait given the reason nobody has heard of it is that it barely exists and is not useful yet.

Also, it smelled a bit like wishful thinking to assume the high precision clock would not be driven by GPS on real world deployments. I know some cell towers synchronize via PTP, but a great many others use GPS as their time source.
by hsuduebc2 | 2025-04-13 03:47:30+00:00
From my anecdotal experience, being grumpy when hungry I would say definitely. :)

But it's not just me for sure.

A well-known study published in the Proceedings of the National Academy of Sciences (PNAS) in 2011 found that judges' decisions can be influenced by extraneous factors such as the time of day. Specifically, the study observed that judges were more likely to grant parole at the beginning of the day or after a meal break, with favorable rulings decreasing as the session progressed.

This pattern suggests that factors unrelated to the legal merits of a case, like mental fatigue or hunger, can affect judicial decision-making.

https://www.pnas.org/doi/10.1073/pnas.1018033108

This is something I think is absolutely human as it is outrageous.
by alganet | 2025-04-13 03:48:17+00:00
You are actually thinking in plant-animal interactions.

Maybe their goal is just to photosynthetize and grow and the bitter flavors and other products and interactions are not that important (for them).

I don't know. Maybe they're high tech time travelling solar panels and radiator systems sent back to prevent the early drying of the planet.

Can you think of plants outside of the traditional evolutionary paradigm, just for a while? That is the challenge of this idea.
by simonw | 2025-04-13 03:49:39+00:00
Longer context is definitely slower, especially for local models. Hosted models running on who knows what kind of overpowered hardware can crunch through them pretty fast though. There's also token caching available for OpenAI, Anthropic, Gemini and DeepSeek which can dramatically speed up processing of long context prompts if they've been previously cached.
by bruce511 | 2025-04-13 03:49:48+00:00
I'm not downvoting you, because I think you make an argument that many would make.

"Tariffs apply to imports, so produce locally instead".

The argument unfortunately has 2 flaws;

A) local production is expensive (which is why manufacturers fled decades ago.) If it is reintroduced here those goods remain expensive.

B) most things are not made in one place. Steel comes from here, electronics from there, energy from somewhere else, and so on. Even farmers use imported fertilizer, machinery and so on. Since the Tariffs are on "everything" (not just finished goods) they drive up the cost of local manufacturing even more.

A long-term strategy to increase local production makes sense. But it has to be done in a targeted way so as not to harm everything else. Typically it starts with finished goods, then slowly working down the food chain to improve the supply of parts making up those goods.

Exemptions on finished goods (like electronics) kills any gain. He might have, for example, exempted electronic parts. Which would then incentivize assembly to be local. Once you have local assembly you could look at say packaging, and so on.

The approach taken though doesn't lead to the outcomes being touted. Tariffs at country level are dumb. Excempting finished goods is dumb. Tariffs on things that can't be made locally (like coffee) is dumb.

That's before we talk about stability and certainty. For Tariffs to work you need both, and neither are in play here.
by aprilthird2021 | 2025-04-13 03:50:24+00:00
But the article states it is not the first reference to this from such a source.

Also, I'm not saying he'd know a separate language. But I'm saying the legend was probably told in many other forms (probably oral), and he would have heard it somewhere else, and it probably retained some linguistic features passing through peoples and places.

I think I missed that the civilizations are very far apart in time perhaps, as it was meant to be a prank
by raphlinus | 2025-04-13 03:50:51+00:00
The question of which assembly is best to learn is of course incredibly subjective, but I think the author gives short shrift to ARM32. It is historically important (especially for the Acorn computers, most popular in the UK), sensibly designed, and still relevant today, just in the context of microcontrollers.

Some of the most fun I've had programming assembly has been writing HDMI video scanout kernels for a RP2040 chip[1]. It was a delightful puzzle how to make every single cycle count. It is a great sense of satisfaction of using every one of the 8 "low" registers (the other 8 "high" registers generally take one more cycle to move into a low register, but there are exceptions such as add and compare where they can be free; thus you almost always use a high register for the loop termination comparison). Most satisfying, you can cycle-count and predict the performance very accurately, which is not at all true on modern 64 bit processors. These video kernels could not be written in Rust or C with anywhere near the same performance. Also, in general, Rust compiles to pretty verbose code, which matters a lot when you have limited memory.

Ironically, the reasons for this project being on hold also point to the downside of assembler: since then, the RP2350 chip has come out, and huge parts of the project would need to be rewritten (though it would be much, much more capable than the first version).

[1]: https://github.com/DusterTheFirst/pico-dvi-rs/blob/main/src/...
by spaceman_2020 | 2025-04-13 03:52:25+00:00
If I was charitable to Trump, I would think that he genuinely wants to move manufacturing back to the US, and is likely being supported by the military faction of the government. There is a decent chance of a hot war with China in the future, and you really can’t win wars if you can’t build stuff at home quickly. As things currently stand, China can vastly out produce America in the event of a war
by linguae | 2025-04-13 03:52:36+00:00
Additionally, such jobs did not require a bachelor’s degree. Today it seems that affording a middle-class lifestyle (i.e., being able to afford to purchase or rent a home in a safe neighborhood with good public schools) often takes two incomes from jobs that require bachelors’ degrees or more, which is expensive in America. There are plenty of Americans who can’t afford that lifestyle, including those with college degrees.
by kazinator | 2025-04-13 03:55:56+00:00
Postel's Law does not deserve to be nicknamed the Robustness Principle.

Robustness has a meaning and it refers to handling bad inputs gracefully. An example of a lack of robustness is allowing a malicious actor to execute arbitrary code by supplying a datum larger than some buffer limit.

Trying to make sense of invalid inputs and do something with them isn't robustness. It's just example of making an extension to a spec. The extension could be robust or not.

Postel's Law amounts to "have extensions and hacks to handle incorrectly formatted data, rather than rejecting them. So, OK, yes, that entails being robust to certain bad inputs that are outside of the spec, but which land into onto one of the extensions. It doesn't entail being robust to inputs that fall outside of the core spec and all hacks/extensions.

Cherry picking certain bad inputs and giving them a meaning isn't, by itself, bona fide robustness; robustness means handling all bad inputs without crashing or allowing security to be compromised.
by ndiddy | 2025-04-13 03:56:52+00:00
AI companies have started using a technique to evade rate limits where they will have a swarm of tens of thousands of scraper bots using unique residential IPs all accessing your site at once. It's very obvious in aggregate that you're being scraped, but when it's happening, it's very difficult to identify scraper vs. non-scraper traffic. Each time a page is scraped, it just looks like a new user from a residential IP is loading a given page.

Anubis helps combat this because even if the scrapers upgrade to running automated copies of full-featured web browsers that are capable of solving the challenges (which means it costs them a lot more to scrape than it currently does), their server costs would balloon even further because each time they load a page, it requires them to solve a new challenge. This means they use a ton of CPU and their throughput goes way down. Even if they solve a challenge, they can't share the cookie between bots because the IP address of the requestor is used as part of the challenge.
by charrondev | 2025-04-13 03:58:02+00:00
> I have been pressured multiple times by Brian Ingerson (one of the authors of the YAML specification) to remove this paragraph, despite him acknowledging that the actual incompatibilities exist. As I was personally bitten by this "JSON is YAML" lie, I refused and said I will continue to educate people about these issues, so others do not run into the same problem again and again. After this, Brian called me a (quote)complete and worthless idiot(unquote).

> In my opinion, instead of pressuring and insulting people who actually clarify issues with YAML and the wrong statements of some of its proponents, I would kindly suggest reading the JSON spec (which is not that difficult or long) and finally make YAML compatible to it, and educating users about the changes, instead of spreading lies about the real compatibility for many years and trying to silence people who point out that it isn't true.

> Addendum/2009: the YAML 1.2 spec is still incompatible with JSON, even though the incompatibilities have been documented (and are known to Brian) for many years and the spec makes explicit claims that YAML is a superset of JSON. It would be so easy to fix, but apparently, bullying people and corrupting userdata is so much easier.

Well that’s disappointing.
by mekoka | 2025-04-13 03:58:46+00:00
I think you might have it backward. Luck here implies starting with exactly the same work ethic and abilities as millions of other people that all hope to one day see their numbers come up in the lottery of limited opportunities. It's not to say that successful people start off as lazy slackers as you say, but if you were to observe one such lazy slacker who's made a half-assed effort at building something that even just accidentally turned out to be a success, you might see that rare modicum of validation fuel them enough that the motivation transforms them into a workhorse. Often time, when the biography is written, lines are slightly redrawn to project the post-success persona back a few years pre-success. A completely different recounting of history thus ensues. Usually one where there was blood, sweat, and fire involved to get to that first ticket.
by LoganDark | 2025-04-13 03:59:18+00:00
there are reagents that can be used to test. I've never used one because I trust my vendor. LSD is almost never cut with stuff (the illegitimate listings usually completely replace with something stupid like NBOMe). Usually if you get real LSD it's not also adulterated. If my vendor were illegitimate I would have died by now since I've taken up to 16 doses at once before.
by bbor | 2025-04-13 03:59:23+00:00
Well, that's the meta-rub: if they're abusing, block abuse. Rate limits are far simpler, anyway!

In the interest of bringing the AI bickering to HN: I think one could accurately characterize "block bots just in case they choose to request too much data" as discrimination! Robots of course don't have any rights so it's not wrong, but it certainly might be unwise.
by prestonlibby | 2025-04-13 04:01:54+00:00
> > What are the things you’ve written in elisp that have helped you? > > Usually tools to alleviate working with dumbass web-based (supposedly needing the corporate-approved browser) stuff for $DAY-JOB. > > Oh, and an extension to allow emacs-w3m to handle lynx-style multibookmarks.

This sparks my interest as I am in the early days of both customizing Emacs and attempting to displace some of my browsing with it as well. Could you elaborate further on this multibookmarks concept and perhaps an example of one of those alleviations for working with web-based workflows?
by userbinator | 2025-04-13 04:02:17+00:00
Yes, it just worked to stop me, an actual human, from seeing what you wanted to say... and I'm not interested enough to find a way around it that doesn't involve cozying up to Big Browser. At least CloudFlare's discrimination can be gotten around without JS.

Wouldn't it be ironic if the amount of JS served to a "bot" costs even more bandwidth than the content itself? I've seen that happen with CF before. Also keep in mind that if you anger the wrong people, you might find yourself receiving a real DDoS.

If you want to stop blind bots, perhaps consider asking questions that would easily trip LLMs but not humans. I've seen and used such systems for forum registrations to prevent generic spammers, and they are quite effective.