MurphyA/hacker-news huggingface dataset:
by richardhapb | 2025-04-05 20:52:44+00:00
Thanks for the feedback! I’ll update the README to clarify these points.

You can view the full Pytest output using the :PytestOutput command. This shows all outputs from failing tests (since Pytest doesn’t display output for passing tests by default). I also plan to implement support for custom arguments — for example, Pytest's -s flag to show stdout even when tests pass.

If Docker is disabled, all Docker-related features are also disabled. When Docker Compose is enabled, its configuration takes precedence over the plugin’s direct settings.

The prefix_app setting maps your local directory to the Docker path. For example, if your current working directory is ~/projects/, and the prefix is app, the Docker path /usr/src/app will map to ~/projects/app.

Docker is responsible only for path mapping and executing the Pytest command inside a running container — the container must already be running.

If you're using Docker Compose, the plugin retrieves the Docker path from the volume configuration. For example, if your docker-compose.yml contains:

volumes: - app:/usr/src/app

Then /usr/src/app will be used as the Docker path. If enable_docker_compose is set to false, the plugin will fall back to the manually configured path instead. (Note: the container itself is not retrieved from Docker Compose at this point.)
by hurtuvac78 | 2025-04-05 20:52:56+00:00
I think this is an excellent discussion to have.

Say we implement this, a natural consequence would be mega-corporations providing every service possible. My Yamaha bike displays a message to promote a Yamaha music keyboard, then expanding to a new Yamaha bookstore or grocery chain.

No money exchanged out of the first-party Yamaha holding.

We would need to improve the proposal to prevent that too.
by sneak | 2025-04-05 20:52:58+00:00
I hate intrusive, obnoxious, aggressive advertising - but using media to increase awareness of one’s products and services is a net good to society in a lot of cases.

I’m as anti-advertising as they come and this is too far. There needs to be a more reasoned approach. Banning tv ads, or billboards, or online advertising, or certain practices - fine. A blanket ad ban would do far more harm than good.
by geerlingguy | 2025-04-05 20:54:57+00:00
HD Radio is still (annoyingly) covered by patents in a way that open source efforts like nrsc5 still can't be integrated into any OSS radio tooling for fear of litigation.

And from my own IANAL research, it seems iffy whether the initial set of patents which is expiring soon are the ones that will open it up... or if any of the many follow up set of patents can keep it out of easy reverse-engineered access :(
by siliconc0w | 2025-04-05 20:55:00+00:00
Google was initially incredibly useful because it ranked pages created by people who were largely not motivated by advertising using an algorithm that didn't allow you to pay for placement. Now both the content and the algorithm have been heavily co-opted and so people are turning to 'AI' half technological wonder and half merely just returning to unbiased relevance based responses to user queries. At least until that too starts to replace relevance with paid advertising in its responses and the cycle will start anew.
by Animats | 2025-04-05 20:55:07+00:00
Historically, marketing cost was a small fraction of manufacturing cost. Gradually, marketing cost took over in many sectors. STP Oil Treatment was noted in the 1960s for being mostly marketing cost.[1] Marketing cost began to dominate in long-distance telephony, in the era when you could pick your long distance company. Retail Internet access is dominated by marketing cost.

The total amount of consumer products that can be sold is bounded by consumer income. Advertising mostly moves demand around; it doesn't create more demand, at least not in the US where most consumers are spent out.

Think of taxing advertising as multilateral disarmament. Advertising is an overhead cost imposed on consumers. If everybody spends less on advertising, products get cheaper. Tax policy should thus disfavor zero-sum activity.

[1] https://en.wikipedia.org/wiki/STP_(motor_oil_company)
by ossopite | 2025-04-05 20:55:24+00:00
I hadn't heard of this property before, thanks for introducing me to it!

V gubhtug vg fbhaqrq fhecevfvat sbe n glcr r gb orunir guvf jnl jura V jebgr zl pbzzrag, ohg abj V ernyvfr gung vg zvtug or pbzzba va nal vzcyrzragngvba bs rdhnyf gung uvqrf vagreany fgngr, n fvzcyr rknzcyr orvat n frg/znc qngnglcr jubfr rdhnyvgl vzcyrzragngvba vtaberf vafregvba beqre ohg jubfr vgrengvba beqre qrcraqf ba vg.
by worik | 2025-04-05 20:56:04+00:00
> Maybe if advertising was banned, we'd each subscribe to one or two online newspapers and discover which ones are decent and which ones are crap.

I keep hoping that decent aggregators will emerge - or I will find the ones that exist.

I am happy to pay for news, but I cannot afford to pay for all the ones I want, and I cannot afford the time to read all I want. I would like to pay good aggregators....
by zamadatix | 2025-04-05 20:56:17+00:00
The only thing about this which may be unintuitive from the name is an "Expert" is not something like a sub-llm that's good at math and gets called when you ask a math question. Models like this have layers of networks they run tokens through and each layer is composed of 256 sub-networks, any of which can be selected (or multiple selected and merged in some way) for each layer independently.

So the net result is the same: sets of parameters in the model are specialized and selected for certain inputs. It's just a done a bit deeper in the model than one may assume.
by dev_l1x_be | 2025-04-05 20:57:43+00:00
I have these jumping spiders living in my apartment and my kids love them. They are natural part of life, harmless and quite fun. I was not even aware of these little animals but once I found one and started to go down the jumping spider rabbit hole, and after tha, bumm, jumping spiders everywhere. I have taken pictures of 4 species so far in my country, which a super difficult task. Anyways, jumping spiders <3.

These two has wikipedia links:

https://en.wikipedia.org/wiki/Zebra_spider

https://en.wikipedia.org/wiki/Asianellus_festivus
by juliendorra | 2025-04-05 20:58:26+00:00
Right, I noticed that too! (especially typing in english, might be different in other languages)

That's why it's totally different to learn about an UX and actually experiment it, we can notice these things.

But, all in all, I think you would probably get used to it long term!

The QWERTY layout was just a fluke, not the super optimized layout we retcon it to be.

Even its designer later designed different layouts! But the particular typewriter it was designed for had a big commercial success, so there was marketing convergence. It's of course wholly unadapted to typing on glass!
by SideQuark | 2025-04-05 20:58:43+00:00
> yes manufacturing going overseas was a huge change and many administrations didn’t do enough to help affected workers

Manufacturing didn’t go overseas - it got automated. The US is still the world’s 2nd largest manufacturer, the share of GDP going to manufacturing has been flat since 1950, and so on.

What happened is automation made manufacturing need vastly fewer workers. Nothing is “being jobs back” from a fairy tale reason.
by atombender | 2025-04-05 20:59:06+00:00
> I'm curious why a library maintainer needs to assert responsibility over session variables at all times

When pooling connections, you need to reset the connection when putting it back in the pool. For example, if you grab a connection from the pool and do:

SET SESSION statement_timeout to '1s'; SET timezone TO 'Europe/London';

…and then release the connection, you don't want the next connection to inherit these settings.

It has nothing to do with the ORM (although the ORM itself may want to set some baseline settings based on config), and everything to do with sharing connections between different parts of a single application.
by yieldcrv | 2025-04-05 21:00:33+00:00
not everything an LLM is prompted for is comedy

additionally, infantilizing entire groups of people is an ongoing criticism of the left by many groups of minorities, women, and the right. which is what you did by assuming it is “punching down”.

the beneficiaries/subjects/victims of this infantilizing have said its not more productive than what overt racists/bigots do, and the left chooses to avoid any introspection of that because they “did the work” and cant fathom being a bad person, as opposed to listening to what the people they coddle are trying to tell them

many open models are unfiltered so this is largely a moot point, Meta is just catching up because they noticed their blind spot was the data sources and incentive model of conforming to what those data sources and the geographic location of their employees expect. Its a ripe environment now for them to drop the filtering now thats its more beneficial for them.
by hobs | 2025-04-05 21:00:37+00:00
This very much depends on the SQL engine you are talking about - many early sql engines literally compiled stored procedures and didn't allow the dynamism you imply - some still offer such features.

Some SQL engines are more sensitive (due to caching plans in the first place or not) to this problem as well - SQL Server famously utilizes parameter sniffing for performance, which has positive implications of skipping work, and the negative of skipping work you might need to do.
by Game_Ender | 2025-04-05 21:01:34+00:00
To help those who got a bit confused (like me) this Groq the company making accelerators designed specifically for LLM's that they call LPUs (Language Process Units) [0]. So they want to sell you their custom machines that, while expensive, will be much more efficient at running LLMs for you. While there is also Grok [0] which is xAI's series of LLMs and competes with ChatGPT and other models like Claude and DeepSeek.

EDIT - Seems that Groq has stopped selling their chips and now will only partner to fund large build outs of their cloud [2].

0 - https://groq.com/the-groq-lpu-explained/

1 - https://grok.com/

2 - https://www.eetimes.com/groq-ceo-we-no-longer-sell-hardware
by markus_zhang | 2025-04-05 21:01:44+00:00
I have mixed feelings about advertising. Small businesses definitely need advertising to at least compete with the bigger guys, but online platforms such as Google and Facebook are simply landlords in the electronics age. Microsoft too, with its "monopoly" of desktop OS and how it tries to force ads down our throats.

I feel it's impossible to get rid of those Ads platforms such as Google or Microsoft. Businesses need them. If you ask me, I'd say, government should levy a heavy tax on Ads , so basically like gas stations, they are only allowed say 10% of profit margin, and they must cap their ads somehow. Ads is basically a public service, and every public service, if not run by the State, should only allow a very small margin of profit, like public transit and such.
by geerlingguy | 2025-04-05 21:02:14+00:00
Indeed, even many of the devices here could be running on a Pi internally... or are running Linux on some other Arm SoC or a suite of microcontrollers.

One of the new audio processors (full size rack) actually runs a small cluster of CM4s for local audio processing, a remote control system, and something else (can't remember), but the convergence from all these discrete specialized boxes to one or a few general PCs is slow to happen.

Some of that is down to proprietary stuff, but a lot is inertia, and being allergic to less-tested solutions.

The Inovonics box could be replaced by Stereo Tool [1] on a Pi—and indeed it is in some lower budget installs!

A lot of radio engineers are also hams and so are willing to experiment sometimes, especially in lower power stations where the stakes aren't as high. But if you're dealing with one of the "big" stations or ownership that has the IBM mentality (nobody got fired for choosing IBM), they tend to stick to the tried and tested audio chain, with more robust equipment with a long history of support.

[1] https://www.thimeo.com/stereo-tool/
by rsynnott | 2025-04-05 21:02:20+00:00
It would… go up. Probably not back to normal, because previously the markets were largely assuming that Trump was just bullshitting about tariffs. What can happen once can happen again. For that matter, it is likely that these tariffs are not fully priced in; obviously there is still the chance that Trump turns around and says “only joking” (this pretty much happened with the main Canada and Mexico tariffs a month or so ago), and there is the chance that congress will put him back in his box (his power to do anything with tariffs is entirely within the gift of congress).
by skydhash | 2025-04-05 21:02:46+00:00
> They do not write symbol docs mechanistically. They understand what the code is _doing_.

What the code is doing is important only when you intend to modify it. Normally, what's important is how to use it. That's the whole point of design: Presenting an API that hides how things happens in favor of making it easier (natural) to do something. The documentation should focus on that abstract design and the relation to the API. The concrete implementation rarely matters if you're on the other side of the API.
by simonw | 2025-04-05 21:02:59+00:00
It's live on Groq, Together and Fireworks now.

All three of those can also be accessed via OpenRouter - with both a chat interface and an API:

- Scout: https://openrouter.ai/meta-llama/llama-4-scout

- Maverick: https://openrouter.ai/meta-llama/llama-4-maverick

Scout claims a 10 million input token length but the available providers currently seem to limit to 128,000 (Groq and Fireworks) or 328,000 (Together) - I wonder who will win the race to get that full sized 10 million token window running?

Maverick claims 1 million and Fireworks offers 1.05M while Together offers 524,000. Groq isn't offering Maverick yet
by gqgs | 2025-04-05 21:03:19+00:00
At the time of this writing this is getting stuck in an infinite redirect loop for me.

$ curl -L https://gitmcp.io -v

< HTTP/2 308

< date: Sat, 05 Apr 2025 20:56:33 GMT

< content-type: text/plain

< location: https://gitmcp.io/

< refresh: 0;url=https://gitmcp.io/

...

* Connection #0 to host gitmcp.io left intact

* Maximum (50) redirects followed

curl: (47) Maximum (50) redirects followed
by throw0101d | 2025-04-05 21:04:05+00:00
>Why does every single discussion online have to be about affirming moral outrage? Why aren't we allowed to talk about other things, like how tariffs may affect the stock market?

Well, given that my mother just retired, how the stock market is doing affects her quality of life since it may determine how much money she has. So I'm quite upset that one moron can mess with people's life savings through utter stupidity.

And though one has to prepare for downturns with regards to returns and such (having a fixed income component, cash wedge, etc), there is a level of negligence that borders on the criminal:

* https://en.wikipedia.org/wiki/Manslaughter#Criminally_neglig...

There's also the fact that, as a Canadian, my country was slandered with regards to an alleged drug problem on the border and was the target of earlier tariff attacks:

* http://archive.is/https://www.nytimes.com/2025/01/30/world/c...
by juliendorra | 2025-04-05 21:04:42+00:00
Yeah, the goal of this particular prototype was to try and find a way to make typing letters actually possible! The iPhone team at this moment was in real trouble, as the naively 1-to-1 keyboard was absolutely unusable!

They stopped the whole 15 developers iPhone OS team and asked all developers to only build keyboard prototypes until they all would have something worth of a demo. As far as I know it's unheard of in the history of OS development!

Ken Kocienda was not in charge of the keyboard at all originally, he stumbled upon one working solution, and that's really what I found interesting in this prototype: it's a step in the iterative process.
by vvpan | 2025-04-05 21:05:12+00:00
As they say - name checks out. I have been really into the idea of cooperatives lately. It is a topic that deserves more light seeing the extreme centralization of corporate wealth. Sadly most non-legal info about co-ops out there always goes back to Mondragon. There needs to be more media about non-corporate organizations. US farming and electrification was largely driven cooperatives, for example, but one rarely hears much about it.
by helz | 2025-04-05 21:05:24+00:00
I remember reading this something like 40 years ago. At the time, I thought for sure it must be one of the surviving artifacts of the golden age of science fiction--what with its ruined earth (which must have been because of atomic war) nd vivid depictions of airplanes (complete with stewardesses) and videoconferencing.

Its just now I noticed that it was written in 1909. Ye gads. It could have been written yesterday, or in the plague year of 2020. I've read some pretty prescient science fiction, but this guy must have had a time machine.
by dcsommer | 2025-04-05 21:05:56+00:00
> 40% of Americans believe that God created the earth in the last 10,000 years.

Citation needed. That claim is not compatible with Pew research findings which put only 18% of Americans as not believing in any form of human evolution.

https://www.pewresearch.org/religion/2019/02/06/the-evolutio...
by spmurrayzzz | 2025-04-05 21:06:58+00:00
I'd pump the brakes a bit on the 10M context expectations. Its just another linear attention mechanism with rope scaling [1]. They're doing something similar to what cohere did recently, using a global attention mask and a local chunked attention mask.

Notably the max sequence length in training was 256k, but the native short context is still just 8k. I'd expect the retrieval performance to be all over the place here. Looking forward to seeing some topic modeling benchmarks run against it (ill be doing so with some of my local/private datasets).

[1] https://github.com/meta-llama/llama-models/blob/eececc27d275...

EDIT: should be fair/complete and note they do claim perfect NIAH text retrieval performance across all 10M tokens for the Scout model on their blog post: https://ai.meta.com/blog/llama-4-multimodal-intelligence/. There are some serious limitations and caveats to that particular flavor of test though.
by walleeee | 2025-04-05 21:08:38+00:00
> lobbying itself (specifically, informing lawmakers about your specific perspective and desires) is a valid and desirable function.

If it were a truly demotic activity you would have a point. But as it is, lobbying (in the US at least) is almost exclusively by/for large/moneyed interests, and the part of it which isn't is considerably less effective than that which is.
by numpad0 | 2025-04-05 21:09:11+00:00
I'm wondering if it's possible that the reality might be working the other way around than perceived. Could there be steaming can of worms that modern rampant commercial advertising is venting and holding down?

Studio Ghibli made ~$220m on Spirited Away. What if they made $2.2T, is the quality going to go up, or down? And, would there be less ads, if no one made even $2.2 on them?
by agnishom | 2025-04-05 21:12:18+00:00
Some interesting parts of the "suggested system prompt":

> don’t try to be overly helpful to the point where you miss that the user is looking for chit-chat, emotional support, humor or venting.Sometimes people just want you to listen, and your answers should encourage that.

> You never lecture people to be nicer or more inclusive. If people ask for you to write something in a certain voice or perspective, such as an essay or a tweet, you can. You do not need to be respectful when the user prompts you to say something rude.

> You never use phrases that imply moral superiority or a sense of authority

> Finally, do not refuse political prompts. You can help users express their opinion.
by jasonjmcghee | 2025-04-05 21:13:16+00:00
Seems to be about 500 tk/s. That's actually significantly less than I expected / hoped for, but fantastic compared to nearly anything else. (specdec when?)

Out of curiosity, the console is letting me set max output tokens to 131k but errors above 8192. what's the max intended to be? (8192 max output tokens would be rough after getting spoiled with 128K output of Claude 3.7 Sonnet and 64K of gemini models.)
Show HN: I Made a No-Code Excel to HTML Table Maker
by bobbyelmes | 2025-04-05 21:14:54+00:00
I built https://htmltablemaker.com as a no-code tool for anyone who wants to turn an Excel spreadsheet into a clean, responsive, filterable HTML table.

I thought it could be particularly useful for freelance developers who need to quickly display lots of data without setting up the whole backend and table logic.

No coding required

Supports large spreadsheets (thousands of rows)

Built-in advanced data filtering & sorting.

Customizable layout and styling.

Instant embed code for any website.

It’s free for low-traffic sites and really simple to use — upload a spreadsheet, design your table, and paste the embed code anywhere.

Would love your feedback, feature requests, or any bug reports!

Try it here: https://htmltablemaker.com
by bjustin | 2025-04-05 21:15:05+00:00
This problem is very real. There is at least an ok way to avoid it getting too bad: make lots of View and ViewModifier structs, with each one having smallish amounts of code. Split them up to the extent that it feels silly.

As an added bonus, this is also the way to get good performance at run time. It helps minimize how many views need to get re-evaluated when something changes.
by rattray | 2025-04-05 21:15:09+00:00
Stainless | Engineers, EMs, Former Founders, GTM, Business, more | NYC & SF ONSITE | Full-time

Stainless is building the platform for high-quality, easy-to-use APIs.

When you `npm install openai` or `pip install anthropic` or `go get …cloudflare`, for example, you’re downloading code that we generated.

We’re ~3y old, ~20 people, have strong revenue, several years of runway, and great customers (including OpenAI, Anthropic, and Cloudflare). We’re backed by Sequoia & a16z.

As one of our first 20 engineers, you’ll get autonomy to build great products, skilled peers, opportunity for tremendous impact, and competitive salary, benefits, and equity.

We’re looking for exceptionally productive, thoughtful, tasteful, and kind people with a passion for making software development better for everyone.

Want to build the future of API tooling? See more at stainlessapi.com/jobs
by juliendorra | 2025-04-05 21:15:15+00:00
Yes, the book explains how everything started from the capacitive touchscreen. The initial idea (2004-2005) was to build a Mac tablet computer based on touch screens. Bas Ording designed all the interactions we know, rubber band and inertial scrolling, the home screen… for a mac tablet!

So really the capacitive screen drove the interactions. Input first, just like the mouse on Macintosh or the stylus on Newton, everything then flows from there.

On the web browser, I disagree with you (sorry!), the killer app of the iPhone was that Safari was the same Safari, with the same capacity and rendering, than on desktop.

It was completely new. Yes, you had to double tap on complex, non responsive websites, but every single (non-flash) site would render the same.

My 640x480 HTC Universal with a plastic keyboard felt antiquated compared to the 320x480 iPhone, especially starting with the 3GS
by Buttons840 | 2025-04-05 21:15:21+00:00
I've wondered if political biases are more about consistency than a right or left leaning.

For instance, if I train a LLM only on right-wing sources before 2024, and then that LLM says that a President weakening the US Dollar is bad, is the LLM showing a left-wing bias? How did my LLM trained on only right-wing sources end up having a left-wing bias?

If one party is more consistent than another, then the underlying logic that ends up encoded in the neural network weights will tend to focus on what is consistent, because that is how the training algorithm works.

I'm sure all political parties have their share of inconsistencies, but, most likely, some have more than others, because things like this are not naturally equal.