skysight-inc/HackerNews huggingface dataset:
CPS is a tool in the box of language theorists and compiler authors (although I don't know if any non-prototype actually uses CPS). IIRC it is mostly a convenient alternative to SSA. So yes, a compiler can transform your code into CPS to make some other passes simpler.

Just an example from my own research: Say your program has the form of a long prelude followed by a tight loop. The loop cannot easily be changed, but the prelude can (think of languages like prolog, the prelude sets up the model, the loop solves it). At some point during the prelude you want to say: "For now, do this, but if x happens inside the loop, come back here, do that and then go back into the loop!" (e.g., your solver found a solution and you want to add/remove/change predicates). This is conveniently expressed as taking a continuation and passing it into the loop, which continues it when necessary.
Rust may be Mozilla's greatest _industry_ contibution, but for society I think it's not even close.

Anyhow ¯\_(°ペ)_/¯ Rust is a great example of good engineering. There is a lot of old ideas put together in a way that makes the whole greater than the sum of its parts.
My iPhones started transcribing voicemails at some point? Best feature
I think the author is specifically talking about those cases where performance really matters. You could still have callback hell, but a lot less so.

As an aside, there is an alternative: passing a default value. This is Swift syntax:

let favoriteIceCream = [
"Paul": "Chocolate",
"Sophie": "Vanilla"
]
let result = favoriteIceCream["Charlotte", default: "Unknown"]
I use pass for exporting secrets to environment variables. I have a multi-line password called "envvars" that contains a script like this:

#!/usr/bin/fish

set -x PASSWORD hunter2
set -x PASSWORD_STG hunter3

set -x LUGGAGE_KEY 12345

set -x TOKEN (curl "https://api.example.com/oauth/token" \
--data-urlencode "username=$USERNAME" \
--data-urlencode "password=$PASSWORD" | jq --raw-output .access_token)

set -x TOKEN_STG (curl "https://api-stg.example.com/oauth/token" \
--data-urlencode "username=$USERNAME_STG" \
--data-urlencode "password=$PASSWORD_STG" | jq --raw-output .access_token)

When I want to set the environment variables I run `pass show envvars | source` and it sets the environment variables for the current shell. It's an easy way to keep the secrets out of my shell history and plaintext files.
Telegram is LESS secure than WhatsApp.

https://www.wired.com/story/telegram-encryption-whatsapp-set...
WASM cannot manipulate the DOM.
You have a long history of posting flamewar comments to HN. Would you please stop doing that? I've banned a whole bunch of accounts on both sides of this hellish thread, and it's dismaying to see a long-established account like yours getting in there and dragging things deeper into hell along with all the trolls. This is not what HN is supposed to be for. Surely you know that.

https://news.ycombinator.com/newsguidelines.html
See also: ‘Not So Fast: Analyzing the Performance of WebAssembly vs. Native Code’ - https://www.usenix.org/system/files/atc19-jangda.pdf
It’s kinda ridiculous that this happens. It’s not like it’s graphic intensive. Why would it warm up any GPU of this decade?
Instead of just having the cash in the first place?
Stupid question:

Does dedicated NAS have any advantages for power user? Buy some cheap Ryzen box, stuff it with harddrives, install Centos and forget about it....
Yes! It is interesting, and quite a twist, that spam in email is by far the least of spam problems these days. I get hardly any spam ever on email anymore (on my own email server). Was going to say once a month but no, it's way less than that.

And yet, I'm getting a constant barrage of spam over SMS and voicemail, there's no stopping that.
I agree with you. I also found it to be at the limit of my scary tolerance.

...but I also sort of liked that. :)
Really? I gave family in Canada and they get a ton of random spam calls on their phone and a ton of spam email. I'll give you the lack of flyers though.
To be fair, Edge is also "pushed onto" people, being a default install in Windows.

Not saying it's right how Chrome is pushed though. IMO, ideally there would be regulation requiring Windows to offer a fair choice of browser downloads (none preinstalled) when you set up the computer, and google wouldn't pull it's "faster, better browser" thing when visiting their search site.
> BitCoin's major purpose is as a hedge to massive fiat printing

Do you know what else is a great inflation hedge? An index of stocks. Unlike BTC, the stocks also pay dividends, are backed by real economic activity, enjoy massively lower volatility, don't suffer from large fees, are never going to be banned, aren't tainted by endemic fraud and scam, and even produce a tiny bit of societal good. Stocks are objectively a better inflation hedge than BTC in just about every aspect, apart from not being a novel tech bro toy.
I have some of my own tooling in place, for example with secure clipboard, I have disabled clipboard sharing between VMs and instead wrote host-level ssh+xclip scripts which I hotkeyed.
I've seen much more buggy I2C peripherals than SPI (ST, I'm looking at you).

SPI is usually very stable. Here it's being used to generate VGA signals: https://www.artekit.eu/vga-output-using-a-36-pin-stm32/
probably the potential of rampant inflation. When a government summons trillions of dollars into existence (like most governments have been doing throughout the pandemic) it dilutes the underlying value of every single unit of currency in circulation. Its not nearly as simple as "double the money supply == halve your current cash's value", but some amount of dilution and inflation are definitely happening. BTC is theoretically a good hedge against this as it is deflationary by design.
Is ApplePay associated with endless scams like ICO, extremely problematic security requiring extreme experience to avoid theft, massive transfer fees, lack of usability, endless scams and massive spam advertising such scam everywhere?

And several other serious problems.
if those asides are in The Confidence Man, in Moby Dick they bore.
MWEB on Litecoin solves this by adding Financial Confidentiality (Fungibility) as an extension block.

The code is complete and is open for review.

https://litecoin-foundation.org/mweb-code-complete/

https://litecoin-foundation.org/the-battle-for-sound-money/
"HP [...] started on $1,000 or less" - to be precise, on $538 in 1939. This would be the equivalent to ca. $10k today...

It's strange to see that this "elite eCommerce education" web site doesn't seem to know about inflation.
What a stupid change. They claim support can help temporarily, but still.

Let's assume for a moment they want to go ahead and disable this accidentally enabled feature, OK, but they should have changed it such that
- On existing installs: You could mount existing volumes, but not create new ones
- Start showing a warning to users asking them to migrate
- If they are desperate, on new installs, you could potentially disable mounting existing volumes or at least and a stern warning. (The downside is for example, if your NAS died, you got a new one, migrated the drives, you can't access them again. So this is a hit and miss idea, depending on how keen they are to push disabling the feature)

The good and bad news is that in all liklihood they didn't intentionally brick existing users but instead some braindead engineer went "oh that's not supposed to be enabled it, let's disable it" and didn't think about or realise how it would affect existing users until it was rolled out. Good because less malice, bad because they should ideally have smarter engineers reviewing such things.
And gmail spam filters are very bad, in comparison. My own email server gets way less spam than my gmail account, and never any false positives, which are a huge problem on gmail.
I made a video on Deno which gives a quick summary of its key features:

https://devtrends.io/videos/deno
Wow! New home page. OMG. When will they make this a minecraft plug-in viewer.

( I saw Godzilla! )
Can't you just pre-register for 20 studies of random correlations and still get one p>0.05?
- 30% goes straight to Apple/Google.

- A large chunk of the world (especially people in developing countries) will be unwilling to pay anything more than $0.

- Even if they want to pay, most of those users won't have a payment method set up. How many of their 2 billion+ users have a credit card or even a bank account?
Web assembly is very low level. It's not a VM, there are no strings. It's designed to model 'assembly' style instructions.

To do TS on JS you'd have to build a VM on top of WA.

And that would probably be pointless of course.
To elaborate on what my colleague, Ben, said, we have been in the process moving to more common cross platform code.

A it more than a year ago we had

- 1Password for Mac and iOS written in Objective-C and Swift
- 1Password for Android, written in Java
- 1Password for Windows, written in C#
- 1Password CLI, written in Go
- 1Password web-app, in Typescript
- Browser extension in Typescript

Introducing new features was an ever more difficult task. Even getting the behavior of things like password strength meters or generators behaving the same across these platforms was increasingly difficult. (Hint, they didn’t behave the same.)

So we have been taking the time to develop a common core of code that can be used everywhere. And this does take time. Writing the common modules is often relatively easy, but we have to get them to work with the platform specific code

Late 2019 was our first successful deployment of any such function, and that was the TOTP calculator. It was largely transparent to users, except for settling on which sorts of TOTP “quirks” we were going to follow. (TOTP standards are a mess, and different Authenticator apps deal with special cases differently. At least 1Password is now fully consistent with itself)

Over the past year, we’ve been plugging more such things into the apps. And it allows us to fix bugs more quickly as well ashen they are in the common code.

1Paaword for Linux is built on all the new/common code. So while it doesn’t have everything that the others do, it is also where you will see the née stuff that is coming.

This has been a huge effort, and the transition has some rough spots, but once we get there we will be able to move much more quickly in developing and refining features and behaviors.
Flamewar comments like this will get you banned here. It's not what the site is for. No more of this, please.

https://news.ycombinator.com/newsguidelines.html

Edit: we've had to warn you about this multiple times before. That's seriously not cool, and if you keep doing it we will ban you.
Why does anyone still use PHP?!
I agree, the model is good. However, Lambda school itself is crap and worse than a regular Bootcamp.
So the options are pick a phone loaded with spyware or pick a phone that doesn’t let you look at adult content. Not a very comforting choice.
What's my best option if I want to buy a compact, energy-efficient NAS on which I can install Linux? I just want the hardware, and not pay for the vendor's crappy, inflexible software.
But that's not the concern, anyone who gets their hand on your passwordstore (encrypted) gets the same information. That is not the case with a format that stores your password in one big database.

The implications can be quite significant, because if I get my hands on your store, I might find out that you are User xx on yy which I can then use to try to compromise via social engineering (or it might has a known exploit) and use that as a springboard for other sites that I know from your pass store.
We do see it though. There's Uniswap and Bancor on ETH. The trading volumes are in the billions of United States dollars per day. There is also Bisq as a decentralized fiat onramp for BTC and XMR (and soon on-chain atomic swaps). Today it is possible to completely interact with the crypto ecosystem without centralized exchanges.

If you're worried about the code changing, you can run e.g. ETH nodes yourself, download the DEX frontends, and run the DEX locally.
It's not that complex, anything in computers can seem complex if you're not familiar with it. I would suggest that you're just not familiar with it, and that's not a knock against you, it's just something that you need to study like anything else. It's not true that you need a large team to do anything on the web these days, the same technology works today that has worked for the last two decades, but if you want to leverage the benefits of new technology you need to invest the time to understand how it works, that's just the nature of technological advancement.
As somebody with ADHD, I can't consume audiobooks at all. My mind just starts to wander 10 seconds in and eventually I realize I haven't been listening for the past half-hour. It's the same with talks or lectures on YouTube, though I've found that putting them at 2x speed helps to keep my attention.

I really do need a book in text form, because it allows me full control over how quickly or in what order I consume it. I learned a long time ago that reading books linearly doesn't work for me, so reading as I do involves a thorough look at the table of contents, then a lot of skimming and jumping back and forth to find the most interesting/stimulating bits and assembling that into a coherent view of the book.
There's a certain amount of race turmoil in the US but a lot of ethnically mixed places do ok. I live in London normally and it's very mixed and works ok really.

Also in terms of Chinese culture the very racially mixed Singapore does rather better in most respects than China.
We've banned this account for breaking the site guidelines and ignoring our request to stop. Not cool.

Please don't create accounts to do that with.

https://news.ycombinator.com/newsguidelines.html
For any LastPass users out there contemplating a switch to pass, I just recently did so myself.

Wrote a bit about it here: https://rhardih.io/2021/03/migrating-from-lastpass-to-pass/
That’s not what “backed” means.

A backed currency means another entity is willing to guarantee they will trade the currency for something else. In the example of the gold standard, this means the government would exchange dollars for a certain fixed amount of gold. This meant that dollars could be worth more than gold, but theoretically wouldn’t fall below their fixed value in gold, because at that point people would trade them in for the gold.

You can’t just redefine backed to mean something that is expensive to produce. If something is expensive to produce it also doesn’t mean it has any intrinsic value.

(I’m also not arguing that modern fiat currencies are backed - in fact they are not backed by definition! I just get frustrated by all the fake economic mumbo-jumbo about Bitcoin).
This expands the definition of "backed by" into meaninglessness.

I used to be able to trade dollars for gold and vice versa, at a fixed price, guaranteed.

I can't trade bitcoin for 'math'. No-one is storing energy reserves in case there's a run on people converting bitcoin to energy. Bitcoin is not backed by anything.
Places to Spray a Fragrance on for a Long Lasting Effect-Ajulu's Thoughts
I understand the desire to offer a child friendly device but it’s pretty insane how they go even further and prevent adults from viewing this content.

But I don’t believe discord has done the best they can here. Telegram has a similar restriction but you can log on to the web version and flip a toggle and the app becomes unblocked as well.

Apple seems to be fine with secret settings on external websites.
Painting GNU's situation¹ as somehow similar to that section of the README is absurd. Its purpose is to prevent the situation you describe, not only by committing to Free distribution but also by licensing your changes back to you(even for non-Free use).

¹ http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob;f=do...
Still, you can archive significant speed-ups with WebAssembly at some use cases.

For example, I have a hash function library (https://github.com/Daninet/hash-wasm) where I was able to archive 14x speedup at SHA-1 and 5x speedup at MD5 compared to the best JS implementations.

You can run the benchmarks on your computer here: https://daninet.github.io/hash-wasm-benchmark/
Yes, if Apple allowed people to download apps that would change the narrative completely.

I'm not defending Apple's behaviour, I'm explaining it.

If we assume as a starting position that they want a 'closed universe' then their content policy is sensible, even if the 'closed universe' policy is not.
Please don't use HN for political or ideological battle. It's not what this site is for, and it destroys what it is for, so we ban accounts that do it.

https://news.ycombinator.com/newsguidelines.html
In my current project I use mitmproxy for that. It generates a CA that I can trust via my keychain, and don't have to worry about how to import the mkcert certificates into various servers (rails, nodejs express, next.js etc). It's easy enough to run mitmproxy parallel to the application server.
Please don't use HN for political or ideological battle. It's not what this site is for, and it destroys what it is for, so we ban accounts that do it.

Crossing into personal attack and name-calling is particularly not cool. No more of that, please.

https://news.ycombinator.com/newsguidelines.html
Exactly the same?

Or similar? Because as far as HN bubble/bias/hivemind goes "We like privacy, we like to complain, we dislike cryptocurrency scams" would be a fitting (though partial) description.

So people irritated by that change by Signal being heavily represented on HN is not surprising.
Had to look it up:

"In Derek Parfit’s original formulation the Repugnant Conclusion is stated as follows: “For any possible population of at least ten billion people, all with a very high quality of life, there must be some much larger imaginable population whose existence, if other things are equal, would be better even though its members have lives that are barely worth living” (Parfit 1984)."

Befine "better"? Who said that "the more the better"?

More people are better than less people (in such a notion) was never a part of historically/socially derived ethics.

And who said "all other things" could be "equal"? That's a 'perfectly spherical cow' level BS.
For engineers with enough time (and able to do troubleshooting), no, no advantages.

For everyone else, they do have advantage, most thing you wanted is 1 click away, including something tedious for average "power users", like "using btrfs safely with RAID-5-like disk array" (so that you can take a snapshot of your drive) mentioned here.
I switched from Synology to QNAP about 5 years ago (after my Synology NAS decided to stop reading disks using their proprietary RAID, and Synology support said "sorry, we don't know how to fix it". Lost 8tb of data that day).

Two lessons learned: 1) Don't use proprietary raid, 2) Don't ever use Synology devices.

QNAP has been great though, I've been very happy so far and zero issues.
Isn't that's what's required?

Read/modify USB storage = write bandwidth logs, read them later for graphing

View wifi connections = track bandwidth per network

Phone status identity = track phones with a unique id

Location = track location to help find the best/worst
physical locations for network.

Full network access = send/receive packets

Prevent sleeping = accurate benchmark numbers

View network connections = track bandwidth per network.
I think we've all taken the wrong approach to the phone spam problem.

Whenever I get a scam call, I always answer. I let the guy do his spiel about the free vacation he's got for me, then when he asks me for my credit card, I hit him with one of the ligma jokes [0] and hang up. Never takes more than five minutes of my time and it's a source of great joy for me. I've gotten the same guy three times and he's fallen for it every single time; at this point I'm starting to develop a bond with him.

If we pushed a social movement that popularized this, we could basically DDOS phone scamming out of being viable.

[0] https://github.com/tphecca/awesome-ligma
No, but I don't think it carries to not letting them be born. My stance on killing being wrong is that it destroys the freedom of an existing person to decide whether they want to continue to experience life.
Can you get the emulator into 43 or 50 line EGA mode. Thats both DOS and x86? (yes, no, maybe, what is EGA?)
This is something I really don't understand...

You really trust private people over Government?

Why?
Tragically, this blog post is not using the words "continuation passing style" to refer to CPS. If you read it you will see that the author is talking about a "style" of code which involves passing multiple lambdas to a function.

Why he thinks it is a good idea to refer to this idiom as "continuation passing style" is anybody's guess. It is not CPS. His usage is confusing and to me it seems most likely that he just wants to be seen using a fancy ten-dollar technical term with the ring of prestige. Basically, the kind of blog post that wastes the time of unsuspecting readers.
I know, but clock rate tends to be a good proxy, especially im cases like this.

For a bus like I2C there’s basically two possibilities:

1. You are using a part with a clock rate that extends clock rate over the standard, which means you have very small pull ups on the lines because that is what the datasheet recommends for that speed (thus your rise time gets too short).
2. (And this one is way more likely) you are using I2C to communicate over a long cable.
Please don't post in the flamewar style to HN. It's not what the site is for and we ban that sort of account.

https://news.ycombinator.com/newsguidelines.html
I've seen some other (often more serious) breakout producers to put solder jumpers in their boards to enable I2C pull-ups (disabled by default).

That's pretty nice since you can enable the I2C pull-ups just when needed.
I think such a challenge would fail in any reasonable legal system. HN seems to be talking itself into a belief that these interviews have no relationship to actual programming work, but that's not the case and plenty of experienced engineers would step up to defend algorithmic questions if it ever moved beyond bellyaching in blog posts.

Of course the USA is ever more extreme and crazy when it comes to identity politics, so ago knows if the justice system is still reasonable in this regard. But I'd really enjoy watching people argue in front of a judge that working with tree structures is extremely irrelevant to programming.
Say yes to the prom – Official trailer: Army of the dead
Walled garden apologists here come out in droves whenever Apple is mentioned. People still strongly support them through the multiple app/update bans (Hey and others), the Epic lawsuit, EU investigation, US Senate hearings, Spotify/Facebok fights and more.

After all this the same people cry about excessive online moderation, porn bans and internet freedom. I'm sorry but internet freedom is dead. You killed it with your own wallet.
Enums are cool. Mixins, though, are rubbish. Everyone but me loves them, though. They should have done traits, like Scala. Scala is awesome.
> In npm we at least know that a package is immutable once published, someone could publish a malicious version as a newer release but a current release.

This is only true as long as you trust NPM. If they were hacked or taken over by a malicious actor, packages could be modified unbeknownst to you.
Heh, sure, but that already happens with various bandwidth sites.

I've tried to replicate various bandwidth tests and failed miserably. Then tried a bandwidth test over VPN (to hide it from the ISP) and then got numbers matching my real world tests.

It works the opposite way as well, when Comcast was blackmailing Netflix you'd get terrible bandwidth, unless you used a VPN to hide your traffic.
Correction: Anyone running a large business using bitcoin for illegal stuff is likely to be caught at this point.