skysight-inc/HackerNews huggingface dataset:
Assume all references to valid_token were to an opposite method named ‘invalid_token’ and suddenly the ‘unless’ will make much more sense.

X = 5 unless invalid_token

Much better than

X = 5 if !invalid_token

Here the humans inability to easily process double negatives, is now an argument for using ‘unless’ in the right circumstances.
i am running fedora on encrypted btrfs, on top of a mirror raid, and i have a lot of problem with the performance of the disk. I/O frequently hangs the GUI for a few seconds. throughput is fine once it gets going, but random access to many files appears to be an issue. searches pointing to btrfs on encryption being slow, but i think the raid is also a factor.
I'd like to remark for anyone not already familiar with the game in question that ...

* Redactle Unlimited is a big improvement on original-Redactle

* Redactle is (at least for those who like such things) a terrific game, and you should totally go to redactle-unlimited.com and take a look

* as berjin says, the creator of original-Redactle hasn't been heard from in ages and shows every sign of having completely abandoned the game, so Redactle Unlimited isn't an unethical name-grab

(It looks as if redactle-unlimited.com is #2 on Google and the main clone site is #1; on DuckDuckGo it's the other way around, so well done DDG.)
That’s the generally recommended style! I hate this post. It’s arguing against something that is well known to be a bad practice (that’s fine), but it seems to put the fault for this on Ruby itself.
1 - agree with you 100%. Right to repair, match stock buy backs dollar to dollar with on-shore R&D + CAPEX spend, actually enforce anti trust, etc. etc. The only way to get the C-suite to focus on customers more than bankers is to force them.

2- the DOD's finally been able to put a spotlight on the fragility of the supply chain due to mergers, monopoly, lax regulations on foreign ownership, etc. [1]. So even if they did get seed funding from DOD or DARPA, it wouldn't necessarily stop this from happening. But it looks like that regime is (thankfully) ending.

[1] https://mattstoller.substack.com/p/nancy-pelosi-china-and-th...
It is hard to find yerba mate that doesn't taste stale outside of south of South America.

Friends that drink it ask for people traveling to SA to bring them some. They are also very particular about how to choose it.
SEC Says Sam Bankman-Fried Defrauded Investors of $1.8B
Even if you write something yourself, it might not work on a future version of your OS.
> Is there any Yerba Mate you can buy that doesn’t taste horrible though?

The short answer is "no". That's what it tastes like. It's an acquired taste, like coffee or beer, and it takes more than one try to get hooked.

Source: am hooked.
Back when solaris wasn't using zfs yet, we were using the live upgrade utility to duplicate the main boot environment on a local disk every night.

Machines booting from SAN had only one local disk, others would have 3 local disks (small and cheap ones because application data was on SAN anyway).

Main raid would do the job for availability in term of disk failure, 3rd bootdisk did the job in case of user erroror data corruption on the main boot env. It saved our asses a few times, bringing apps back online quickly and saving us from reinstalling or fixing stuff from a tenporary live environment.
I actually do not care about the addictiveness nor toxicity of any of those substances. My opinion comes from my stance that anyone should be able to do whatever they want with their own bodies. That same stance informs my thoughts on trans people, gay people, women's rights, vaccines, abortion etc etc. I see all those issues as an extension of one's right to bodily autonomy.

Humanity has done an insane amount of damage to society since everyone followed along in the "war on drugs", which stemmed from racial origins and continues to have such disproportionate impact. I'm glad we are (slowly) moving away from this atrocity :)
The article you link is a derivative and somewhat ELI5 reinterpretation of a lot of other, older work, including in particular the articles Eliezer Yudkowsky and others published on LessWrong, all done before OpenAI was a thing, before deep learning was something widely talked about.

The article GP posted is in direct lineage of the LessWrong body of work/community. It's not "pretentious" or "nerded out" - it's less handwavy, addresses a specific problem, and assumes the reader are broadly familiar with the ideas discussed - whereas the WaitButWhy article is basically AI safety 101.

EDIT: and I will spoil the article somewhat for those on the fence whether to read it: it shows how an explicitly non-agent, limited, nerfed AI could unwittingly trick you into bootstrapping a proper generic AI on top of it - not because it wanted to, or knew it would happen, but because it pattern-matched you a concise and plausibly looking answer, that has a fatal complexity-escalating bug in it.

(Hint/spoiler: you know how you can turn a constrained computational system (e.g. HTML5 + CSS3) into a Turing-complete one just by running it in a loop that preserves its state? Something equivalent happens here.)
Do you know of alternative services? I tried a couple of them, including duckduckgo, and no success :/
Wait until you get older and have cognitive issues, or have a relative that gets caught up in these scams. It's easy to say "tough up" until it happens to you.

Let's aim for a better middle ground maybe?
>the codes are still going to the old physical phone

This is something that your cell phone carrier needs to sort out. This should ideally not happen, but if your number is operational on the new phone, but you don't get texts, the carrier will help you. This is the only problem you have, right ?

Edit: The above refers to SMS. If by codes, you mean google's notifications in their app, that's a different thing. However, google will offer some alternate recovery mechanism - either SMS or a backup email.
They bought and then shuttered Slicehost in an attempt to occupy that market segment.
> Anyway, not really your point, but a fascinating group of people to think about.

Oh, hey, I sort of fit into this group, since I stream with a VTuber (virtual avatar) persona and play niche indie games. Sometimes a friend or two drops by and we chat, other times someone new drops by and says hi, but there are also those times where I spend an hour or two playing a game alone and talking into the void, expressing my thoughts, maybe getting a clip with something notable in the process to link to friends later, or maybe upload the full video somewhere later.

I'd say it's not that dissimilar from working on my own personal programming projects or even some of the blog posts that I might end up writing off and deleting, since nobody is going to see the majority of those either - if they turn out good and someone does, then great, but if not then it's still a nice experience, that's also mostly free of any expectations.

As for related things, streaming lets you practice expressing your thoughts better and speak more clearly (which is especially relevant if English isn't your first language, at a point where you can use it well enough, but your pronunciation just needs more practice). It also lets you figure out how to have decent audio/video quality and create content - something that has also helped me in meetings and while working on a programming video series.
I get a ton of value just from having vim key bindings on the commandline and in REPLs (anything with readline support). Being able to press the up arrow and then quickly edit a typo at the beginning of my previous command without using the mouse saves me a lot of time.
Emergency SOS via Satellite Available in France, Germany, Ireland, and the UK
Obligatory: https://www.smbc-comics.com/comics/20141206.png
You've listed languages that separate statements from expressions in their syntax. There is a whole other family of languages where choose consists entirely of expressions - starting with LISP in the 50s, and including virtually all FP languages today (F#, Ocaml, Haskell, SML, Clojure). Ruby happens to be one a member of the latter group. To be fair, most of the languages in that group don't have an equivalent of return/break/continue either - I think only Ruby and some Lisps do.

Regardless, all of the languages above except C and maybe Object Pascal can still have control stop in the middle of an expression, since an expression can throw an Exception (indirectly). Returning is not significantly different from that.
The doctor who helped take down FTX in his spare time
I remember (many years ago, so it may be obsolete info) that there was some difference with a "Diplom Ingenieur", or at least I knew a few german Civil Engineers that took some pride in the "Diplom" part.
I'm abundantly familiar with this. Seriously.

And, no, we don't try hard enough. There is lots of room for improvement.
No freedom for you! Next!
you should probably make it illegal to be unhealthy in any way...
Try Meta Mate 23 [0] if you can find it where you are. It's vacuum packed while fresh, so instead of the usual bitter road dust affair you get a vibrant-green mate with a mellow, grassy taste. Haven't bought anything else after I discovered this one.

[0] https://metamate.cc/product/23/
I don't like the overly-personal, almost condescending and childish tone. Why not just write normally? I can discuss and explore my feelings without being spoken to as though I'm on the edge of a mental breakdown and one strong word would push me over. I don't need to be told "good job!" for scrolling to the right or selecting a colour.

Everyone on HN will appreciate clear, concise documentation and instructions in their day jobs. I don't see why mental health discussions should be any different. Imagine if Python docs were presented in this style.
astrovim is really good as well
The author passed the input as &[char] not &str, so indexing is no problem. That's weird in its own right, but obviously not the core of the post.
I have ADHD and have had to work as a self-employed consultant for these reasons.

ADHD has caused me a life of chaos. Aside from the "fitting in to corporate requirements" I just have absolutely no chance of stability. Chaos, risk, impulsivity, drugs, drink ... all these things are required to keep dopamine levels at a functional baseline.

Get me coding or debugging an interesting problem, and i'll neglect to eat or sleep to get the job done.

I'm so thankful my brain finds coding (some of it) stimulating enough to earn a living from it. Without coding, i'd be dead or in prison.
That is propably the worst factual error in the otherwise brilliant series about Chernobyl. The series made it look like the Soviets woupdn't uave done anything without international preasure. Truth is, Prypyat was evacuated before anyone in the West was aware what happened.
Why is anything "needed"? It's all a continuum of convenience, readability, familiarity, prior art, and preference.

That you fall somewhere differently on any or all of those spectrums than the author is fine.
Binance temporarily halts withdrawals of stablecoin USDC
What do you mean? Tobacco has well known long term adverse health effects and the article mentions "smoke". Whereas vaping (I'm assuming a good brand) has no active substance other than nicotine, which is no more harmful than caffeine which society consumes in copious amounts, and doesn't produce smoke.
The speed of their official site says why it's dying.
Slippery slope argument, so easy.
Currently working on getting more funding to continue my education; wish me luck! Obviously it would be ideal if this wasn't an issue.

As I've said in other parts on this HN post, please be sensitive with verbiage to avoid removing the app from the front page. Inflammatory comments risk triggering automated downgrading of the post based on NLP. The general sentiment here is positive, and it would be nice if others can have the opportunity to try the app.
The healthcare cost impact is more complicated. Smokers consume more healthcare at any given age, but die earlier and cost less in healthcare in their lifetime. At the national level the lifetime costs and aging population impact are arguably more important than single year costs.

NEJM[https://www.nejm.org/doi/full/10.1056/nejm199710093371506]
US SEC Charges Sam Bankman-Fried for Defrauding FTX Investors
This was touching and inspiring, thanks for sharing
For anyone who isn't familiar with Dota's history, the above poster is effectively lying (yes, lying).

Starcraft and Warcraft 3 had what they called "custom maps" that people would play competitively online, with completely different styles of gameplay than the original game.

There were probably thousands of custom maps, but over time "genres" of map became more popular than others.

Dota is one such map, but it became so popular that in 2013 Valve released Dota2. Valve got involved because a few of their employees were fans of the original Dota mod and they wanted to build a modern sequel.

Dota, in terms of esports (aka Dota 2), is less than 10 years old.

Dota as a genre can draw it's LINEAGE back to the original mod from 2003, but that's about it.
> Your USDC deposits are automatically converted to BUSD

Guess this is not new, but it seems like an obviously horrible idea!! The minute people lose confidence, the value of BUSD go do down and people will withdraw in not-BUSD. Meaning they will have to make more BUSD to cover the difference, devaluing the BUSD more, causing a spiral.

What am I missing here? Hmm..
It's literally mentioned in the document a bunch of times.
Yes, every person of voting age.
Most activity on MSM could be summarized this way but its usual patronage may be too far gone to notice.

And too far gone feel the days I thought the internet would elevate most people's minds, but commerce is commerce and consoomers are consoomers and somehow this all feels so inevitable it's best to shut it out.
https://www.npr.org/2022/12/13/1142208055/nuclear-fusion-bre...
I've tried most drugs it's humanly possible to do, except heroin and its derivatives.

Cigarettes are the only thing I still get a craving for if I see someone smoking.

That, and coffee. Probably the two most practically addictive things I've ever done.
That is close to what they are doing, for example they deport people for being fat.

https://www.nbcnews.com/healthmain/new-zealands-solution-ris...
This. People naively assume it's the nicotine that is harmful in tobacco. It's really not much more harmful than caffeine. The problem with smoking is the tar. Vapour has zero tar.
Yes absolutely, and all other so called "hard" drugs.

Or on other hand maybe we should ban ethanol too and treat it exactly like heroine. After all the damage and costs to society are pretty similar.
My electricity (southern Sweden) is going to peak at 917 öre / kWh today, which is 0.89 USD. So we’re not far off.
The flat-earth logic.

I'm not saying you're wrong, but you're one anecdata point without study.
@DalasNoin The solution for Fentanyl and other theoretical substances with higher addictiveness and mortality rates is to make supply a very serious offense, currently a disastrous failure in the USA. The solution with cigarettes is to make them expensive and hard to buy.

Banning things does not work and lulls people into a false sense of security imo.
Guns in the UK are a good example of that.
I clicked it. It's just a spinning image that I'm unable to interact with :0
>it becomes excruciatingly annoying to edit non trivial amounts of text and not have vim.

I can relate to this. Writing code without Vim feels like punching in a dream. Make sure you're working in an environment where you're allowed to use such tools.. I'm currently not and it stinks.
Cities on Asteroids
wow. this is so creative, empathic and resonates with love and compassion. thank you!
Ethanol has been perfectly fine since prohibition ended...
You don't, but others might. I appreciate the care shown.
Prohibition wasnt quite the abject failure it was made out to be: https://www.vox.com/the-highlight/2019/6/5/18518005/prohibit...
No need to wait: https://www.theguardian.com/technology/2022/dec/13/becoming-...
Serious question. What support would digital ocean , an unmanaged vps provider , really need to offer besides keeping their network, control panel and kvm nodes up? Assuming their infra is running normally which is a bare minimum there should be no reason to contact support.
I'm on your side, but there is not much you can do to convince Jetbrains to make IntelliJ more performant. They are adding more features with every release. You can expect IntelliJ to become slower and slower if you don't upgrade your hardware.

As a user your choice is buying new hardware, or not using IntelliJ. Paulo Renato de Athaydes decided to do the latter :). However, he states that he's missing the features of IntelliJ :). That's why I would buy a more potent computer (or one that has more fans and able to cool down good enough).
This was for what was announced this morning https://www.npr.org/2022/12/13/1142208055/nuclear-fusion-bre...
Speaking as an extremely lazy individual, I enjoyed the encouragement. To each their own.
If you put in USD and EUR had turned worthless..
Ask HN: How would you build a custom web scraper?
I'm trying to build a web scraper that can scrape similar websites. For example, if I wanted to scrape 10 different fast food sites and return the locations the stores are in, it would be able to identify different elements and do so. Any ideas on how to implement this?
If you don't have 2FA enabled, it seems that Google will now sometimes arbitrarily choose a previously logged in device or previously associated phone number and require 2FA through those, so having it disabled can be even more dangerous.
SEC charges Sam Bankman-Fried with defrauding investors
None of that is relevant to ancient people having mystical knowledge we don't.

It also partakes of the racist trope of labeling some knowledge "Western" when, in fact, all knowledge belongs to all, and all knowledge has been improved by all. Saying that some knowledge is "Western" devalues the contributions non-Western people have made, and essentializes cultures in a harmful fashion.
By leaving the position open forever and taking a loan against the security.
Depends upon which flavor you find objectionable. If you don't like the taste of very strong green tea, then yerba mate may not be for you. However there are several other factors that can lead to yerba mate tasting bad. First is the quality and freshness of the yerba. It should be 6 months or less since it was packaged (check date stamps). It should be made with 80-85* C water (too hot, and it will be super bitter). Whether the yerba has stems (palitos) or not (despalada) can make a difference, stems contribute a bitter taste to the drink. As has been mentioned, knowing how to load the mate and get it primed can also have an effect (ideally, you're going for a slightly nutty, green tea flavor, with a tiny bit of sweetness). It also needs to be a high quality brand, which can be very difficult to obtain outside of S.America. Some high quality brands are:

- Taragui (Argentina)
- La Merced (Argentina)
- Union (Argentina)
- Canarias (Uruguay)
- Sara (Uruguay)

For preparing mate cold (called tereré)
- La Rubia (Paraguay)
- Pajarito (Paraguay)

... and though highly controversial, you can add sweetner to it to make it less bitter, at least until you palette adapts. But be prepared to be chided with "si no es amargo, no es mate" if mate connoisseurs catch you doing this.
What's the definition of "perfectly fine"?
Cube has a nice set of React based examples, which helped highlight some of the better options along your thinking:

Dashboard - https://highcharts-demo.cube.dev/#/

Pivot - https://react-pivot-table-demo.cube.dev/#/

Query builder - https://react-dashboard-demo.cube.dev/#/explore

I personally would avoid BI in the stricter definition (Superset, PowerBI, Metabase etc) unless you are building internal tools, as they have significant baggage catering for their designed use case.
No, the health issues of smoking are overwhelmingly the result of breathing in (incomplete) combustion side products, which are extremely cancerous and trivially demonstrated to be so in freshman biology experiments.
What about vaping? if it is still OK, then it is not just the drug (nicotine) they are worried about, but the health effects.

Ok then, next ban alcohol please, then junk food. Are these less of a public health issue? I suppose they are just still socially more accepted, that is all. Isn’t this what laws are anyway, social constructs?
Also speaking as someone with experience in MMO development: This is fucking wild to describe as a handwave, you think Epic / Tim Sweeney have the wrong end of the stick regarding distributed execution because... the AIs will solve it for us in the next few years?

> By the time Verse is built up enough and has enough market penetration...

Verse will already have a dominant market position the minute you can do something in Fortnite with it.

I'm much more interested to know what the top LSL programmers or Minecraft modders think of it, than the team working on Guild Wars 2 or whatever. That's who it's relevant for.
Power from renewables costs less than from coal.
I suggest that everyone go through this journey before using Neovim: https://www.chrisatmachine.com (so you can understand how and why something works, and also fine-tune your setup). Chrisatmachine's setup as for me looks similar to AstroVim.
Fusion breakthrough thrills physicists, but won’t power your home soon
As one of those players, I stopped when I finally realized ranked in league wasn't actually competitive because Riot had no interest in making it competitive.

And because I no longer play I have, over time, completely lost interest in watching it. Part of that is that the OG players I used to watch have pretty much all retired save a select few.

I'm sure there are people that continue watching it long-term after they quit playing, but I doubt it's a hugely large percentage. The only exception is going to be championship games, where I'll still sometimes tune in (especially worlds) until NA falls out and then I don't even bother watching the actual final game.
It's a wonderful video, right?
Is This the ‘Kitty Hawk Moment’ for Fusion Energy?
Twitter Trends from 2022
Anyone else had terrible teeth pigmentation when consuming yerba mate tea?
I had tried using it for some time, but had to go to the dentist because my teeth where turning brown. After realizing that introducing the tea was the only change I made before the issue started, I stopped consuming and the issue was indeed solved.
The link to the c code it is based on is down but the archive is:

https://web.archive.org/web/20210518022312/http://www.codeco...

Not sure I understand how that's calculating Pi though.
> "Old language have it, so it must not be a problem" is not a very convincing argument.

That strawman is not the argument. The argument is that "popular languages have it, so it must be solving some problem".

You can say what you like about popularity, but it still remains a good indicator of what works in practice and what doesn't, especially when the alternatives are all well-known and have been around for decades.
The thing I enjoy about Mate is how long lasting and stable its stimulating effect is. Coffee just gives me a quick spike after which I feel bad. Mate helps me to concentrate on boring stuff for hours.
ESC :x is inevitable to learn.

i and ESC :w should also be in every programmers repertoire.

/ for search 123G for line number x d gg and G are valuable if you use vim a bit

The rest has diminishing returns unless you ssh a lot into machines without GUI.
Nah, this policy rocks. No one who is already addicted to smoking will suffer as they ratchet the age so that existing smokers can continue to smoke. If you really want to try/start you can bloody well learn to cultivate it yourself and no one can stop you. It was signed, sealed and delivered within a liberal democracy. Kiwi here.
because js should never be the first choice in any case...