skysight-inc/HackerNews huggingface dataset:
Coming from C++, it didn't take months. I got a couple lifetime errors at the start, but I understood the reason behind them all[1]. Now I don't get the errors[2]. In C++ you need to think about the lifetimes anyway or your code will break at runtime, so then coming to Rust it's not that much of a problem IMO.

[1]: Except the errors about partial (non-aliasing) borrows of struct fields. That was annoying, although circumventable with some boilerplate. Luckily, it's solved now in the compiler.

[2]: Although it may be to a large degree thanks to using arenas for allocation, which simplify lifetimes a lot by grouping them into large buckets instead of tracking each little object separately with its own little lifetime.
Absolutely fascinating stuff, thanks for trying it out! I just wish we had some way of really understanding what's going on under the hood...
You should add Gerrit to your list: https://www.gerritcodereview.com

Gitweb does not belong, it is just a repository viewer.
I take it you haven’t seen Brainfuck yet? Rust is pretty straightforward and I was able to submit PRs fixing several bugs within an hour. I can’t write new code, but grasping what is going on is pretty easy. For a language to be “challenging” I’d say that it shouldn’t be easy to tell what is going on without knowing a bunch of language specific-ish operators (aka, Haskell).
That's how it starts. Before you know it, you'll need noprocrast!
> doubtful . these will come from creators and indie game devs first whenever they get over their hatred of crypto and blockchain. eventually major game houses and consoles will follow suit.

The indies could do this without crypto. They'd need a standard, Drop-box, and to collaborate on a little messaging system so their payment DBs can update one another. Pow! Same functionality, equivalent level collaboration, no crypto-bro middlemen, 1000th the environmental burden.
EFF and EU should respond to Google taking FairEmail off the Play store
> Also, personally it drives me crazy when American legal discussions fall back to English legal traditions. Didn’t we fight a big revolution so we wouldn’t have to live with all that baggage?

No, actually, the revolution mainly had the opposite intent: anger that England was denying the English colonists the rights they were entitled to as Englishmen and would have enjoyed in England.
While I have not used it, softserve looks like a cool terminal/SSH based remote git server.

https://github.com/charmbracelet/soft-serve
This poll is really me being curious about what the citizens of HN use themselves. My own use case would benefit greatly from CI/CD pipelines, but beyond that I'm mostly looking for a nice web interface to expose the repository contents.
If you need to go through a huge checklist of things to do to differentiate yourself from spam, then guess what?...
We're all being sucked in the internet. It's so easy to become addict to video, podcasts, games, etc. nowadays that I would not be surprised if that becomes a major society issue.
Mind tools: The five levels of mathematical reality
I have tested this in a React Native project, and integrating it felt like a breeze - just a bunch of search + replace. I did hit a roadblock because of an unsupported version of react-navigation/native, but the team at Objectiv were very helpful and helped resolve the issue. Can definitely recommend trying this out if you're still stuck with inaccurate Google Analytics, want to own your data or want to have the option to inspecting your analytics data on a deeper/more meaningful level.
I am profoundly confused by the pronouns in this comment. You, gp and the author of the dropbox comment are all different people, aren't you?

Anyway, it's just a joke. I don't think anyone's trying to make anyone feel bad.
I agree with everything you said but saying

> You must live in an all-white people world

is kinda ill-mannered considering half of white folks don’t speak English. You might be conflating the Anglosphere with all white folks.
Yes, sorry. Nowadays I'm more and more concerned about the sincerity of people seemingly genuinely asking "questions". You know... Supremacists aren't always open with their views, and I know for a fact that the non-open ones tend to ask toxic questions and say things that implicitly push such extreme political views. I hope you're not one of them.
The gp is calling out augmentations / enhancements. The point is you don't need to add anything or do anything extra. They're not suggesting doing something complex, they're suggesting leaving things be.
Flyio does promote a pattern for avoiding the distributed write database complexity: request replay, a single main write database, and replicated read dbs.\1

When a request comes in to write on a read server that attempt a db write, the request is aborted and replayed on the main write server.

With some clever assumptions such as “get requests rarely write to the db” and “post request usually do”, much of the write traffic can skip the read vms.

They created a ruby rack middleware\2 to standardize this pattern for Ruby on Rails.

\1 https://fly.io/blog/run-ordinary-rails-apps-globally/

2\ https://github.com/superfly/fly-ruby
> The code of Hammurabi (eye for an eye) seemed to be popular back in the day.

"Eye for an eye" comes from the Book of Exodus, and it was meant not as a prescription, but as a limitation:

> The intent behind the principle was to restrict compensation to the value of the loss.[1]

* https://en.wikipedia.org/wiki/Eye_for_an_eye
The internet was more addicting 20 years ago.
As an ML professor, I agree with all of these comments, especially the bit about Nerfs. Take a look at Waymo's use of the technology: https://waymo.com/research/block-nerf/
Plenty, same with pollen; the difference is that glass / silica is pretty inert, whereas microplastics release chemicals that according to some research mimic that of hormones. It's one theory behind humans' fertility declining - not just that they have less children, but they produce less sperm and the like.
For personal stuff, I use an s3 bucket that's mounted locally via FUSE as the origin. A bit slow, but works out of the box!
that TFA recommends Zoom above all other options is strange. it has very poor design decisions in my experience and no longer works reliably without being installed.

also as debate from an HN post from a couple days ago covered well, using an external camera instead of webcam is a fool's errand. my how I've tried.

the most important change for reducing fatigue in my experience: turn video off. audio only.
It might be the most famous Hacker News comment in existence.
It seems like one of the countries where masking while sick and during flu/cold season is common would have some studies on this.
Isn't the issue that in the US you only have a binary choice between jury or plea deal? I'm Canadian and here most trials are bench trials, that is in front of a judge only

https://www.justice.gc.ca/eng/csj-sjc/just/12.html

The reason why this is often advantageous is that the judge knows well the legal provisions and is more likely to rule in line with previous cases. The judge is also not a prosecutor (and in Canada, not elected by the public) so the judge doesn't have an incentive to be "tough on crime". AFAIK in general, you would only request a jury if you believe your case is in some way fundamentally different from similar cases and you don't want the "default" penalty if found guilty.
On the flip side of this in "only" something like 20'000 years it'll be a light year away.

Yes, that's a really long time, but 20'000 years ago humans already existed. In fact it's "only" 10% back into the history of humans.

This gives me hope that actually while yes out of reach of humans, not out of reach of humanity. Even without FTL.

Or in other words: There will be humans out there for whom it's normal that we have sent equipment a light year away.

(I choose to believe we'll survive that long)
I've had this thought many times. Durable products are great but some become obsolete before they break, and a new purchase is made not because the old one isn't working, but because the new product is better (more efficient, more ergonomic, more functionality, more capacity, or whatever).

I guess all other things being equal, I'd still rather have something fully functional replaced because there's something new and preferable, than having to replace something that just breaks. But if the cost of the "lifetime" good is a lot more money due to its quality, than the replacement costs of the less durable good that you'd replace anyway due to improved function, it becomes harder to say. Even harder given uncertainty about all of the variables involved.
maybe a few months to really "get" the language/ internalize the borrow checker.

No one is saying it's super hard (assuming you are an OK programmer) just that it takes a month or three of actively working with it to wrap your brain around it, which you seem to agree with.

I'd say that my experience with Python was similar

I've had colleagues (that aren't programmers) who taught themselves just enough python to be productive with writing Python scripts that solved real problems while knowing maybe 20% of the language. Rust will not let you get away with learning only the very basics like that.

They have no idea what a list comprehension or function decorator is, hell most of them have probably never typed the word "class" into a script. In Python that doesn't matter, you can get very far with just basic data types, functions, for loops and cutting and pasting from random web sites.
GitLab has a decent CI functionality baked in, should it ever come to need.
The described issues fit better to Oracle DB. Schemas tied to users is definitely the case for Oracle DB and MySQL isn't that hard to install.
Did YC know Stablegains was a fraud and invest anyway, betting on that it would likely work? Or was YC just extremely negligent in not recognizing it?
> browsers silently cache intermediate TLS certificates that they've seen before, in addition to being willing to download them under the right circumstances

A bit OT but how would you even go about downloading a certificate? From my understanding, certificates are transmitted as part of the TLS handshake, so it's not like there is some url you could send a GET request to. Or is there some facility in TLS where a client can request additional certificates?
https://news.ycombinator.com/item?id=29465505
There are some PLA (polylactic acid) straws that are borderline acceptable, but they're only legal in some states.
Advice is only worth what you pay for it. Trust yourself, hombre.
Why not Go? Stand-alone binaries everywhere all the time.
After more research found this: https://www.youtube.com/watch?v=hrmx_TKNvyc

Awesome!
Very well written article. Congrats on defeating your tech addiction this time.

It is amazing how much thought and effort goes into designing Web2.0 to keep delivering small dopamine hits. I too burn thru hours watching tech videos, browsing tech subreddits, looking for juicy HN posts and rarely come across articles about how the stickiness is engineered. Maybe I'm browsing the wrong stuff or maybe they're just too embarrassed to publish it.
"'Old-Person Smell' Really Exists, Scientists Say"
https://healthland.time.com/2012/05/31/old-person-smell-real...
Yes, but there are also many paper and multi-use bags available now that weren't before the tax. Because they knew the price increase would anger customers, they created alternatives that don't fall under the tax and thus give the customer a better value than the old option now with tax.

(plastic bags are, however, a pretty unique case, as they used to be free and the dynamics of "free vs paid" are way different than "paid vs paid but slightly more expensive)
> in response to Musk going "off message"

> toe the line and stick to the script

What message and what script? The whole purpose of the index is to make money. The movement and everyone in the movement gets paid $$$ if when you plot the ESG index and broad equities the ESG line comes out on top.
Without being too flippant, that is Go’s history in a nutshell.
I’m unsure why you would need HTMX and alpine. Phoenix I believe is capable of handling what both of those would provide, or perhaps I’m missing something?
If you have used any programming language that have manual memory management then Rust borrow checker would make sense way more quickly compared to if you have only worked in garbage collected languages.
>Not limited with a single language (has bindings to all major languages)

Actually I find this to be a serious pain point. Qt leans heavily on C++ features for core parts of its API (subclassing to create new widgets, for instance), and has its own C++ pre-processor. Getting to work in a different language in any capacity greater than "toy demo" is insanely hard - PyQt is probably the only success story here. I don't believe I have ever encountered a "real" program that uses Qt that was not written in C++ or Python.
But my credit card is titanium
Well it's the only way to bypass borrow checker as fas as I know. And I assume teaching you a bad habit, then un-teaching it is going to be more expensive than not.

I guess another way could be by using Copy-able structs is anohther way.
Gitlab CI is powerful, and (IMHO/IME) a selling point compared to other options.
I saw this guy speak once, he was insufferable, smug, self-promoting and actually pretty boring.
I think what your mentor meant was don't be bored. I have some misgivings about this advice though as I think it should be more nuanced. It's ok to be bored. With all the gifts modern society has given us, one of the costs has been over-stimulation.

When I'm bored, my mind is clear of any extracurricular thoughts or ideas, and I come up with creative solutions to the “problem” of being bored. One of my hobbies is distance running and it bores me. But almost all of my great ideas have come to me while running. I'm free from the weight and worries of the world

According to two studies detailed in Harvard Business Review, focusing on a mundane task allows your brain to “daydream” and ultimately boosts creativity and problem-solving afterward. Essentially, part of your subconscious mind will start working on things that have not been at the forefront. Your mind is literally reorganizing and optimizing its structure, creating new connections between neurons. [1]

When I've been banging my head against the wall trying to solve some technical problem, I go for a run and forget about my stresses and worries

If people perceive you as boring when you are fulfilled with life, in the words of the Dude, "That's just like their opinion man."

1. https://hbr.org/2014/09/the-creative-benefits-of-boredom
While I use discord (because thats what my online gaming buddies use) my main issue is discord is that they disallow alt clients https://twitter.com/discord/status/1229357198918197248

My main gripe if the offical client is the lack of multi account support, Yeah I know it has an account switcher but a) its only desktop atm b) you only get notifactions from the account you are currently using. The "workaround" is to multi-client.

The thing is with IRC, its a protocol, so any client supporting the protocol works, If one client doesn't support the features you want you can swap to another, if no client supports the feature you want you can hack it onto an existing one / create your own.
This. I'm astounded at the gaps in some people's inability to understand business processes because they have no accounting training. It is not that difficult but it is something that needs to be integrated into your mindset.

You might then realize that accountants have been using event sourcing to solve complex problems for hundreds of years.

Very senior developers will nearly always default to juggling updates to database records for everything. I cringe because it is often the source of serious gaps in domain language between developers and business operations people, leading to unreliable systems that are very difficult to reason about.

Immutable ledgers are your friend.
Do you happen to know of any write-ups of ANS/FSE that explain the way it works in a more accessible way? Jarek Duda's work in figuring all of this out is amazing, but it's currently not very easy to grok for mere mortals - even your link says so. Note that this is not a complaint about his output; you probably need to bend your brain into really weird positions with advanced maths to come up with this entropy coding solution in the first place. Plus he deserves a lot of credit for fighting to keep all of his work in the public domain and free of software patents.

Having said that, currently I only have a really superficial understanding of how it works, not even enough to experiment and implement something FSE-like on my own. And I'd like to change that.

> My intuition tells me that there's probably a homomorphism from Huffman coding to FSE that preserves the encoded size exactly, but I haven't done the math to check.

Well Huffman is "optimal" but limited to whole bits, so if it's possible to make a variant FSE encoder that doesn't use fractional bits but "rounds" to whole bits somehow then that probably ends up with the same compression size, no?
Password Manager in the CLI
I sync stuff via the Gitea mirror feature. Works well.
How did you manage to grok FSE/ANS? Speaking as someone who has tried and failed and would like to try again
Serious Bug in MongoDB Geospatial distance calculation
While your statement is true it reads like a non sequitur because it misunderstands GP’s objection, which is not to others’ opinions but rather to unfiltered noise in the workplace. Or rather, to a product that pipes in noise that deliberately evades filtering. To focus properly I need silence or something equivalent. This has nothing to do with others or their opinion or my subjective evaluation of the same. It’s a matter of attention.
I don't think they're particularly surprised or fascinated by generics. Just glad that they have finally appeared after years in the planning.
> 1. Qt is much faster than other UI technologies, but it’s far from being as performant as native solutions are.

As a Linux user, do tell me what the "native" solution is that I should be using! I love performance.
I don’t get it. Seems like purely a stunt. What plausible legal violation could there have been?

If you want to and a company indirectly involved wouldn’t the gun manufacturer be more liable?
its months and months worth of tweets, and that's all they talked about during this year.

first a cryptic puzzle as a recruiting tool for analysts: https://twitter.com/Galois_Capital/status/148693793605468979...

followed by months of warnings like this:
https://twitter.com/Galois_Capital/status/151217543903232819...

and threads pushing the systemic risk angle:
https://twitter.com/Galois_Capital/status/150461116699529216...
Then you don't have too much of a choice: gitlab all the way :)

We ran an gitlab instance for about eight years and it worked flawlesly[1] for a team of ~20, with quite a few active repos (i.e. constantly pushing), some of them being generously large, running several pipelines on most of them.

PS: gitorious was aquired by gitlab, not gitolite. My bad.

[1]: once we pumped up _LOT_ of RAM into it that is
There are entire cultures which function this way. Even in the Anglosphere, the far majority of people won't talk about most their issues until designated times and prompted by bosses.

You're overestimating the proactivity of most people, and how important that proactivity is beyond making an impression one is proactive at a job interview (read: faking it). And the willingness of others to endure what a large crowd of truly proactive people would do when constrained by a huge management overhead: complain a lot until they are fired or finally given the power to solve their own problems.
> It seems like there's some denial about the past/roots of Libera

I'd disagree. There are some coals that no longer need to be continually raked.
They should have JIT compilation for excel and for whatever that Microsoft scripting language is called.
Gitea all the way.

Lightweight (can run on a RPi unlike GitLab), does everything you expect, can work with SQLite or MySQL/MariaDB or PostgreSQL, and can sync remote (GitHub/Bitbucket/whatever) repositories locally.
I always thought in 20 years, Facebook (or its equivalent) will have warning labels similar to how cigarettes do now. People should be free to do as they please, but I would hope that as a society, we would at least inform people as to what the actual product is designed to do.

You could think of it like the nutrition labels on food. Imagine a pop up when you log onto reddit saying "this site on average engages users for 90-120 minutes per session". That would give you some forethought about how much value you're getting from the engagement and prompt you to make a different decision. Or at least a more informed decision.
I always assumed most people were against it afraid of generics because they only had experience with dynamic typed languages and heard someone complain about c++ templates that one time.
Unless you can train a horse to become a horse trainer.
Not even sure Alpine is needed anymore as they have Phoenix.LiveView.JS now https://fly.io/phoenix-files/sdeb-toggling-element/
News to me. TIL.
You'd notice it in professional populations, I'd wager.

I also assume it would be a confounding factor in any study that involved masks, if it was a significant effect. "Weird, the group that breathed in asbestos for 20 years without wearing a mask had 90% more lung cancer than the masked group, but 20% less XYZ. Does asbestos exposure prevent XYZ?"
If you don't need a front-end, push and pull directly from git. https://git-scm.com/book/en/v2/Git-on-the-Server-Setting-Up-...
Not sure but anyway, 20 years ago it might have been accidentally addicting just because it was new, shiny and interesting. Today it's addicting because some people are employed full-time by large companies to make their products more addicting, and that's part of their OKRs and more ("Engagement" being one such metric that many companies try to increase religiously)
Some cities in the us have banned plastic bags too. Mine has. Very nice to not see them entangled in trees anymore.
The blueberry you know is much better: I moved to Norway, tried the berries growing in the forest, and now the fresh supermarket berries always disappoint me. Hopefully, I'll to pick enough to make a blueberry liqueur this summer.
Halting problem and difficulties in compilation and static analysis are not contrived.
> My first language was C++ so I think that's probably biasing

It is. Anyone coming from anything else than C or C++ will struggle for a while. A lot of things make sense now for me in Rust after days / weeks of playing around with small apps. But the 2 types of String is still one of these thing which anytime I read about it makes (sort of) sense, but then ... Well, I know that using a string literal (with possibly a lifetime) instead of a string, or adding `to_string()` will probably solve my problem. Thankfully the borrow checker along rust analyzer are extremely smart and 2 things which are built to the (close) perfection - the dev experience for beginners would be a total nightmare if it was as messy as the typescript linter
> many modern ones are pretty similar as well

The problem is how well does Planescape Torment work as an introduction for someone who never played any of the games you listed? A few weeks ago I was talking with some younger coworkers about new games and they came up blank when I mentioned Baldurs Gate III, any game related to it and even several out of your list. Planescape Torment is part of a genre of games many never played.