skysight-inc/HackerNews huggingface dataset:
I can say that if someone is sold on Python, you’re not going to convince them to move to Rust but you might convince them to move to Go. Why? Go provides better performance than Python but without the language and keyword complexity of Rust. There’s less language to learn.

That said, the more interesting question is TypeScript vs Rust. I can see how the complexity of C++ naturally leads folks to Rust. But I’ve had a hard time choosing Rust over TypeScript when trying to implement a basic service.

It’s absolutely true that Node.js web servers aren’t optimized for multi-threaded data access times and the Node.js event loop can get in the way of responsive performance.

But at the same time once you build, for example, an HTTP 1.1 web server for Node that is similar to what you’d build using semi-unsafe code in Rust and ships by default in Go standard library, it’s hard to say that JS is any less efficient than Rust when both are generally written to use async/green thread runtimes, make calls using a pool of Postgres or database connections, and either have PG return JSON or otherwise reshape and assign the results to a data model.

Given more computing power, Rust obviously wins, but if you’ve a single thread to work with, and a small buffer so after each web request is served, GC can do its thing… where are the tangible Rust benefits besides maximum speed?

I suppose I’m cheating by suggesting you could use Actix to power your Node application, but the problem I’m facing is that Rust is really complicated to learn and there are few frameworks that make it easier. The amount of published and shared knowledge there is around Go, PHP, TypeScript, Python and Ruby is enormous. Yes, Rust is clearly easier to learn than all the warts of C++, but it feels like Rust hasn’t gained enough traction to convert TypeScript fans, for example, or at least those building APIs and front ends.

I’d really like to be convinced to use Rust because of how easy it is compared to TypeScript but I haven’t seen anyone actually suggest that in practice. Go? Yes, it’s easier to learn than to understand both JS and TS and you can put up with the lack of generics by having more verbose code compared to TypeScript. But Rust? Is it just the case that these other languages are more mature such that all the blog posts have been written?

Also note that the hardest problem when getting started in any new language is package and framework selection. Unless you follow a book that has already picked a handful of packages such that you’re happily falling into the pit of success, I recognize that all languages (except maybe Rails or Spring) force the user to make hard choices upfront about their dependencies. But the only book I’ve seen that presents a coherent narrative for Rust APIs is Zero2Prod[1] and I’d feel more confident if there was at least one other similar set of learning materials.

1. https://www.lpalmieri.com/ for the book published as blog posts, https://www.zero2prod.com/ to buy.
I can totally see how this kind of convenience might hinder learning. For me, the fact that “&a” does so much magic type conversion stuff had a similar effect. One thing I sometimes find helpful is to run an IDE (like VS Code with the Rust Analyzer plugin) and hover over every single variable to see its type.

Out of curiosity, since I expect to give a short Rust introduction in the near future, what was your language background when learning Rust? How familiar were you with C-style pointers and/or C++-style references?
I’ve got a Poljot de luxe that was made for export (English text on the dial) from the 70s. I am pretty impressed with it on the overall - for the time it’s very thin, reasonably accurate and has an elegant timeless look to it.

> He believes that mechanical watches were created by the best minds of 18th and 19th centuries. "Many modern watchmakers admit that we will never match them," he adds

I think there is some pretty innovative stuff coming out of Japan right now. The high accuracy quartz models from Seiko (under the Grand Seiko brand) and Citizen have insane accuracy measured in seconds per year.

Of course if you want to limit the discussion to the mechanical realm the Spring Drive is for all intents and purposes a mechanical watch with an electromagnetic quartz feedback loop slowing the unwinding to the correct pace to keep time. Not as accurate as the full quartz but very impressive and it truly glides (instead of ticking).
I am honestly surprised at the lack of abuse this service is getting, as a recent post to HN about a similar service offered an email-to-post service, was stuffed full of spam posts.

I love the URL-as-a-real-place concept too, makes me think back to old Geocities URLs.
They are not that stupid
In addition to many issues already raised, there are definitely more hidden ones like Santa Monica, CA being less affordable than Palo Alto or even Sunnyvale.

Santa Monica is actually quite a bit cheaper, but the methodology compares ratio of local incomes to housing prices. Santa Monica is heavily rent controlled and over 60% of people living there rent and many have rents that are far far below the market. This skews affordability ratio the article is trying to use.

Compared to Palo Alto, Santa Monica is a bargain. According to Zillow, Palo Alto median home price is $3,226,001[1] vs $1,810,148[2] in Santa Monica.

[1]https://www.zillow.com/palo-alto-ca/home-values/
[2] https://www.zillow.com/santa-monica-ca/home-values/
U.S. Senate panel approves tech bill to address China
Using a good library is not enough. For a simple example, try setting “height: 100vh;” on the body, and then open the page on an iPhone. You may be surprised that the height of the body does not fit into the screen and a scroll appears (I was, when I learnt about it). Similarly, there are many small differences that exist between Desktop <> Mobile or Chrome <> Safari. Sometimes the differences are significant enough to make your page appear completely broken.
Close, the typical problem is that the cation of the lithium compound used in the cathode (LiFePO4, LiCoO2, etc) becomes oxidized or otherwise degraded in a way that the electrochemical reaction can't reverse. In an LiFePO4 battery, you might get some iron oxide. In a traditional lead and sulfuric acid battery, you get lead sulfate crystals. There's typically the exact same amount of lithium present (it doesn't become gaseous and float away) but its constituent elements are unavailable for electrochem.
Santander customers unable to access accounts
Under US criminal law, defendants can often be found guilty of murder due to participation in a group criminal activity even if they didn't directly attack the victim. For example, if bank robbers kill a security guard the get-away driver will often be charged with murder even if he never physically entered the bank.
Browser based apps generally struggle to function well offline (this is also true of certain native apps, but that's a whole other discussion). Using the PWA "toolbox" you can have in-browser apps stored locally via service workers so that they work without needing to fetch anything via the internet.

It's rather useful, and can provide a much better user experience, especially when you have a patchy network.
The Youngstown from 15 years ago that I remember was terrible. Maybe it's improved but it definitely was one of the places I'd never want to live.
"Recycling" lithium batteries is already one of the preferred methods for acquiring lithium by armature chemists.
Linux Foundation enables security measures required by the US on Cybersecurity
What I can't figure out is how Phosh on PinePhone could take 5 seconds just to open a window e.g. to turn wifi on/off, when the Nokia N900, also a GTK-based system and running on more primitive hardware, managed to have a very snappy and responsive UI. Surely this can't be a matter of mere graphics acceleration, there must be a great deal of bloat in all the underlying libraries.
Also, construction workers are going to make a lot more money in a booming high priced market than a depressed one.
I don't think I have that much need for precision. But it would be good to have at least some analysis of the costs of an additional 0.5 degree increase, given that limiting climate change is one of the biggest global efforts right now, and the costs of that effort. And maybe that analysis exists, but if so I haven't seen it. We shouldn't be having these big global efforts without clearly explaining to the public exactly why it is worth the investment over other things we could be investing in to improve global health.

If there is a good chance food production will drop significantly with the additional 0.5 degree, it probably makes sense to invest a lot to meet the goal of 1.5 vs 2.0. If the main concern is flooding and a smaller drop in food production, it might make more sense to invest in more intensive farming (we are certainly nowhere near the ceiling of easy gains here) and better infrastructure.
This is how it will remain as long as Israel remains a useful tool for the US. The reasoning we're given for this near fanatical support is because they are one of the few allies they have in the Middle East but this is not really the root cause (they have the Saudis after all).

Israel is essentially used as a money launderer for the US where they can by proxy aid the perpetuation of fascist regimes in Central and Southern America to keep a stranglehold over the Panama canal trade route, the oil there, and the rare earth metals including lithium which the US will grow increasingly dependant on as they transition into renewables. Israel has spent billions in arms and training for many of these military and paramilitary organisations that engage in such fun activities as mowing down people who they even vaguely suspect of unionising as well as massacring villages of indigenous tribes that happen to stand in the way of oil pipelines.

The US used to do this military aid themselves in the 60's through to the 80's but the PR has grown so bad that now they just give Israel billions in US taxpayer money to engage in it for them. The media is a lot easier to control in Israel.
PlantUML uses a declarative approach to diagrams and works well with dot and graphviz.
... Generally, mobile was a mistake.

(I can understand all the reasons why it happened, and who finds it attractive among users, but still, it's a horrible environment.)
It omits services which might be provided by the government in one area but are privately provided in another. It omits whether there’s anything nearby that anyone wants - jobs, shops, etc. whatever go move to the Midwest and be bored I guess the article is saying.
One aspect of geographical arbitrage that I rarely see discussed is what it's like to live in a community as someone with a high-paid job that's very different from your neighbors.

From that perspective, I like this take on it - if I'm going to be able to easily my afford my home, I'd like it if the same was true for my neighbors, even though most of them have more local, less tech-oriented careers.
You do realize any potential Facebook alternative will face the same problems, further entrenching Facebooks market position.

This even applies to federated social networks like matrix - a EU server can't easily send messages containing personal data to US ones without at least signing an contract with the required "standard contractual clauses" (technically an contract is always required).
He wrote a book called Two Hundred Years Together about the Jews in Russia. It wouldn't surprise me if it really is antisemitic, but it's utterly pathetic to give a damn about the thought-killing cliches of modernity such as antisemitism, racism, etc., so who cares?
On the OSes that have SFTP capable shells ssh is enabled by default.

Other OSes lacking this is why everyone keeps their data in silos.
People who live in society have learnt how to see themselves, in mirrors, as they appear to their friends. I have no friends: is that why my flesh is so naked?

https://www.goodreads.com/quotes/548471-people-who-live-in-s...

Let us consider your hypothetical glitched friend-state within Antoine’s concept of distributed self awareness. Does the friend delusion lead to self delusion or vice versa?
You have a misconception yourself, and it shows. It depends on what they're after. If they want to see an individual's email then obviously they need to decrypt the body.
I don’t see why it’s hubris. I enjoy being alive, it’s as simple as that. I guess you think cancer treatment is hubris too?

If proven technology existed to significantly extend your lifespan (and you remained healthy), would you nobly refuse to use it?
It doesn't. There is a Cox hotspot near me (CoxWiFi access point) and it's basically a VPN that puts you on an isolated network. It is routed to Virginia, if I recall.
I feel like in the long run this balances out and that's part of what's priced into the COL.

Houstonians are in a boomtown getting a temporary advantage that could be offset in the long run, whether by industrial decline, climate change and severe weather, traffic, or some other factor.

Boston does have a Superfund industrial past to reckon with and a lot of outlying MA cities like Worcester, Lowell, Fall River are definitely not balancing out on the implicit/explicit scale by comparison to Boston.

What is the "core" of Houston that will retain its benefit when the tides turn?
Abundance for punishment, yes. Little for helping others.
I started using Nim recently and have been very impressed. It feels like a better Rust than Rust, and a better Go than Go. Why doesn’t Nim get more attention?
This was my original theory.

I was looking at Google satellite photos of their Roanoke, VA site, and you can see there is a regular gas station nearby, but is connected and has a giant loop for tanker trucks to fuel up.

In past jobs where I had driven a company vehicle, there was always a special gas card with a PIN, and when you would swipe at the pump, it would ask you to enter the current mileage of the vehicle.

If you cannot verify or authorize transactions, there is no point in giving away free product.
Unsurprising, given the one thing that regime could not allow to prevail was truth, documentary or literary. Soviets ultimately used communism as a distraction for their totalitarian aim, which was dominion by creating a mental hall of mirrors that isolated each person from their own humanity and subordinated them to the "state," which itself was by every other account of regular purges and fear, just another kind of multi-layered chaotic hell as well. Once you were arguing, to engage at all meant you were already implicated and compromised by your "class," as the ideology and intellectual conflict was not their real tool, it was the bait for the trap that identified potential people with the instinct to resist, as the true aim of a totalitarian movement is to destroy all possible resistance by unmooring people from any concept or belief in truth. That is, for good men to do nothing.

It's the intellectual strategy of the same kind of people today, to destabilize, leverage chaos, and reduce people to their animal level political instincts instead of allowing us to use our higher capacity for principle, order, and reason. That's the great game, between order and chaos. Solzhenitsyn (and earlier, Hannah Arendt) wrote a warning for all time about the tactics of what is an essential and ancient evil. I'm kind of what you would call "the first to stop clapping." The things people talk about in the culture wars today are the same thing. Without a meta-understanding of them, we're going to fall prey to the same tactics.
The market pricing for explicit costs will be slow moving, for sure. Though I do think we are starting to see the increase in wildfires and urban crime priced in more than it was before as incidences increase. However CA gives you incredible access to nature with all the state and national parks, high sunshine which means less seasonal affective disorder, a higher likelihood to make a very high income. All of those implicit benefits show up in housing prices.

Contrast that to a midwestern city: the winters will probably give you seasonal affective disorder, your income ceiling is lower, you have to drive further or fly for similar access to awe inspiring nature.

IMO it’s a wash. Which taken a step further would show cost of living adjustments as generally bullshit but something businesses will try and do because they’re incentivized to.
Not a huge fan of JS but you can't deny that the language has improved tremendously over the years while still maintaining backwards compatibility.
Open data: Last statements from Texas death row
Only foreigners and Americans on foreign soil
Maybe this is the end game for neural implants, so we can see ads in our dreams. Or what we think are our dreams.
And look at what Shopify CEO just said:

"But we all have to re-qualify for our jobs every year. The red-queen race of Shopify's historic 40% or better growth is that everyone has to show up at least 40% better every year to qualify for our current jobs. I expect you to hold yourself and your teams to this standard."[0]

[0]https://archive.is/Hql0j#selection-2991.215-2991.490
Programming languages are tools, what matters is if they do their job. And the current popularity of javascript means it works for most people.
But boy, how ugly and inconsistent it is. I wish I could like it.
Still, solving that is hardly “devastating”.
Really like the concept and demo. And it looks well made! Just out of interest, is this something you did as a hobby/for fun, or was there a particular use case you were addressing?
Unwritten Coding Standards: Function Ordering
I think the 'hivemind' stuff is a bit overstated, but there are a few areas where, given the topic, you have a high chance of being downvoted even if you provide a rational, non-personal, non-offensive, and careful opinion. This is just what I've witnessed based on the article-type that I click on and observe the commentariat (I'm sure there are many other topics):

- If the article is about Bitcoin or crypto and there are a large number of people talking about externalities. If someone says something that's perceived as being not in line, it's getting heavily downvoted.

- If the article is about the stock market and there are a large number of people who are recommending index fund dollar-cost averaging. Someone says they picked stocks. Bye-bye, comment font contrast against the background. Greyed. Those grey comments are probably mine in this example.

- If the article is about a recent event around a cancellation such as a firing or a conversation around misinformation, anything perceived as questioning that (such as using the word censorship in the comment) has a near-guarantee of downvotes. There is no way to ever come to the defense of someone who said something that has been deemed misinformation, a conspiracy theory, or such, without being associated with the cancelled. It's almost dangerous to even opine at this point if you have feelings around freedom of speech. Note: I'm not talking about the opinion itself, but the right to air it, and coming to defense of that. It's poorly received.

- Criticisms of Google, curiously, and I've seen Facebook as well (although I think Facebook fell out of favor in the last few years). I have a theory about many employees coming to the defense of their employer out of loyalty.

There are probably many other examples of dangerous topics that provoke the group. I think there is something in people's mind that lets them justify this as follows:

"If you question the popular wisdom here, when you have a group saying A, and you say B, you must be a troll out to provoke people."
Not a joke. It's practical uses are numerous. Can't believe people can't see that.
Rust is great, would be awesome to get paid using it
Idk why phosh is so slow on the pinephone. Just about any other (x11 anyway) DE was fast on it even before the updated drivers a few months ago.

I think the other issue though is that on the nokia GTK was still built with software rendering in mind whereas modern graphics toolkits tend to do the "everything has OpenGL and stuff without it can use LLVMPIPE" thing which results in very poor performance on incompatible hardware (along with less than optimal drawing in order to fit the abstraction.)
Obligatory futurama: https://i.pinimg.com/originals/f6/40/e2/f640e25abd05e07442c6...
Nice read. I wish something would speak to the increased brittleness of software in this world too.
In biology male and female is determined by gamete size. Yes, there are very rare instances of hermaphrodites or intersex, but those are the exceptions that prove the rule. Also, the path from DNA to organism is deterministic. My children aren't frogs.
SoftBank landed the biggest profit in the history of a Japanese company
I assume the posts are manually vetted.

Don't jinx them haha!
I agree with you, fellow white person. We must denounce those who insult G-d chosen tribe.
recursion vs. iteration, inheritance vs. composition, interfaces vs. abstract classes, etc. are design choices that depend on the problem being solved. Language syntax is different; it's an opinion of the language designer which gives the language its distinctive style, and IMO shouldn't have much leeway in expressing the same thing in multiple ways. It's what gives the language its identity.

For example, here's how you can iterate over a list in scala to print each element:

List(1, 2, 3).foreach(element => println(element))
List(1, 2, 3) foreach { element => println(element) }
List(1, 2, 3).foreach(println(_))
List(1, 2, 3).foreach { println(_) }
List(1, 2, 3).foreach { println _ }
List(1, 2, 3).foreach(println)
List(1, 2, 3) foreach (println)
List(1, 2, 3) foreach { println }
List(1, 2, 3) foreach println
Original name of Facebook's domain was thefacebook.com but they realized it was too long and that "the" was unnecessary so they bought facebook.com

I think domain names are like company names or brands you don't want to have long company name or brand name because nobody will remember it.
Every time someone mentions serverless some smartass feels obligated to mention that "there are servers". Yes we know. It's a specific technical term to refer to category of serverless products like AWS Lambda.
> After all there is reason why it is called "Republic of China".

Surely one of those reasons is that if they changed the name, the "People's Republic of China" would invade?
https://github.com/adsharma/py2many/issues/229
It's even worse on TV. Stuff like Stargate SG-1, a show set in the U.S, geared towards a U.S audience, is about secret U.S Air Force operations is considered Canadian content because it has Canadian writers, actors and is filmed in B.C for financial reasons. The whole point was to encourage "Canadian Culture".
Site seems a bit overwhelmed, archive.org copy: https://web.archive.org/web/20210515151920/https://turriate....
i don’t think it’s that complicated. your account is in a US database. your friends in a french database.

the us db can have a list of friends by user id and those friends might be in other countries db. however your identity and data live in us db only.

if you create a message the message can either be stored in the us and referenced by id in france (or duplicated since you intentionally sent it there). same for photos

this makes each transmission of data across regional boundaries more intentional and easy to add governance checks
There must be some evolutionary fitting function that mutations serve that have prevented them from being selected out.