skysight-inc/HackerNews huggingface dataset:
After trying enums in TS a long time back I also realized it was best to avoid them. Here is my solution to this:

// filename: role.ts
export const Role = {
CUSTOMER: 'customer',
ADMIN: 'admin',
SYSTEM: 'system',
STAFF: 'staff',
} as const;
type TRole = keyof typeof Role;
export type TUserRole = typeof Role[TRole];

Using this structure I can reference any of my roles by `Role.CUSTOMER` and the value is `customer` because it's just a `Record<string, string>` at the end of the day. But I am able to type things by using my `TUserRole` so a function can required that the input be one of the values above. For me this is really clean and easy to use. Note the `type TRole` isn't exported as it's only an intermediary in this process, I could just as well name it `type temp` in all my files and never worry about conflicts.

This way I'm not spreading "special" strings all over my code (always a sign of code smell for me), I can changed everything at a central location, and it's valid JS (it's just an object).

EDIT: I know that `as const` seems unnecessary but I'm pretty sure it's needed for some reason, I whittled this down to the smallest/simplest code block I could and I just copy/paste this pattern whenever I need enum-like functionality.
> We can all imagine that maybe if there weren't patents, certain things wouldn't get invented. But that experiment happens in people's heads, and the outcome depends on how they are invested.

Well put!
> I can just run a bucket of water then shut off the main to make sure the pipes don't burst.

FYI for warm-weather dwellers: that is not adequate preparation to prevent pipes from freezing and bursting!

Required prep depends on insulation and interior temperature, but in the extreme you want to drain the supply pipes and put antifreeze in the drain traps (which can also burst, though less catastrophically than supply lines!).

An alternative that works in medium-cold temperatures is to leave all terminal taps dripping slowly.
One of the greatest works of all time (according to me) and also quite underrated among all his celebrated works, at least in North America.
Punched tape (on loop) would be more suitable :)
fixed /facepalm
Thanks!

It's Next.js, so React + Node.js, written in TypeScript.
Is anyone else getting the feeling from this press release that it seems they actually don't (yet?) know how their previous 2FA system was circumvented by the attackers?
The ad campaign is notable because, much like most Perfume ads, it's downright bizarre. The ad sells a concept extremely well and then makes the leap of a lifetime for the subject that is a crazy let down.

Edit: the funny thing for me is that if the ad ended with the SpaceX (or Boeing, or Northrop, or USAF) logo and gave the SpaceX employment site at the end, I'm sure it would be seen as one of the best ads of the last few years. The leap is what kills it.
This, they don't say, maybe they don't even know, since:

> In an abundance of caution, we revamped and migrated to a completely new 2FA infrastructure.

> 2FA tokens for all users worldwide were subsequently revoked to ensure the new infrastructure was in effect.
I think he is being sarcastic, and you're right, OxyContin is a great example as to why blind trust in medical institutions which are in the pocket of big pharma can be very dangerous.
Why shouldn't I work for Crypto.com ? That’s a tough one but I'll take a shot. -- Will from Good Will Hunting
Not entirely; there's been a SCOTUS decision (TC Heartland v. Kraft Food Brands Group) that has had an impact on forum shopping by patent litigants.

https://www.abajournal.com/news/article/patent_lawsuits_drop...
Technically, they agreed to pay $700M over 20 years for arena naming rights -- no idea what the deal actually looks like but if you flat-line it, they're "only" paying $35M/year. Which is still a ton of money but much more reasonable in terms of cash out the door for a startup.
No, that’s still sad for the exact same reason.
Boop is another option for mac, although it's a bit more minimalistic, you can add your own scripts.

https://boop.okat.best/
I have over one meter of insulation in my attic. But realize that way this home was constructed, a good portion of the roofline is directly against the ceiling. You can't add insulation to that area. It is very poorly insulated by design. The snow on my roof always melts in this area and make some nice ice dams as it runs off. There is no fixing that without a major change to the home.

The only thing that could freeze when I shut off my water main is the water main in the street. If that freezes, that isn't my problem. Nor is it anything I can do something about.
Apple's marketshare in mobile is ~ 62% based on this, and ~ 25% on desktop.
How is _BMJ_ an "edge case"?

And why should Facebook and its partners decide on what the conclusions to be drawn from this story should be?

I'm sorry, but to me your attitude seems arrogant and condescending: the masses cannot tell truth from lie and cannot be trusted to reach the correct conclusions. And I suppose that, if asked, you would advocate for education with emphasis put on critical thinking.

But you can't be both for critical thinking and for this paternalistic attitude where people get their cues from the truth-arbiter du jour.
I had no idea either - Gödel's was extremely mentally ill, didn't realize how long it was.
What’s the difference between this and react relay, which generates typescript types for Graphql queries?
> Market based capitalism can handle the negative effects of climate change if producers are forced to pay for the negative impacts they produce.

Market-based capitalism could have handled climate change if we had perfect advance information about the infinite horizon adverse effects before it started, and had priced that into actions by pigovian taxes from the beginning of the industrial revolution.

We don't have that information now, and the people against whom such costs would be assessed have incentive to (and actively expend resources) preventing consensus based on the information we do have to prevent the information we do have from being applied that way.
> Don't worry, in 5-10 years it will be good for you again.

I don't know about that, it it looking more like Alcohol is heading down the path of cigarettes where the more unbiased funding and studies that are done, the worse it appears. There have been several convincing reviews[1] recently that showed an increased risk of cancer at any dosage.

[1] https://pubmed.ncbi.nlm.nih.gov/32584303/ (First one I could find easily again)
I think doom is really good for inspiration. I used it for a while and it gave me a lot of good ideas on the kinds of things I could do with emacs and elisp.

I now use my own much simpler config, but I've borrowed heavily from the things I like about Doom.
Another requirement would be that the current owner of the patent be kept on file and up-to-date otherwise the patent gets automatically invalidated.

As it stands right now it can be literally impossible to find the current owner of a patent. The "inventor" is irrelevant metadata in a patent filing. What matters is who owns it and what happens a lot of the time is some business owned a patent and it folded. Or the patent was secretly sold to some other entity and that sale was never disclosed to anyone (and even if the previous owner can be found they have no obligation to tell you who they sold it to).

So even if you wanted to negotiate a license for an existing patent it's an uphill battle a lot of the time to even figure out who you need to talk to. It's an incredibly impractical system.
Most americans use a fairly sweet everything. God even their barbecue is full of sugar. I have the impression the whole country is sugar addicted. I'm from a culture where mixing salty and sweet stuff is considered abhorrent (south america), I could not find a single food I liked in the time I spent in the US (except desserts), and was soon forced to cook myself or I'd barely eat at all.
Sony expects Microsoft 'continues to ensure' Activision games stay multiplatform
You'd be happy to know that iMessage isn't an outdated phone service protocol.

Most of my spam comes through WhatsApp for comparison.
FREE ZEN EVERYDAY
Uh, yes :)
as someone who grew up i a community that has for many reasons, religious, social, economic that no one really does alcohol.
when there is nobody who is drunk, we have 0 drunk driving cases, 0 cases of people ending up in wrong places, 0 cases of alcoholism, 0 cases of "well we will just mix a drink with something more recreational", no need for AA among a host of other things including not having to budget alcohol in your daily budget because people are generally still poor.

why is that not more prevalent?
I replied below
On the topic of von Neumann and Solomon Lefschetz, a while back I saw a documentary about Paul Halmos that discussed them, unfortunately it seems to have been removed for copyright but the trailer is still accessible [0].

The gist of what he said was that while he admired von Neumann greatly, particularly for his incredible speed and clarity of understanding, sometimes he felt a greater respect and closeness for Lefschetz, who lost both of his hands in an industrial accident and despite saying that Lefschetz's style of thinking was 'incredibly confused' in the sense he [Lefschetz] didn't have a full understanding of what he himself [Lefschetz] was thinking, he wanted to get to know him more. More evidence comes from a quote of J. Barkley Rosser which goes as follows [1]:

"If Church said it's obvious, then everybody saw it a half hour ago. If Weyl says it's obvious, von Neumann can prove it. If Lefschetz says it's obvious, it's false."

He also notes unlike Lefschetz von Neumann was not considered by some mathematicians to be a great mathematician because there wasn't one big thing or field that he became the best in the world at or contributed the most too, noting that in mathematics he would likely be best remembered for his work in rings of operators (now known as von Neumann algebras). This lines up with several other stories I've read in math history where many considered much of von Neumann's work past the 1940s (where he was working primarily in applied mathematics and other applied fields) a waste of his talent.

[0]: https://www.youtube.com/watch?v=ONvYPldXoZs

[1]: https://web.math.princeton.edu/oral-history/c21.pdf
It doesn't matter if the pipes burst when there is no water pressure. The repair cost in that case is like $10. The only time a burst pipe is a real problem is when the water is on and it runs 10000 gallons of water into your home.
Not the roads. But the tunnels! And fondue.
I'm guessing any withdrawal that was done while using an exploit to bypass 2FA could be called unauthorized in this case
Yes but a moderate amount with good friends is great for my soul.
Supermarkets don't have a lot of things here in Berlin. But there are plenty of Asian stores. I bought some MSG a few months ago in a Pakistani shop that also sells a lot of other nice things that you are unlikely to get in most German supermarkets. If you are in Berlin, the shop is called Tariq and it is near the Gesundbrunnen station.
A MeshLab plugin to find optimal oriented bounding boxes
I guess they know which accounts circumvented their previous 2FA implementation.
I get what you were saying now... you were talking tooling, not product software.

I agree with your take on the tooling side. No need to gold-plate something that works in the narrow scope it was created for.
Looks well designed. But in documentation content remains king, the looks (IMO) always comes second.
I assume they stole just anything they got.

I'd assume any attacker would at least transfer everything to a BTC/whatever address generated offline, then figure out later how to launder it.
Its cliche, but it doesn’t really mean that crypto.com or any other crypto exchange isn’t on the hook for stolen funds.

Crypto doesn’t mean regulation doesn’t apply or that companies are free from liability.

Obviously you can’t squeeze blood from a stone if someone were to steal most of the funds from a crypto exchange (Mt. Gox comes to mind)

But in the real world, if you use a crypto exchange in a reasonable location (e.g. US exchange adhering to US laws) then small thefts like this are going to be reimbursed one way or another.

Now if the entire exchange and their cold wallets were stolen somehow, it would be game over.
The numbers match with the chain activity: https://twitter.com/ErgoBTC/status/1483540849434763264
I assume they have SMS as a 2FA option and that was the weak link?
You're right; I'll edit it. Thanks for pointing that out!
Doesn’t answer the question
yes, they literally logged everyone out, removed 2FA, and on the new login, users had to re-add 2FA
I think you just described crypto currency;)

The community ethos and ideas seem pretty disconnected from what actually happens.
I mean, the little cartoon meter is pretty arbitrary. What’s the difference between half true and mostly true? Those two phrases seem mostly equivalent to me.

But the more important thing is the analyses I think, they are quite similar in content. And raise the same caveat about the civil war taxes. These fact checks were 3 years apart, so it may be completely different groups of people writing these fact checks. Yet, they both arrive at similar conclusions with slightly different language. I’d say that’s an okay result.
That's kind of interesting, I think it might be more interesting if they didn't include Alaska and Hawaii and tracked those separately.
The State of Robotics
That sentence works if you replace pizza with parmesan, or any of the Italian protected origin foods.
German engineering is good because it is conservative without losing a forward gaze. You see these effects socially and you lament that it isn't something else (from the examples, the ideals that the US like to espouse), but it wouldn't be what it was then. As a whole, it is what produces the OS you like.
I think I had it back in the day when it was just appearing in Italy. I was on a skying trip and a week after we came back the first case was confirmed. I felt really bad for 2 weeks, breathless, tired, like bad flu but not much of a fever. For some time I felt off, tired, unfocused. And then it just slowly dissapeared I think... but I got the vaccine 1,5 year after the susspected infection so I didn't feel a difference much. If I had covid confirmed, I would think I had long covid.
> In an abundance of caution, we revamped and migrated to a completely new 2FA infrastructure.

That isn't the technical solution I was looking for...
Thought so, but wasn’t sure. I was fond of the pizza effect story, and am holding on to the hope that it’s at least partly true. But you supply a powerful counter-fact.
I am a cyber security consultant for startups. The first thing that I communicate is that just by not being in crypto you have drastically lowered your risk profile.

Attackers care a lot about what they can get to if they are able to breach your security.
StylEx: A New Approach for Visual Explanation of Classifiers
my go to is https://thelinuxreport.com
The Economist’s $100 bill, and the virtue of consistency
LWN and Usenix are the two subscriptions I happily pay for, and would be happy to pay more for. The quality of the content, and flexibility around how to share it, is well worth supporting.

I also pay the ACM, and that one physically hurts me every year.
No tomatoes? No salads with fruits? No Duck a l'Orange? No fried plantains?
It plays before every single movie in my local theatres. And every time there's at least several people booing it. It's kind of funny.
I did an overnight oximetry test for that a few months ago, it was apparently fine.
Altos Labs
That's an interesting graph. They appear to have cherry picked data and used strange start dates for each. Based on numbers I've seen it looks more like this:

Bitcoin launched 1/2009 - as of now there are 100M users (your graph says 135M, which seems to be a very high estimate but lets go with that).

World Wide Web was released 4/1993 - 13 years later there were at least 700M users (very conservative estimate). Mind you this growth depended on everything from having a computer (22.9% of US households had a computer in 1993) to laying untold miles of fiber optics, undersea cables, building out physical datacenters, etc. Literally people digging ditches and ships circling the globe - many thousands of miles over.

By being essentially just another internet application (most people consider WWW = internet) taking advantage of all of this infrastructure Bitcoin/blockchain had/has a HUGE advantage over the WWW. To be a bitcoin user in 2009 you had to have a computer and install a program. To be a bitcoin user for the vast majority of its life you could/can hear about bitcoin at a bar, pull your phone out, and install an app on your smartphone to be a "bitcoin user" for next to nothing in under five minutes.

To be a WWW user in 1993 you had to have a computer that could handle it (Windows? Trumpet Winsock?, CPU, RAM, modem, etc) and a local ISP, etc. I remember in 1994 having to install a modem, a second phone line, and dial into an ISP that was LONG DISTANCE... It literally took weeks to get on the internet in 1994 and especially in my case, it was very expensive and very technically challenging (Hayes commands anyone? Chat scripts? PPP/SLIP?).

Then a little later America Online (still crazy expensive), maybe have it at work or university, or in the later years get lucky and have broadband in your area. I couldn't get DSL until 2004, for example (and it was still very expensive).

Even with all of these monumental challenges the WWW grew at least 5x faster than bitcoin (and it's really probably closer to 10x).

I suspected that was the case with Lightning. I'll keep digging into this because as I'm sure you can tell I'm fascinated with this. Overall I'm really trying to ask:

Why has adoption in the "cryptosphere" been so terrible (arguably the worst rate of any recent technology)? This is a question every honest blockchain advocate needs to ask themselves because there are clearly significant issues impeding mass adoption. Whatever these issues are need to be identified and rectified to the extent they can. I truly hope it's not the obvious answer - "It doesn't provide anything most people want or need".
The very existence of fact-checking demonstrates a deplorable intellectual arrogance.

Do these people meditate deeple and then receive divine inspiration as to what is really true? Do they have transcendent superbrains that work better than everybody else’s? Do they have access to Secret Wikipedia that contains only true and current facts?

The truth of everything we do will be visible only centuries from now, after all strong political feelings we have shifts somewhere else. (Today we look at Ancient Rome and do not care about the Reds and the Greens.)

Also, most human statements cannot be evaluated for truth, including this one. We communicate mostly feelings, sentiments, our sense of something, and the odd number or two.
> More simply, it allows you to buy and sell the ownership of digital art

I simply do not agree with this characterization. At a minimum, the vast majority of NFT transactions do not allow people to buy and sell ownership of digital art. They allow people to buy and sell ownership of the NFT itself. Unless you consider the token itself art, this is a very different proposition.

People come up with all sorts of complicated metaphors for what NFTs are, but at the end of the day, they are digital tokens. That's it. An NFT is not the digital art that it may be notionally connected to.
I thought they would already be marked on Google Maps, but they are not. It doesn't seem possible to add them even as a Tourist destination either. Interesting.
I've been using the method I outlined here [0] and it's not tedious to work with at all. That said you might have a different usecase where my example doesn't work.

[0] https://news.ycombinator.com/item?id=30010017
It’s even worse than I thought. The Google suite is almost CA$700 per year for 6 people. I can pay about CA$100 less than that to Microsoft and get copies of Word &c for everyone. I can pay less than half the Google cost and get a similar suite from Zoho for everyone.
Time to play the classic crypto exchange game: hack or exit scam? Disabling 2FA in this scenario is dumb enough to raise the question of malfeasance of the part of this theft.
i have since yesterday ( no kidding) heard about NFT because i like to live under a rock.
i get the whole hype thing but are people really this dumb hat they are willing to fork over cash for a token whose only aim is to be a bubble store of value and general pissing contest who owns the more elusive ones?

i have never bought art so i can't imagine how that trade used to happen say till 20 years ago or even 10 years ago before all this? is it the same? different?
The OG NFT club: https://en.wikipedia.org/wiki/Augusta_National_Golf_Club

Humans just want to be feel cool and part of something exclusive. It's dumb to buy digital art receipts for 6-7 figures, its dumber to pay that much and then 5 figures on a yearly basis to play golf.

People with money want their own club though, so something like that will always be around.
First we need to find some managers with personal knowledge of 'personal "personal knowledge management" managent'.
Once i was talking with Michael Kandel how he translated that passage, particularly the list of nonexisting things that begin with N. "I just made that up," he said.
yeah, the PR is totally unclear about how they got hacked, or if they even know
Depends on my bank.

I’ve got long term investment accounts that I hardly touch … I would have no problem with such a rule/ extra validation of any moves of money.

Granted crypto.com might not be / want to operate like that.
Especially with mobile devices taking over. An increasing number of people don't even have a laptop or desktop to hold a whole blockchain on. Even an iPhone 13 Pro with 1TB of storage would lose 10-20% of its space to that. That isn't going to improve. The more popular it gets, the faster it grows, and it would compete with all the other storage needs that also grow.

Get someone to load up and maintain a whole blockchain on their 1TB phone, and you lose them the moment they need more room for photos or offline synced music and files.
I looked into this as an option, and it's worth mentioning - if you need email aliases, you'll need a Business 365 account, not a Personal 365 account.

The Basic (lowest tier) Business account is roughly same price as the personal 365 account, but I believe they are completely different services. If you have an existing personal 365 account, I don't believe there is a seamless switchover to a business account. You will need to create a business account separately.
Having had small CRT monitors, I can't tell if this is true or trolling.
MicroOS is actually based on Tumbleweed. It’s immutable/atomic. I’ve been checking it out and am super impressed. Fits a lot of my use cases.
>nor will it turn entirely into 4chan.

Sadly, it seems that instead, the internet is turning entirely into Facebook :(
They took out huge ads in Vegas for re:invent. Personally that set my alarm bells off pretty badly.
I would actually love such a feature, especially in a brokerage context.
The diary is real, that much has been eluded to. But, again, are the excerpts that have trickled out real?

For what its worth, I believe [1] PV didn't publish anything from the diary deeming its contents irrelevant to the public.

But the stuff on laptop? I think its probably genuine. Too much corroborating material. Too many sweet board positions. Too much success in the art world (btw, the art is not bad. Just… unoriginal.)

[1] I dont follow PV so I dont know what they do or not do as a matter of fact.
I could have sworn that one of the usual suspects - Ostmann, Fuchs.. - used to sell it in small shakers you'll find in supermarket spice racks, but those seem to have disappeared.

You can buy it by the kg from Metro/Selgros, though.
Kaldi Speech Recognition – A Simple Tutorial