skysight-inc/HackerNews huggingface dataset:
My biggest PHP pet peeve has always been that the arguments are switched in the array_map and array_filter functions. array_map takes the callback first while array_filter takes the array first.

I understand that array_filter takes the array first so you don't have to pass a callback if you just want to filter out empty values, but they could have designed these functions more consistently.

I forget which argument comes first when using these functions all the time.
See also https://news.ycombinator.com/item?id=38819249
Certainly JLC and their EasyEDA integration is a great tool for reducing barriers - absolutely. There are others as well, Eagle for one (maybe even before KiCad got as popular as it is) plus some of the newer tools looks Libre PCB and Horizon. I'm definitely biased towards KiCad, since it's what opened doors for me personally a decade ago.
I don’t think outsourcing is the main problem with the American healthcare system. I encourage you to go a bit deeper and to not give your vote on a single bit of info. Try to expand to 1Kb.
HBM is very expensive though. I wonder if older generations are still being produced, but significantly cheaper these days?

A P100 from 2016 (HBM2) has 732 GB/s memory bandwidth [1], whereas the ddr-4 [2] produces 50GB/s. So the AMD APU would be more than 10x slower at LLM inference.

Edit, even old GDDR5 cards like the P40 have bandwidth of 347GB/s. [3]

[1] https://www.techpowerup.com/gpu-specs/tesla-p100-pcie-16-gb....

[2] https://news.ycombinator.com/item?id=37163639

[3] https://www.techpowerup.com/gpu-specs/tesla-p40.c2878
This is Big Tech only: only them will have the amount of resources to fit the requirement of such act.

The only way for small actors is to move to... super small and simple tech... and they better be sure small tech<->big tech interop is hardcore regulated too or they will be zapped.

Yep, forget about those grotesquely and absurdely massive and complex web engines...

And now I am thinking about the hardware... they better come extra clean.
Is it just me, but do some of these seem like pretty minor issues.

Like requiring semi-colons at the end of a block. Really?
Good that the backtracked on a lot of the CRAp (which would have meant the end of OSS in Europe, talk about destroying the world with the wrong swift movement of a pen!) BUT I'm still angry:

1. This adds barriers to sell OSS software, which helps solidify existing markets and prevents new competitors from stepping up

2. This won't change anything except forcing projects to waste money in legal BS, when the responsibility should be uniquely on the commercial entities USING and providing a service (and therefore making money) with the OSS software

3. This is only the first step, I'm sure they'll keep adding rules

4. I'm thinking they may have been heavy handed in the first draft just so that people would think at the end "oh, phew! the regulators didn't kill ALL OSS software in Europe, great!" without thinking why do we need this regulation or how it improves ANYTHING

Will it actually improve security? I don't think so.

If someone is paying for commercial support they likely already have security updates and, once vulnerabilities are known by the maintainers, the news spread.

The security problem with OSS is not that things are not communicated promptly, but that it's hard to make money with OSS so there is no staff working on security.

This would have not saved us from eg. OpenSSL vulnerabilities and it will be even harder to $NextOSSOrg to start charging for their product and improve their security.
Of course, now ask yourself what the FBI will to an organization that's washing money using crypto in Qatar? What the FBI gonna do?

FBI = domestic

letter:

"as we continue to assist law enforcement and expand dollar hegemony globally."

globally, what the FBI gonna do globally?

CIA has all 'rights' and capacity to act as whoever they want

Up to the reader to critically think in a way that permits yourself to ask, again, "what the FBI gonna do globally?"

https://www.vice.com/en/article/dyp7vw/the-cia-is-deep-into-... (imagine asking yourself if CIA/NSA are the creator of Bitcoin, the heresy! ban him!)
Here's a thread on performance vs rg (ripgrep). https://github.com/BurntSushi/ripgrep/discussions/2597 didn't know about hypergrep either.
Also look at https://github.com/stealth/grab from Sebastian Krahmer.
The feds have just added another hurdle to starting a business. It doesn't have to be a tech startup, any kind of new business. Absolutely hate how some bureaucrat can add a rule that would probably never make it through Congress. Its going to catch a bunch of people who will be fined for not knowing about it.
What is the point in this post here on HN? Old languages have tech debt too. We can acknowledge “bad” parts of languages but I’m not sure what the point of this post is, other than to foment and encourage conflict.

Someone post the “JS bad” blogs again for the people in the back.
My fault for a milquetoast response. I disagree. My thoughts are informed here by insider experience at Amazon. I believe I observed these problems over a decade ago (hidden fees, high attrition, poor culture, scattered & non-consolidated service offerings). EG: There were a number of places that could have had a better customer experience, but A/B testing showed there was more money to be made than customers lost. Second example, seeing what was required to get 2 to 4 teams to cooperate was impressive.. The detail and home page touches the bread and butter for entire orgs, thousands of people, ramifications for dozens of teams and then dozens of backend teams behind them.

I believe it was an Amazon VP that I was talking who pointed out that the homepage and detail page had not changed very much over time at all (lots of evolution, but never revolution, never fully redone, never will be fully redone).

This was pertinent because we were in an org that ran offshoot sites, similar in a lot of ways, but less hands in the pot & we did have liberty to do a full rewrite of our detail pages & homepages. In the conversation, the VP of that org was highlighting that flexibility and went into small detail why that was not the case for the big mother-ship retail pages.
Well, hard to say without knowing what goes on inside of the Wiki foundation, but I assume their ambition is to continue growing the native app. After all, most people prefer a native app feel (they don't necessarily always use it though - partly due to apps sometimes not reaching their true potential, and sometimes due to discovery is harder).
Checks and balances were supposed to use this greed for power in opposing parties and roles to keep this in check. It worked fairly well for a long time (as best as could be, not perfect mind you) but now we're in a bit of a hole where power comes from getting the largest number of people to react emotionally to the "opposition" which is real but also an exaggeration and intentionally misunderstood.

What are the checks and balances on demagoguery? I actually don't know.
They’ve always gotten lots of funding in quantum for techniques with big promises that haven’t delivered yet. I’m not even saying they’re misleading us so much as it has had basically no payoff compared to HPC, FPGA’s, and even analog computing.

The bigger concern of companies like that is if someone bankrolls dirt-cheap FPGA’s or Adapteva-style cores with open architectures targeted by a toolchain like Synflow’s or Cray’s Chapel. From there, domain-specific applications (esp optimized kernels) targeting those tools. Then, MPP-style hardware as cheap as commodity servers to scale it up and out. I’m talking engineering the thing by combining proven strategies, not doing new research.

Even $100 million put into such systems would deliver more value in more areas than $1 billion put into quantum computing. If not, we’d at least get huge speed-ups with the parallel architectures for a while and then the QC folks eventually deliver something better in some areas. I’d be happy both ways so long as one is in my building or it’s in the cloud for $2.30/hr. :)
From the ugrep README:

For an up-to-date performance comparison of the latest ugrep, please see the ugrep performance benchmarks [at https://github.com/Genivia/ugrep-benchmarks]. Ugrep is faster than GNU grep, Silver Searcher, ack, sift. Ugrep's speed beats ripgrep in most benchmarks.
> Arm those million fans with GenAI instead of pen and paper and MS Paint, and it gets more extreme

"More extreme" is not an explanation of how the change in scale matters here.

Indeed, what I would argue is there is no fundamental change in scale. Digital reproduction plus the internet already caused the change in scale. We already had the capacity for anyone to produce fan art and publish it or reproduce existing work and publish that. What has changed is not a question on quantity, but one of quality. Those fan artists now have tools so thay even the lower skilled artists can produce higher quality work.

Indeed, this is the real threat to artists from generative AI. Narrowing that skill gap is understandably threatening to those who make money with their artistic skills. I think trying to restrict the development of this technology is a losing battle. I think trying to do so by expanding the powers granted by copyright will exentuate the existing flaws with our modern copyright laws.

Instead, I'd prefer to solve that problem by reducing the strength of copyright. If we make AI generated or derived works un-copyrightable than companies that want to own copyright on their content will have to keep paying people to create it.
math, absolutely. the answer does not need to be completely wrong, just outside of safe tolerances.
I assume the grep compatible bit is attractive to some people. Not me, but they exist.
We don’t need “affordable housing,” we need the price of housing to be affordable.

The former is exactly the same kind of ungodly expensive , corruption filled mess as what this article is talking about.
How can visible light pass from a core of a star or planet to the outside, but some routers light not? I guess it's just super duper faint?
Thanks for that. I never thought of using YouTube Shorts (or even Instagram reels) as a language learning tool -- but you're right, Shorts are always subtitled, and the content is interesting too! (because algorithms)

It's easier to learn when you're actually interested in the content.

Other tools I use:

* https://www.languagereactor.com -- formerly Netflix for Language learning, a Chrome plugin for Netflix and YouTube for multi language subtitles.

* https://youglish.com/ -- search for YouTube videos with subtitles in the language you're learning. For shadowing and practicing pronunciation.
Okay, this solves a feature I was occasionally missing for a long time: searching for several terms in files (the "Googling files" feature). I wrote a 8 line script a few weeks ago to do this, that I will gladly throw away. I'll look into the TUI too.

(I've been using ripgrep for quite some time now, how does this otherwise compare to it? would I be able to just replace rg with ug?)
Based on the title I first thought there is an open source operating system used in Germany I was not aware of.

But is really true „Lüften“ is something we do in every room every morning here.

Luckily modern Bauhaus architecture style homes have windows down to the floor so that opening them is always possible because there is no sideboard with plants on top in front of the window.
Maybe you live in another universe than I do but over here nuclear fuel is neither "basically free", nor is disposal of its waste products a solved problem. As another commentator mentioned[0], handling nuclear waste already cost and will continue to cost billions and these costs rarely, if ever, get factored into electricity prices.

[0]: https://news.ycombinator.com/item?id=38819259
Injecting noise has many mathematically-sound interpretations, like the Bayesian interpretations of dropout for ensembling or posterior sampling.
I'd serve fake news en-masse to low IQ people who click things to feel good about their own views. I'd also build a handful of websites (ideally as many as I can personally manage) to flood the Internet with fake news clickbait.

One site clones fox news. One clones news max. And so on, cloning many news sites, sports sites, any news site. Automated, massive scale content farming. Think of the websites recommended by Taboola but, realistically, a whole lot worse.
X must face a lawsuit after staff accused the company of failing to pay bonuses
I'm not going to step through how many of these still apply, but this link hasn't been updated in 5 years and is referring to a version of the language discontinued over a year ago.
Yeah sometimes the little details can make or break a language or at least its popularity
Well if you take it to the literal meaning of the acronym its exactly what it is a digital audio workstation focused os
> What's bad faith about not wanting a defective product to be sold with your name on it?

Come on... If he was upset about the publishing quality he would have tweeted about that when he got the books, letting his fans know he was upset about it. He planted metaphorical bombs in these books and returned them! You know as well as I do he was looking for outrage, not book quality.
Structure the Unstructured: Introducing Taible by EmbedElite
As I said, there's no such thing as lower-paid Eastern Europeans. Whoever works in UK is employed under the same rules as the British. You might complain about expanding the talent pool but that's a good thing. If you think that expanding the talent pool is a bad thing, you can shut down schools and ban having kids to shrink talent pool in order to protect the current jobs.

Also, nothing sudden happened in 2016 about Eastern Europeans, Poland joined 12 years before that and Bulgaria and Romania 9 years.
I believe it was settled long ago that mere lists (e.g., telephone directories) with no creative content are not copyrightable in the United States. I'm not familiar with the Scrabble word lists, but if that's all they are I'd guess they'd fall under that ruling.

Dictionaries, on the other hand, are copyrightable because there's creative work involved in writing the definitions.
Currently around that price indeed on Steam Sale, and lower if you only look for Spy Fox bundle or Put Put or whatever you want. Very nice.
But a (public key) certificate is not a public key. A cert is a public key A (to private key a), signed by another key b, of which public key B is known. To rotate a cert means resigning the public key A (which is still derived from the same private key a).

Edit: relevant, especially flow2k's answer, which explains why this is _not_ just security theater https://security.stackexchange.com/questions/85963/what-is-t...
> I see the same trend with Google, Facebook, okta etc

Facebook doesn't have a Engineering office in India.
> This adds barriers to sell OSS software, which helps solidify existing markets and prevents new competitors from stepping up

All commercial software is included, I don't see how (commercial) OSS is somehow special. Did you read the article?
I much rather think about real history, there is more to learn from it for the future.
I was unaware of this act before reading this, but I kinda like it. My current employer wants to do the absolute minimum in securing the software they develop. However, it's used at in organizations working on national energy and communications infrastructure, so it's somewhat important for it to be secure.

Meanwhile, we're way behind on updating much of our infrastructure and hardly ever check whether any of the open source libraries we use are up-to-date, nor whether they're reliable. I really hope this legislation pushes companies like mine to improve their software development practices, because I'm scared of the future.
A function call is indeed a software abstraction. Outside of software nobody "calls" functions at all. That was my entire point.

In mathematics you have function application which is close to the idea of the function call. And this idea also doesn't exist in analog computing. Ironically, Mathematics does model what's going on in an analog computer on a field called signal processing. In signal processing it's called a transform.

>It’s true that analog has limited precision, though no reason you can’t represent higher precision via multiple analog signals,

You can't. The only way to do this with multiple signals is to make each signal represent a digit or a portion of digits of the final value. But if you did this you'd be going digital. You likely won't be doing binary but it's still digital.
Driving cars is regulated now. We have more than ever.
I use goto whenever I have the opportunity, which, sadly, is not that often.

I don't know why people don't like it -- it's essentially an unconditional jump (can replace all while(true);, for example).
It is though. Uranium is literally the majority of the earths mass under the crust. It produces so little waste relative to the space needed to store it, it’s basically negligible.
And what about when the rules are about where the shadow of the building will fall or how many parking spaces must be included? The regulations on building in most cities in the US are far, far more comprehensive than just "don't poison occupants or let the building collapse on them".
Which tech CEOs were fired for making the wrong call and overhiring?

I don’t mind eye popping executive pay for exceptional performance, I mind that those positions have zero accountability.
Ah, FinCEN.

We won't stop until you can't move a penny without notifying us.
>Then Disney Corp lobbied to fortify a moat around itself and since then: where are other Walt Disney's?

they moved to tech and become trillionarires instead of billionaires, I guess. I know we romantacize old Disney, but even some times in the 70's and 80's they were barely pulling it together. Art has always operated on thin margins

(which is exactly why Disney's biggest markets isn't entertainment. But that's a whole other rabbit hole).

----

but to answer your question more directly: depends on your scale. a few (I literally mean "can count the number on your hands") small creators became billionaires over their work, a handful became millionaires but didn't try to expand it into some corporation. others live a modest life in the solid upper middle class.

Very few people are trying to be corporations, especially artists. the skillsets needed to be a business vs. an artist are almost orthogonal.
Ubuntu 23.10 on Wayland, Firefox 119.0 from Snap, only extensions are uBlock Origin and Bitwarden.

Long weird pause.
Show HN: byline a vim tailwind CSS editor
Hello fellow hackers. I've reached that point in this little passion project where I could use some feedback. I'm a long time vim user and a recent student of the tailwind css system. I wanted a few things:

1. Never have to close a tag or type the word "class" or quotes.

2. See an instant preview of what the rendered HTML looks like on screen.

3. Use normal vim commands to make small edits.

4. Get a popup menu with common tailwind classes to add as you type.

5. Be able to "zoom in" to a child node and make it temporarily the root node. (Hit Enter for this feature, and up arrow to get back to normal parent node.)

I have it running here:

https://andrewarrow.dev/

Video demo here:

https://www.youtube.com/watch?v=E0dd9SzI9Ro

All open source MIT license:

https://github.com/andrewarrow/byline

You might think a lot of javascript/typescript went into this project but oh-no! This is all golang wasm (web assembly). Feedback most welcome on what features should be added next OR go ahead and tell me this is all just a bad idea for reasons x y and z. Please and thank you.
Say just “connection insecure”. firefox on ios
Every big enough company, is, for those not on the c-suite, a collection of 1000s of different companies with a single HR department.
In "Europe" (i.e. the continental protectionist bloc), even ISIS has the right to service.
Looks amazing, is it open source or is there a way to give it a try?
> language features like metaclasses, RTTI, properties, etc which allow the framework to register classes, instantiate them at runtime and inspect the class definitions so that serialization/deserialization and IDE features like the object inspector will work. AFAIK neither Go nor Rust have this.¶ The only language off the top of my head that has it is C#

Smalltalk and Objective-C?
The same thing I eat for dinner. I eat based on I get from work, that people are willing to pay for.

Not all my effort turned into dinners tho. And some types of work once paid for dinners but can't any more.

My #4 son is an artist/content creator. He eats based on what his non-art employment will buy. Perhaps one day people will find his art desirable and he could eat from that. It'll be a case where he worked long and hard on a project, was paid once for it and that's it for that.

That's what reality looks like for all artists - excepting a small percentage.

All that said, I really wouldn't want his dinner to come at the expense of everyone else being restrained by massive system of corrupt, draconian law that rigidly controls everyone's behavior for 150 years, primarily benefits wealthy and powerful rent-seeking corporations, is readily applied to censorship and is more likely to knee-cap other artists than to provide them anything like a living wage.

That seems indistinguishable from evil.
> That doesn't seem like what the CRA stipulates. I think it's more about manual attestation in its most traditional meaning, i.e, an organization attests that X software is secure.

CRA can require EU-wide recall of "products with digital elements" which are found to be non-compliant by national market surveillance. While we may analogize this requirement to the recall of slow-moving physical products with rare market withdrawal, software developers and attackers iterate more quickly.

Centralized software distribution like mobile app stores would have the ability to implement a kill switch (recall) on non-compliant products. Products which depend on centralized cloud services could have binaries verified before they are allowed to connect to an API. This would give regulators the tools to rapidly implement software "recalls".

(58) … significant cybersecurity risk or pose a risk to the health or safety of persons … market surveillance authorities should take measures to require the economic operator to ensure that the product no longer presents that risk, to recall it or to withdraw it …

(60) … market surveillance authorities should be able to carry out joint activities with other authorities, with a view to verifying compliance and identifying cybersecurity risks of products with digital elements.

(61) Simultaneous coordinated control actions (‘sweeps') are specific enforcement actions by market surveillance authorities that can further enhance product security.
OpenAI is selling access to their GPT models, and those models are outputting copyright material for me to consume... isn't that just as much of a violation?
It is actually kind of common in Germany that landlords attach copies of news articles about the need for correct ventilation or similar "notes" to rental contracts when handing them over to a new resident. Not exactly part of the rental contract (because it's not legally possible to dictate the exact ventilation cycle desires of the landlord in a rental contract), but still a very clear hint at what's expected of you.

I've never assumed anyone to actually do all of this excess ventilation, though...I've always been too lazy to "open all windows three times a day for five minutes each" (where the heck do people find the time to do that each and every day?), and the "solution" of just opening the window a little over a long period is so obviously expensive in terms of heating costs that I rather keep most windows closed most of the time (except bathroom after showers for obvious reasons).
Smoothness

Security

Updates for even ancient phones

Massively integrated ecosystem

Higher quality apps, even googles own

Best hardware