skysight-inc/HackerNews huggingface dataset:
that is _not_ possible in haskell, simply.
generateUUID needs a random number generator, thus it probably has a type like

generateUUID :: IO UUID

which means that those two lines don't _really_ make sense: you'd get a compile error. to use side effects (which in this case, IO, mostly means opting into sequencing of actions) you'd have to write

uuidY <- generateUUID
y = bar uuidY
uuidZ <- generateUUID
z = bar uuidZ

in which case, equational reasoning still holds.
Side-note: in haskell, you could write it while avoiding the middle line using either the left or right bind operators, so you could write it as

y = bar =<< generateUUID
z = generateUUID >>= bar

(mnemonically: the first one runs an action and pipes it to the left, the second one does the same but pipes to the right)

Side-note #2: that's actually not too far away from how random number generators work in haskell: either you pass the state around, or you do it in IO.
This is definitely true... and a lot of people are doing it wrong.

This is one of those things that drives me nuts as an experienced/old developer, seeing people type passwords for ssh/git/whatever several times per day. Sometimes there are tasks that require copying / checking some file on N servers, and these people seem to think that cannot be done in a shell script because the password needs to be entered interactively.

Then there's ssh port forwarding, X11 forwarding, etc... but its amazing how many people use ssh for years without so much as glancing at the man page.
Now this is where I want to go! I mean using technology in 2022 feels so outdated. Don't we have cloud to do everything for us.
npm install is such a scary command these days (or yarn install, same thing). I never liked it because of the shitload of dependencies it usually pulls but now I would hesitate running it outside a well isolated container.

This event added to the strong distrust I came to have on NPM these last months. The NPM ecosystem seems incredibly immature and unreliable and any Javascript project depending on NPM is now a potential future malware.

By the way, does anyone know an easy way to use Svelte without depending on NPM? Because if not I might reconsider my choice of using it in a side project despite me liking it.

In theory the same things could happen for PIP, Maven, Gradle, their Rust and Go counterpart and any such package manager. Any data on this?
a disagreeable take: why should open source projects make any effort to be accessible to corporations that will never donate or support them?
> Talking to people who are friendly but clueless is at least as frustrating for me as creating a ticket that doesn't go anywhere.

Me too. I think that extra frustration is partially because I know it's not the fault of the person I'm speaking to that they've been put in that position, so I feel like I have to keep my irritation to myself, which I find hard when it's the third person I've spoken to and they've asked me to describe the issue all over again. At least with written text it's easier to look back over the notes.
It’s pretty simple. The state passively monitoring everyone is a blanket society scale phenomena. One dude following you around with a camera is a targeted 1:1 social confrontation.

The difference is so vast it baffles me that anyone would consider them interchangeable.
I am guided by the irrefutable mathematics which has more certainty than any of the actual prose that explains it.
We do our updates on our own customer portal. Last update was about 3 months ago. Our portal has much better ui/ux, has a forum, access to the customers purchase history, one login vs two and some other benefits. Overall it's a far better experience for the customer.
Somehow it has a similar content of this one published in "Facts of the Faith", 1919:

---
Death is nothing at all, I have only slipped away into the next room.
I am I, and you are you.
Whatever we were to each other, that we still are.
Call me by my old familiar name, speak to me in the easy way which you always used, put no difference in your tone, wear no forced air of solemnity or sorrow.
Laugh as we always laughed at the little jokes we shared together.
Let my name ever be the household word that it always was.
Let it be spoken without effect, without the trace of a shadow on it.
Life means all that it ever meant.
It is the same as it ever was.
There is unbroken continuity.
Why should I be out of mind because I am out of sight?
I am waiting for you, for an interval, somewhere very near, just around the corner.
All is well.
Standard small connector for device-device communication: Check

Standard power connector for everything: Check

High speed communications that are capable of even video: Check

Is it perfect? No. Is it plagued by committee design? Sure.

Does it solve 80% of the problems? Yes.
> Sucks that Github and some other things force SSH keys which are just passwords except always saved to your disk so that anyone who steals your laptop gets access.

This is the reason to encrypt ssh private keys with a passphrase. If the key is leaked it's still protected by the password.

It's a built-in feature of ssh. For an existing key downloaded from a cloud provider, use ssh-keygen -p to add/change the passphrase.
There are a few tiers of hosting providers ranging from "We rent you server space", "We rent you a physical server with internet access", too "We rent you a VM" or "We rent you services you may want to access".

The privacy angle of self-hosting generally ends as soon as you are renting a physical server with internet access. Someone else has access to the hard drives, the network traffic, the hardware, and via hardware remote access the OS/Data. At this point you would need to trust the legal bindings on what the hosting company can and can't do to your physical machine.

One really exciting angle on end2end encryption is that your provider may be technically incapable of any malpractice (for better or worse, I may wish my provider could have a sys eng bail me out every now and then).
Revocation
I discovered Kudzu[0] and alcoholism a while ago and hope it might help somebody here or their friend or loved one. Kudzu apparently is an amazing drug for helping people quit drinking. I hope if anybody here has trouble, or knows someone with trouble, they try introducing it to them if it makes sense to them. Here is a BBC article[1], but they only did 500mg instead of 2g. Apparently it works by helping you feel drunk faster, speeding up the time delay effect and thus making you not want to drink as much.

[0]: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4510012/

[1]: https://www.bbc.com/news/magazine-35381041
Maybe.

What I'd like to see but can't find in ten minutes of googling is a combination of these charts

https://www.nar.realtor/research-and-statistics/housing-stat...

https://www.census.gov/library/visualizations/interactive/20...

So that I could see a median income / housing cost ratio by county.

I still think the main reason that people aren't moving into these small counties with cheap housing though is that nobody wants to live there.

By many metrics they're not pleasant places to live.
> Even when I thought I found the right one my laptop would occasionally end up in some weird state between discharging and charging - taking power but not acknowledging it in software and slowly discharging but not as much without power...

This is actually pretty common in new macs. The computer can consume more power than the power bricks that came with them can provide, so they use the battery to augment it. Not a big issue if it's a relatively intermittent load, but a silly PITA if the load is constant. This is also somewhat related to the limits of PD at 100w (20V 5A)

IMO, what you're missing is... nothing. The pros are the lack of polarity (usually) of the plug and the ubiquity of USB-C ports is nice for the basics. But anything remotely specialized (non-trivial power supply, thunderbolt, DP, etc.) and it becomes a crapshoot of "does this cable support this" and "does this specific port support this" - both of which are "no" far too often.

My favorite example is a bluetooth headphone adapter with a USB-C port that won't charge unless the other end of the cable is a USB-A adapter.

I'm waiting for reports of a fire from a cheap cable that tells its users and connected devices "sure, I can support 100w of power delivery."
They have to get you to click the link to find the name so they can get the ad impressions. However, you saved me a click!
New Linux kernel bolsters random number generation
Yeah, but, probably you're not Google's customer; you're their product.
Here Be the Dragons
I guess I would start with: did Java fail as a client application because of the UI? or was it something else? (I don't know the answer nor do I have an educated opinion).
The triggers were found. It’s a straight up egg.
Weglot raises $50M to turn any website into a multilingual site
Bored Ape Yacht Club's New Metaverse Shows NFTs Are Evolving
Bram Moolenaar famously uses Vim to raise awareness. A VPN package, dead drop website, steganography package, onion router, multi-point P2P routing mesh drivers, or other software and education on how to use them could really make a difference for dissidents. There are certainly productive ways to use software to support protests, organizing, workers' strikes, or even support targeted sabotage or insurrections without indiscriminately destroying people's data.
Can you elaborate on that? How would it be different in a non-free speech country?

Is there a country I can go to make someone legally disappear due to an online review they posted, I have a list. Let me know
Are any of those algorithmically selected? If not, then my argument stands.

Sure, the one sentence you picked, taken out of context, makes it look like I'm generally against feeds. When you put it in the broad context of my comment though, you can easily see that it's the AI bit that's the problem.
"The yellow-cab metered fare is calculated under a different rubric, meaning cab drivers may earn less, more, or the same as Uber drivers, depending on the trip. Unlike Uber drivers, taxi drivers will see expected earnings before a trip, meaning they can decline rides if they don’t think it’s worth it."

This and another line from the story makes me think Uber is worried they're running out of drivers.
The long term plan in all nuclear programs is to switch over as appropriate to breeder reactors, which are just as renewable as the solar fusion fuel that leads to wind and solar and hydro. Breeder reactors invest excess neutrons from the chain reaction into abundant 'fertile' nuclear fuel like U-238 and Th-232 to generate more rare fissile material (Pu-239 or U-233) than they consume.

Breeders are a proven technology but just aren't very common yet due to the wide availability of high grade uranium ores.

https://whatisnuclear.com/blog/2020-10-28-nuclear-energy-is-...
The problem is that Google has become so pervasive that even if you don't initiate any contact with them or use any of their products/services, a bad review on Google can have a substantially negative effect on your business. It's a real problem.

I was recently in charge of hiring various contractors for several repairs needed on a house being prepped for sale, and in almost every case, clearly non-technically-inclined people were practically begging me to leave them a positive Google review. I don't think they would've been doing that if they hadn't experienced a direct impact on their business from those reviews in some way, and I also don't think they would've chosen this situation voluntarily.
If you just stop assuming anything it works pretty well. High grade pricey cables or TB cables with PD in the backpack, always. That's half the problem.

The fact that I can charge 90% of the devices in my house with my PD charger is worth any ambiguity in other features.

But I do seem to have an issue with dirt getting into ports and some low grade cables seemingly being out-of-spec when it comes to the physical connection. They don't feel properly seated and jiggle. Not a great feeling.
> This section tries to be as operating system independent as possible

But if you are going to interact with Tor and setup hidden services, Whonix[0] is your best bet. The idea behind Whonix being that even if there's some javascript-based 0-day that tries to decloak you, it can't leak your naked IP, because it fails closed and everything is routed through Tor.

[0] https://www.whonix.org/
Uber has included regular licensed cabs in many countries for ages. The same is true for regional rivals like Grab and Ola. But when New York is involved, it's somehow groundbreaking.
I've never seen USB-C cable or device.
It's an exchange, the cryptocurrency itself is the bank. Banks don't require dollars or any fiat currency to exist, hell they invented paper money. The major difference is that banks had the advantage of gold and other precious metals as a pre-existing common medium of exchange. Cryptocurrencies need a verifiable way to say that you transferred X value from chain A to chain B. I'm sure this is a solvable problem.
A Show HN has to be more than a bare signup form.

And I'm definitely not giving you my email address to try your service for "free," much less paying a subscription for a link aggregator.

You don't even have terms of service or a privacy page.
Yes, thanks. That wasn't written well. Bonds today have negative real interest rates and likely will going forward even as nominal rates rise. The only way this doesn't happen is if inflation drops quickly which seems very, very unlikely.
Oh yes. Have you ever really tried to speak to someone at google? It's an educational experience, it teaches you the value of patience, the impermanence of everything.

It's a bit like what I imagine being inside the total perspective vortex is like.

> The man who invented the Total Perspective Vortex did so basically in order to annoy his wife.

> Trin Tragula – for that was his name – was a dreamer, a thinker, a speculative philosopher or, as his wife would have it, an idiot. She would nag him incessantly about the utterly inordinate amount of time he spent staring out into space, or mulling over the mechanics of safety pins, or doing spectrographic analyses of pieces of fairy cake.

> “Have some sense of proportion!” she would say, sometimes as often as thirty-eight times in a single day.

> And so he built the Total Perspective Vortex, just to show her.

> Into one end he plugged the whole of reality as extrapolated from a piece of fairy cake, and into the other end he plugged his wife: so that when he turned it on she saw in one instant the whole infinity of creation and herself in relation to it.

> To Trin Tragula’s horror, the shock completely annihilated her brain; but to his satisfaction he realized that he had proved conclusively that if life is going to exist in a Universe of this size, then the one thing it cannot have is a sense of proportion.
Oi Vei, I literally said 'fast at getting up and going' and 'over time Java is more optimised'.

Those tests ultimately measure 'peak performance'.

Java takes much longer to reach that level than V8.

Given the fact that a lot of software does not run for a long period of time, and especially UI/Web code (and possibly serverless), the net result is that V8 is basically faster. It gets too near 100% performance after 1 or 2 iterations. Java takes 1000's of iterations.

For many applications, the 'advantage of being fast soon' considerably outweighs any kind of incremental performance benefit that Java might offer over time.

This is mostly true for UI software.

V8 'is fairly quick, and right away'.
Java is 'sticky and slow for a bit, and then a bit faster over time but it's not noticeable'.

V8 is a regular car: stops and starts as needed. Java is a race-track stock car - accelerates up to a high speed and stays there. You don't need a race-track car to do food delivery, because the added peak performance is pointless.
Piracy can often be discouraged by making the legitimate options more accessible. Steam served as a unified storefront for multiple titles, and made it easy to manage a library of content without flipping through a binder of CDs, a notebook page full of CD keys, and a box full of the manuals they came with.

Why worry about downloading multiple chunks of an archive and reassembling them, or having your ISP throttle you for torrenting, or trusting the crackers of the content you're pirating when you can just wait for the game to go on sale?

I'll say, though. Elden Ring didn't work for me at launch, and I ended up refunding it(thanks, digital refund process!), but I seriously considered getting a pirated copy to see if the cracked version would work better. Anecdotal reports suggested that the anticheat (which was cracked in the pirated version) was the cause of issues for plenty of people.
The last x86 underdog has been bought. It's sad that there's only Intel and AMD now...
Wanting is only a part of the equation. You need to both be willing and able to be a competent parent. Some people lack the emotional stability required, for example. Others don't tend to see such long-term projects to completion, abandoning their hobbies even a few years in. Yet others just don't have the resources, unfortunately as it is, or have other factors significantly limiting their ability to be good parents.
I miss the good old days before passwords were a thing and everyone just trusted others to behave ;-)

You can secure access to Github (and other places) with hardware keys, e.g. from https://www.yubico.com/.
It is amazing how many people use any CLI tools for years without reading the man page.

The man page for the shell (man bash; man zsh) is a good place to start.
I didn't even know that Github had any kind of feed (whatever that really means). And I don't care. I visit Github to report a bug, read about the progress of fixing it and then close the page. I never read anything else on Github, why would I?
> Lately when I search for something like "recipe for borgelnuski" I get a page of links to sites with names like "Molly and Audrey" that first tell you a long story about their grandmothers pet kangaroo, then go through a very long a tedious explanations about ingredients, then vaguely go through the recipe step by step with a lot of pictures, but if you don't mind scrolling for 20 or 30 minutes, you get a very good recipe for borgelnuski.

So what you're saying is Google took you to a page that had a very good version of the thing you were searching for?
"Awingu". Wonder who comes up with these names.

The crux of the article, which is seemingly more of a sales pitch than anything, is that you should put your RDP services behind a reverse proxying web application in the hope that the gateway is more secure than the application itself. This is not exactly a novel approach — it is almost precisely what Citrix and Pulse Secure have been selling for years — and it comes with all of the problems that traditionally happen when you start adding layers (providing user support, single points of failure, potential performance degradation). It's also not a one-stop security solution as products doing this exact same thing are rarely vulnerability-free either.
Show HN: Easily stream audio from any computer to the internet
If we expect everyone to innovate and build useful tools solely out of the goodness of their heart, then we can expect far fewer useful tools & innovations in the future.
how very interesting. Religiosity definitely seems to be a common factor in high birth rate groups. Does not bode well for the atheists!
Because open source is idealistic and altruistic to a fault; it is the antithesis to "got mine, fuck you", or that of the capitalist "fuck you, pay me". If you limit access to anyone it is, by definition, no longer open source. I mean there's probably plenty of licenses that restrict commercial usage of open source software.

That said, I'm all for open source software monetization; include messages in the README, code, or logging that basically says something to the tune of "If you are using this for commercial purposes, please consider donating / sponsoring / hiring". I think Github and co can do a lot more as well to encourage big corporations to pay open source contributors.
Aren't android UIs predominantly Java?
I agree with the conclusion, but not with the argumentation, which would factologically correct sometime around 2012. For example these days you have modular JVM, GraalVM, etc and a hello world Micronaut service launches for about 20ms.

This doesn't affect the uselessness of client java as competition has also improved and java doesn't offer anything extra. If you want it quick & dirty you use electron, if you want to have it nice & smooth - QT. Desktop Java is neither a fish, nor a crab in a way.
I guess I am lucky, but there was no toilet paper shortage.
The best part is when GitHub recommends me my own repositories in the right bar! Love that, always wanted to learn about those.
Aaah :)

Basically everything is one. All objects, people, and I. All is one. Would that also be a right description of non-duality?

Btw, thanks! :)
This is something I see as a middle ground. I don't really think having the 'right' to a human fixes the problem. I just think the right to actually being able to get a conversation without becoming a member of the service to obvious bad behaviour from another actor or if the service decides to arbitrarily terminate service, and that to actually mean something. Right now it's clearly 'just sue' if you want things actually done. So many people are invested in social media or services in a way that a random misplaced ban can leave them stranded from actually getting help. On the other side the people in most orgs that deal with those category of issues are the janitors doing unwanted work, or that work is not prioritized. There's no fun catchall term like UX to even get people excited about fixing this class of problem.

Example of weird semi-positive was from reporting a particular serial scammer using a YouTube+Cloudflare combo where I would get always a submission receipt but then seemingly arbitrarily feedback that the situation was dealt with.
Classic HN: New thing bad. upvotes furiously

USB C is a great improvement, I am currently plugged into my monitor which is providing power + USB. I didn't have to try three times to plug it in.

Sure there are rough edges, but overall this was not easily achievable without proprietary technology just ~6 years ago.

I figure give it 5 more years to mature, and we will take it all for granted.
That could absolutely be the case. I've already been hard enough on them but my Framework laptop is the worst offender in this area although the most recent BIOS release I'm running supposedly addresses the issue:

"Fix low battery cutoff causing system to not power on or charge if the laptop is allowed to self discharge. We suggest updating to 3.07 to prevent this issue."[0]

[0] https://knowledgebase.frame.work/en_us/framework-laptop-bios...