skysight-inc/HackerNews huggingface dataset:
Author here. I don't think "pretty text = maintainable code". I acknowledge in my article that this pattern would be polarising (but underestimated quite how much so!).

It's a pattern that IMO has a place. I personally find it more readable than multiple if blocks - but from reading the comments this seems to be very much down to personal taste.

It's not a pattern that should be used in all cases by any means.

You're right about the unnecessary elses - in hindsight I wish I'd put a bit more time in to the examples I used.

As for the breaks, you don't need a `break` when you're returning or throwing an error in a switch case. If I had included these, someone else would have commented that they aren't needed ¯\_(ツ)_/¯
I know it's not your intent to present one, but I love moral puzzles and you have just generated a delicious one.

The core of your comment is that the "decisions" of the car should be based on the community to which it is sold; i.e. a car sold in, say, France should prioritize saving the lives of women, while one sold in Saudi Arabia should save the lives of men (for information on preference data, see [0]). Further, that there should be laws mandating these cultural standards such that (I assume) it would be illegal to sell or manufacture cars not in accordance with said standards.

Two scenarios immediately spring to mind. What if I do not agree with the standards, either communal or legal? For example, Burmese standards strongly prefer inaction of the car; what if I consider that wrong, and that there would likely be fewer deaths if the car was allowed more autonomy in its decision-making? Would I be morally culpable if I was the car's programmer and my boss asked me to make the car less responsive (i.e. in my opinion more likely to kill people) so that it could be sold in Burma? Other countries are more indifferent to the car trying to save more lives; would I be a murderer for designing a car for those markets?

The second scenario is the more obvious one; your argument hinges on community-derived morals being superior to abstract, though-experiment morals. But that's not a given. There are communities that don't consider certain people as people. There are communities that tolerate infanticide and slavery. There are communities that, in short, have pretty objectively abhorrent moral philosophies. Sometimes those communities have legislative power in a nation. If we concede that the ethics of autonomous systems should be derived by the specific morality of particular groups in power, we will likely end up with some extremely harmful systems. This obviously goes beyond the initial question of self-driving cars into matters of surveillance, social control, AI-driven weaponry, and so on. I just find it important to ask whether you believe that as an engineer, you believe that your own moral beliefs should be completely irrelevant when designing a product - that the manufacturers of Agent Orange or Zyklon B carry no culpability for the use of those products.

[0]: http://moralmachineresults.scalablecoop.org/
Yes. You can always demand 12 * $50 up front.
Between 1080 and WQHD, sure. But between WQHD and 4k?
Go read a history book. Rejecting slavery wasn't extreme, in fact, America fought a civil war in no small part due to it. Something with half the support of a country is not extreme.
I am not sure it problems with left-right or navigation are connected with ADHD. I have ADHD and never had problems like these. But I'm more ADD without Hyperactivity and some symptoms are different.
Most comments here point out that this may be just a fish-eye camera model with some fancy sales language around it. This was my initial thought as well, however, it should be pointed out that changing from linear to fish-eye doesn't cause any changes in scene occlusion. It's just moving pixels on a 2D plane. The technique described however does change occlusion.

Based on the examples on the page, here's how I think it actually works: The projection center is not a single point in space but rather varies along the optical axis depending on the position of the 3D vertex as seen from the camera. More specifically: For each vertex a preliminary linear projection is computed to get an XY position, then the projection is recomputed using the preliminary XY position, where things near the center are re-projected using a projection center that is moved forward along the opt. axis and things near the borders/corners of the image have it moved backward. On top of this then probably a standard fish-eye.

That said, I'm not sure this whole projection trickery is really worth it, given that it comes with its own issues (your scene will appear to warp when you turn the camera) and given that you can probably get 90% of the value with one of the more standard fish-eye models.
https://signal.org/blog/update-on-beta-testing-payments/
Apple is the problem.
Ask HN: How do you get at the leading edge?
I just re-read PG essays following the publication of "How People Get Rich Now" [1], and especially "How To Get Startup Ideas" [2]. One key principle seem to be "at a leading edge of a field" to "live in the future".

How do you know which field is potentially "the future" and that you are at "the leading edge" ?

To put this in perspective, these ideas seems to ring a bell for me. It is coherent with my experience growing up during the last 20+ years. When my father bought a full size portable HDD to listen to music in 2000, it seemed obvious to me that it was the future. Same for internet usage, payments, video players, smartphones... I noticed grown-ups doing entrepreneurship with these technologies and it seemed obvious that it was the best decision for them to make at the time.
However, now a full grown up engineer and able to make things, I find it harder to be sure of what the future may be and what is at the leading edge.
I feel like the amount of bullsh*t has exploded, maybe because I have access to more information sources and are more knowledgable. I follow HN obviously, but also producthunt [3] and more "journalistic" news like The Verge. [4]
I think answers to this questions will be valuable for the HN community and for the world, so I dared to ask, even if english is not my first language. Sorry if I made mistakes.

[1]: http://www.paulgraham.com/richnow.html
[2]: http://www.paulgraham.com/startupideas.html
[3]: https://www.producthunt.com
[4]: https://www.theverge.com
Yeah, that is a way to look at it. My point isn't what we call it exactly, my point is that it is a hack job that is fairly mediocre at doing what it is supposed to do.

The compiler in the browser is going to run its own optimization anyway, preoptimizing the input isn't necessarily going to help.
I guess this means that you're able to learn how the API works by using the API to download metadata.

In fact, one can generate a complete API client by pointing a script to a running kubernetes instance, which will generate all code for interacting with exactly that version. And the resulting client is huuuge.

(That generation thingy is for some .net clients)
New USSD pricing model, a setback for financial inclusion
Even if you can verify that the encryption is indeed E2D, can you also be sure that your messages are not simultaneously transferred to Facebook before they are encrypted?
A more local crypto exchange, when I started buying bitcoin it was harder to get euros in and out of Binance. Seeing how I'm not really a dissident or a rebel and I'm lazy so I'm not going to jump through multiple hoops.

So I don't mind the KYC process so I don't have to jump through hoops, but I do see how nations can use lawfare to attack/monitor crypto currencies, its not that hard to see. You have a open ledger, you have wallet addresses connected to personal identities. They can probably use social media connection graphs to fill in the gaps of unknown wallet addresses. Its a real time financial monitoring tool like the current system, just packaged up as some libertarian/tech bro nirvana escape hatch. Brilliant marketing if you ask me, but I'm just using it as an inflation hedge.
Good for her. Though, a more fun way to quit would be to install the app, feed it the same spoofed location 24/7 putting you right in the middle of your workplace and just never show up again.
I don't think so. Pepe is still quite hilarious for meme material. I can ignore bad actors with an open IP and still enjoy the good stuff.

And meanwhile, I think stuff like fan art, fan fiction, spin offs, etc could maybe create an even more vibrant ecosystem than a Disney or Nintendo ever could.

I mean, look at the ancient Greek and Roman mythology. That was an open source ecosystem of stories and legends that different people contributed to and built on over long periods of time. It could easily happen today.

Open Source Disney, Open Source Marvel, Open Source Nintendo

I think the time is right for such a thing to happen.
Tracking by itself is bad. But the request to install the tracker on the personal phone, instead of a dedicated device, is completely unacceptable.
I’ve been using Pass for years, and love it.

Question for HN... is there a project that anyone knows of, that is using Age instead of GPG as the encryption for Pass? I’ve seen a few implementations of it, but nothing I’d use for a daily driver yet.

Example, not my project - https://github.com/somasis/passage
Wage workers? No. That’s just false. I don’t know what exactly you’re trying to say but it’s wrong. This is just another appearance of the same class warfare that drives slavery. Working people didn’t ask for this any more than slaves asked for slavery.

I remember, because it was only a few years ago, companies would allocate anyone who needed one a BlackBerry. Any work calls would come to that device, you would use it for emails on the go etc, it was managed by the corporate IT department and when you weren't on call you could leave it in a drawer. It was very clearly "theirs" and could be treated as such.

It actually was ordinary workers who said, hey, I would much prefer to have the company take over my own personal device for this, which I have paid for and pay all the bills for too, it would be soooo convenient not to carry two phones, and of course companies gleefully said yes.

And nowadays if you want a "burner phone" for use at work, you pay for that yourself too! Congratulations everyone, we played ourselves. Well not me, I miss the BlackBerry days, and I said all this when BYOD was becoming fashionable too. But they still took my BlackBerry away and made it all but impossible to stay employed and not install their MDM crap on my own phone.
Sorry, you need to be less cryptic for me to understand what you mean :)
And now he's selling his reputation using an ICO scam.
> Pop OS is awesome.

Yes, they are needing for to change name, however. "Pop_OS!" is very a stupid name, no low hyphen "_" charactir or exclimation in name is good. Only "Pop OS" is good.
Also, this probably goes without saying but if you choose this route, find an area code in which you likely don't know anyone. I have an area code from a state in which I previously lived so I still don't know whether it's a spam call or an old contact.
And go back to most of human existence as hunter gatherers humans were very equal. 10,000 years ago the new technology called Agriculture changed this.

Technology has generally always created inequality.
> ...government should be small enough to be able to be drowned in a bathtub...

The key piece you're missing is that this is the case for national government, because the rest should be managed at, ideally, the local government level where citizens are able to self-govern, such as on city council meetings. That power should move up the organizational structure only as far as it needs to (for instance, you cannot build interstate highways at the city level).

In a country the size of the US, consolidating political power at the national level turns politics into the spectator sport it's become.
I despise webmail as well, Thunderbird all the way, but it has become a bit of an annoyance lately for some use-cases, so I am willing to look at alternatives.

However, some Thunderbird extensions have even become essential to me, most importantly Cardbook, which I use to manage Contacts across devices (shared via carddav on a selfhosted Nextcloud). Does M3 support carddav properly?

Also, can I add multiple mail accounts easily?

Are mails part of Vivaldi sync?

I might actually try it just to get a look at the current state. RSS client is nice, too.
Deno's interactive permission prompt is still easily bypassed by nicely asking terminal to confirm it:

https://github.com/denoland/deno/issues/9750#issuecomment-79...

Direct link to asciinema:
https://asciinema.org/a/9rvK8ANJK0WnQc9nsrFKdC7ir
My point was about the general idea of reusing what has been done before. I agree with you that there are qualitative differences, no doubt about it.
A few Kubernetes storage providers, benchmarked
This is crypto, almost all users are always going to be speculators even with monero.

Pretty much all countries still have presumption of innocence and a legal system
DeathStar considered more moral than Thanos
Compiling TypeScript to JavaScript is essentially just removing the type annotations. Compiling to a bytecode VM would be orders of magnitude more work, especially since TS is defined to have exactly the same runtime semantics as JavaScript.
Stacks Accelerator Fund Announced
> There might be few cons though. For example, if you store your database on a cloud, say, Dropbox, Dropbox could switch your Dropbox.com file with google.com file, and you copy and hand over your Google password to Dropbox. But this is hypothetical for most of us!

Before I became aware of Pass, I wrote essentially the same thing, but in Python.

Fast-forward a decade or two, and my wife uses a password manager that got deleted from the Apple AppStore, and iPhone backups just contain pointers to the app to install upon backup, not the actual binaries. So my wife had her password database, but no password app. I did a bunch of research on password database formats, and this is recognized as a pretty common vulnerability.

Pass allows you to add arbitrary metadata, so I suggest adding the domain (or better yet, the login URL) as the second line in the encrypted file. I made this automatic/mandatory in my home-spun Pass-alike.
in some places you might be accused of cheating the SYSTEM and get paid for 0 hours a day
Is it really? I read the email chain, it was totally reasonable. He made good points regarding the mental image of assault.
I for one don’t want people to discuss the meaning of rape but he had a perspective that was shared in a civil manner.

Someone else of course jumped immediately to "when this leaks it will reflect poorly on us, ...".
Yeah, maybe if you are more interested in looking good than having an intellectually honest conversation you shouldn’t be allowed in academia.
The primary expense of living in the West is rent and housing - due to mass immigration driving up populations beyond their natural size (given that fertility rates are sub-replacement in practically every Western country).

By contrast the primary expense of living in the 'East' is food and energy. For many people, housing is practically or exactly free.

The Serbian population is already down about a million people from its peak: https://www.populationpyramid.net/serbia/2019/

There is a lot of cheap real-estate out there outside cities.

What might make more sense is to have food kitchens and standardised subsidised housing for the poor and out of work. This kind of work could be done super-efficiently at a national level.

The other factor is that things like pension and welfare expenses are basically known expenses. It doesn't make sense to charge a % of consumption or income (thereby disincentivizing both of them). Just share the burden across everyone of working age with a poll tax, and to the rich with a property tax (with a credit for the number of children under age 16, to avoid penalizing families). You can find other externalities to tax like drugs, road use, and fossil fuels.

The USA, UK, Scandinavia, Australia have embraced these kind of transparent and simple taxes, and their societies are much wealthier because of them.
YouTube suspends account for linking to a PhD research on WPA2 vulnerability
That would be totally illegal in Germany, and most of the EU.
Not only the employee tracking and forcing them to install anything on their private devices, but also the data collection and not disclosing what is collected, where, and how long, and not implementing an automatic deletion.
Sat Nav CD (1986) [video]
They said it's better to just provide evidence for that, which you didn't. You mixed personal political opinion with the factual question of whether the school's practices are predatory, which makes it more difficult to give you the benefit of the doubt that the claim was made in good faith.
Thanks for the link, this looks awesome. I’m trying to catch up with the best anime in the period 2002-2018, and this just made the list.
If any of the "normal" apps (Google Authenticator, Microsoft Authenticator) had a monitoring backend that my employer could use, I'd be angry with Google/Microsoft for adding that functionality rather than upset that my employer made me install it.

I don't want to carry around two devices so I'd much rather have company apps on my phone. Obviously, that is as long as the apps seem resonable, like a 2FA app. If I had to install "person location tracker by shadycorp" I'd just refuse even on a corporate phone.

But 2FA app on my personal phone vs being required to carry 2 devices? I think the first is much more appealing.
Thank you Sophie for speaking out about this.

It looks like a conflict of interest. FB is wary of closing accounts linked to leading political figures presumably due to a) not wanting to be seen to interfere with politics too much and b) not wanting to receive retributive political action in those countries.

Alternative explanation is lack of resources which might be plausible - perhaps those with more internal experience could comment on that.
There have been only a few things I have done with frequency in my life. Playing musical instruments in one of them. I have never been deliberate in practice. I have never sat down and made a schedule to practice playing the guitar or piano. But having a guitar always in visible line of sight has meant that I've practiced consistently everyday for years at a time so long as I have a guitar in the room.

Books don't have the ease of re-use. There's too much friction involved with a book. So I read whatever I please and give up frequently. Reducing this friction, in every domain, but especially in the sciences would have big impacts on my contributions to the field. If you could visualise and make learning slippery, ADHD people would likely perform much better. But the diligence is still needed. My musical ability has benefited enormously from knowing what I'm playing and recording the things I do play. The same thing can apply with learning. Technology can really shine at doing all of the boring stuff that your irregularly dopamine-ized brain refuses to do. We just havent gotten around to doing it. But it is necessary if you want to do great work.
Quite interesting to have all of this astronomical data, however my eyes alighted upon this scary statistic:

14,813 acronyms described for Simbad

That is an awful load of acronymns, a perverse amount even.
Experience was pretty bad and i had to reload several times for the assets to even load. I'm willing to give it a pass considering it's not exactly meant to be a high traffic website that a lot of people are meant to use every day though I could understand someone instantly closing off of it.

It's whimsical and interesting which is certainly the message they were going for considering the intent of the website itself and resulted in more discussion about its mission than it would normally earn on social media, I think. Talking about the good ol' days of Japan's economic dominance and how it was perceived as a creative powerhouse on a bland corporate website would probably fail to deliver its message.
Maybe it's sales BS as others have commented. Maybe it's just a fisheye effect. But I sure wish that this kind of projections was the default for video games...
> I have no strength for yet another switch

Pidgin with a shitton of plugins. If the only problem is the migration, that still works as a single client, albeit with drawbacks and hiccups. (I collected them at https://github.com/petermolnar/awesome-pidgin-plugins and yes, it'll need to be compiled, even Pidgin itself for some of the solutions. There's nothing user friendly about it, sadly.)

On the other hand... the only system I never had to migrate off is IRC. The funny bit of IRC is that it's not private in terms of security at all, but because it's anonymus, it still feels like it.

And so I keep thinking about needs when it comes to privacy: what do I really need in the context of internet communication? Anonymity, privacy, or both?

I don't have a definitive answer.
What is it called when somebody asks you to describe in single words only the good things that come to mind about your mother, and you shoot them?

The Voight-Kampff effect.
To be honest, inattention to details is one of typical symptoms of ADHD. So there are probably people with ADHD who do not have this problem, but I would say that most of the time they are probably misdiagnosed.
My general worry is that the performance gains from using some WASM will just get eaten up by the overhead of jump between JS and WASM and having to copy/convert data. You might be able reduce the problem by porting more stuff from the JS side to the WASM side, but then you risks pulling in huge chunks of your app.
If there were to fix the bloody video call orientation before dwelling into shitcoins I might agree.
Make the login URL (or at least the domain) the second line of the encrypted file. Pass supports arbitrary metadata.
Chiefly due to my lack of religious faith in science.
Yeah, so it discourages small payments relative to large ones.

Strictly looking at this, it is somewhat more unfair to poorer people compared to banks.
Twitter rewards being a dickhead. It was fun when everyone was allowed to be a dickhead, but now there's a protected class that cannot be criticised and freely sends death threats and the like to whatever bad guy they think they have that day.

This wouldn't be so bad, but there's now a bunch of normies who weren't raised on the mantra of keeping internet shit on the internet
thanks for that link. "More than 53 million people— 44 percent of all workers ages 18–64 in the United States— earn low hourly wages", which is defined as earning 2/3 of the median male worker. The median hourly wage for those 53 million people is $10.22. One might argue about semantics but these stats are devastating nonetheless.
His position was not reasonable. I'm not taking about civility.
I went looking for a job one year ago, and I critically analyzed if I should position myself towards a future with Rust. That resulted in a note to self: a revolution it will be, and I have to add my 2ct, sooner rather than later.

Rust and the electric vehicle are totally comparable and will follow the same adoption curve at about the same time. That much has already been decided. In about 2 years time the transition will be in obvious to everyone. This is a decision driven by industry, managers and $hit, not developers.

Electric cars offer a superior ride, no maintenance, no pollution and often drive themselves. And so does Rust, uniquely. Aware industry must be, or extinction threatens. That reality is 5 years out, and is part of "software" finally coming of age.

We'll leave the diapers, and the crap that software is full of, behind. It'll not be just Rust, but Rust uniquely. Meaning that this change reinforces Rust's moral leadership.
It might be a trope but coming from Nintendo it means a lot more. Can't say how many wonderful memories I've had exploring the worlds that Nintendo has dreamed up.