skysight-inc/HackerNews huggingface dataset:
Should’ve been named zip. Is there an unzip?

But of course it can’t be named zip because that’s the compressor, so I’m really asking whether there’s an unpaste.

I guess the closest is awk {print $1;}, but it makes me wince every time I write it. (I already know that would give syntax errors as written here.)
I would also be interested in a cost-benefit analysis for this intervention (full service pumping) compared to, say, different fire safety protocols, rules that allow only essential gas pumping to be done (like when your tank is below half full), or other approaches.

I also wonder if it's OK that we let each state decide for themselves rather than creating a federal mandate with what is judged by leading experts to be the best solution.
Open Source vs. Commercial Auth Providers
I found it interesting that the content of the NFT is held by a company that can remove it at will. To me this flies in the face of freedom and will land us in the Youtube paradigm. Where walking past a restaurant playing music gets your video ownership ripped from you.
>big argument in favour of using mice

Yes, I am aware of Acme and Sam and I am aware that good mouse driven interfaces are faster than using keyboard driven interfaces.

I should point out that mouse driven interfaces are only better than keyboard driven interfaces when designed competently to actually take advantage of mice (e.g. acme). Text editors such as VSCode suck in comparison in terms of their mouse usage, the way Acme uses mice is worlds different from the extremely boring and inefficient use of mice that VSCode has.

That aside, the question is not if utilising a mouse well makes for a faster interface than restricting the interface to only using the keyboard. The question is if multiple-cursors are a good use of the mouse.

I'm sure there's some situations where multiple cursors are faster than using editor commands, but the point I was making is that in general I've found multiple-cursors to just be a distraction which slows me down. This might be because I don't work from a desktop and use a trackpoint, or maybe because when I do use a desktop I use a trackball. But from what I actually remember, most of my time with multiple-cursors has been spent trying to reason about how applying a certain input in 5 different places will affect the text, and then undoing mistakes. I have found the regular expressions that vim has as well as the structural regular expressions in Sam and Acme to be far better at describing operations which need to occur in multiple places.

Please do look into vim's regular expressions, there's a surprising amount of stuff that they can do which most people are not aware of.
This was fun to play with but I was surprised by the unevenness of the data.
I could pick random points in the US or Canadian Rockies, and this would have a path that starts out with some minor creek. But if I picked a point in some parts of the world (e.g. the Himalayas) there would be a chain of multiple "Unidentified River" entries, some of which seemed like they would be quite significant.
> This argument is a really long stretch - especially because there are other ways of meeting the deadline than reassignment to the FOIA office (hiring contractors, adding employees, using interns or HR folk)

Reading a document and making an assessment of to the disclosure obligations under FOIA isn’t something you can just pluck an intern to do and hand them the box of documents.
We use Mongoid. I treat every upgrade, no matter how small as its own piece of work involving going through the changelogs with a fine-tooth comb. This particular issue got flagged up when we last looked at upgrading. Currently Mongoid upgrades are stalled until we have the time to figure out the impact of some of their more egregious changes.

I have a generally low trust approach to all dependency upgrades, irrespective of how minor they are, I've been bitten by enough "minor" changes. But I treat Mongoid as an active adversary who is setting out to break things with every update.

It's the complete opposite approach to that of the Rails core team and those that work on ActiveRecord (as the nearest equivalent to Mongoid). Changes to Rails core are always well flagged with really good advance warning of upcoming breaking changes, frequently with deprecation warnings several versions in advance. There just seems to be a core culture of thought and care towards their users.
What would actually doing anything look like? Does rapid distribution of free vaccines not count as anything?
Interesting that Marlinspike's "first impressions of web3" (HN's current top story, https://news.ycombinator.com/item?id=29845208) doesn't mention Signal's embrace of MobileCoin.
That is a much better way of phrasing it, thank you!
Places like MailGun that don't support any type of authentication. Stripe and GitHub do it well.
I am always amazed to see my advance sp still turning on with its original battery. I seriously doubt any replacement battery would come close to this.
I assume that’s paying for more than yourself. Also - that’s really high overall…

I mean - plans my work offers (which aren’t even the best) are like $500/month out of pocket for the entire family - and that’s for really good coverage with no deductibles and low copays. The plans they offer aren’t even the best I’ve gotten…
In my view it is only proof-of-work systems that must be rejected. Alternatives that are less harmful are possible.

Pretty much everything that has a large carbon footprint is going to have to be fixed to reduce that footprint, including web3.
So take the image, shift it by a fraction of a tile, and rerun.
PayPal Explores Launch of Own Stablecoin in Crypto Push
This particular CDC page reports it was last updated in August.
Does that land have a house? Did you get a permit from the state for that house's construction?

Pretty much every in the US you need permission from the state to do something with land.
You don't even need to look far to find examples of this! What's funnier is when it's sponsored by the taxed of civilization A and B! [0]

[0] https://www.cbc.ca/news/entertainment/cbc-apology-story-of-u...
The point is that many speak as if anti-CCP sentiment -justifies- anything which is anti-Asian.

In what way is "but CCP bad" an appropriate response to "another old Chinese lady brutally attacked on the street"?

Also bold of us to assume the media is honest about the CCP when it is not even honest about domestic politicians.
I can't wrap my head around why you insist on warning someone who is armed, shooting at you, and clearly is not willing to surrender. No one does that.

I don't get what you suggest, that their government should treat their servicemen as cannon fodder that is supposed to counter aggressive armed individual with hugs and kisses? Well there are already several dosen killed by thugs, hardly anyone would want to risc their lives for the life of someone with an intent to kill you with a gun.

If you don't want to get shot without warning, then, I guess, just don't attack police, especially don't use firearms when you do that? This is basically a permission to use firearms at will, it's already a given for any servicemen in any developed state as a best practice for officer's survivability.
ummmm....
pehaps doom as a pit ball of ideas,

pick/put ball in bins/on wall to make the room/refine search.

toss the idea ball(s) around, perhaps through a portal to someone else's room of doom.

join up with others to vr kick some ideas around.
Interesting, but not surprising, how he doesn’t screenshot the rest of the table that shows hospitalisation and death per 100k is vastly higher in all age groups for the unvaccinated
since there's no such things as iterators in this language, it's the responsibility of the programmer of the for_expansion to make the keywords do what makes sense in the context of iterating over the struct in a for loop. I don't understand why you think it's a bad idea. you write a struct for your data container, you write a for_expansion that allows for it to be iterated over in a for loop, and you optionally define what break, continue, and remove do in the context of the for_expansion you wrote. it's not as open to unexpected craziness as operator overloading can be because these keywords only work in the context of a for loop, and you are defining how a for loop is handled for your struct... where's the issue?
Breaking changes are things, no project is ever done -- ye olde django is still doing big moves like adding async colors, and that's great!

But... CHANGELOG.md with BREAKING CHANGE sections and a major version bump, maybe a DEPRECATED lint and runtime warn() ahead of time, and bam, no surprises for professional teams. For more than that, service contracts are things :)
So the author presents the Monty Hall problem this way (very explicitly saying that the host knows where the prize is an will not reveal it):

> You are given a choice of three doors, behind one is a prize. You can choose one door. The host of this game, who knows where the prize is, then opens one door without a prize (again – they know where the prize is and deliberately choose one of the unchosen doors without a prize), and then ask if you want to change your choice to the other unopened door. If you change your choice your odds of winning go up from 1/3 to 2/3.

which to me makes intuitive sense. Every other time I've encountered this it's usually presented in a very ambiguous way, where it isn't clear if the host has any information about what's behind the doors. If the host is choosing a door randomly and it doesn't happen to contain the prize, your odds don't improve if you switch your answer.

...I guess I just want to say that I think the Monty Hall problem is dumb. It's not some mind blowing truth of probabilities that human brains can't grasp; it's just a poorly worded problem that causes you to make incorrect assumptions.

You could argue that if you don't know whether or not the host has any knowledge about where the prize is you might as well switch, because if they do you've improved your odds and if they don't you haven't made things worse. But still, the "problem" itself doesn't seem that interesting.
By definition something with a finite supply cannot be a pyramid scheme, in fact in most cases there are no parallels whatsoever to crypto and pyramid schemes. There are some pyramid schemes within the shitcoin scam and yield farmer communities, but to think that's represents the industry is highly ignorant.
Take a look at Tailscale and open-source alternatives.
Thanks for that tag. Looks like I will just have to pick one up and experiment with pens I've laying around.

I wonder if some way to add weight along the the pen arm is possible to adjust pressure exists.
It's definitely not legal to employ you as an FTE

Just like if someone from the US came to your country, your country will 100% prevent you from hiring them without significant life-changing effort.

Hopefully your negotiation for additional pay goes in your favor.

Good luck!
> There are more Ethereum full nodes than two, but how many will accept web queries? That's a service.

https://thegraph.com/en/
I definitely agree that most people/projects/etc gloss over that fact that there still needs be a 'start of authority' to be trusted with NFTS. I think a major upside of doing the digital transactions on a Blockchain (as opposed to the system you described) is that the start authority does not need to be present or keep track of any future transactions. In your Rolex example, I believe that there would be no way of person A selling their Rolex (and digital rights of the Rolex) without notifying Rolex and Rolex having to keep track of transaction. With a Blockchain, the people could agree that the 'start of authority' matches the public address that is associated with Rolex and then proceed with the transaction with no need for any middle party.

I played a decent amount of Runescape growing up, so when I first heard of NFT's I naturally thought of that game. I would definitely find intrinsic value in truly owning an NFT of some of the rare in game items. And knowing that even if Jagex (parent company) disappears that I still have ownership over the items definitely adds a lot of value.
Mouseable: Replace a Mouse or Tackpad with the Keyboard
CGNAT exists (and it works well).
You can say the same thing about all economics after the 1600s - wood, coal, whale oil, petroleum.

There is a direct causal relationship between energy consumption and economic growth. End the former and you end the latter. And you also kill off a ton of people because the system that enables their lives will falter and starve them to death.
It's meaningless if nothing is better about how you're doing it. Presumably in this case the thing they wanted to improve was the amount of sample you need to use, not the false positive/negative rates.
Sure, but if everybody just uses the two big guys, does it matter that the little guys exist?
I can see the value of a lint (if there's a newline without a comma, warn), but concatenating strings by multiplication is the correct thing to do (since it's also used this way in mathematics of parsers).

Using the plus operator to concatenate strings is just weird.

Think of the usual algebraic properties these operators are supposed to have.

"+" always is supposed to be commutative--so "a"+"b" = "b"+"a", if those mean alternatives (they usually do mean that in mathematics), is just fine.

On the other hand, multiplication is often not commutative--also not here. "a" "b" != "b" "a".

So string concatenation should be the latter. And indeed that's how it's in regular expression mathematics for example.
> If you want something, you trade for it, obtain it through consensual pact (like insurance or farm co-op), beg, do it yourself, or seek charity. Something that involves not stealing. You don't steal from others.

I think most of us would prefer not to have to go back to pre-Roman times. We get a lot more done when we as a society (if not necessarily individually) agree to what outcomes we want and what the rules are, and are forced by law to contribute to make it happen.

> You sacrifice by performing labor and engaging in trade and you get what you want. It's unfair to say I want a pony or a free CT scan and I'm going to rob that rich guy to get it. Do you go robbing guys in suits to feed starving African children?

Gee, you caught me!

Seriously, there's a huge difference between an individual robbing someone of something that's rightfully theirs by law, and the law (to which we, through representatives acting on our behalf, have agreed) saying everyone has to contribute their fair share to a common cause we think is just.
AOC Green new deal resolution lays out detailed ways to overcome climate crisis
In other news, grocery store receipts are still printed on thermal paper which is the primary source of human consumption of the endocrine disrupter BPA. Speaking of shunning, maybe we should add that to the list.
Fun fact, the actual roulette wheel in casino has green zero. When betting on any color, you will always have less than 50/50 odds.
Why is the US suffering supply chain issues, and issues of scarcity, which are not present in other developed countries like Germany?
I think cooperatives are an interesting idea (0). Maybe you could start one to provide a service in your community like fiber broadband, etc.

For a higher risk option that’s not been mentioned you could look at peer to peer (p2p) lending.

(0) https://en.wikipedia.org/wiki/Cooperative
Ethereum has plans for state expiry, so that to maintain a verified copy of the blockchain you won't be expected to maintain a growing list of state transitions since genesis anymore.

A sister initiative, weak statelessness, means that you will be able to verify the validity of the chain without needing to store state at all.

https://notes.ethereum.org/@vbuterin/verkle_and_state_expiry...

https://notes.ethereum.org/@vbuterin/state_expiry_eip
All the points are good, but I think the key one is that Mac apps don’t need to be distributed through the store. MacOS is inherently less secure than ios due to it being much less locked down, but for app devs that does mean they can use cheaper payment processors - which is essentially what the Mac App Store is.

The article talks a lot about the difficulty in sandboxing utility class applications but there are issues with other apps as well. Afaik the Mac App Store matches the iOS App Store in not allow xpc services which means even if you do want to sandbox, you have to have a single executable with every necessary entitlement. You can’t for instance have a separate networking service that is the only piece with network entitlements, etc.

So sandboxing hurts in both ways. What fun :)
Good article! If you want the performance of option four with less hassle, have a look at the enum_dispatch crate.

https://docs.rs/enum_dispatch/latest/enum_dispatch/
This is the wildest definition of a backdoor I’ve ever heard. Canonical changed their official distribution of their build own Chromium from a repos provided by Canonical to repos provided by Canonical. And then made sure that scripts that relied on apt install still worked.

Canonical should be ashamed of their behavior! Making me trust this random 3rd party Canonical.
Heh. “Illegal hacking effort”? In the EU, it's illegal for Facebook to prevent this. In fact, there's even an export button, which gives you quite a lot of the historical data (though not all of it).

To get events, just scrape the Facebook website using Selenium and Python. There are online tutorials for this. Harder than it should be, I'll be the first to admit, but easier than blockchain-based systems. (Blockchain isn't the appropriate solution for social media; use a proper federated protocol like ActivityPub or XMPP.)
Sure, here is something I wrote in an earlier comment the day after it happened.

"Yesterday we took our two dogs to the river for a walk. Two men got into trouble in the water, I jumped in to help. All I could do was help another man get free of one of the drowning men.

The fellow rescuer couldn't breathe with the panicking man grabbing him and the current pulling them both under. If I'd been first too them I'm sure I'd be dead as the other rescuer was in much better shape than me.

So I helped a man get free of another man's desperate struggle for life. I watched as two men died a few meters from me. In front of their family. A woman asked my wife why we weren't helping them. It was her husband and father.

The water was too dangerous, the men too panicked, and I was too unfit.

Emergency services recovered three bodies from that river. A woman and her daughter had drowned in the same spot a week ago. The woman's body was found by the divers looking for the two men."

Here is a new article about the event.

https://www.newshub.co.nz/home/new-zealand/2022/01/three-bod...
I am reminded of "Lambda: The Ultimate GOTO"

https://dspace.mit.edu/handle/1721.1/5753
Given that the current vaccines don't prevent transmission, and there are multiple animal hosts, how exactly could "zero covid" be accomplished?

https://www.nbcnews.com/science/science-news/covid-rampant-d...
Maybe it's a matter of perspective, but I don't understand why websockets are seen as super complex and error-prone, while long polling is supposed to be simple and elegant. Both are long-lived connections, where the client connects but the server pushes data. Where is the difference?

As for webhooks, my impression was that the main advantage was for the sender, not the receiver, because they don't have to deal with thousands of long-lived connections anymore.

My suspicion is that the big names who introduced webhooks first were quite aware of the potential downsides for reveivers but found them acceptable. (See e.g. twitter switching from a websocket-like "firehose" to webhooks)

If that was the case, then neither websockets nor (long) polling will be a viable replacement for webhooks because senders won't adopt it.
If nobody even cares in the first place which country's statistics they are talking about...what is "faking the statistics"?

People. Don't. Click. On. Links.

And if they do, they sure don't read them.

I can't be bothered to read a study promoted by someone who has shown no evidence at all of reading it yet.
No I don't think he is the CEO of a multi trillion dollar firm, hence why I find his absolute statement about the simplicity of such an occupation peculiar.
Sounds like the urban heat island effect: https://en.wikipedia.org/wiki/Urban_heat_island
It's refreshing to see someone actually roll up their sleeves and not immediately descend into reactionary takes.

The criticism here is excellent; I think something people outside of this space never see is that despite all the boosterism there are web3/crypto proponents who have been airing these same exact grievances for some time now, particularly regarding metamask, infura, ipfs, & opensea, but there's alternatives to all of these.

Decentralization is a spectrum, and while I think Moxie's probably right in that this all trends towards consolidation, at the same time there's founders trying to to change course and move in the opposite direction, Joe Lubin being among them.
I was a webmaster back in the days when one could debate cern vs ncsa and which provided a better server and for a while, I ran my own web servers at home on some static IPs from Speakeasy...

The issue is that the complexity of the modern systems have gone beyond what one person can keep in their head and maintain. This is doubly true when one considers the amount of time investment to keep on top of patches and CVEs.

The simple servers are still there. Grab a web server and put static files for it to be served - but people don't want that. They want a fully functional web application with persisted data with a maximum outage window less than the duration of a good night's sleep.

Those things aren't easy. Keeping a few servers up and running and the databases behind them backed up and the servers load balanced with failover so that if one of them goes down you don't need to wake up at 2am to fix it.

Making a Raspberry Pi web server in a box wouldn't be too hard. Put it on your home network. Open up your device on the home network (note: if the home network isn't to be opened up, advanced network configuration to establish a dmz or putting the device external to the internal network is needed) to the world.

And then you've got to find some way to keep that device patched and the ISP not unhappy with the traffic you're getting when your home blog page shows up on HN.

For me, even imagining the work that I'd need to do to my home network to set up that... I can't see it making sense anymore to get what I could get by creating a GitHub pages site and doing it there - and then I don't have to worry about all the other parts of my home network.

While I can't find my copy of it now, I have a memory of reading a quote from Ansel Adams about the darkroom and that it was a necessity for photography - but he'd rather be out there taking photographs than in the room making the print.

So too, I would rather be writing a program or writing a blog post than dealing with maintaining the infrastructure that maintains that. There are too many concerns and too many things where I know that I don't have deep enough knowledge anymore to keep a modern web server in my home network secure when facing the world.

Consider all the people on HN who are skeptical of having an Amazon echo, Google Home, or Apple HomePod because they're concerned about a small appliance from a company on their network is possibly listening with an open microphone but only communicates to one Big Tech server... imagine a device on the network that is accepting all incoming traffic and talking to anyone who listens.

Spin up that server as an instance on AWS instead and then the worst that will happen is you'll rack up a large bill when it's compromised and someone runs a crypto miner on it.
Social security is a tax, you pay that for the privilege of living somewhere. It’s called social because humans are social animals.