skysight-inc/HackerNews huggingface dataset:
The article doesn't get into it, but Rust has an error-handling operator, `?`, that encapsulates the branch-and-return-on-error check. Your code in Rust would look like:

fn foo() -> SomeResult {
let result = bar()?;
let result2 = baz()?;
let result3 = bazz()?;
}

The fundamental difference between Rust's approach and Java-style checked exceptions arises when those three functions have different error types. In Java, you would annotate the function with every possible exception that the function can throw. In Rust, a library (or module within a library) would normally design its own Result type to encompass every error that the library/module can throw, and use that type on every error-producing function (you could reproduce the Java approach by defining a new Result type for each function, but I've never seen anyone bother with that). The end result is that you avoid the precise bookkeeping that so annoys people about Java's checked exceptions, but you also tend to lose some precision with reading the code: from reading the type signature you know that a function with a custom error type has the potential to error, which is useful, and you know that the error must be at least one of the types in the error's definition, but it might not exhibit all of the error types that the custom error type can contain. Think of it like a spectrum: from not having any indication that that a function may error (e.g. JavaScript), to knowing that a function may error but not having any indication of how (Swift), to knowing a function may error with at least one of a known set of types (Rust), to knowing that a function may error with an exactly known set of types (Java with checked exceptions).
Has anyone tested this over a city-wide area?

Better than JamKazam?
Nobody, because they don't want the issue discussed, so they are going to attempt to discredit.
> And in the US, that lawsuit went nowhere and they never stopped bundling IE

Your specificity of “in the US” suggests you know that’s not how it went down in the rest of the world, and that they did infact have to stop bundling IE (and other components) in other countries / regional blocs.
That makes sense as point... Yes I can see that giving the same feeling as old lootboxes.
I still remember the huge 1234567890 party. It was one of the nerdiest gathering ever and the bar owner had no clue what was going on.

Coincidentally I consider this the end of "golden age" of the internet which ended as soon as the iPhone and smartphones in general got mainstream and everything moved to centralized services.
https://www.youtube.com/watch?time_continue=164&v=f89WVeqWe-... L'ultracrépidarianisme, l'art de parler de ce qu'on ne connaît pas
isn't this how we'll get privacy the easy way(tm) though, by making it a valid business model?
https://www.ntia.doc.gov/blog/2019/cutting-cord-ntia-data-sh...

73% percent of households have cable. That doesn’t count households with OTT live TV from Hulu Live TV, Youtube TV, etc.

So we are still at 3/4. I doubt people with cable aren’t watching TV.
When we one day become a space faring civilization we will probably stop using the gregorian calendar because why would you use that on say Mars?

But there really is no reason to get rid of the unix timestamp as a measure of time and this measure may stay around for a long time. This may mean that people in the future might consider 1970 as year zero where modern civilization began.
Well it is subjective. That's why I wrote it may be good or bad. But those from dynamic typing backgrounds may find structural typing more natural. I don't bother as long as there is a way to implement an interface without lot of subclassing boilerplate.
Surely enough "buy that narrative" to make it newsworthy yes?
You're not responding to my disagreement that all we need to do is stop using gas stoves.
To add, Powershell:

(Get-Date "1/1/1970").AddSeconds(1600000000).ToUniversalTime()

or alternatively for your local time:

(Get-Date "1/1/1970").AddSeconds(1600000000).ToLocalTime()
Honeycomb comes to mind
As opposed to Linux?
> So what is your position anyway, at least vis-à-vis Westerners and China?

Why do I need to have a position? For all the complaints about foreign interference, we sure do love to meddle in chinese affairs. Also, it's not "westerners" and china. It's our greedy little elites and greedy little chinese elites and all the propagandists that the greedy elites hired to peddle nonsense. Look at this thread. It's mostly propagandists ( including the author ) and a few ramblings from the ill-informed ( thanks to the propagandists ). Like almost every anti-china propaganda on traditional and social media.

> Huh? The founding fathers thought unchecked direct democracy was bad, but that's not what we're talking about.

So they thought democracy was bad? Isn't that what I wrote?

> They developed a system in response that which is frequently also called democracy.

They developed a system where a handful of wealthy rich white landowners got to vote. Not exactly democracy by any stretch of the imagination. They developed a system for themselves and called it democracy.

> You're dealing in straw men: neither of your interlocutors are actually claiming "their system is perfect."

Nope. I may have exaggerated for effect but the argument still holds. I clearly showed "china bad" and "democracy good" is nonsense. Democracy is and can be bad. Try it for yourself. Since 1776, "democracies" have been the source of the greatest and most numerous evils. Go down the list - genocides, slavery, wars, etc.

But we don't really give a rats ass about democracy do we. So what are we really after? Why the sudden focus on "democracy" in china but nothing about democracy in say saudi arabia? Oh that's right, it's just state propaganda. Carry on.
And that also did little good in the EU where they had browser choice...

https://www.nytimes.com/2010/10/11/technology/11eubrowser.ht...
I don't know what fabulous public transport you have where you live, but in the (German) city I live in, a 10 minute car ride to my friend (7 km) turns into a 40 minute odyssey using public transportation because it involves changing the bus and you'll spend almost half that time waiting/walking. It's already not comfortable on a normal day and an umbrella doesn't isolate you completely from rain.
I didn't say don't listen to experts. I didn't say don't respect expert opinions, only radical outsiders.

Here you have someone presenting evidence! But saying "if you're an expert, I defer". You can expect an expert to make their case and allow it to stand on its own. Beware experts who invoke their own authority as an argument.
Agreed, mostly true.

(It's still not as explicit about where your function might exit, but you won't get surprise exceptions, which is way nicer.)
Believing These 9 Myths About Buy Trustpilot Reviews Keeps You from Growing
Not really. Personal cars are just not a sustainable solution. Personal electric cars are less worse, but still are large machines toxic batteries and still require massively more energy than is necessary for the task of moving their comparatively small human occupants. They have a large embedded carbon and ecological cost.

We need better density and better transit so they aren't necessary for the vast majority of people. Besides, cars are miserable in cities. Cities with extensive metro systems such as Paris or New York are far more livable than ones like Los Angeles or Seattle.
Ask HN: Ideas for “Knowledge Snacks”
Hello, dear friends! I am trying to breathe life into my reddit community /r/gifexplainer which is dedicated to educational slide-based GIFs, that are like knowledge cards. The idea is to explore the possibilities of microlearning and create a community that creates and shares this type of educational content. I am planning to run a marathon of creating first 99 GIFs on my own. So I request your assistance in identifying 99 ideas from all areas of knowledge that have value for a common curious person and are easy to express in up to 5 slides. Thank you in advance!
Or some other significant event in the eye of this civilization.
You didn't understand what I meant. I didn't move the goalpost. You understood what I meant only after reading that sentence.

It is hard for one to claim compiler research is affected because of most common implementation language. I don't know why you got that interpretation.

> Your claim was hyperbolic and completely false, and I refuted it.

Even GPT3 writes this after getting trained on some HN pages.
Personally I find the Rust syntax is a nice middle ground. If the function returns a Result, it can throw an error. And unless you provide a From<> implementation you do need to handle the specific error that gets thrown. But if you want things to bubble up cleanly you provide From<> (or use a crate that provides it for you) and it all works wonderfully.
Apple wins: Louis Rossmann on the state of right to repair
Once you introduce namespaces, now you have naming disputes about the namespaces themselves.
Edit-in-place: A flexible edit in place library for Angular applications
I don't know why people think this question is so absurd. Orientalism is a classic case of cultural appropriation. Religious iconography was taken and used without understanding it, to the point of hanging prayer rugs upside down and writing faux Arabic script. Whether you think this was a pressing issue for the medieval period is another thing entirely. My guess is the Islamic world would have happily continued selling us rugs if we weren't busy calling crusades against.
Yep. Totally agree.

I appreciate apple's attempt in the privacy space as well as loathe their 30% mandatory in app purchase integration which EPIC is fighting against. You need someone who is big like Epic to stand against apple as they the resource to battle it out legally.

One of my clients is a small player and they have stripe integration for their service. The android platform uses the stripe integration where as the apple platform has forced in app purchases down their throat. In app purchases should be an option and it should be upto the customer if they want to use it or not.
Hitting the books: How China uses AI to influence its 1.4B citizens
It’s difficult for someone who has taken a 20% loss to not feel aggrieved by another who’s taken a 100% gain.

Even if the person taking the loss started at 100 and ended up at 80, while the person making the gain started at 20 and ended up at 40.

You’re still going to feel persecuted at 80 because of the relative loss. The human mind is super resilient and adaptable. That can be less helpful when it’s adapting to good things, making it the new baseline normal.

One thing I think most people can agree on: relative to recent history, 2020 has been a pretty bad year.
Not to be That Guy, but what I'm reading is that you have the wonderful opportunity before you to learn about VPNs until they fail in boring ways!
A friend - a chemical engineer - worked on a plastics recycling project years ago (90's)

They worked on recycling plastic, but the problem was:

- it was very expensive to clean the plastic

- even when the plastic was cleaned, it could only be mixed with virgin plastic at a very small ratio - single digit percentages

- even the small ratio would weaken the plastic considerably. Think laundry baskets which are flexible but break easily.

in the end I think they made giant logs for playgrounds out of the plastic.

He told me really the best idea was probably to burn the plastic cleanly.
You can't fly with the eagles if you sleep with the pigeons.

This quote resonated with me very well
Then why quote and link to Elon Musk's tweets but only quote Snowden?
Buying Bitcoin Puts You in the Position of Those Who Are Right Before Others
Thank you for the excellent comparison with error precision. I’m diving into Swift (Vapor) and was curious if this remains true with Swift 5.2?
The 500 Crore brand behind a tourist spot
The first chemistry lecture I ever had started with something to the effect of "Chemistry emerged from alchemy, and we'll not speak of this again!"
Epic tried “self distributing” on Android with side loading. Guess how that worked out?
I am...interested.
Do not open this link in your current tab, it will destroy your browser history.
Oh well, another blunder.

If batteries improvements aren't just rumors a v2 could work.
I was looking for someone who laid it out like this.

Breaking it down is a great tip, but sometimes you can think of the most fundamental thing you could do to constitute "started"

Got a long paper or email to write? Open your editor and write the intro. If you write any more than that it's a bonus.

Got an annoying feature to write? Create the branch and some boilerplate files.

Have a strenuous workout to do? Just focus on doing the first exercise.

I find that once you get started it becomes much easier to work on the larger task.
>Care to elaborate? Not even fwknop documentation claims to be secure from all mitm attacks:

You made the claim. You prove it with documentation.

>If I'm MITM'ing you from the same Starbucks or am otherwise behind the same NAT as you, I don't care if you've got the IP encrypted in the packet when I forward it on.

That is by definition NOT a MITM attack.

>There's not enough billion dollar unicorns out there to actually have a lot of dollars, even if 100% of them lacked corporate VPNs :D

The example is only billion dollar ones. If I include +$10m+ ones, I'd have enough to dollars to buy a new laptop ;D!

>Regardless, you don't even need a full on corporate VPN. You can throw up a tiny VM for your VPN in the same private subnet as your servers, only listen on 22 on the private IPs for the servers. You can do this in less than an hour with Wireguard. Super easy.

You just described a bastion host, and port knocking makes sense on those as well LOL. Wireguard only currently supports UDP, which can and had been a limitation in the past.
What are you on about? The show is about how Apps are made addicitve regardless of race, why are you pulling the race card when the tech is indiscriminant? Its like saying I shouldn't watch a documentary on the NBA cause the documentary is not diverse enough, where are all the brown, white, yellow people at? xD
What did it look like a year after, two years after, five years after, when compared to the US market?

A single datapoint doesn’t tell the whole story.
The payments won’t still go through - if you look at the links, PayPal is returning a big red error message to customers. It doesn’t look like PayPal is doing any kind of review, they are just blocking all transactions with Tardigrade in the associated text anywhere.
Playstation 5 Showcase on Wednesday, September 16
Checked exceptions are evil because they can cause transitive API breakage in cases a function or method doesn’t catch because it can’t or shouldn’t handle the condition.
Most people don't care about climate change. They may say they do but the majority wouldn't do anything if it meant a sacrifice, even a very small one. 68% wouldn't pay even $10 per month [1]. Imagine how few would pay $25, $100, or live in a smaller house.

The people running big companies aren't "nice guys" and that's true in all sectors. But the oil and gas cos are just selling people what they want. If they are evil for selling it then so are the customers for buying it.

[1] https://www.cato.org/blog/68-americans-wouldnt-pay-10-month-...
Deepin Linux 20 Review: Beautiful Desktop with Stability
>You should. They use less water and less energy per wash then any human washing by hand.

I've always been sceptical of that claim. I found one paper on it but you can guess who sponsored it.
I recently switched from ivy to selectrum as well. I miss some stuff like ivy-rich, but I found integration with prescient.el[1] more important than an eye candy (where ivy-prescient breaks every few version). I still haven't got a chance to rewrite ivy-ag with selectrum^note1, but it has been working great so far.

My only issue with selectrum was, back when I'm using ivy, I rebind forward direction keys (<right>/C-l/C-f) to `ivy-partial-or-done` which either complete the input with the selection or visit a file depending on the context. Selectrum doesn't have equivalent implementation, but it's easy enough to implement. Reposting in here in case anybody needs it:

(defun gemacs--selectrum-insert-or-submit-current-candidate ()
"Insert current candidate or forward to `selectrum-select-current-candidate'
if input text hasn't changed since last completion."
(interactive)
(let ((prev-input (selectrum-get-current-input)))
(when (> (length (selectrum-get-current-candidates)) 0)
(selectrum-insert-current-candidate))
(when (string= prev-input (selectrum-get-current-input))
(selectrum-select-current-candidate))))

[1]: https://github.com/raxod502/prescient.el

^note1: I don't use rg due to dependency on PCRE2 which doesn't play nice on my OpenBSD machine.
I've seen Head of X across the board in startups and not just in marketing. Head of X is a role description that does not tie to a traditional corporate hierarchy level (CXO, Director, VP, etc.). It conveys that they are in charge of X which is important for external parties to understand when communicating with them. They may be a Director but still Head of X. But if you see Director of X you assume there's a VP of X who is really in charge but in a startup that may not be the case. Head of X is also flexible enough that if you hire someone over them one day it doesn't feel like a demotion or require contortions with titles (SVP, etc.).
notifications reallly piss me off.

it seems that if i shut my mouth its all fine but as soon as its time for a conversation there is constant disruption and derailment from the continuity of a conversation, effect is a shallow conversation or series of mini conversations made of half phra [BRRING!! BRINNG!!] hey someone just liked a post from yesterday, what was that we were talking about.
Who said Linux is a revolution in OS design? The big thing about linux was free availability and development model.
I get paid in $DAI. So for me my ethereum wallet it my main back account. I cash some to my fiat bank account for day to day purchases, but mostly I stay in crypto which allows me a decent savings account via things like makerdao.com yearn.finance or providing liquidity for decentralised exchanges.

Why? because last year my bank sent me a letter saying my interest would be reduced to 0.01% and then this year they reduced it to 0.00%.

It might seem high risk to some people, but I have no pension and massive student loans and I don't see how what my bank offers is going to help me change that in any meaningful way, I really have nothing to lose at this point. And from what I can see (as someone in their late 20s) a lot of people my age are in the same situation and can't find a way out.

So why not try something different? Why not be inventive? I feel like when you are young you are told to be bold and dream big and invent new ways of doing things, be idealistic and try improve the world. But for some reason if its to do with money then we should accept that everything is fine and smarter people know what they are doing. I've met millionaire traders in charge of the savings of thousands of people, and can say I would much rather be in the ethereum community, and much rather have financial systems be opensource, borderless, and free.
1. When I finally understood how event loop in Javascript works for the very first time, I had an Aha moment on the language design.

2. When I read about how garbage collection works in V8 Javascript engine, I had an aha moment about how hard things are just one layer below my working area.

3. When I started learning Rust, had another aha about how the language is designed without GC. I never thought that was possible in a language.

These maybe simple things for many, but I have no educational background in any of these, so I'm amazed by things that people actually got used to.
I understood it as a completely new, simplified approach that Lukas Larsson started beginning of the year.

It's not a tracing or optimising JIT, but instead at load time translates the BEAM opcodes to native code using asmjit.
cough cough cough - Sure - cough cough
It's one of GitHub-hosted runners:

- Windows Server 2019 windows-latest or windows-2019

- Ubuntu 20.04 ubuntu-20.04

- Ubuntu 18.04 ubuntu-latest or ubuntu-18.04

- Ubuntu 16.04 ubuntu-16.04

- macOS Catalina 10.15 macos-latest or macos-10.15

From: https://docs.github.com/en/actions/reference/workflow-syntax...
I'm guessing this isn't directly helpful but I believe sourcehut does ssh-able CI as well.
First problem is ensuring that person is correctly authenticated and has right to vote.
It is same as entering trough door and giving your ID.

From that point the vote needs to be secret, so it cannot be traced back to the voter.

Solution may be simple as:

Voting software must be opensource on Github so it means that must be verifiable.
Open and publicly accessible monitoring of installation, appropriate build (version, hash...)
And same goes for hardware. Must run on server that cannot be spoofed or additionally monitored or traced.

If above is done, it is just simple case of decoupling recorded information.

And in regards of checking public ledger can have some kind of random code "R3DfCee" which will be there to make sure equal number between those who voted and issued codes. Each voter can go to public web site and look for his code ...

Maybe something along those lines?
PayPal can pretty much always refuse to process any given transaction. They are not keeping anyone’s money, they are just refusing to accept a transaction request. There’s no money to “pay out.”
While traveling in a distant land, I once met a woman who was an avid rug collector. Her most prized rugs were those made by children because the weaves were only achievable by those with little fingers and good eyesight. She remarked that ages 4-10 were ideal. She was unconcerned about any possible child exploitation because the rugs were very beautiful after all.
They sold batteries on trains? I remember there used to be a pay phones on some German trains but they were using the analogue C network, which shut down in 2000.
> How do people using Go and other languages that don't have exceptions solve this reduced readability problem?

We don't, we just make memes about it and move on.
Next iteration of unix-time should include the concept of local time in context of relativty if we are going to travel or communicate over significant distances.
> A few generations will grow up and suddenly, you're the bad guy because, oh I dunno, all your cell phones and tablets used up all the bismuth or something.

I'm sorry, but the reason people are so critical of today's older generation isn't because of bad things they've done in the past. It's because they not only continue to do the damage, but also refuse to listen to any evidence to the contrary.

I'd be far more sympathetic if the dialog was more "Yea, I'm stuck in an industry doing damage, I didn't know it was that bad when I started." Instead it's "How DARE you tell me coal is bad for the environment!?! It's my god given right to burn as much coal as I can get my hands on!"

Perhaps it will happen in the future that I regret what I've participated in. IDK. However, I hope I've at least have the humility to know when I've screwed things up so I don't fight against forward progress.

The older generation isn't the bad guy for past mistakes. They're the bad guy because they are actively preventing future progress.
Give your opinion about the design
One could peruse CircleCI, which has the ssh feature built-in, and also the widest support of macOS versions x Xcode combinations.

All others CI providers are content with Y and Y-1 versions (at best) and seem squarely focused on build-for-iOS CI (Including Travis is hopelessly slow, when it’s not outright broken)
I don't know c++ dependency management is pretty terrible.
I remember a study showing that 25% of the top 100 Android apps were sending data to Facebook.