skysight-inc/HackerNews huggingface dataset:
Well I installed your npm and tried to integrate it, but no matter what every token is always " word" with a leading space, and it's isolating foreign symbols as standalone tokens. I tried different options to strip those or to not include preceding spaces but it's always that way. It's probably how llama3 tokenizes text but I can't get use out of it for my autocomplete library unfortunately. I would need more-or-less the tokens to be words or occasional phrases.

I really love that it is 0 deps and that you provided the npm, and would love to defer this part of my work to an efficient library like this.
It gets better:

> a management consultant wearing an engineer costume

> his expertise lies primarily in “failing up,” ascending through the ranks of technology on the momentum from the explosions he caused
An Applied Introduction to eBPF with Go
nope. manually.
Google is doing something similar now[0], both from a searchers and a site owners perspective.

Barry Schwartz regularly posts Google updates on his site[1], for over a decade no less. Since August 2023, those updates have been reaching the 500 mean comment range with many updates reaching 700-900 comment range. And this has been happening for 8 straight months!

People have been robbed of their livelihoods and many have caught strays, with the culprit being that Reddit, Quora, and LinkedIn have tripled/doubled their traffic.

I just don’t understand why Google can’t create a Discussions panel and let people decide what they want to view as opposed to flat out cutting creators off at the knees.

No content creator thinks to themselves, “let me go write my next article on Reddit”.

Now they are throwing AI in the mix also which is probably the dumbest thing they could have done, but I get why they are doing it.

I hope it clicks for Google soon that they are “fucked” and will never recover users they lost to OpenAI, etc.

[0]: https://news.ycombinator.com/item?id=40067605

[1]: https://www.seroundtable.com/category/google-updates
More importantly the divide comes when you have something that can be infinitely reproduced at marginal or no cost (software, videos, books).

In general even the software world is "order of magnitude or so" between top performers and everyone else, but there are still outliers where an indie developer goes on to sell millions.

What's interesting about the author world is you can perpetually support yourself on advances as "mediocre but not complete failures" if you can write enough. And who knows? Maybe one day it'll hit gold and your back catalog will become valuable.
> to avoid the debris reassembling into a satellite would require an amount of energy larger than the Moon gravitational binding energy, estimated to be 1.2 × 10^29 J.[2][3][4] This equals a bit less than 600 billion 50-megaton nuclear bombs, such as the Tsar Bomba,[5][4][2][6] roughly equivalent to the full energy output by the Sun in six minutes

That's 33.33 quadrillion GWh. Or about two trillion times the annual energy consumption of Earth.

If we somehow harnessed windfall energy on that scale, hmmm what to do, what to do... let's blow up the moon!

There is no way to store or transport the energy though, it corresponds to hundreds of millions of tons of mass fused every second. Instead you would have to somehow beam or guide the full power of the sun towards the moon for several minutes. Pretty cool light show, for those who dare to look up... but don't miss!
is netanyahu good for you? Maybe he underestimates a little.
https://www.politico.eu/article/israels-netanyahu-says-he-wi...

Also lancet says numbers are accurate. https://www.thelancet.com/journals/lancet/article/PIIS0140-6...

what is your evidence?
I think it's more like they think their $100 MRR side gig might eventually turn into a $1B company and they've already adopted the CEO mentality.
> Zoho started allowing African companies to pay for its software in local currencies. This decision has been a major reason for Zoho’s success in Africa as it allowed customers and potential clients to avoid regulatory hurdles around dollar spending

One wonders what they're going to do with the local currency, if they presumably also have to deal with the same restrictions.
There are plenty of links in the article to "emails released as part of the Department of Justice’s antitrust case against Google". I didn't read any of it as saying he was involved in those conversations, they're just conversations that have been made public.
Even if it was more expensive, it could still make sense. It could be a hedge against a forecasted rise in gas prices. They could be planning to add power generation and get long-term price stability. They could believe stricter regulations over emissions are coming in a lot of their markets.
This sounds like a press release from 2010.
I thought it was 2 years warranty across Europe now?
I am directly citing emails revealed in discovery as part of the Department of Justice's antitrust suit against Google. They're all linked in there too! And you can even see who was CC'd. It's a little confusing because some of them are part of one big, fat thread that you have to read from the bottom up.
So it makes pictures larger / smaller based on the screen width?

Usually what is expected is that with narrower screen, you get fewer columns, pictures are still same-ish size. You also need to keep the order of the items (e.g. on a wider screen 1, 2, 3, 4 are all on one row, with a smaller screen 1 and 2 are on a row, then 3 and 4 on another row).
How Is Workers' Comp Insurance Calculated in Construction?
Already part of the law in the EU. There's a minimum warranty of 2 years, and in some countries there is an additional "reasonable expectation" period. That $2000 fridge is expected to last 10 to 20 years, so if it breaks down after 5 years of normal use it's a manufacturing issue and they'll have to fix it.
Show HN: AI to notifies you when pain points arise that your product can solve
I've just built DeepGaze, a Discord AI bot that scans Reddit posts and comments in real time or from the past using a variety of language models to find leads for your product.

As it's a Discord bot, you can interact with it through the comfortable and flexible Discord user interface on any platform.

You can try it for free so take a look if you're interested. Your feedback is appreciated. Cheers!
The article has a bunch of links like this one: https://www.justice.gov/usdoj-media/atr/media/1322631/dl

If you follow them you'll get copies of email threads related to a suit against Google where the non-public information was revealed.
In other words, if you receive more than $3000 per year in US Treasury interest payments, then you're benefitting from this. If less, then you're paying for it.
https://en.wikipedia.org/wiki/Shaggy_dog_story
We should believe that because …?
I don't have as an emotional reaction, so it's not clear to me why in that scenario it wouldn't be on the city to make sure they're doing inspections at a rate that can keep up with development instead of slowing down development to keep a smaller budget?

The slowing of development is clearly a political tool that can be used to wield political power & favors. I'm not sure the consequences of removing that tool but it would be that. There's also a concern about budget because if the development pace keeps up enough, then queue management of outstanding orders is also a problem (although that's true today, it's a problem for developers instead of the government). It might be interesting to have statuatory pricing for scheduling inspections for specific times (e.g. if you need it by next Monday, the price is 10 000x, if you make a reservation for an inspection in 12 months, the price is 0.5x & if you reschedule there's a meaningful penalty) & having requirements that the inspection must be completed within X days of some milestone (e.g. the business being open). That way the budget problem and the development process are intertwined and self-funded without involving politics and limiting how much competitors can screw over each other.

Also, it's not all or nothing. Fire inspections are not typically the issue.

The bigger issue though is things like electrical inspections which are blockers since they have to happen before other parts of the process complete (i.e. hard to inspect electrical when the business is open and the walls are all finished).
Complete, not Turing complete. How on earth did you manage to add an entire new meaning into the discussion that wasn't there before? I'm getting flashbacks of the earlier comment that started randomly going off on some weird tangent about how tests don't catch all bugs.

Anything to avoid the actual topic at hand, I guess?
I very much like this.

I wonder whether this will eventually lead to collaborative proofs , and ‘ bug fixes’ , essentially turning maths into a process similar to code on GitHub.
I was just responding to that particular point in your post. I don't have any strong views either way on homeschooling.

However, that being said, for math in particular, some of the curricula available to homeschooling parents are truly excellent, especially Beast Academy, JUMP Math, and Singapore Math.
[dupe]

More discussion: https://news.ycombinator.com/item?id=40117599
If, hypothetically, USA has an unequiratblemsociety that left half the county behind, then we'd expect half the country to say that moving toward equity is moving in the direction.
Addendum:

>> Do you realize how much more data and compute it would take to train a Vanilla RNN to say GPT-3 level performance?

Oh, good point. And what would GPT-3 do with the typical amount of data used to train an LSTM? Rhetorical.
This post and siblings all have maybe the most pro-zionist historical reading of the Nakba imaginable. Look into the Irgun organization for instance and you'll realize that the first Jewish settelers in palestine where incredibly violent against native peoples, and the war of 1948 was not entirely unprovoked.

I also have to clarify that I do believe Israel has the right to defend it's interests and retaliate against enemies. That does not make their actions moral.
I live in a t10 US metro by size, and we don't have the reservation scramble I've seen in other cities, even at fine dining restaurants.

So it doesn't feel like something inherent to the fine dining enterprise, but rather present or not in certain cities.
[dupe]

https://news.ycombinator.com/item?id=40117599
I'm trying to think back over "new releases" that I've read, and ... all of them have been by authors that I had already enjoyed reading some of their works.

It would have to be a technical book on a subject I'm interested in (and even then moderately rare) or something that someone I know well personally strongly recommended.
It would be interesting to know what the net gain is. Obviously there is the materials and labor cost of installation, but then you also have the battery cost. I assume most of the trucks are out during the day, so you need batteries to store the generated power until the truck can be charged at night.

And does Amazon own the warehouses outright, or do they lease them?
> Manufacturers will have to provide spare parts and tools at a reasonable price and will be prohibited from using contractual clauses, hardware or software techniques that obstruct repairs. In particular, they cannot impede the use of second-hand or 3D-printed spare parts by independent repairers, nor can they refuse to repair a product solely for economic reasons or because it was previously repaired by someone else.

That's wonderful !
He left Amazon a few months ago to do a job where he could spend more time focusing on Krazam! Check out the Patreon! They are both getting super serious and are hopefully going to put out more great content soon!

https://www.patreon.com/KRAZAM
If you take students of equivalent socioeconomic status, then no the homeschooled doesn't perform better on average. They tend to do better on social subjects and worse at STEM subjects, but on average the results are the same.

Shows that STEM education in school is the most important part of school since the rest you can learn better at home, so homeschooling is significantly worse at the most important part that the student wont just learn as an adult on their own later.
It is. And how could it not? It's mostly a single payer babysitting program.

Teachers can't do anything about unruly children except call the police. A whole class has to slow down to accommodate the below average kids. We spend our first year in school playing around and singing the ABC song and drawing purple and green dinosaurs. Educational science has advanced far beyond the Prussian model, but we have to navigate a bureaucracy to change anything, there's no way to keep up. And their chant is "we can fix it for more money."

We live in a time now that you can access any and all information that is known to the public on a whim for free. This is very new for us, so people don't know what to do with it. You can, right now, with just a laptop, give your kids an education that even 2 generations ago most people didn't even know enough to be able to dream about, for free. You can educate yourself on any topic to any degree of depth that you like. Institutional education is obsolete. People will be competent from now on to the degree their parents care to teach them. That is with or without public schooling.

I'm putting together an education plan for my infant son, that I intend to release to the world once he has had a little go at it, for free. It uses FLOSS software and publicly available information, I'm going to rely heavily on Anki. I intend to teach him how to read starting at the age of 2, and I expect that by the time he is 5 he will have a handle on reading, a decent vocabulary, and basic arithmetic at least, I'm shooting for basic geometry as well. Writing and typing also. My goal is to have him educated at a high school level by the age of 12, with just 3 hours a day of "schooling." I'm pretty sure I can do it, the bar is very low.
This is not necessarily true in the age of remote work.
No-one is suggesting that that person should be duplicated a hundred million times and drive two tonne objects through every city in the world, you see. "Magic driving robot does stupid thing" is a much more interesting story than "arbitrary human does stupid thing", because the end goal is to have _a lot_ of the magic driving robot.
Building LLM-powered applications in Ruby
Yeah, linguistic difficulty is almost always relative - I can learn French or Dutch much more effortlessly than a native Japanese speaker. A native Korean (I'm guessing?) speaker would definitely have a leg up when learning Japanese that they wouldn't have with Mandarin, and that a native English speaker doesn't have with either.
It's not a bad idea to consider an outsider's perspective of a completely alternate structure and to experiment when things aren't working. Focusing just too much on insider expertise can narrow your focus to in-the-box thinking and encourages the status quo which benefits those insiders. You're right that you should consider the expertise of insiders - you need both groups working in tandem.
> reselling digital goods in a way that doesn't allow you to resell to multiple people isn't a solved problem.

Replace "digital goods" with "artworks", and yes it is a solved problem. https://en.wikipedia.org/wiki/Certificate_of_authenticity
> books not recouping their advances

This is in fact a feature, not a bug.

Traditional publishers consider a book to be a "success" when it has recouped about 70% of its advance. Publishers prefer this situation because advances are a fixed cost and by holding down royalties (which they essentially refuse to negotiate on except with the most successful authors), they earn big money on the few books with low advances that do really, really well.

This means that authors have an incentive to negotiate as large an advance as possible; so from an author's perspective, if you have earned out your advance, it means you have failed to capture as much value from your book as you could have (and/or, you are a runaway best-seller, so you will presumably negotiate better the next time).

Source: CEO testimony from the trial transcripts in the antitrust case against the merger of Peguin Random House and Simon & Schuster. Available here if you're interested (disclosure: I have no interest in Publisher's Lunch, and the transcripts may also be available publically): https://shop.publishersmarketplace.com/

Edit: it is funny to see in the trial that some authors and agents clearly do not understand this, even with having it being explained by the CEOs of publishing companies earlier in the very same trial.
> "Dissociation from Birth" section sounds interesting until you learn that all alphabetic systems arose from a similar process, e.g. aleph was a drawing of an ox's head, etc.

My understanding of Korean (Hangul) is that the alphabet design is based on the shape of mouth in articulation, sonics, category, etc. of the letters themselves: https://en.wikipedia.org/wiki/Hangul#Letter_design

This is known generally as "featural writing system": https://en.wikipedia.org/wiki/Featural_writing_system
I still consider biological life as the best ‘robot’ because it can create more of itself.

As long as robots are incapable of recreation I don’t see the threat.

One could say all maschines today are infertile.
This is accurate in my experience. My two self-published history books have sold about 400 and 150 copies respectively (combined print an ebook), with no marketing other than my blog, which occasionally makes it to the front page of HN.

Note that this is purely a 'hobby' project at this scale. Both books are still in the red counting just the expenses paid for cover and interior design, illustrations, and editing (i.e. not counting the many hours of my own time). To make a self-sustaining amount of money self-publishing I would have to sell a lot more copies and make books that can be written with much less effort (e.g. genre fiction).
Future of Safe
There are agency and executive order level rules forbidding insurance from covering/paying out for those types of losses.

Though given the size of involved parties just about anything can be waived (especially with legal threat of an agency losing power over a court striking it down).
[dupe]

Official post: https://news.ycombinator.com/item?id=40101911
For whatever reason, spending money on schools seems to be more palatable to lawmakers than some other things that might have a better outcome. For example, something like school lunches, which have a huge benefit [0] is under fire from certain politicians [1], even though these programs have near universal appeal. It's a similar story for the child tax credit.

0 - https://www.rockefellerfoundation.org/report/true-cost-of-fo...

1 - https://theintercept.com/2024/03/21/house-republicans-ban-un...
my thoughts exactly - i think this points to a possible naming issue, since "masonry" is a relatively vague alias that does not really describe the underlying layouting logic, it just became ubiquitous enough for people building webstuff to understand because of that one jQuery plugin back in the days.

A better approach might be to lean on the "grid" naming, but still silo it off via an own display directive (a bit like "block" and "inline-block" have shared properties, but also mutually exclusive behaviours)

So maybe an own `display: flex-grid;` could be an interesting solution?

This separate layout mode would avoid "result-specific" nomenclature like "masonry", and could lean on both flexbox & grid to achieve that look:
- using `grid-auto-flow` to set a "masonry axis" & distribution logic
- using _either_ `grid-template-columns` or `grid-template-rows` to specify the "lanes"
- and to make my frankensteinian display-mashup even worse (or genius! for you to decide), the grid items could in turn abuse `flex-grow, flex-shrink, flex-basis` to control their height/width within the main "masonry" axis
> Since the sounds per character are 1-1 and the semantics are very clean you can get a lot out of a text by looking characters up in the Unihan database.

You probably got a lot of wrong meanings this way. The characters aren't 1-1 mapped to sounds and their semantics are profoundly context-dependent.
More enterprise-grade features for API customers
The shutdown of Reader killed RSS. Not the tech, but the ecosystem.

It wasn't that there were no other RSS clients, but Reader was extremely dominant and there was no strong immediate contender with enough reach and quality to carry the crown.

The (IMHO planned) idea was replaced with 'social networks', which would offer total central control and far more monetization potential for the intermediaries/operators.
r/meatcrayon
How do you find coding outside different?

Honestly curious, as it's been more distracting to me, the times I've tried it in 2D form.
A big problem with dating apps (IMHO), is how they serve as data collections mechanism for advertisers. It's almost impossible to use them effectively without giving them tons of info (who you are, how old, where, what you like and don't, social networks), and for the use case that makes sense for the most part. But I'm not aware of any privacy protecting service that doesn't funnel your data to data brokers.
It's one thing to analyze it. It's an entirely different thing to let a machine of dubious abilities create new DNA.
Posted a different comment further in, but in my opinion it doesn't factor much.

For example, right now the USA is quite progressive in general with gay rights compared to many places, which is great, but I would not support the US government invading other countries, or going back to colonization etc.

I can see those two might be opposed if what you wanted was LBGTQ rights at any cost. But for me at least war, and especially one-sided war, is the bigger injustice and other issues are secondary to that.
Excellent, thanks for the parsing help. :) I didn't find anyone lamenting that Brother had turned to the dark side, so I remained hopeful.
> being able to think critically.

That was strongly discouraged long ago when I was in school. Completely unheard of when my daughter was in school. Sounds like you're grasping at straws here; standardized test scores are pretty terrible but you're suggesting kids are able to think more critically now that they can't do arithmetic?
If you are making $3000 per year in US treasury interest payments, you are likely paying far more in US taxes, part of which will fund these interest payments.
The nuance is a bit different. With what TFA is talking about with furigana, the implication is that whoever is speaking has said one word but pronounced it like another. That doesn't really make sense in English but with JP and kanji having lots of readings it's kind of a normal way to think.

So in some cases it's really no different from a footnote - e.g. in the JP version of Neuromancer there are bits where dialogue has the word for "immerse" with the furigana "jack in", and the effect is that the character has said the in-universe slang, and the base word is giving the reader a sense for what the slang means.

But if a character says "She's my friend" and "friend" has the furigana for "lover", or vice-versa, the effect becomes very different. You can think of it as one word being in the speaker's mind and another coming out of their mouth, or maybe as the character saying one thing and the author telling us another.

I'm not a native speaker, just fluent, but anyway that's how it works in my mind.
Why would you feel shitty about using ‘display:table’?

It puts things into a freaking grid as you asked for.
Telling people that they should have fewer children because they've been oppressed too much already, is not cool.

If you want well resourced parents, give parents back the resources that were stolen from their families.