skysight-inc/HackerNews huggingface dataset:
Under no circumstances am I claiming that Japan has an acceptable justice system, or that it is no worse than the US. I do claim that using “the first world” as a standard of justice is a flawed argument.

I think we can argue that Japan’s justice system is flawed, without introducing the claim that the first world has a worthy standard of justice.

If we do, I think it’s fair game to point out that the first-world has problems of its own, and give an example. In another reply, I also take Canada to task.

I am not claiming that because I consider argument-by-comparison-to-first-world-justice flawed, therefore the argument that Japan has unacceptably poor justice is flawed.

The remainder of the argument seems persuasive to me.
Alleged Drug Dealer Sentenced to Death by Hanging via Zoom in Singapore
We're pretty sure, and we are working on getting samples [0]. I'm not sure if we have a plan to send up a tea bag on the rover, but I'm going to suggest that that be added.

[0]: https://www.nasa.gov/feature/new-viper-lunar-rover-to-map-wa...
Show HN: Use CouchDB to auth users for your Clojure/Script app
CouchDB is a convenient place to store Clojure/Script objects across sessions. To make this even more convenient, couchdb-auth-for-ring lets you use CouchDB's _users database to auth users for your Clojure/Script web app.
It's middleware for Ring.
It can be quite difficult to convert random time savings into valuable time.

1) Is marginal free time actually converted to value (eg, Quality study time vs TikTok infinite scrolling)

2) Can Marginal free time be chained into valuable blocks (saving 1 minute commuting such that you're 2 more minute earl y for 30 appointments, you cannot chain that into a 1 hour study block.

Edit: I will say Ankidroid has helped me get some value out of random deadspace though.
That's not precisely their statement even if it is their intention. I don't think anyone could argue that statement (though some may deny your axiom of lax performance requirements).

I think people are taking issue with the claims that _Rust_ is imposing the cognitive burden. As I said, these burdens already exist, languages just weren't forcing people to deal with them.
Ephemeral Display Settings
That's a question for the PR experts. I expect the majority of people are swayed by the absolute advice and the flip flopping doesn't damage the message too much. After all, we have always been at war with Eastasia.
This video about Biomimicry is a great accompaniment for this article

https://www.youtube.com/watch?v=iMtXqTmfta0
The big price drops with the current generation did help a lot in getting their offerings up to par. But I'd worry that that might change if you factor in the extra cooling you need to keep these in turbo and the motherboard, where the cheapest Intel LGA 1200 I can find is $150 and the cheapest AM4 is $50.
It's much harder to articulate "limit skinner box time" or "limit time spent using services that play on gambling impulses and give instant gratification like endless youtube playlists and mobile games."
Qualifies the background necessary to become a pilot and then have the time and resources to go through the Q-course and hang around for 6 more years while nearing one's 30s.

Keep negging - but you can't separate people's life choices from backgrounds that enable them.

Furthermore, it speaks volumes about the person not caring about financial stability.
Any way to stop that?
I just want to be given the option. 90% of the creepy stuff MS and Google do is for "performance" and "security"
"My GF thinks this pug is the cutest thing ever, so I'm going to make it the least cute thing in history - a Nazi"

And then trained it to react to things like "Gas the Jews" and "Sieg Heil". This is not at all a central example of speech inciting violence.

Funnily enough, Nazi Germany also tried to prosecute someone for training a dog to salute when Hitler was mentioned [0] - apparently that was disrespectful.

0: https://en.wikipedia.org/wiki/Jackie_(dog)
no paywall for me and no video just a pretty short article.
Ask HN: Is there an eng role that identifies product opportunities?
I'm looking to define a role within my company that would involve applying architect-level knowledge of our systems to uncover opportunities for product enhancements.

Basically: "Team A developed this solution for Problem A, and Team B developed this solution for Problem B, but if we took this part of Team A's work and this part of Team B's work, we could come up with a useful new product. Let's build a prototype!"

The architect-level roles I'm familiar with seem to be more systems-focused and less product-focused than what I'm envisioning. But positions like technical project manager seem too far into product/project management land, with little ability to get one's hands dirty in the code.

Do you know of any roles or titles that seem to fit what I'm describing? It would be nice if I could say that yes, this sort of role exists at other companies.
It's remarkable how much traction that article has gotten over the years; it's also cited by crosvm, rust-vmm, Firecracker, and many other virtualization projects.
I've definitely felt and experienced the situation you're describing, but I think you might be painting with too broad a brush.

Sources like ArXiv, Google Scholar, and Semantic Scholar have made it really easy for me to access tons of deep, academic/professional level knowledge in my field instantaneously and for free. I know that Physics, Math, and Computer Science are relatively uniquely privileged when it comes to ArXiv, but even paywalled journals are more accessible in the internet age than they were before. I'm even able to find public-released technical info from the DoD through DTIC that I don't think I would ever know what to request without having it come up through search engines.

Likewise, tons of undergrad classes through MIT and the Ivies are available for free on Youtube; more still are available with exercises and some form of certification through services like Coursera, EdX, and Udacity. Some graduate and professional-level courses are starting to come online through these institutions as well; the Institute for Advanced Study has started releasing its lectures on Youtube over the past few years.

I can find manuals for my car, my appliances, and all my electronics online. I have access to all sorts of do-it-yourself how-tos on Youtube when I want to do work around the house. I have StackOverflow for when I have challenges with programming languages and tools that aren't clear from the docs, and the rest of the StackOverflow network when I have questions that are more specific to my problem domain.

There's more throughout all sorts of fields: instant translations with Google translate and langauges lessons through DuoLingo, Rosetta Stone, et al; music lessons on Youtube, etc.

Again, I've been through the experience where some older materials just aren't as available as I'd like, and where the normal search tools only bring you part of the way. But I think you're taking a lot for granted here.
maybe...

microsoft, and apple also, should make desktop native apps easier to develop. and stop with the mobile chase.

only apps from the top 10 in every app store are used on a daily basis. customers are not willing to use anything else, unless required to -- i.e. bank, insurance, etc.

on the other hand, we are always willing to give an improved desktop app a try.
They were almost certainly not clearing $1k a day, the company who contracted them was.
If you're going to run alternatives to cloud services and call that good enough, then the same is also true for mainframe development.

Meaning, I can't run DynamoDB locally but PostgreSQL is close enough for most tasks, so sure I can kinda run that workload locally, but I won't learn any implementation-specific issues about how it would behave in AWS.

Similarly, I might have a hard time running DB2 for Z/OS, but I can also run it on Windows or Linux, and in this case I'm far closer to the actual development environment. Same is true for most of the dev tools and services commonly found in Z series environments.

I would argue the commenter above you is flat-out wrong: for most core AWS and Azure services, it's far easier to put together a home, single-desktop-PC-based dev environment for mainframe than it would be for cloud if you don't have the ability to actually use the cloud directly.
Show HN: Making My Wink Relay Free Again
I was surprised there was only a mention of frameworks.

One obvious shift I’ve seen is in the use of the WASM and Web GL compiled applications. The likes of Figma and Superhuman are making incredible leaps in user performance.

I suspect serious companies will make strides here.
DJB makes great code, but it always leaves a sour taste to use his code, because he has such a big ego and refuses to admit when he makes a mistake. He can't admit that it's possible to be the best but still make mistakes.

I really hate supporting that.
I agree. The only advantage I can think of is smaller hello world programs. And that seems to be important from a marketing perspective: people new to the language won't perceive it as a verbose language.
The Cult of Elon Is Cracking
The mystery of 'hacked' Houseparty users may have been solved
I think this is spot-on, and I'm 100% here for it. Here's a secret: even JS developers don't like all the frameworks and build complexity. We like what they afford us, but the overhead has been a symptom of an immature ecosystem. I think most of us are glad to finally see the cruft starting to get shaken out as it matures.
Right, that's why I qualified both times with "observable". ~_^

It's worth noting that even if this capability can only occur due to methods on the subclass alone, it can still fail LSP if those manipulations are still observable to a client using only the superclass.

This is pretty much only possible because multiple clients can have a reference to the same object, since it allows one client to observably transition the object into a state that should be unreachable from the perspective of the second client. (This is the root of the need to make "defensive copies" [1].)

If one imposes a strict single-ownership discipline, then it doesn't matter if super-interface properties can be violated by subclass-only methods, because for the duration of its use via its super-interface, those violations are impossible (and hence unobservable).

[1] http://www.javapractices.com/topic/TopicAction.do?Id=15
You're absolutely correct - we have a healthy mix of traditional server-side web applications and a small number of SPAs only where it makes sense (usually complex forms with lots of feedback/conditionals). I just used Angular as an (admittedly) easy target. These days, I've been trying my best to avoid SPA for enterprise stuff if possible
It's interesting that they're targeting chain emails first. I would say comments on the Czech news sites are a bigger problem. Usually the Russian trolls are easy to spot (they use words and terms that people just don't normally use, like "demoblok" to denote the political parties which are critical to Russia), but sometimes it can be quite subtle. Then again maybe the news sites themselves should regulate this.
I guess we moved from Eisenhower's concern about the influence of the Military-Industrial complex to concerns about the privatization of the Military-Industrial complex. Have we entered a new phase: Gig-Economization of the Military-Industrial complex?

This passage from a 2011 NPR article on the 50th anniversary of Eisenhower's warning caught my attention:

Eisenhower was worried about the costs of an arms race with the Soviet Union, and the resources it would take from other areas -- such as building hospitals and schools.

https://www.npr.org/2011/01/17/132942244/ikes-warning-of-mil...

Seems especially prescient at the moment.
Hey folks on HN,

I know there are some smarter cookies than me on here.

If you think I missed a tip or that a tip is simply wacky, then let me know in the comments.

Thanks kind sirs and madames :)
More precise, and somewhat freeing, advice:

Redesign your code so that the calling code does not (need to) know about subtypes.
Baby exoplanet spotted growing around distant star
These blogs recommend products where in reality it’s an ad in disguised. They recommend the products because they are paid to do so.
TLDR because you have javascript enabled
Surely you started with textbooks.
The most expensive part of a kid is stretching yourself to your limits to get them into the most expensive neighborhoods (I.e. best schools) possible.

And the unfortunate thing is the data shows that this is the best move for people to make, as the peers you are surrounded are the biggest determinant of your future success (see opportunity atlas). Which is why people stretch themselves to the max with 30 year mortgages. It’s inevitable in a society with ever widening wealth/income gaps.
Japan's correctional system is considered safer than many others but it certainly has it problems.

Generally they are more like strict military prisons with highly strict and specific rules and regimentation. Punishment for violating rules may include loss of privileges and often having to maintain stress positions (aka torture) for hours across multiple days.

Reform is underway but as like as everywhere else it is making slow progress.

https://www.prison-insider.com/countryprofile/prisonsinjapan...
Shadr – an interface to write GLSL shaders in R
@dang, could we please change the submitted Medium link, which has a login wall, to the original blog post? https://www.mattmunson.me/cofounder-pain/
I ran mine in JMH which does a bunch of warmup iterations, hopefully enough to trigger full JIT
You're into structural versus nominal typing here, which is an important distinction (and tool) to point out.
You're being downvoted, but from what I can tell you're right. DJB is undoubtedly a brilliant computer scientist, but it seems he'd be very quick to tell you that. I see this as a loss to our profession because I think that DJB-minus-ego could make even more awesome things.
A motivated prosecutor could almost certainly find something to throw at you - some variety of public nuisance law or something.
Normally I am highly supportive of volunteer based efforts. However for political causes volunteers tend have political biases, which make the results less than authoritative. According to this [1] article from University of Manchester researchers, even EU supported volunteer anti-disinformation campaigns seems to produce more of it themselves. And yes, I did confirm that the "reframingrussia.com" domain does belong to a University of Manchester group[2].

[1] https://reframingrussia.com/2020/04/06/covid-19-disinformati...

[2] https://www.research.manchester.ac.uk/portal/en/projects/ref...
Given the state of things, I'm not very hopeful. There are 10's of millions of people who don't believe in science (except when it saves their lives at the hospital), don't believe anyone but their dear leader (all news that contradicts their leader is "fake news") and hate anything that sounds intellectual (remember John Kerry? That was the main knock on him) because it makes them feel smarter.

And now, with the current administration removing watchdogs and ramping up corruption, it will be a miracle if any opposition with a majority of votes can actually win. Look at the attack on vote by mail, as an example.

Roger Ailes is dead, but his legacy lives on.
You really need a voice coach, because you really can't hear yourself sing. Crazy but little known fact-- even professional soloists hire voice coaches. A former coach of mine works over Skype, though I never tried that.
> I have come to the conclusion that conciseness probably is only an experiential thing. It might not be able to control anything [..]

Doesn't it cause us to at least have these kinds of conversations?
This statement is too funny. For those looking for the quote in the article, you will find it in the duplicate HN post's [0] article [1], of which its comments were merged into this thread.

[0] https://news.ycombinator.com/item?id=23233619

[1] https://www.theguardian.com/business/2020/may/19/easyjet-cyb...
Not clear why you're being downvoted, I remember the Czech government explicitly requesting this.
Well, I've been working with Unity for 11 years now, but my experience with building for Linux is limited, so I'll go with experience from mobile and console development, and say that with shaders (which never ceases to surprise with platform-specific glitches), filesystem (although Unity is supposed to abstract it out, once you get serious about resource management, this abstraction starts to leak), input (because you want to support gamepad with minimum hassle for the player), and million of unknown unknowns that hopefully will be found by QA, but realistically, by very angry players, I'd budget at least a couple of man-months for this. With sales in hundreds or even tens of thousands, we can expect to get about 2% of audience from Linux, which will account for single-digit thousands, or hundreds of copies sold. With a price tag of $10-20, after Steam cut, taxes, regional prices, sales and refunds, it's about $5-10 of revenue per unit, so in total, about $10k.

If that would just be the money a single developer got for 2-3 months of work, it could still be fine for some regions (not everyone on HN is from US). But with a studio, you also have to spend money on marketing, payroll taxes, rent, and development of future projects, which most likely sell even worse.

So, no, I really don't see how porting to Linux would pay. Most of developers that I talked to who did it admitted that supporting OSX and Linus turned out to be a giant waste.
WebRTC enables many of these things on the browser. That is the point. So your "I don't need WebRTC because I use native apps" is basically just "I don't need the internet because I can go next door to talk to my neighbors".

Just because something doesn't have value for you does not suggest it does not have value, period.
While you're not wrong, I think that you're referencing a different flavor of automation than GP is.
UXReactor – Catalyzing your eXperience transformation
I wonder if they smoke weed and play games because they feel that the systems of living in this society are so broken that no amount of effort, hard work or creativity will help them. Essentially they've decided to stop playing an infinite game that excluded them.
This looks really promising. My current challenge is that I use Ubuntu and my wife uses windows. We definitely need something cross platform. This in turn should help us to share data (version control maybe?) between ourselves, and input the data as and when we feel like it? I work in software dev but my wife doesn't. A simpler layman tech/commands is what she prefers.

Are there others who have faced this issue similar to mine? Did you use GnuCash or something else? I'm more of CLI but she's more GUI. So...
Releasing something exclusive is not evidence of EEE. Yes, it’s embracing, but that’s it.

How do you know they don’t plan to port DirectX to Linux? They’re currently attempting to upstream their changes, so why wouldn’t they port DX itself? They also don’t have to open source it (although I wish they would); they could just release a binary blob that you download and install.

Also, how do you expect Microsoft to kill Linux? To me, it seems that people who willingly choose to use Linux over Windows are generally the kinds of people who won’t be persuaded to move back. Microsoft can’t kill Linux.

Have you ever looked past your preconceived biases and considered that maybe Microsoft has actually had a change in culture over two decades? I don’t think so, because the people who scream “EEE” are the kinds of people who’ll never be swayed in their opinion.
The problem isn't the 'merit' it's the 'ocracy' (2019)
> Designed to inspire your next Friday night hack.

I've been hit with some burnout recently, and this is the kind of inspiration I need. Small, fun, short term project to get some juices flowing, as opposed to forcing myself to work on personal projects I currently don't have passion for, but feel I need to work on out of some weird sense of obligation.

Thanks, this is actually a really great help.
Of course, but nobody ever says this. Except when reading was a new thing.
Or you just run the installer in a sandbox/container, as has been possible for at least a decade in all major OSs

Sandboxee was released in 2004, and there have been various bits of registry journaing/snapshot software since the late 1990's which combined with NT ACLs could provide at least as much security as your getting out of a browser sandbox.

Browsers have an absolutely huge sandbox surface and lack even the most basic of fine-grained security controls out of the box. Enabling even basic restrictions to avoid fingerprinting has turned out to be difficult. How you do you know (particularly with firefox) that one tab isn't actively picking out data from another tab open to your banking site. Much less the problem with malicious javascript being injected via the ad frameworks.

Browser security is pretty much a joke.
> why entrust that kind of advanced decision making within them?

Because then there's a hope that they'll actually learn the underlying principle and make similar decisions in situations where someone else is not directly in control of their behavior.

There are kids who don't get to eat ice cream before dinner at home because that's the rule, who will happily do so when over at someone else's house without their parents around to enforce that rule. Then there are kids who actually understand why they shouldn't eat ice cream before dinner, who will decline to do so even if they have the opportunity. (That doesn't mean they'll exercise perfect judgment every time, but then, there's also no guarantee they'll follow rules that aren't being enforced.)

It's important to develop the critical thinking skills to filter out "junk food" content.

(To clarify: I'm not talking about children too young to understand the concept, I'm talking about children more than old enough to make such decisions in an informed way. Roughly speaking, think 12, not 3.)
It's not just that.

In the beginning the assumption was that asymptomatic people aren't (very) contagious. That meant that contagious people would know about their status (from the symptoms) and mostly stay at home.

When we found out that you can be contagious and not have a clue about it, the recommendation to wear simple "community masks" changed.

The scarcity of "real masks" and the wish to save them for the health sector played into the public statements that authorities made (partly because it was a true concern, partly because it's an explanation that people understand easily).

In hindsight, those statements were a mistake, because many people now think the authorities flip-flopped.

They did, but because there was new information.
Some good tips to prevent myopia:

- 30/30/30 rule: Every 30 minutes look at something 30 feet away for 30 seconds

- Take regular walks outside: it will lower your blood pressure, and expose your eyes to violet light

- ensure brightness of environment closely matches brightness of screen to prevent eye strain
Pathological Science
What kind of company did you work for?
You can look into tools like firejail to make this easier.
Yep, the read-only List<T> implementations definitely feel like a violation.

For the benefit of people using older languages, I'd like to point out that newer languages tend to split collection interfaces into ReadOnly and ReadWrite variants, where ReadWrite subclasses ReadOnly. This means that a mutable list can be assigned to a read-only list variable, but a read-only list can't be assigned to a read-write list variable (because you can't write to an unmodifiable collection).
We should have cleared everyone from a few days ago, could you check your spam folder?