skysight-inc/HackerNews huggingface dataset:
I just went through the CBMC tutorial[1] to make sure I'm not crazy. Yes, CBMC is a bounded model checker, as I thought.

CBMC can also be used for programs with unbounded loops. In this
case, CBMC is used for bug hunting only; CBMC does not attempt to
find all bugs.

Frama-C is about eliminating ALL bugs, you are allowed to prove your "unbounded" loop algorithm actually terminates, and terminates with the correct solution, if you are willing to learn to use the manual proof assistant. CBMC can check for an extremely important class of errors, but it doesn't let you prove, say, your traveling salesman solver always returns a shortest trip T through the graph G, or that the graph coloring register allocator for your C compiler always correctly colors the graph, something that is actually done for the CompCert formally verified C compiler (using the Coq/Gallina proof assistant, which can be used with Frama-C).

However, having now gone through the CBMC manual, it appears to be much faster and easier to use for my own limited purposes than Frama-C. I don't need a sledgehammer to swat flies. I also like that the installation procedure on my machine was simply,

$ sudo apt install cbmc

So I plan to give cprover a shot now, thanks for the heads up. : )

[1] http://www.cprover.org/cprover-manual/cbmc/tutorial/
> They care instead more about cultural issues, which is why people have fond views of Japan, South Korea, and Taiwan

Apart from anime Japan is pretty much a cultural desert for us, Westerners, right now. Compare that to the excellent movies they made back in the '50 to the '70s, back then they were on the vanguard of world cinema together with the French (la Nouvelle Vague) and the Italians (Fellini, Antonioni, Pasolini), as Hollywood was on its dying bed.

Taiwan is even more a cultural wasteland, I can only name you Tsai Ming-liang (who apparently has just filmed his last ever feature film) and Hou Hsiao-hsien, other than that it's only the idea of money and of making money that comes out of Taiwan.

South Korea is a little bit more complicated. There's K-Pop that's definitely a thing among younger people (I'm personally 40+ so I'm not in their target demographic) and there's Korean TV dramas, which rival Turkish TV dramas in many parts of the world, but I would say that's not probably what the author had in mind. SK used to have a very, very vibrant movie scene in the 2000s and a little in the early 2010s, its Busan film festival was one of the most interesting movie festivals in the world at some point, but for some reason or another all that is a thing of the past now.
You can bully smaller countries through trade, but when US, Russia and China violate international law, they escape scott free.
> they can take over the blockchains and allocate all cryptocurrencies to themselves, cash out

Assuming this was even possible, your plan has a fatal flaw.

Who the heck is going to buy the BTC back?
You know I used to believe that for many years and I’ve come to the conclusion that this is just a “bike-city” circle jerk scapegoating Robert Moses in order to ignore our deeper problem: Americans don’t like each-other.

We would have built better cities if we wanted carless communities. But we didn’t and still don’t.

We want this. This is what we like. We are a sick people. And it isn’t Robert Moses and GMs fault, they are a product of us. We weren’t brainwashed we weren’t forced into this. There is no cabal that made it this way. We choose it. The sooner we accept that the sooner we can evaluate real options for change.
This is awesome! Actually, building a HN CLI client is my goto "Todo list app" exercise when I learn new languages.

Here are my versions for elixir: https://github.com/nichochar/CLHN and golang https://github.com/nichochar/clhn-go

(they are much more lightweight than the presented one, but work well)
I went dark on social media about nine months ago. It's been great for my mental health.

Ironically, it was Reddit that brought me back. The reason is there is freedom to being anonymous while having all your posts public. Like HN.

I have new accounts and I only follow and post around a single interest of mine. Even my Facebook account is anonymous.

My system works well. I plan to keep using it across 2022.

HN and Reddit have shown me that single-subject media is typically positive and fun.

I have no idea what my real friends are up to unless I see them or text them.

I like my life this way. It feels like my world is smaller but it also wonderfully quieter.. in a good way.
Rocket Review
Advent of Haskell: Denotational Design
that might be why some ppl store phone numbers and zip codes as int

Anyone who stores ZIP Codes as an int should have his dev license revoked. You've just corrupted the data you store for a hundred million people in the northeast.

I'm currently dealing with a situation where a system developed by an offshore team stored Social Security numbers as integers. They had no idea that an SSN can start with a zero, and didn't even do a basic web search to see what the possible range of values is before designing the database and application.
That is how they are entered by a human, yes. Then they are converted to binary and processed, like everything else. There is no need to add two version numbers together, but as they only ever increasing, its sane and efficient to store, and compare binary.

Everything in software takes data in one form and processes it into another. There are no 'strings', there are no version numbers. There is only binary. They simply did not give enough space to store it, thats all.

DNS is a perfect example, which stores serial numbers internally as an unsigned 32 and has worked for decades and will continue to. But they chose the format of YYYYMMDDnn which will last far longer than a 2 digit year.
The authors reasoning is buried 95% into a (way too long) political / geographical / anthropological history lesson that probably nobody cares to read. Not an effective way to send a message if you're passionate about change.
It also doesn’t matter what people’s beliefs are. In my (Muslim) home country homosexuality and abortion are illegal. But they’re still entitled to public health services. For public health, and science more generally, to be trusted, it must be above all the other political, religious, etc., debates.
If you're really convinced that there's a "true" version of yourself, you should read the 70s cult classic "The Dice Man" by Luke Rhinehart. While not exactly earth-shattering prose, and while also following a general plot arc of increasingly graphic and violent sexuality, in the right setting it can be a deep reminder that there is not a single version of you. You make choices, sometimes arbitrary, sometimes circumstantial, sometimes due to other people, and those choices can illuminate entirely different aspects of who you are.
> I predicted that vaccines plus immunity from those who had been infected would end the pandemic by mid-year 2021.

Me too. I'm still wondering why, in most first world countries with free vaccines, we are still having authoritarian crackdowns and culture wars. Does the media just love perpetuating a state of constant crisis? If widespread vaccine availability didn't trigger a return to normalcy, I don't know what will. Seems like we will be doing pandemic measures for years to come at this rate since scaling healthcare in any way is off the table for some reason.
I wasn't learning from 0, and I had been interviewing candidates all the time at my then-current position. It was really primarily review / drill.

As far as if I'm a genius or not - I think I'm pretty smart but think the same about lots of people I've worked with. I graduated with a 3.9 GPA at frankly a pretty easy school (Kent State), where I definitely was one of the top students in undergrad. I've definitely worked with smarter people at Google.
> Even with a big year-end selloff, which I believe was mostly tax-driven

Wondering what big year-end selloff he’s talking about, given the fact that the SP500 just made a new all time high only days ago.
If you are just visiting, you won’t see much similaries. Japanese also consider non Japanese (or more precisely, non Asian looking), to have different norms than us so we treat them differently. Its an internal barrier that homogeneous society make. We will be polite about it but forever we will consider you a foreigner.
I won't conclude that the OP is lacking in social skills, because it seems to be weird that being articulate and lacking in social skills can coexist. Being a good writer means you have to write in the view of your readers and be very considerate. And I think those are the same social skills. Self-centered person can't be a good writer.

I can resonate to this article. I feel lonely and at the same time, I have been pruning my direct circle. As I grow older, my circle gets smaller, because I found most connections are not nutritious. Many of my colleagues seem to only care about two topics, 1. the (micro) housing market. 2. how to send their kids to the Ive league. There is no talking about innovation, creativity, ideas. The topics don't have to be about tech, music, finance, art are all good. My point is, I think being an interesting person, one has to be curious and has some spiritual pursue above the life itself. Unfortunately most people (in my life) seem to be the same industrial products being manufactured on a same conveying belt.
Sweet, thanks for the links and efforts.
Do they have much for historical data available?
I don't think your sentence is particularly well formed so it's not clear what you're getting at.
We use decimals for all currency and rate properties. Integer is fine in many cases too.
Very interested in your setup -- if you're willing to share.
They mention it might be having an effect but also stat the the level is about 10 times lower than in the 70's. So my guess is that unless a high level of radioactivity is good but low level is bad then it is not a major contributing factor.
Fastmail search is better than Gmail
I'm in the process of switching from Gmail (last 13 years) to Fastmail, and so far, am very happy with the transition. I'm using forwarding at Gmail and a vacation message to let people know I received their email but now have a new email address.

Today I checked out Fastmail searching vs Gmail. I've never liked Gmail search, because half the time it won't find what I want. I think this is because it can only search on whole words.

Fastmail also apparently indexes whole words, but it also allows a wildcard suffix (but not prefix) so it will find email containing "Fastmail" if I search for fast*, whereas Gmail won't. Yay!

It's kinda funny to me that Gmail, run by the world's largest search company, doesn't actually do full-text search. If I search for cuss and don't get any matches, it seems reasonable to search for cuss* next and *cuss* as a last resort, to find "discussion". I know it's not efficient to do that last one, but I just tested fgrep on a 1GB file and it took less than 4 seconds to search it. So Google spending 12 seconds on a mail search (I have 3GB of mail, and yes, I know they probably don't store it as a 3GB file) would be a lot nicer than me trying to manually hunt through email.

I'm guessing Gmail doesn't even index words but uses "interned" word numbers, so searching for partial words is not even a possibility.

Gmail will spend about a minute searching for the word "the" in my mail, so spending around 12 seconds doing the equivalent of fgrep doesn't seem too unreasonable.
I agreed with GP sentiment (and wrote a similar comment myself), but absolutely disagree with your sentiment.

Being able, but unwilling, to get vaccinated substantially shifts my priors of where your comment is coming from. It is useful information, and I appreciate when people disclose it.

If you replace vaccination with an analogous, more politically one-sided limit case (say [not being a Nazi]:[supporting a policy of Hitler] - in typical Godwinian fashion), you can see why this sort of information would be useful.
This is excellent!

And also - I think that building HN utilities / clients is like the modern nerd FizzBuzz (in a good way). Is it strictly necessary? No, but it’s a great intellectual exercise, it’s something many of us have thought about, and because there’s a common API underlying, it gives folks a chance to learn about lots of creative ways to attack the same fundamental problem space.

Keep it up everyone!
How the custom ROM scene hasn't demanded devices and software that enable verified boot is beyond me.
Sorry for reposting, the URL in my first submission wasn't right..
This isn't true, see the 'about' page.

https://danwang.co/about/
Nothing I have ever read about NFTs ever made me think wow this is real and useful. It's all a grift and yes, someone will be left holding the bag and lose a fortune. Something similar is happening in the retro games market where a group of 6 or 7 rich guys are stroking each other and artificially inflating the prices. These exact same people did the exact same thing for coin collectors in the 80s.
Anybody living and working in China and writing about it has to conform to certain viewpoints, or they'll be unable to continue as they are. This letter is interesting in several ways, but you'd be wise to approach it from the angle of it having been approved by the government. Anything remotely negative has to be balanced by big positives (or negatives about Hong Kong).
The democratization of information and discussion is invaluable really. Comes with downsides, which have to be addressed of course.
The north east coast has 4 states with some of the highest homelessness rates (New York, Vermont, Maine, and Massachusetts).
https://www.statista.com/statistics/727847/homelessness-rate...
But try dinosaurs are over 200MM ya. Humanoids nog more than a few million years.
Surely, but are we going to discuss making mining illegal because it drives up gpu prices?
The reference was

> Version numbers the way they’re used here

And none of that applies to them. Yes, there are versioning schemes that work differently, irrelevant to the example here.
I always interpreted it as something you summon in hardship. In those moments pride can be a savior (think depression, or recovering from a hard injury).

I agree that depending on the context, it can be interpreted differently, and I also accept that poetry will not mean the same thing to everyone.
I think South Korean film industry and quality has only grown massively since the 2000s. All Bong Joonho's work for example.
An additional safety feature of some cars is that the hood is designed to leave a gap underneath when open, allowing you to see through in an emergency.
We were already at fake ADHD prescriptions. It's trivial to do, there is no diagnosis criteria beyond "I can't focus". ADHD medications are singularly the only reason I can work, which is the same for a lot of people. We are a culture that puts extreme amounts of work first. Especially in college. The workloads and competition are so great now that you cannot compete without drugs.
Nicely done, something I can cross off my todo list!
Yes it's hardware for professionals in GPU computing. But you can buy them in other places.
> or even clear notifications without reading them. Your only option is to click the button that takes you to the page with the reply to your comment.

As a "clear" feature, you can always open that page in a new (background) tab, let it load so Reddit thinks you saw it, then close the tab without ever looking at the content. No idea if this works on new.reddit, but it's possible on old.reddit.
I really want to rid the world of memory bugs, so you think I would agree with TFA.

But unless he includes situations where you must have zero dependencies (besides what is already expected to always exist, like a C compiler) among the situations where you have no other choice, then I disagree with him.

My last project and my current project are both in C. I hate that that's necessary, but the truth is that C is supported basically everywhere. It means that I can claim zero dependencies because it's de facto true, in that no user has to go and find other things to make my software work.

For example, if I wrote in Rust, the user would have to install Rust if they don't have it already, so I would consider that a dependency.

Of course, the fact that I am writing in C means that memory bugs can happen, so I had to have a plan for getting rid of them before release, and I do. (See [1] for an example.)

I guess what I am trying to say is that there's (unfortunately) still a place for C, and that (unfortunately) that place may be bigger than at first glance with the existence of things like Rust.

And I think that will remain true until Rust or some other competitor is as ubiquitous as C.

[1]: https://git.yzena.com/gavin/bc/src/branch/master/manuals/dev...
Great article. Requires more than one setting to really absorb. Almost 20 years ago I did an extended study in China for my MBA. IBM had billion dollar annual contracts managing the construction of hospitals and medical universities. My MBA class traveled throughout China participating in project reviews. More and more it is impressed upon me how that China of 2004 was a photo-moment in time. With the speed of development, that China I met was lifetimes ago.
I believe it's this:

https://www.cnn.com/2021/12/21/politics/charles-lieber-harva...

And there may have been another similar case, I can't recall. I believe the US line is that China was trying to steal research or something.

I don't believe any of the people implicated were charged with treason or spying or anything like that. It's been more mundane "failing to disclose bank accounts" kind of stuff. Whether that's indicative of anything is up in the air.
No, the problem is that your dielectric mirror would have to be a perfect reflector for one set of wavelengths and a perfect passthrough for the remainder. In practice though it will always be gradients so you'll end up reflecting some of what you want and passing some of what you don't want.
How do you get to 2038 by increasing by decades only?
> 2. Due to the failure of the alarm system or something else, the alarm did not sound .

> 7 minutes is an eternally long time for people to get out had the alarms sounded correctly.

> May be the alarms were not designed to go off in the case of structural failure and only for fire etc ?

There was a linked paywalled article, the link text seems to indicate that alarm logs show the alarm was triggered. Not sure by what, maybe the article has details. I wouldn't expect some sort of collapse sensor in the fire alarm system, but when the pool deck collapsed, it may have released enough dust to trigger a smoke detector in the parking garage, or it may have disconnected sensors which could also be a triggering condition.
Yeah I mean I'm not advocating for some sort of monk-like isolation where you have No Fun and work 24/7. Just as I'm sure people aren't suggesting living a wild life where no consequences or future is considered.

I'm just saying that tipping the balance for a few years can be a really good tradeoff, and to counter the "deathbed" anecdote above.
I'm not exactly sure why, but your website gives off a very "scammy" vibe, even tough your discuss other scams on it, and since you're seemingly here in earnest, seems valid. Maybe it's something about the color theme of the site (dark text on dark background, strange choices of colors etc) or the weird element structure, low quality photos. Not entirely sure why.

Some things do read a bit weird on the website, but maybe I'm just not the target market (which seems to be "fat americans"). Here is just one snippet I found a bit strange:

> This means a typical 5/10 overweight average looking American 34 year old guy is a 12/10 here in Ukraine. Yes, this isn’t wrong. This hypothetical guy will be so attractive to the women here in Ukraine that he will be getting hit on and talked to by local women. How do I know? I used my own description. So for this number I use 12/10, or 1.2.

Maybe my tiny comment can help you improve at least a tiny bit, as we all would be better off with less incels :)
"hates implicit behavior" and "lacks arity overloading" both sound refreshingly sane to me.

default arguments? I have to agree that one is hard to justify. It's not merely convenient but also does no harm that I can see, even specifically in the context of rust's special mandates. Then again it's also not a huge problem either, and maybe a good thing for rust's special goal, that you always have to supply default values when calling rather than when declaring.

Not knowing this person beyond this bit of text, I come away thinking I too would probably not want to adopt many of their ideas and would be another one of the many people they are "disappointed" by for that.

I do not buy their parting shot "... and I have the C++ committee to thank for this."
List of Tech blogs rss feeds

https://github.com/msubhash/Tech-Blog-List/blob/master/READM...
Is there a shred of data to support Americans hate each other more than other countries? I will even take a buzzfeed poll slapped together in a minute.
Classic - It's broken because it's free and I have to put up with Advertising?

Solution - Charge more $$$ for it and it will fix it?

Oxymoron - See above!
Wow, I guess China and the CCP really are great after all. Way better than the USA. Next time I vote, I’m definitely voting for representatives and presidential candidates that promise to take it easy on China.
If anything it moves very stately simply because of it's geometry. It's not exactly a sports plane or a fighter. But it flies and quite reliably so.
It certainly scratched my personal itch for something that lets you relate/encode/recall information in 3D but also work in 2D.

The primary feedback from friends has been it's cool, but hard to use without much of UI (current version is all shortcut keys). That's something I can fix in the next couple of weeks.

A harder problem is there's a decent chunk of knowledge workers with no experience navigating virtual 3D spaces. If you didn't grow up playing Quake, Minecraft etc you might find Temin frustrating to use for a little while.
I just googled solar battery cost and took the cheapest in the result that came up: https://www.solarchoice.net.au/blog/battery-storage-price/
It is possible that the numbers that come up there are too high.
Didn't know that. Are there still recently released cards sub 4GB which I could add to the analysis?
There is a theory that the so called 'Long Peace' of 1945-present is a direct consequence of nuclear proliferation. This could be one possible reason to like nuclear weapons.

https://en.m.wikipedia.org/wiki/Long_Peace
The previous year's winners all look interesting but it would be even more amazing if there were some explanations about what I'm looking at, for each photo. Is there some page with explanations?
I believe Trump's administration ended the "globalisation project" by promoting China as the No1 US adversary. While Russia was the ideal "bad actor", China manufactures everything for everyone, so there's a catch-22[^1].

Similarly, the 10+ years EU German-driven austerity essentially killed social-democratic parties in Europe. The left did not come up strong (Podemos and Corbinstas did not manage to gain real power and Syriza capitulated), so all the gains went to alt-right (see Poland, Italy, Hungary, Greece, etc.). These alt-right parties are not pro-EU, by any stretch.

Tech is really good at categorising, quantifying, etc. If anything, the "nation state" can become over-reaching using these new technologies. I don't see how tech is weakening the nation state nor I see how the Catholic Church is a good analogy to the nation state. Maybe megacorps (directly or indirectly driving wars to take over resources scarce natural resources like, oil, lithium, cobalt, etc.) would be a better analogy.

[^1]: https://www.youtube.com/watch?v=MTCqXlDjx18 - Australia's Defence Policy Explained (satirical)
> They still aren't compatible with number types.