skysight-inc/HackerNews huggingface dataset:
I used to be a smoker, for a good decade. Then, switched to vaping for 3-4 years, which allowed me to taper down my nicotine use and quit completely.

This was about 5 years ago.

Recently, I’ve started using nicotine gum to increase focus while working. I usually use 1 mg, maximum 4 times a day. I typically begin taking it in the afternoon, my morning work sessions are usually nicotine-free. I have been using it on most days for about 3 months.

I have zero desire to smoke or vape. On days when I am not taking it, I don’t have a strong craving for the gum.

I’ve also quit caffeine a few days ago, with the intention to not use it for at least 3 months. I find that even low amounts of tea increases my anxiety to the point that it becomes difficult to focus. I’ve been very productive since I stopped caffeine. Mild withdrawal effects in the form of physical tiredness, but I am fine with the tradeoff for less anxiety.

I might have developed some level of physical dependency to nicotine, I’ll see it once I’ll do an extended break. For now, it’s the only dopamine-increasing substance I consume, and I’m fine with it.
Thanks for pointing me to those projects! I didn't know about any of them.
That's still a huge drop, but I guess we'll have to wait a little longer before a ticket to the moon becomes commonplace.
So what does personal archiving mean? Storing it and never consuming it?

Kind of a non-sequitur from you here.
You’re participating in the wrong communities. Bad people do bad things regardless of what tribe they belong to.
Editorialized headlines are against HN guidelines.
And the mythical man month was written in the age of mainframes, yet remains relevant.
>the vast majority of Linux users are blind to aesthetics and design

Are you sure you don't feel this way because Windows and Mac go out of their way to prevent you from changing anything about the UX at all?
> They've (ironically?) been a bit more successful than the Java folks at establishing multiple serious languages of different kinds running on and interoperating via the same runtime.

Can you explain more? I'm less familiar with the .net side of things.
I don't at all care for the way in which he mentions his crimes were nonviolent and tells us about being arrested for dealing ecstasy (a drug with little taboo associated with it) while skipping over the fact he's currently in prison for dealing choke-on-your-own-vomit synthetic opiods, not cute party drugs.

That stuff killed a coworker's son a few years ago. Died right in his own recliner.
So he chose to go back to a life of crime and we’re supposed to feel bad for him? There’s a reason he was able to make 20k in a weekend, it’s a high risk high reward business and I have no sympathy for someone who skirts societal norms and makes a shit ton of money in the process while plenty of people suck it up and earn the 10.50 until they can get back out in their own. This guy and his entire post reeks of entitlement, beginning with “non-violent drug offenses” in the first paragraph.

That’s an opinion, he wasn’t arrested for possession in reality he made a ton of money selling dangerous drugs to kids. Maybe they should be legal, some of that I agree with (I spent a lot of my late teens and early twenties in jail or on probation for simple possession and have a felony to this day for it) but that doesn’t mean you should be able to peddle chemicals you don’t understand in large quantities. Your upbringing being bad doesn’t make that okay either.
Yes, this is correct. As of right now there is no built-in support for running as a browser.

What is possible though, is to use a service like ScrapingBee (not affiliated) and set it as the proxy. This would render the page on their end, in a browser.
A long, long time ago I also implemented tic-tac-toe in HTML. But just as a set of HTML pages with links for each X move (and an implied O move by the "computer" player). Total size of all the pages combined is about 60 kilobytes.
That'd be great. The Volts podcast just had an episode about district heating. Data centers were among the list of readily available heat sources. Also reduces the data center's cooling costs. Win/win.

What's the deal with district energy? [2023-10-07]
https://www.volts.wtf/p/whats-the-deal-with-district-energy

TIL: There's already 1,000s (?) of heating & cooling districts in North America. The number of buildings added is increasing 5% annually.

https://www.districtenergy.org/home
> Naive prosecutions of corruption can, ironically, institutionalize it.

Um. How?

Well, if only new players and small fish get caught up in bribery charges (because the big and old players are so institutionalized they have almost no exposure and thus no risk outside of vendettas and such), bribery and prosecution of bribery actually ends up looking like the barriers for entry we see in over-regulated industries. Many times the biggest companies in a given industry actually lobby for onerous regulations because they know how to get around them (or can simply afford the immense costs with all their existing wealth), meanwhile they sleep easily at night knowing that new players are going to be burning cash with insane risk exposure just trying to get a foothold in a system of perverse incentives and broken policy. Bribery at the local level could very easily function in the same way to further stratify the local money/power structures.
Or a more recent example, the pilot who suffered from depression having a psychotic break after taking mushrooms, because he thought he was trapped in a dream or hell, and attempting to crash an entire plane full of people as a result.
I liked the books emphasis on "interface" vs "implementation", and how this affects complexity.

But one tidbit I did like from the book was along the lines of "if every use case involves the same action, it would be simpler to incorporate that action". (e.g. Something like if ".delete()" were to fail if the file didn't exist, and if every invocation would be like "if .exists() { .delete() }", then it'd be simpler to have a method without the "fail if file didn't exist" requirement).
In a massive field, one researcher does not constitute "full of faked data," despite how concerning it is.

The problem is viewing individual papers as the unit of truth in science. The "self-correcting" nature of science will actually reject entire papers, and entire directions of inquiry. Including, maybe, a casual relationship between beta amyloid and AD, but maybe not.

The other key part of science is holding everything in a state of uncertainty. There's some "facts" but mostly just hints and clues. And with Alzheimer's disease in particular we are trying to make progress with completely inadequate vision; we really can't even measure so much of what we want to measure. Feynman said it back in the 1960s, too, physicists have failed to deliver the tools to biologists to really measure what needs to be measured. There have been advancements, and DNA sequencing technology in the past decade has been turned into the most clever sorts of information theoretic microscopy by combining DNA sequences with many other biochemical processes. But we as a species still can not measure a lot of the things we'd like to measure.
Lack of screentearing is the killer app for me. The only GUI programs I run are Firefox, a terminal (foot or wezterm), and video games, so everything works and works better (I dont want screentearing for any of those 3) for me under Wayland.
Tons of "running a nonprofit" at least experience though. And she's not setting direction on Gnome.
> "I can configure every pixel even though I won't do it ever".

Or, more likely, will configure many of them once and then be happy, as opposed to GNOME where if you're unhappy with anything you're just out of luck.
DockerHub container pulls are failing
Its uptime is not %100 for today. https://www.dockerstatus.com

Error: Error response from daemon: Get "https://registry-1.docker.io/v2/": EOF
It is not merely sad and unfortunate. It is disgraceful and disgusting.
It's mostly books and blogs: I like to read a lot. Also, your guess is correct, my dad is a computer scientist.
> Yeah, but binary dependencies or watt-style precompiled macros aren't going to get improve the build times people really care about, incremental build times.

Why not? If I add a new struct with `#[derive(serde::Serialize)]` I'll benefit from serde being compiled with optimizations.

> they break developer flow more than waiting on CI does

Eh, depends.
I often wonder how some companies survive despite bad or even catastrophic decisions by the management - it's only because the soldiers in the trenches kill themselves to get things done and to unf*k all the C-level incompetence.

And then it reinforces the management's conviction that they are absolute geniuses.
As somebody else pointed out, —inspect or —inspect-brk is what you’re after.

In VsCode you can also use the “open JavaScript debug terminal” command: it opens a terminal in which any node command automatically starts with a debugger attached
Yes. I always feel violated when a Liked video or a Watch Later video is suddenly gone without even the video title available.
This will make solar radiation management a serious proposition.
Try running wdisplays to make sure the screen geometry is correct.
> particularly those affected by the war on drugs, like myself, who has spent 1/3 of his life imprisoned for non-violent drug crimes

Still not quite ready to take responsibility for his actions... You weren't magically "affected" by the war on drugs. You went into crime for the easy money, but found out you weren't very good at avoiding getting caught.
A tree can point to other trees, making them subdirectories. A tree can point to blobs, making them files in that directory. File name, mode and such metadata is a property of the edge, and blobs themselves are nameless containers of bytes.
Ask HN: Does a landing page play a major role in the conversion rate?
If yes, are there any guidelines for a good landing page?
Not particularly. And zig is moving away from llvm anyway.
It depends if you want quick results or long-term understanding.

I started 22 years ago by learning bottom-up: operating system internals, network protocols, programming language theory, etc.

It made everything else much easier to understand, and still pay dividends today. Things click much faster if you know what's behind that shiny new tool.

If you want to be in the cutting edge of SRE/Platform, focus heavily on programming skills. Python or Go but whatever you like, honestly. The goal is to be good at software engineering, not programming.

For quick results: Kubernetes, Docker, Ansible, a public cloud provider, Jenkins or any other CI. That helps you get a job today and keep learning through more difficult projects. Without a job, you'll run out of real-world cool projects. The tutorials and learning projects get boring fast.

I'm afraid there is no linear path to follow. Curiosity goes a long way. Always think about the big picture when thinking about infrastructure. Consider the timespan of solutions.
Literally every topic in South Park
Most people can't understand why they aren't feeling well after 1kg of pasta with meatballs.

I love caffeine and coffee, but if we are talking about well-feeling, 5 minute calistenics would make you feel better in 99% compared to a cup of sugar laden cappuccino
Looks interesting, and thank you for sharing this! One common issue with scraping web pages is dealing with data that is dynamically loaded. Is there a solution for this? For example, when using Scrapy, you can have Splash running in Docker via scrapy-splash (https://github.com/scrapy-plugins/scrapy-splash).
3D particle life simulation accelerated using WebGPU
Are you looking for logpoints?

https://firefox-source-docs.mozilla.org/devtools-user/debugg...

Edit: just realized this is literally the first thing mentioned in the linked article.
I strongly, strongly dislike what you are doing. You know exactly what I mean when I say it, but are pretending not to, even explicitly suggesting 'ah, just because the codec's open source doesn't mean it's not patent encumbered' without explicitly saying what you really want to say, just for the sake of allowing me to activate a "trap card" wherein I say "Ahh, no, I don't mean like x264, I mean like VP9!" and then you can flip around and say "Ah HAH! Actually, VP9 ISN'T patent-unencumbered: check out all of this propaganda from a literal patent cartel about how if you use VP9, they will bust your ass sideways, unless you license it using their patent pool!"

And I don't care. I'll care when Wikipedia gets sued for using Opus, or AV1, or when Mozilla gets sued for shipping it in their browser, or something. Until then, as far as I'm concerned, it's empty threats from dog shit liars.

But this aside, I don't understand why you can't just say what you mean right out the gates since I know you know what I am talking about, I know you knew from reply 1, and I'm sure you've already played through this conversation before. I could've said Theora, Quite OK Audio or perhaps even MPEG Layer 3 just to fuck around, but I really would like to have an honest conversation, and not just mess around with technicalities.

I'm not interested in debating the legal system, or how AOM's license agreement works, or any of that crap. In practice, almost everyone can use "open", patent-unencumbered codecs without fear of lawsuits. The companies big enough to have to worry about patent lawsuits virtually no matter what have basically been using patent agreements as a weapon against the traditional patent cartels. This is of course, deeply unfortunate, since it just perpetuates the terribly broken U.S. patent system and the situation it has with video codecs.

I understand that you have Opinions:tm: regarding this, I already caught on. But what you have to understand is that to most people, including plenty of lawyers, these opinions are essentially fringe. If they weren't, AV1 wouldn't be shipping in Firefox and Wikipedia wouldn't be using them. And not only that, it has nothing to do with the concept of patent-unencumbered codecs. There's always going to be codecs where the known patents have simply expired. At least in the U.S., I'm pretty sure that even includes MPEG2, but it'd suck if open source software was limited to just MPEG2. (And of course, if we do find new patents not covered under previous patent pools, that happen to apply, you have to realize that this liability existed for everyone already, including people who paid royalties anyways.)
i wonder why the author needs stimulants so much.
Mushrooms get this "harmless" reputation because, y'know, they're "natural" etc... There's now a big push to get them legalized somehow here in Canada, and full-on illegal stores popping up around that the police don't seem to be all that interested in shutting down.

But having been down that road... I'd say the side-effects from them were always more paranoia and reality-destructuring to me (and not usually in any kind of pleasant way) than LSD or other things I tried back when I was young and unwise.

The one advantage I suppose would be that they wear off after 4-5 hours. Not so LSD. Takes days to become normal after an LSD event. No thanks.
So I guess I won. The person I was arguing with called me a religious flat earther and then announced he was done with the conversation, rather than allowing me to reply. Age old forum behavior: Gotta get the last word and run. Sad really. If I was such a savage troll then just don’t reply!!!
Curious if it gets some of the edge cases right. France's longest land border is with Brazil, for instance.
I basically refuse to fix other people's git issues because 99% of the time they don't know how the basics.
Recalculating the hash codes is indeed potentially expensive. In my example the table stores the hash codes themselves instead of the keys (because the hash function is invertible), so the hash function never needs to be recalculated (just the preferred bucket based on the hash, which is extremely cheap). With a different algorithm (Robin Hood or bidirectional linear probing), the load factor can be kept well over 90% with good performance, as the benchmarks in the same repo demonstrate.
> it's enthusiasts feel compelled to promote it to help it grow faster.

I have no problem with language-fans promoting it and singing praise to it. I do the same with languages I happen to like.

What I do have a problem with, is evangelizing.

https://gist.github.com/graninas/22ab535d2913311e47a742c70f1...
It's really not that bad, I just tell them there is no way they are making a sale, that they made a mistake to ever let me come, and they let me go early.
Please include the 17 yo part, I think it's very interesting.
"We need a test environment!" "We don't have the budget for it."

Months later, a student developer runs a delete query in production with the where clause commented out. Oops, an entire table got wiped. Well at least there are backups... except a background job noticed and quickly created 4 years of invoices and emailed every past customer to pay again.

A test environment arrived soon after.
Wisconsin couple has old phones and nobody to buy them
Sometimes vital images disappear and the layout gets messed up. I haven't had that happen to me with a pdf.
Yes, though supporting an organization always feels like expecting someone else to do the hard work. I'd like to do more.
> extremely poorly rendered pop-up for hovering over elements on the task bar

The only real issue with that, for me (and it's not poorly rendered, not sure what that means) is the time it takes to activate. You have to hover over it for like a second before the pop-up shows up; this is especially frustrating when items are grouped.
Serious question: does this come from real first hand experience of knowledge of the issue or are you simply repeating the NYT/the Atlantic/Vox etc.?

My understanding is that about 8% of US prisons are privately owned. Perhaps that's not a good thing, but I don't think it is at all correct to say that "prisons in the USA are for-profit enterprise" when the actual number is so low.

I have also heard this narrative for a long time that the prisons were filled mostly with non-violent drug offenders, only to learn that this description only applies to about 3.5% of the prison population. Maybe that's not a good thing either, but again I feel like I have been intentionally deceived after reading supposedly high-minded journalism into believing a fundamentally false understanding of what is going on.
A system critical floppy drive failed in a back room somewhere
I was on vacation with a (now-ex) girlfriend. She wanted to go to a timeshare tour and presentation so we could get free theme park tickets. We went. Big mistake. We were there for several hours, then they had us meet with some sales rep which droned on for another hour. After claiming poverty and refusing to sign any contracts, we were given our free tickets... I would've rather paid for them.
You might consider emailing him. It's lonely in jail/prison. Suddenly everyone you thought were your closest friends don't speak a word to you again.

If you're lucky, you've got a wife or parents that'll write to you or take your calls.
Wayland doesn't fractionally scale chrome, discord, vscode, spotify, beeper, and other appimage and non-native applications. So even if KDE enables it by default, most users will have to switch back to X.
My fellow autists in the IT industry have a hard time coming to terms with the fact that the answer to the question "how much will this cost me" in other departments is mostly made up bullshit, so you have to learn to say made up bullshit too.
Just a small correction but you mean DMT: DHT is the hormone that causes hair loss.
You literally suggested Google forms are “offensive” to a hiring manager that initially wanted to use it to get some answers from you? I have a feeling that interaction might have been shared with his coworkers with some amusement.
"Alcohol has zero medical value"

I'm not sure which of my medical certs I'd want to lean on for this, so I'll pick First Responder:

Alcohol ABSOLUTELY has medical value. It is one of the most basic sterilization tools utilized.
I think it is useful to draw a distinction between “new” nootropics and those with hundreds of years of demonstrated use.

While nicotine has not historically been used in isolation, it has been used both in recreation and religion settings for around 2000 years. Caffeine use is similar, perhaps older.

There’s still reason to be wary of higher dosages or new delivery routes, but it seems unlikely that dabbling in low-dose caffeine or nicotine use will make you go crazy, based on the mountain of historical evidence to the contrary.
If you can’t design your program in your head, and can’t trace the code by reading it, neither the compiler nor AI (i.e.: code derived from other people’s code) won’t help you.

I like Go in that regard. You can keep the whole feature set in your head, and read/simulate the code without getting confused, and I’m telling this as a C++ fan.
> the very disease mechanism concept underlying the vast majority of research and interventional trials into which countless multiple billions have been poured, is incorrect.

Not "is incorrect," but might be incorrect. And we almost certainly won't know it is correct until we actually have a therapy.

Those pursuing cures could have waited until there was more solid science, but they and their funders took on the risk, knowing full well that the amyloid hypothesis is not proven.

This is not some indictment of science, this is normal risk taking for a problem that hugely affects society.
> I don't know how rdcycle works on qemu.

That's a good question! I had to look it up myself ...

Obviously qemu TCG isn't a cycle-accurate emulation. Using RDCYCLE{,H} / reading the corresponding CSRs eventually calls https://gitlab.com/qemu-project/qemu/-/blob/69680740eafa1838... which calls cpu_get_host_ticks which is basically an arch-independent wrapper around RDTSC, assuming you are running qemu on x86 host. I think icount_enabled is false in normal qemu builds.

Therefore it would measure the time taken by qemu to emulate the vector instruction, in host instructions. Which I guess is what you would want (maybe?).

> This benchmark is more meant for developers to figure out how to vectorize algorithms effectively, as in which instructions to choose.

Absolutely, I'm not saying the qemu results would say anything very deep, but they're kind of interesting from the point of view of either optimizing qemu or if you have to use qemu because the hardware you want isn't available / isn't cheap enough.
> Autism isn't really something you can just replicate with books or anything like that, there are genetics, epigenetics, and other causes that aren't fully understood.

We've banned this account for repeatedly breaking the site guidelines and ignoring our requests to stop.

If you don't want to be banned, you're welcome to email hn@ycombinator.com and give us reason to believe that you'll follow the rules in the future. They're here: https://news.ycombinator.com/newsguidelines.html.
> There are plenty more, like me, that are capable of being responsible, productive, tax paying members of society if given the opportunity, but you cannot expect anyone to change when you just lock them up in a cage with a bunch of other criminals where there is a subculture of endless negativity.

Of course they expect inmates to change, but towards even more criminality, not towards rehabilitation. This will justify them for being inmates in the first place (and thus the existence of the model) and justify them to come back later. It's a very profitable business model.

The whole article is fantastic though.
If You Bought a Tesla One Year Ago It Has Lost as Much as $40k in Value
I wonder what aquatic aliens would think the first time they saw a pine tree.
sometime ago this article was discussed here: "let it fail" :

https://www.maxcountryman.com/articles/let-it-fail