skysight-inc/HackerNews huggingface dataset:
Does the "Tera" prefix mean something else in Japanese? Did they intend its English transliteration to be so... misleading?

Does "Tera" here have something to do with the triple-processor nature of the system? Because there sure isn't any terabyte storage involved!
In germany, there is a current case going on where one ministry sues another, both with taxpayer money, obviously. Has led to to funny media reportings.
This was not meant as criticism for rust in particular (though, while it shouldn't be the default behavior of strings in a systems language, surely at least the official implementation of a wrapper should exist?), but high level languages with ton of baggage like python should definitely provide the correct way to handle strings, the amount of software I've seen that are unable to properly handle strings because the language didn't provide the required grapheme handling and the developer was also not aware of the reality of graphemes and unicode..

You mention terminals, yes, it's one of the area where graphemes are an absolute must, but pretty much any time you are going to do something to text like deciding "I am going to put a linebreak here so that the text doesn't overflow beyond the box, beyond this A4 page I want to print, beyond the browser's window" grapheme handling is involved.

Any time a user is asked to input something too. I've seen most software take the "iterate over characters" approach to real time user input and they break down things like those emojis into individual components whenever you paste something in.

For that matter, backspace doesn't work properly on software you would expect to do better than that. Put the emoji from my pastebin in Microsoft Edge's search/url bar, then hit backspace, see what happens. While the browser displays the emoji correctly, the input field treats it the way Python segments it in my example: you need to press backspace 7 times to delete it. 7 times! Windows Terminal on the other hand has the quirk of showing a lot of extra spaces after the emoji (despite displaying the emoji correctly too) and will also require 11 backspace to delete it.

Notepad handles it correctly: press backspace once, it's deleted, like any normal character.

> Of those 3 iteration methods, I’ve personally used UTF8 encoding the most and grapheme clusters the least.

This doesn't say anything about grapheme clusters being useless. I've cited examples of popular software doing the wrong thing precisely because, like you, they didn't iterate over grapheme clusters. That you never use grapheme iteration might say more about you than it says about grapheme iteration being unneeded.

The dismissiveness over more sane string handling as a standard is not unlike C++ developers pretending that developers are doing the right thing with memory management so we don't need a GC (or rust's ownership paradigm). Nonsense.
Nobody who is skiplagging is checking bags. If someone is a no-show the plane should not be held back to wait for them. The ground crew can call out their name a few times but when it is time to leave close the doors and leave.

The part about skipplagging causing scheduling issues for deadhead is irrelevant as it doesn’t actually cause scheduling issues, the crew will deadhead on the path they were always planned to do and skiplagging does not affect that.

Airlines could make these problems go away if they charged a consistent fee for each hop, but they decide to instead hang super shitty itineraries over your head hoping you will shell out more money so you don’t have to sleep on a bench in JFK.

Maybe air travel should be treated like a utility where you pay for transit between locations and the airlines need to offer a fixed cost for those transits. The prices can of course fluxuate based upon demand and other external factors like fuel prices, wages. But the airline should not be able to charge different prices based upon where you are coming from and where you are going, or what IP address you bought the tickets from, or your nationality, etc.

I understand that this will most likely make multi hop travel more expensive and single hop travel less expensive, and I think that is a worthwhile tradeoff.

Speaking of the environment, imagine if people could take single hop flights more often because they are cheaper than shittier multi hop itineraries. Right now people will take routes which are much less fuel efficient and much worse for the environment because the tickets are cheaper.
The issue is a memory safety issue, which Rust aims to protect against.

But I am not saying Rust is bad. My issue is the complete unreasonable exaggeration in propaganda from "C is completely dangerous and Rust is perfectly safe". And then you discuss and end up with "Rust does not protect against everything, but it still better", which could be the start of a reasonable discussion of how much better it actually is.
If trade opened up you think money would flow to the people? The military dictatorship controls absolutely everything.
This is assuming their issue is the electricity plants and not fuel supply
I've seen some founders have success by connecting with enterprise champions and decision-makers through networks like the one at https://buildrappo.com/founders
whispers *no-one can*
It’s exploration of new lands
> unauthorized use of any kind was already forbidden

Is a funny sentence to have to say. Is unauthorized use also unauthorized?
i remember satya saying “we have all the rights and capabilities” once microsoft believed they owned sam.

not a healthy dynamic.
> read a series of books that really force your attention on to these abstractions

yes yes yes

as if the wet organic neutral net would "learn" a new model from the presented material and distill a solid new network to recognize the patterns in the wild.

and rarely is the a single outstanding meta book that already "wham" uploads such a net it into our little sensing apparatus.

thanks :-)

and thanks for the suggestions :-)
I wonder if people downvoted this because they took it as some kind of political point about COVID-19. Maybe it was, but I agree with it as a serious proposal. Even if the government is not confident in its ability to get people to accept vaccinations, it should commit to pay for the doses either way, to incentivize the development of the vaccine. In general, a contest or prize is a smart way to fund a public good. Among left and right economists, this is one thing most would agree on.
To learn something about primes.

Perhaps there is a pattern or a way to more-accurately predict which numbers will be prime.

Also, it is cool.
Why do you seem so opposed to regulating away this kind of behaviour?

Like what's bad about fixing this growing issue with regulation?
Hello, while we're on the subject of pricing, the Stackblitz pricing page for Personal says:

> Plus all the features of Bolt Personal

The Bolt Personal link brings me to the Bolt pricing page, but I do not see the Personal plan :-P
You realize tautology is a logical fallacy, right?
Is there good screen time and bad screen time? For example, suppose I'm the type to have my nose buried in a book for 8 hours straight until the book is done. Or suppose I'm the type that is always reading a book and spend 3 hours a day reading. Now, instead of it being paper, its a e ink reader. Now, instead of that, its koreader on my phone. Does being a bookworm become a bad thing just because it's done with a phone?

Suppose you never use a phone, but you spend all your free time watching Netflix or playing diabolo 3. Are you better off than a phone user?

I think ultimately it matters what you do with your phone. Are you scrolling Facebook or reddit? You've probably gone past the peak of the value in doing that many hours (or years) ago. Are you video chatting with loved ones? Not as good as being in a room with them, but still not a bad thing to be doing. Are you reading scientific papers and discussing pure mathematics on a mathematicians forum? Are you spreading valuable information to people who need it?

I think, the only thing that makes a desktop better than a phone is that you can write code on it. You can be more productive. Beyond that they're just tools, what you spend your time doing is what's important.
My city has this, and Road A and Road B are listed in the same category :/
Sure you can. Ideas are free. Most are bad, some are good.

Offering ideas improves your upside while having no downside. It costs you nothing to offer them, and you lose nothing if not hired.

Of course the wrong ideas may harm your chances of getting hired. I'm always wary of youngsters who think 'we're doing it all wrong and they'd change everything '.
> FWIW, regular folks now say "let me ask Chat" for what it used to be "let me Google that"

I have literally never heard that from anyone, and most everyone I know is “regular folk”.

I work in (large scale) construction, and no one has ever said anything even remotely similar. None of my non-technical or technical business contacts.

I’m not saying you haven’t, and that your in-group doesn’t, just that it’s not quite the cultural phenomenon you’re suggesting.
> This is a bit of a side note, but heat isn't a benefit. I know we tend to think of hot areas which get a lot of sun as good places for solar plants, but today's solar tech loses a lot of efficiency to heat in temperatures above 25 degrees celsius. By a lot I mean that we don't even build parks in areas that go above 20-25 degrees if there are no outside incentives like green tariffs or NGO support.

Would you be willing to post some references on this? I trust you know what you're talking about, but I'd like to read more. I thought 25 deg C or 77 deg F was the peak efficiency temperature and typical panels slowly lost efficiency on either side that. I didn't know of anywhere in the continental US that was always below 20-25 C.
I hope Matt gets the psychological help he needs. However, the fact that people like Nicholas Garofalo are enabling his behavior through proxy blog posts like this, instead of helping him realize that, even if he was right at one point, he went completely off the rails somewhere along the way, will only make his upcoming reality check that much harsher. Good luck, Matt. Really.
Hmmmm average car uses 489 gallons a year. Large private jet uses 500 gallons an hour. There are 9125 hours in a year.

So if Elon lives in a jet that flys 24/7 you're only very wrong. Since that's obviously not the case you're colossally and completely wrong.

Remember that the next time you try to make an argument that Tesla is not an incredible force for decarbonization.
I'm currently using json patch in a work project for undo/redo. The patches and their inverse are being collected by `immer`, which can hand you a proxy and record changes made to it.

My plan was to dig up an operational transform implementation on json patches to implement collaborative editing when we decided we need that feature (we don't need fine grained editing of text, but we do have arrays of objects).

I'm now evaluating automerge - it seems to be performant enough and not likely to disappear.

(I can implement OT, but I won't be on this project forever and need to leave something that less senior devs can work with and maintain.)
If there is a problem with trust, in human-made technologies there will always be a link in the chain where trust can be violated by a human; the higher up the chain the link, the bigger the impact of the violation.

On the other hand, if there is no problem with trust (humans are all nice to each other), then trying to enforce trust through the straightjacket of Worldcoin and other blockchain technologies is a complete waste of resources.

And it’s more than just waste. There is a well-known labeling effect in psychology, where the way people are treated affects the way they act by making them subconsciously adapt to what is expected of them. (If you are treated as if you were dumb as a student, your actual capability and intelligence may not even matter: unless you happen to be sociopathic enough—no judgement, welcome to the club—it becomes your persona; later, every verification in daily life is a subtle invitation into the mind of those abusing the system and benefitting from it enough to warrant the extra checks.) It always makes me think about the implications of such technologies becoming part of the fabric of society where all humans are treated as inherently untrustworthy.

Making it more difficult to violate trust, with appropriately increased payoff, is never the solution—it only raises the incentives. The solution is to work with humans, understand what causes us to want to violate it in the first place, and treat them as inherently trustoworthy by allowing violation at lower levels where the impact is smaller.
It looks neat. One aspect that I didn't quite get from the clips was accessing "distant" documents. Let's say I work with two files. One file on the very surface and another a few levels deeper. Do I need to zoom in and zoom out all the time to compare the documents? In other words, is there an equivalent of two windows opened next to each other, even if the documents come from two very different locations?
... and that is the short, not preachy version ;)
And the wealthy country here just means United States. It is the only country where pharmaceutical companies could sell their products at any price.
Huh? A tautology is a statement that is automatically true by the laws of logic.
That's great! So talk about that stuff instead of bikeshedding what people should call him.
Ask HN: Career Advice (Need Help)
This is my first post here so I apologize if this is deemed a low quality post, breaking rules, etc..

Anyways:

I recently graduated university getting my CS degree and I am having a brutal time finding a job. We've all heard the story and I understand theres plenty of people in the exact same position I am.

I know the market is terrible, and I'm not necessarily in a unique position but at this point I am not sure what to do. I'm a bit afraid I will be stuck in the exact same spot, prior to starting university with nothing to show for it. I would love to get experience working a SWE job.

My days consist of constant leetcode grind, applying to jobs, and building side projects (although less now since leetcode has been consuming my time).

I feel like if I invested all this time into building real software/products instead of mindless leetcode grind I would have things much more impressive to show for.

The reason I'm posting this on HN is because entrepreneurship/building a business has always been the main goal of mine, beyond getting a nice job.

I would love to go all in on building my own software to provide for myself, but as an unemployed new grad, I feel I don't have the SWE experience nor the income to invest into my ideas.

Can anyone provide some wisdom and guidance on my situation? Or if anyone is also in the same position as me, i'd love to hear your thoughts too.

Thanks for reading and for any replies :^)
Of course they can sell the seat - airlines oversell all the time since they know some people won't show. Just need to predict that with a few statistics and sell some extra tickets for the skiplagged leg. I think airlines should be required to make tickets to intermediary destinations no more expensive than the same class fare to the final destination then there is no incentive to book a skiplagged ticket and it would benefit consumers in less competitive markets. A case of a good regulation. Right now fares to popular competitive destinations are subsidized by price gouging on less popular destinations.
looks like https://en.wikipedia.org/wiki/Sintashta_culture is current best candidate?

I'm very sympathetic to the view that the (longue durée!) progression was eating->chariots->riding, especially as we have some evidence that for quite a while people had tried to ride horses like they already rode donkeys, back closer to the croup.

(also, several generations of previous domestication probably helps a great deal to first catch whatever equid you're experimenting with riding)
What can Cuba offer? Same problem with Haiti, what can Haiti offer? Not even China seems interested in paying peanuts for them (The way they are buying Nicaragua and Venezuela)
The real agriculture revolution only started in 1913 with the invention of the Haber-Bosch process for manufacturing fertilizer from fossil fuels. That's what really enabled excessive carbohydrate consumption for common people. Before that, humans were barely scraping by and it was still common for poor people to starve to death, even in relatively advanced countries.
the idea of a deep-nation-state-cold-war psyop campaign bluffing and escalating math proofs is so goddamn hilarious, apt, and ironic it would be almost better than the mistake of pissing off the Aliens by offending them with math homework.

"Shizuo Kakutani joked that the problem [Collatz conjecture] was a Cold War invention of the Russians meant to slow the progress of mathematics in the West."
https://en.wikipedia.org/wiki/Plan_9_from_Bell_Labs since the author seems to be confused in this regard.
Using the metric from the documentation[1] they would both be LTS-3 with Road B varying from 42% to 60% and Road A at 50%:

Both are over 35MPH; Road A is 2 lanes with an unbuffered bike lane and Road B is 4 lanes with most (but not all) stretches having a buffered bike lane.

1: https://www.dvrpc.org/webmaps/bike-lts/pdf/bikestressdocumen...
I didn’t know “skiplagging” was a thing, but I actually did it once myself and almost got in trouble for it.

1. I booked roundtrip A → B → C and C → B → A.

2. I skipped B → C because I needed to spend a few days at B.

3. I booked a separate one-way B → C which was cheap because it was a short hop.

What I didn’t realize was that the airline canceled my C → B → A return trip when I skipped B → C. Fortunately, I discovered this early when I spoke to customer service about an unrelated question: the airline kindly explained to me what happened, warned me not to do it again, and rebooked my flight back.
Can you share the article with a non-subscriber?

Edit: the name of the article is catchy: "China is not Cuba’s sugar daddy’: ties between communist nations weaken"

Edit2: This is a summary of the FT article in spanish by a cuban newspaper. I suppose the most important arguments and data are included here
https://www.14ymedio.com/internacional/china-senala-falta-vo...

Edit3: Thanks for the transcript. And someone shared the article here https://archive.ph/tz2Sf
I see that makes more sense. It is an upgrade to passwords, but in an ideal world we solve the other half (two factor) too.
Ideas can't be stolen, they are not property.

To turn an idea into property you have to take out a patent. Then you have property. Usually ideas are not patentable because they've been done before.

I sympathize with you not getting the job, but don't worry, you'll have other ideas.

Ideas in themselves have no value. The ability to have ideas is good. So instead take this as encouragement and move on to the next idea.
What's your reasoning here?
> You can't use non-typesafe junk when lives are on the line.

Their words, not mine. If lives are on the line you probably shouldn’t be using linux in your medical device. And I hope my life never depends on a medical device running linux.
Hard to say. It might be simply a supply problem- most movies, books etc. don’t really promote this vision of humanity’s place in the world, so it indeed might be a question of accessibility. Historically, belief systems definitely had a wide range of “content” aimed at different levels of society.

But there also seems to be a real interest in “spiritual” needs, whatever that might mean in particular. And so a purely scientific approach may not be enough in the first place.

Personally I think it may be too much of a past-focused narrative to be very compelling. Most successful religions have a vision of the future, not merely the past.
BTW here's a Russian chat about administrative processing, check it out:

https://t.me/usadminvisaprocessing
I'll grant that communism makes it easy for a single person to have all the power, but "one single person in power can ruin everything" is not exactly unique to communism, and I am unconvinced that it explains why communist nations tend to stay poor.
Rewriting fdupes in Rust – 22x speedup
I turned 40 recently and it was the only devastating milestone before or since. No excuses: I blew that.
Anybody with billions of database queries thinks about them.
While I acknowledge that JSON Patch can be useful in certain contexts, I find that there are far better alternatives, particularly for the scenarios I encounter. Specifically, when using kustomization.yaml to generate slightly different Kubernetes manifests for various environments (dev/staging/production), tools like jsonnet offer superior functionality and flexibility.
Twitter? Give it time?
Cuba's exports are $2B, Haiti's exports are $63M. They are a little different.
I haven't used it, but have gone through their issue tracker and seen a lot of comments to this effect here and on other internets places. (Unverifiable: also some hearsay from colleagues)

Not saying they're doing it wrong, it just seems they have some different stability vs performance tradeoffs than PG.
Incompetency 100 times over.
A/A Test
[ I have used express in my last company, and I am asking this as a user who had used it and found it to be really pleasant to use ]

I am really confused by this. Is it really that stable ? For any software that was released this back, I would have thought its abandoned. Are there no features that the community had demanded in this time
Also 0. Add Rss feed
> Only 4% of US bankruptcies are because of medical bills

I'm going to hazard a semi-informed guess (I grew up in Switzerland, live in the US), that 0% of Swiss bankruptcies are because of medicals bills.

And https://www.amjmed.com/article/S0002-93430900525-7/fulltext disagrees with you, claiming 62% of US bankruptcies are due to medical bills... (other links report somewhat lower figures, e.g., https://www.self.inc/info/medical-debt-bankruptcies-statisti..., but definitely nothing as low as 4%).
The Age of AI Child Abuse Is Here
It gets even more amazing than that. Look at this bit from my GitHub Actions: https://github.com/ncruces/go-sqlite3/blob/fefee692dbfad39f6...

I install QEMU (I have the same setup locally), then it's one line each to run unit tests for: Linux 386, arm64, riscv64, ppc64le and s390x.

With QEMU installed, all you have to do is:

GOARCH=bla go test ./...
Can you elaborate this comment? Haven't used Perl in the last 12 years, so I fit the persona of "living under a rock"
Their main economic source was tourism which US has successfully strangled (rolling back the relaxation from Obama era)

https://www.yahoo.com/news/travellers-visited-cuba-last-11-1...
I have yet to meet an employee of a weed shop that wasn't an absurdly enthusiastic stoner. I don't think they mind.
Turns out a 330MW problem only costs about $300M to solve https://www.tesla.com/megapack/design

What a world we live in!
For sure, but there different degrees of behaviour. Individuals everywhere are ultimately driven by a survival-of-the-fittest instinct, but some cultures do a better job of creating a negative pressure in the interest of collective benefit. The clearest way this manifests is in the queue system, where some places are better able to queue up when a need arises and some places absolutely cannot.
But does it run DOOM? ESP32 ZX Spectrum update
For a tool you run locally, a GPU could be an easy win. But most Go code is probably run on cloud servers. Adding requirements to your runtime environment isn't something to do lightly.

- SIMD: up to 400% speed boost, most likely on the same VMs you were already using

- GPU: orders of magnitude faster, but now you need to make sure your cloud servers have compatible GPUs attached

If you really do need crazy performance then it's worth it. If you're already stable and right-scaled and SIMD allows you to reduce your VM spend by 25%, then you probably just take the savings and move on.