skysight-inc/HackerNews huggingface dataset:
People who write articles, submit articles, admin articles and comment on articles can't buy fusion reactors and profit from them. So, we have biases with cryptocurrency.

Opinions about unknowable consensus mechanisms aside, I have serious doubts about PoS given there's no clear associated PoW presented alongside the staking. But what do I know? I have grey hairs.

I still like Bitcoin and Lightning because the PoW and PoS work with each other to deliver similar functional properties. This is a personal opinion based on reading and trying to imagine how the Yapese managed their stashes of huge coins.

Fun fact: One particularly large coin dropped off an outrigger on the way back from being mined and instead of taking it out of circulation, a few of the consensus makers went out and dove on it to confirm it was indeed sitting on the bottom of the ocean floor.

I've set intent to go dive it and see it for myself.
Toned-Down Code Complexity Using Facade Design Pattern
My second Medium blog just published on Javarevisited !
In this blog I’m talking about the facade design pattern and its intention, use cases, applicability, drawbacks and so on. Further I bring a real world scenario into a code example which applies facade design pattern.

#designpatterns #facadedesign #Java
No, there really isn't. Either you allow everything, or you get accused of censorship.

Personally, I think that the automatic cry of "censorship" as an unarguably, obviously bad thing is a red flag. It suggests that somebody hasn't thought something all the way through -- or at least, has only considered the ways it affects them and not anybody else. It's one of those positions that is consistent, simple, and awful -- and therefore much beloved of people who prize the first two things.

People who care about not being awful are put in the awful position of dealing with a world that is neither consistent nor simple. People who deal in lies will always be happy to tell you that nothing is ever settled scientifically, no matter how thoroughly they are refuted. People who deal in hate will always tell you that their opinions are just as valid as anybody else's, and therefore not subject to truth considerations.

I am willing to accept those contradictions, and deal with them, rather than constrain the world to a simplicity just because it's easier. But there are a lot of people who won't.
Dynamically re-use and lazy-load pages using Hotwire
I agree, I have always hated having to give my google credentials to random apps instead of just using something like oauth where I can be more confident in the security of my credentials.
In 2000 I applied for a job as an enumerator at the U.S. Census. They made us gather in a room to take what was basically a short I.Q. test with somewhere between 15 to 30 multiple choice questions.

I think they went down the list in order of descending score to call people. They offered me a supervisor job but I didn't take it because it was a small amount of extra pay for a lot of extra responsibility.

I got called later with an offer to be an enumerator. The team of enumerators I worked with were a selection of high-I.Q. people, much better quality than you'd typically get for a temp job, and it was a lot of fun working with them.
Could Taler be used in a smaller scope already? For example, could it be used as an "account system" inside an association (like a hackerspace), where members can charge their accounts with Talers and then use these to pay drinks from the fridge, etc?

Setups like this could be used to test the system in practice.
> Since you're not, the rest doesn't follow.

It's an analogy. "Trading stocks" is an analogy for "negotiating salary". Nearly everyone has to negotiate salary.

> I wasn't savvy enough to know how they were cheating me. My solution was to stop playing poker.

So you're saying people's options are to a) be cheated on salary or b) not work in paid employment? I respect that you have an opinion, but it's not an opinion that I have any respect for.

> Hence, the chiseling doesn't amount to much

Because we have open price sharing today and it's not possible to cheat you too much. You're benefiting from this even though you don't day trade. If we didn't have that, you and every other buy-and-holder would be shafted severely.

Sidenote: I notice in many of your posts that you're a big proponent of free markets (which I mostly agree with). How do you square that belief with this one where one party, by design, has far less market information than the other? I'm genuinely curious about this, because it seems contradictory.

(And yes, you might say "Companies choosing to share/not share salary is actually them competing on a free market", but that's an awfully limited viewpoint when we have other markets where prices are required to be open - such as real estate, and securities - without there being any suggestion that they aren't free markets)
> Why don’t you cut off United States citizens while you are at it? The regime that has probably done more damage and caused more instability to the world than any other country.

Is this true? My understanding was that (despite the current conflict), the world has been experiencing a rather unique period of relative peace under US hegemony compared to the past. This is obviously true when looking at timescales since the late 19th/early 20th centuries [https://oneearthfuture.org/opinion-insights/world-getting-mo...]. Clearly the world has been significantly less violent since WW2, which is the time that the US became a superpower.

Datapoints on prior eras are significantly less robust, but the US wasn't a leader at those points anyway. We do know that wars were widespread and brutal, despite having much less advanced weaponry, and we know that life expectancies are far longer today than in the past.

> Again, this doesn’t EXCUSE the actions of the Russian government, but taking their people hostage to use as leverage is disgusting and despicable.

This is how economic sanctions work. What's the alternative? Do nothing? Economic sanctions place pressure on the politicians in the aggressive nation to stop their aggression. The alternatives are to do nothing (morally unfathomable) or to fight them (in which case Russians will die, and if Putin's threats are believed, maybe we all die).

I find it concerning and perplexing that so many hackers are seemingly more concerned about Russia's economy than Ukrainian lives. Every day the conflict goes on, Ukrainians die (and if you're so concerned about economy - their economy is getting destroyed too!). Logically, anything that moves us towards ending the conflict peacefully and quickly reduces lives lost and will spare all involved from further economic retribution.

Additionally, this is personal for Namecheap. Imagine being bombed by a country and having strangers tell you that you have to keep providing services to members the country that is killing your friends, family, or even you! You must continue serving the country that is bombing your home! It is truly absurd.
No, darkmode is not redesign for redesigns sake - it brings benefit for its users.

But redesign for "modernisation" sounds like doing it for the sake of it, unless people would benefit somehow from improved UX. Modernisation alone does not tell this however, I would expect slick awesome buttons, but some ugly, but important buttons gone.
So without a domain whoever owns the domain you're using can deplatform you. The result is dropped emails at that address forever.

With your own domain, the registrar can pull a namecheap and cancel your country. The result is temporarily dropped emails while you transfer to another domain registrar.

You can set the registrar to autorenew.
The world has changed a lot since then. No country, even the US, would get away with being initiator of a nuclear war (assuming enough of us survived).
In my case, I got a clued-up response from my lawyers, as to what I should pay myself from my in-profit startup, that is accepted by the German government and fair to the shareholders of my/our company. That was helpful. I think it is fair to be fair and on the right side of morality, ethics, and the law.
Check the paperwork, this is very uncommon in the US. Not sure on the legal limits, but the math is very simple. Car for 45k - 10k cash = 35k loan over 6 years at X% APR = $Y per month payment. You can replicate on a calculator and see no hidden fees.
An outrageously good resource really, I use it almost every day! Very happy to pay for it.
I honestly believe that HR in IT is so broken that just about nothing they do makes sense. Most interviews are BS, most coding interviews/tests are BS, an IQ test is BS too. I don’t think the IQ test is inherently worse or better that the other voodoo HR practices.

A high IQ is something you can use to show a high probability of a candidate to “succeed” at his/her job but what is success? An IQ test can’t differentiate between people who can do the work and those that can scam the system in some way. You need intelligence for both.
Show HN: Socket – Secure your JavaScript supply chain
Excited to share the project I've been working on for the past 7 months!

We've seen nearly weekly attacks against the open source software supply chain. I saw the seeds of this trend start in the mid 2015s as an open source maintainer and I've watched it only get worse over the years. I finally decided to try to solve this problem.

Socket is taking an entirely new approach to one of the hardest problems in security in a stagnant part of the industry that has historically been obsessed with just reporting on known vulnerabilities. Unlike other scanning tools, Socket actually analyzes the package code to characterize the package's behavior. This way, Socket can detect when packages use security-relevant platform capabilities, such as the network, filesystem, or shell.

You can search for any npm package and see issues that've we've flagged for each package. We look for 70 issues (full list here: https://socket.dev/npm/issue) and we put those into a Package Health score. See these examples:

https://socket.dev/npm/package/left-pad

https://socket.dev/npm/package/lodash

Socket looks for indicators present in all of the recent npm supply chain attacks. We're proactively auditing every package on npm to flag these issues.

Separately, we have a GitHub app that you can install. It detects typosquat attacks and leaves a comment on your pull request to let you know you might have installed the wrong package. We're currently working to enable it to leave comments for more of the package issues that we can detect, but we want to get the UX really good on that first, so we've released it and labeled it "beta".

Happy to answer questions.
Malaysia Airlines Flight 17
After Tracking Elon Musk's Jet, Jack Sweeney Is Tracking Russian Oligarch
That's just bad design. The point is that :hover works on mobile.
If you search for "Dead internet theory" and it appeals to you, it'll free you from even considering sources that you don't actually know IRL.
Ukraine's Internet Can Fend Off Russian Attacks
That's really cool! I didn't know about this. Thanks for sharing.

How do you handle reflecting the new state in the UI though? Do you just use JavaScript anyway?

I have a form which looks like a toggle, and interacting with the toggle initiates a POST request. If the server responds with a 204, the UI doesn't actually update to reflect the new toggled state. I'm not sure how to work around this.
"Why you're not creative" isn't the title, and means something completely different than the title.

If you see the title and it inspires guilt, then that's a personal problem. Either you should be doing creative work, and you aren't, in which case the article might be helpful. Or you shouldn't/don't need to do creative work, and if you still feel guilty nothing in the article - or truthfully, any article - is going to help.
Trapped in Silicon Valley’s hidden caste system
I am pretty sure the dealer gets the money up front + a fee.

Say take out a 35k loan, paperwork clears, dealer gets a check for $35,500.. the $500 being a "bonus" for originating the loan from the lender.
The entire purpose of the sanctions is to make life difficult for Russians. Do you find this unfair? Then tell me the alternative. The West have tried appeasing Putin, but clearly he is not going to stop, ever. This very moment the Russians are closing in on Kyev, ready for the slaughter. While Russians are scrambling to save their money, Ukrainians are scrambling to save the lives of their loved ones. Should the West use weapons instead of economic sanctions? This would be third world war, probably the end of Russia but more likely the end of the world.

So tell us what we should do instead of sanctions?
Goodnight Moon is an interesting book for sure (the other not so much). But what we are seeing is acclaim for another landed gentry getting her chance to 'do her thing'.

A couple of quick bits from her wiki:
"Brown was born in Brooklyn, New York, the middle child of three of Maude Margaret (Johnson) and Robert Bruce Brown.[1][3] She was the granddaughter of politician Benjamin Gratz Brown. Her parents had an unhappy marriage. She was initially raised in Brooklyn's Greenpoint neighborhood, and attended Chateau Brilliantmont boarding school in Lausanne, Switzerland in 1923,[4][5] while her parents were living in India and Canterbury, Connecticut. In 1925, she attended The Kew-Forest School.[6] She began attending Dana Hall School in Wellesley, Massachusetts, in 1926, where she did well in athletics. After graduation in 1928, Brown went on to Hollins College in Roanoke, Virginia."

- granddaughter of politician, boarding school in Switzerland

"Brown was an avid, lifelong beagler and was noted for her ability to keep pace, on foot, with the hounds.[7]"

- foxhunter

"While at Hollins she was briefly engaged.[12] She dated, for some time, an unknown "good, quiet man from Virginia,"[13] had a long-running affair with William Gaston,[14][15] and had a summer romance with Preston Schoyer.[16] In the summer of 1940, Brown began a long-term relationship with Blanche Oelrichs (nom de plume Michael Strange), poet/playwright, actress, and the former wife of John Barrymore. The relationship, which began as a mentoring one, eventually became romantic and included co-habiting at 10 Gracie Square in Manhattan beginning in 1943.[17] As a studio, they used Cobble Court, a wooden house later moved to Charles Street. Oelrichs, who was 20 years Brown's senior, died in 1950."

- relationships with men and women. Is this 'radical'? Even in 1920?

"In 1952, Brown met James Stillman 'Pebble' Rockefeller Jr. at a party, and they became engaged."

--

The point is that many people are capable of creating wonderful literature, being acclaimed as radical, etc. Its not that hard when you granddad was governor of Missouri and a potential VP, you went to school in Switzerland, and you are engaged to a Rockefeller.
I am an American, but from what I'm reading this merely recognizes Ukraine as a candidate for ascension. This is a step in the process and not the final vote. This is still significant, though.
Very exciting, I hope this will help open-source hardware-accelerated image upscaling.

To get an idea of what image upscaling can do, check out this subreddit dedicated to artificially increasing the resolution of old video game assets to give them a new life: https://www.reddit.com/r/GameUpscale/

Here's eg some personal experiments with the game Baldur's Gate: https://www.reddit.com/r/baldursgate/comments/aemu8u/upscali...

- Image in: https://i.imgur.com/xMbqIeo.jpeg

- Image out, without human intervention: https://i.imgur.com/nC2o1vM.jpeg

The community is using tools such as ESRGAN for that (https://github.com/xinntao/ESRGAN), which leverages GPU acceleration as it uses PyTorch.

So far, this upsampling ability was only used in commercial games: https://en.wikipedia.org/wiki/Deep_learning_super_sampling
I think the problem might be the volume of goods being transported; it is of course in their best interest to increase it. However, if we have to be sending stuff, might as well use sea freight.
> Clinton disputes 2016, Trump disputes 2020

Clinton conceded the night of the election. Trump still hasn't.
I wouldnt want to work at such a place. EQ is also important. An IQ test for any job screams "authoritarian" to me.
The audience is pretty clearly people who should be or want to be doing creative work, but aren't.
Talking about actual Neo-Nazis is hard for Americans, because it makes it so much more difficult to paint the political opponent of the day here with that label. What we call a "nazi" is often totally indistinguishable from a social liberal when compared to the real thing.
I'm using the latest Firefox available via flatpack on Debian (v97 at time of writing), and I believe this is the same as other platforms. As I said it happens randomly, there is no pattern, as if they are just trying their luck.

This is not a version issue, I suspect Google are just becoming more and more sensitive to users who don't fit their 99% of "uses chrome and doesn't block trackers" profile.
random data points - recent scp copies here showed about twenty percent connection overhead. HTTPS copies showed very little overhead, but the HTTPS delivery guarantee is not the same. sshfs/sftp throughput not tested but it would be more than twenty percent.
Most dealers will not accept large credit card payments because of the fees they must pay to use the credit card network, as with any transaction. Not because they'd rather loan you the money.
It's interesting how much development went into DOS clones while Microsoft kept DOS at 3.x throughout the 80s. (MS and IBM expected OS/2 to replace it but that never really materialized in time.)

Concurrent DOS started as multiuser CP/M-86 with a DOS personality. It would be followed by a complete rewrite for the 286 and 386 in 1985. CP/M and DOS personalities, written in C, multitasking, and with loadable device drivers, networking, most of the modern OS expectations, really. Unfortunately compatibility with real mode DOS programs directly manipulating the hardware was spotty and the 286 support was broken on early Intel 286 revisions. This would eventually become DR DOS. It was the only DOS-like OS that actually supported multitasking (some) real mode programs in protected mode on the 286. Quite a tricky feat.

Between spotty compatibility, Microsoft trying to keep Windows from running on DR DOS, a high price and tiny msrketshare it never got mass adoption. Did see some use in business. The PC would not get such features in the mainstream until Windows in the 90s.
Yes, but we still need to make it easier to setup/deploy this.
https://www.wordnik.com/words/acronym

But... an initialism is an acronym. So it's both.

> an initialism is an acronym that is pronounced as individual letters

EDIT: Guess it depends on the source; even my link above says an acronym is "a pronounceable word", but another link I had clicked on had the quote above. shrug
Well, in that case it's not a redesign for redesign's sake regardless of how it sounds, because they added a dark mode now :)
Fun story, driving through Croatia toward Split Google Maps kept telling me the main freeway was closed and to take each and every exit. Someone is maliciously reporting roads closed. Obviously the same could happen to OSM, but there isn't the same 'no way to fix it until Google decides to fix it'.

Similarly when I was in Bangkok wandering around, Google wanted to cross the train tracks at a road that tripled the walking distance to the destination. In reality it was possible to cross the train tracks (i.e an actual crossing, not just anywhere). Worse it was much more dangerous to walk the Google route.

Fixing it on OSM was easy. Fixing it on Google was a pain because it had to be submitted and checked and approved (which it eventually was).

There are definitely places where OSM is far outstripping Google maps. Especially when it comes to non-roads.
I went out for dinner and I took some endpoint
Technology Review is not "MIT", it's an attempt at competing with Wired and Popular Science.
Ukraine war – Top strategic thinkers who warned for years that it was coming
You should probably qualify: it’s the most carbon efficient means of transporting goods across large bodies of water. Trains are substantially more efficient than freighters, when they can be used.

That in turn points to one of the problems with sea shipping: the true costs are massively externalized, and so companies will choose to ship trinkets around the world by boat twice rather than building them on the same continent (or even going across the continent by rail.)
Can't agree more with this article! How I see it, the trend is to have different servers for the front and the back and to link them with OIDC, but that's so painfull to implement and with lot of downsides for only a few benefits (at least with the back in .Net, I don't know about other).
I actually dislike the change to the Compatibility Chart. The checkmark serves the same purpose as green vs red boxes did (and is frankly less readable at a glance, not more) and being able to quickly see relative times features were added at a glance made it easy to evaluate whether to use a feature or not. Guess I'll have to revert to using Can I Use? for this again. I had mostly replaced that with MDN.
If you engage in censorship, you lose one of the ways in which "Us" are better than "Them".

If you don't have access to the propaganda that some group of people are exposed to, your ability to understand them is impaired.
I only use uBlock origin, but also do DNS level ad and tracker blocking separately..
Unfortunately the burger menu at the top right of the page also doesn’t work very well on mobile (iOS Firefox). One the menu appears, there’s no way to get it to hide again, permanently covering up any content underneath (in this case, your name).

Aside from that, something very weird is going on with the page. There’s a huge blank area to the right of the screen that you can easily scroll to accidentally. This also happens on Safari on macOS, where for some reason it doesn’t let you scroll back left (and persists the scroll position on page refresh?!).

I definitely agree with the blog post in general though - we should try to use HTML and CSS instead of always resorting to JavaScript.
Most dealers will not accept large cash payments because of the legal reporting requirements of such payments, not because they'd rather loan you the money. Few dealerships will accept cash in amounts that trigger IRS reporting, for example, because it's a red flag for money laundering and the drug business.
I have never bought a used car. I have this unnatural fear of what people might have done on the seats. Also a new car warranty is great and maintenance is negligible. Also buy the full thing in cash.
In my experience:

- It makes us more hirable

Nowadays every new engineer wants to contribute to open source.
Weird question. Do you want an actual count?
Good for them. Haven’t been to the us in years…
As far as I understand it, Taler is not made for person-to-person payments, but for person-to-service-provider payments. The idea of taxability is that the person sending the money (the customer) is anonymous, while the recipient of the money (the webshop, for example) is not anonymous. This allows taxing the companies, while giving more privacy to the customers than with the current system.

While this is a very different idea than decentralized cryptocurrencies, what it would give us as consumers is a much more privacy-preserving alternative to credit cards, Apple Pay and PayPal when buying things online (or in a store). At the same time, it is controllable enough for governments and banks that they could consider introducing such a system.
30 minutes per week might be a easy as 5 minute warmup followed by three sets of 3 max weight bench presses then 5 minute rest, twice a week. This alone is huge and you will see effects in the mirror in 1-2 months. The key is max weight, not aerobic exercises.