skysight-inc/HackerNews huggingface dataset:
How do I transfer files from Linux to iOS and vice versa via local WLAN?
For small files less than 100 megabytes, I could easily use iCloud or other cloud storage services. However, for very large files greater than a gigabyte, not only I get limited by my Internet speed but also by my cloud storage space. Are there any tools I could use to transfer large files from my Linux computer to my iPhone (and maybe vice versa too) without needing Internet connection?
Of course not, because it’s a lie.
Browsers aren't fast. Computer hardware is.
Can we steal from each other? You yoink my lawn mower, I grab your leaf blower, and we both lower our taxes!?
It's basically Parkinson's law. If someone is given NASA's resources to move a piece of paper across the room, they will find a way to use a space shuttle to do it and call you oldfashioned for doing it by hand.
Javascript is a simple language. The weird syntax edge cases can be avoided using a well configured eslint. In my experience any complexity in application architecture is a liability (Java programmers writing Javascript is a painful memory, don’t get me started…).

Before async / await, exceptions were not used much because with asynchronous callbacks you can’t really use them (there was the domains thing but that was discouraged). With await you handle any exceptions locally. The global exception handler is really only for last resort - I would only use it for logging and some sort of graceful shutdown.

NodeJS is designed to be a black box unless you are writing native modules which is not common. There are some useful knobs for things like the thread pool and heap size limit but that’s pretty much it. Low level performance tuning was officially discouraged because behaviour can (and has) changed dramatically if the compiler changes (e.g. Crankshaft to TurboFan change several years ago). It is also typically not necessary: nodejs is usually used for network services where network latency trumps all. Electron apps are an interesting new use case where performance tuning might make a lot of difference (e.g. vscode vs atom).
Respectfully disagree. We can and have made economically impractical thermonuclear reactors. But they fail largely because we’ve sheepishly avoided advancing the technology for 70+ years.

I’m just beating the nuclear drum in general. We need to be investing like crazy here.

We can make fusion reactors here on earth. Efficiency remains the issue. https://www.goodnewsnetwork.org/us-fusion-reaction-generates...
Why use PIC if you can just write your own relocator? https://fasterthanli.me/series/making-our-own-executable-pac...
You are very right and

> I also think that a dev who just graduated college would be able to jump into my code and work on it fairly easily. I think they'd need a lot of extra training/learning to understand yours.

this nails it. It's also what Go was designed for. People just shouldn't make the mistake to assume that this means would also be easier to understand a whole code base. It's not, it takes longer, since there will be so much more code. We pay the long upfront costs to learn our languages and tooling for the same reason we sent people to school for years: in the end it pays off.

> One question about yours, is it using a separate OS thread for each HTTP call, or some kind of async io?

Just like Go it uses "green threads" and will work and run requests in parallel even when just having one thread and/or cpu core.
It still is. What does it even mean? As far as I can tell it's just a somewhat large factory producing electronic cars.
I think in this context "the field" means in the sense similar to "the field of study", i.e. the encompassing boundaries of an endeavour. So in this case long distance canoeing is an off the beaten track distraction from the sport of canoeing (or in the contrapositive, an off the beaten track distraction from long distance travel). The phrase is enticing because it could be interpreted either way; and still have largely the same meaning.
Lifetime of the author plus some time seems fair to me for copyright. And for patents, that's an exchange, the public sees the details and provides protection for some years.

My major gripe is with software patents which are already covered by copyright.
The North Korean claim that the wall is only visible from their side reminds me of the Ha-ha:

>A ha-ha (French: hâ-hâ or saut de loup) is a recessed landscape design element that creates a vertical barrier (particularly on one side) while preserving an uninterrupted view of the landscape beyond from the other side

https://en.wikipedia.org/wiki/Ha-ha
This behavior in shell scripts predates mmap. In very early versions of Unix it was arguably even useful; there was a goto command which was implemented by seeking on the shell-script file descriptor rather than as a shell builtin, for example. I don't know of any use for it since the transition to the Bourne shell, but my knowledge is far from comprehensive. (I suppose if your shell script is not small compared to the size of RAM, it might be undesirable to read it all in at the start of execution; shar files are a real-life example even on non-PDP-11 machines.)

As I understand it, the reason for ETXTBSY ("on some old Unices...you can't overwrite a running binary") was to prevent segfaults.

cp usually just opens the file O_WRONLY|O_TRUNC, which seems like the wrong default; Emacs for example does create a new file and rename it over the old one when you save, usually, allocating a new inode as you say. By default it makes an exception if there are other hardlinks to the file.

Btrfs and xfs have a "reflink" feature that allows you to efficiently make a copy-on-write snapshot of a file, which would be ideal for this sort of thing, since the shell or whatever won't see any changes to the original file, even if it's overwritten in place. Unfortunately I don't think you can make anonymous reflinks, so for the shell to reflink a shell script when it starts executing it would need write access to somewhere in the filesystem to put the reflink, and then it would need to know how to find that place, somehow. And of course that wouldn't help if you were running on ext4fs or, I imagine, Lustre, though apparently an implementation was proposed in 02019: https://wiki.lustre.org/Lreflink_High_Level_Design
It's AllocDStoCSAlias.
Can you find these regulations that apply specifically to physical SIM cards? No? Weird.
> Well, it is. We have inflation.

That's a whole other can of worms. Do you trust how inflation is calculated, and agree that the basket of goods used for the CPI is a valid measure of consumer prices across the country in all kinds of different situations? There were plenty of people warning of inflation before the money was created last year, do you think the government actually didn't know the risk existed? Or did they decide to spend the money despite the risk of inflation, meaning they determined printing the money wasn't a problem?

I'm torn here cause I 100% agree that we should be helping the homeless if at all possible. I just can't say the problem is as easy as wiping away debt - these are massive, complex systems that can't be easily understood and modeled. In the meantime, an easy step that I think everyone would agree with is to not allow these types of predatory debts to exist in the first place.

As for student debt, I'm not sure what your experience has been that lead you to view college loans as a privileged handout but I have seen plenty of situations where that wasn't the case. Spending four years on a degree only to end up with a job at Enterprise Rental Cars and $80k in debt is not a privilege.

To be clear, I only call out Enterprise here because they spent years marketing themselves as the largest employer of new college graduates. Nothing against a job there, it actually seems like a well run company and I would argue the thankless service position behind the counter is way more difficult and important than many office jobs I've seen. But the idea that they are (or were) the largest employer of new grads is terrible.
But applicable for most countries outside of India, but UPI has no MDR.

But it does have a 60k inr daily limit.
Exactly. Since we've used a lot of the oil dinosaurs graciously gave us, there's not gonna be another chance at modern civilization if we fuck this up. At least for us humans.
"シェルスクリプト" is "shell script", but my Japanese is too poor to understand 実行中 or 適時.
I really wish hydro/wind/solar were enough to power our modern society, and I hope it gets there eventually, but the reality is that it isn't enough to meet our current (and expanding) demands.

The short term answer nobody seems to want to acknowledge is nuclear, and frankly I'm getting pretty damn tired of society not seeing it.

We need to start building out nuclear NOW so that we (and future generations) have time to figure out renewables and improved nuclear.
Narrowing the context narrows the relevancy for different people at different times. E.g. Which of my wives are talking about? What’s the game price? Which country I’m at? But they could frame it as “if in a hard situation that you could realistically get into in your life once in a couple of years, in a usual environment”.
I don't know, it seems like it overrules the verdict (which only the president can do) but I am not sure. Its worth noting that initially, Libby specifically wasn't pardoned but his sentence was commuted.

> After a failed appeal, President Bush commuted Libby's sentence of 30 months in federal prison, leaving the other parts of his sentence intact. As a consequence of his conviction in United States v. Libby, Libby's license to practice law was suspended until being reinstated in 2016. President Donald Trump fully pardoned Libby on April 13, 2018. [1]

Which is rare:

> After Libby was denied bail during his appeal process on July 2, 2007, Bush commuted Libby's 30-month federal prison sentence, calling it "excessive", but he did not change the other parts of the sentence and their conditions. That presidential commutation left in place the felony conviction, the $250,000 fine, and the terms of probation. Some have criticized the move, as presidential commutations are rarely issued, but when granted they have generally occurred after the convicted person has already served a substantial portion of his or her sentence: "We can't find any cases, certainly in the last half-century, where the president commuted a sentence before it had even started to be served," said former Justice Department pardon attorney Margaret Colgate Love. [..] [1]

There's 2 movies which involve the Plame affair, Fair Game and Vice. Both well worth it, though its more a side thing in Vice while its the main subject in Fair Game.

[1] https://en.wikipedia.org/wiki/Scooter_Libby
That's if you can assume that peak usage can be supplied, if it can't, there will be a loss of frequency (<50hz). When that happens, entire regions have to be forcefully shutdown, meaning there's no electricity to use even if you wanted to.

Sweden have been dangerously close to this already, I expect it to happen now when the real winter starts.
I haven't seen the contract paperwork, but I assume so.
I'm not sure I understand what you are saying. Just that we shouldn't recognize that depression can be a chemical issue because that doesn't help us fix the problem? Are you saying that anti-depressants don't work?

So if depression is more about mental models, life choices, and drive and whatever, why do so many people suffer from depression in cycles? There is little change from one day to the next, and yet, many people with depression can feel great one day and terrible the next. Or pregnant women can feel great before giving birth and then give birth to a perfect baby and suddenly start feeling depressed soon after.

How do you use therapy to cure depression if the depressed person has no reason to feel depressed?
1.5 days isn't too bad. If it were me my primary concern would be losing bash history :D
How’s enforcement public funded? Don’t infringers pay court costs?
Keep an eye on https://standardebooks.org/ebooks on January 1st for some upcoming goodies.
One click removed from an original source that is soaked in second-rate adtech crap.

To my dying day I will regret being one of the architects of this insidious mechanism.

The problem with trying to evade, or defeat, or even sidestep this stuff is that latent-rep embeddings break human intuition in their effectiveness.

There was a time when the uniqueness of one’s signature could move money.

Those pen twitches are still there to see in what order you click on links.
MSAGL has a good implementation.
>I'm never going to understand the 'mathmatical jargon' argument against Haskell (and similar). Yes, but this can be true in almost any language that allows abstractions.

Well, the author (and many others) wants them to allow less abstractions then.
Why no work on the official wiki itself, and not create another of the 1000's "probably" outdated guides?

Just asking.
From pointing out that renewable isn't the whole story yet in the past on here good luck with not getting down voted.

There needs to be a solid configurable baseline that is low carbon which is combined with some transient energy store such as these batteries (if they're designed to not just make giant fire mountains when they fail).

Nuclear meets that very well as does diversifying into wave or hydro.
Agreed. The US is on the brink of getting ripped apart by a civil war.
Why does it seem fair?
In WUFFS if you've got a 40 item array of things, an unsigned 8-bit integer n and you want to access things[n] the compiler will conclude n's type must be base.u8[0..40]

Now, having refined the type this way, when you try elsewhere in the code to read some unknown byte into n, WUFFS will reject that because who knows if it exceeds 40? To make the code compile, you need to actually write code that ensures n is always less than 40.

Of course you aren't going to write big general purpose software under this sort of constraint, it's like having a two year old following you everywhere insisting on a detailed explanation of why you are doing every single thing and asking the most irritating "But why?" questions after each explanation, exhausting. But if you're processing untrusted data it's exactly what you needed to stay safe.
One of my favourite possessions is the Compact Oxford English Dictionary, which is the full 20 volume OED microprinted into 2 large volumes. It comes in a case with a magnifying glass. It's too unwieldy for everyday use, but it's a pleasure to browse through it.
Microsoft Automatic Graph Layout?
17 years is far, far too long for many patents.
I'd hate to see what science looked like if we made this even longer.
I worked at a publishing company who had T1 for hosting their online content.

What amazed me was how quickly that went from state of the art to pretty mediocre.
Don't forget Polestar 2, those are selling like hot-cakes as well.
If you have extra information about vertices you can use it to generate coordinates. Also: you can always augment coordinate proposals with something like the Louvain community detection algorithms at different resolutions and then MDS or UMAP etc.
What should I use if I want an exciting hash function?
I couldn't upload more pictures starting more recently, until I was a Pro subscriber again.
If you're in the UK then many public libraries have subscriptions to the OED which include "remote access". This means you can log in from anywhere just by putting your library card number into the OED's login form. So check that before signing up for a hundred quid a year :-)
Indeed, Federal Law used to be the law of the land, but now we have many states legalizing recreational marijuana and Texas restricting abortion. Everything is a mess.
Is there anything else that should be done except flushing D-cache and invalidating I-cache? I'm genuinely curious.
Banks have my email address and send credit ads there, good enough communication for me.
PCA applies an orthogonal linear transformation, while FA uses a series of coefficients to scale a sequence of functions, which are then integrated. They are similar in use but very different in method. Calling one a generalization of the other seems misguided?
Curiosity: what if you've done so and your fears have been reinforced instead?

Background: after a difficult childhood, I did a therapy, discovered self improvement and lived a few years where I faced fears regularly and expanded massively. However, multiple debatable decisions built up to a point where everything broke down. Lost my job, hoped on 3 jobs even worse afterwards, was morally harassed, and the resulting bad mood and general negativity made me lose friends, and be even more vulnerable. Loss of confidence made me sabotage more or less voluntarily other aspects of my health, balance and projects. Therapists, SSRI, etc. no way to get out of it (just lots of money taken away => even more pressure/problems). It felt like death since I had to go through these many years, helpless, hopeless. It was worth than any experience in my childhood, and still traumatizing.

Now, the absence of "death" at an instant t when doing a "dangerous" action doesn't mean that death can't come later as a consequence (ex. tell your opinion at work -> doesn't kill you but if it leads to be fired later and start a cycle like above, it can be dangerous). Therefore there's never validation that my actions don't kill, they're just written on a list, with consequences pending, and the fear of the ultimate judgment is impossible to confront, unless it all happens again and this time I manage it. How would you confront this kind of fears?
> EU wants local datacentres, so EU data is local.

Not 100% up to speed but didn’t SCHREMS II basically say that a local data center isn’t enough?
In Germany (I think all of the EU), a dataset can only be published if the sample size is at least >=7.
We have the same alias :O

Anyway, live close by.

The train station at Malha was closed 2020 because of COVID because it was a scenic/tourist route. There was discussion of shutting it down permanently but it didn't happen. I used to take it every week for a coding-teaching gig 5 years ago.

It will likely either reopen when tourism reaches a pre-covid level in a year or two or will be converted to a light-rail station.
time is unidirectional and the universe is expanding because we are in a black hole.

https://phys.org/news/2012-05-black-hole-universe-physicist-...
Yeah, I guess I could have been a bit more clear. In the end it's fine, I just wanted to make it a bit more interesting and any additional constraint would have worked :)

The reason that the Scala code is so much shorter is because streams compose really well and a lot of common building blocks (such as the throttling) can be provided. This effect gets more important when the code base is growing.

Also, when things become more complicated, loops like the one you wrote tend to become very complicated. At least that has been my experience. It's fun to write it, but not so much to read or maintain it.
For anyone trying to install Websters' Dictionary on a modern mac, downloading it from https://github.com/mortenjust/webster-mac worked for me.
Well, there was a TV show on Discovery in at least the Netherlands, called Megafactories, is this really that much larger? Car plants are pretty large as they go already.

So, after some DDGing, the biggest car plant is Volkswagens' in Wolfsburg, Germany [0] at 6.5 million square meters, while Giga nevada has 11.5 million square meters [1], so twice the size. So it's big, but to go from mega to giga, you'd really need a 1000x increase, rather than a mere 2x increase :-).

The Northvolt facility does not qualify for the Giga-prefix IMHO.

[0] https://motoroctane.com/news/213409-largest-car-factories-wo.... This page actually positions Giga Nevada at a lower rank, so probably outdated

[1] https://en.wikipedia.org/wiki/Giga_Nevada
TWh/year is definitely convenient if the central purpose of the discussion is to figure out the CO2e that will be emitted to produce it, or how to reduce the total energy use. This is good, in contrast to the coal/oil lobby's laser-like focus on peak demand, because their argument has long centered on the unpredictability of renewables. If you can do what the "smart grid" folks are trying to do, and spread out energy demand over the day, then the peak is not as big of a problem. Maybe Sweden's peaks are just naturally not so dramatic.

In Australia everyone worries about peak demand because the central interaction most people have with the grid (aside from their electricity bill) is a blackout during a heatwave due to heavy air conditioner use. This is incredibly dumb, because the argument completely fails to hold up against solar, for which a heatwave is a blessing.
Obviously you need a way to identify the real artist. For example if they put their public key on their official web site, it would be a pretty good indicator.

People also used to create chains of trust with public key infrastructure. Maybe you trust Bob, and Bob trusts Alice, and Alice has personally met the artist at Burning Man and verified their key there.

Or you go to the government and let them provide a register of identities. In any case it is a separate problem.

If you can't verify the artist, don't buy the NFT, or only buy it at a discount, accounting for the risk. Forgeries are a problem with physical works of art, too.
MusicBrainz App 2021 Updates
Maybe Portacle, a portable Emacs + Git & Magit + nice extensions (+ CL dev tools) ? https://portacle.github.io/
If one were to have real proof, then would they not hold them out for a paying customer?

In light of that hypothetical but far-fetched pathway, there is probably no need for you to repent there.
Music Library and MusicBrainz Picard
iOS version of 1913 Webster's: https://apps.apple.com/us/app/websters-1913/id1397172520

content and layout: http://www.websters1913.com/
as my program might not use math or 'mathematical jargon' I would expect the tree shaker to eliminate all math as dead code

but if my program happens to draw the sword of math beware! I am never going to understand Haskell, or should I say ∵⌷⊃○⌽⍉⌊⍟⊖∇⍫⍒∆
After an initial period of a few years 7 or 14 sounded good to the US founding fathers), Copyright holders should declare the value of their copyright, and have to pay an escalating fee based on that value (1% per year for the first 10 years, 2% per year for the next 10 years etc) as a tax.

If anyone wants to put the work in the public domain, they simply have to pay the value the company declared.

Disney could declare Star Wars is worth $5b, as it’s 40 years old they’d have to pay say $150m a year tax to deny the rights to the public.

If they declared it to be worth $50m to save on that tax, then netflix could pay for it to go public domain.
Related: https://devblogs.microsoft.com/oldnewthing/20190902-00/?p=10...
Great read, thank you
Pooh written by Hemingway would probably feel quite weird.
You're too focussed on the narrow technology implementation and not on the potential consumer experience.

Here's what a rational, profitable scenario would look like to me: in the not-too-distant-future, you land in country X and you get prompted if you would you like a local number by partner Mobile network. If you agree, Apple submits your electronic ID[1] to the Mobile Network for KYC purposes (with your opt-in), you pay with your Apple wallet, and you get a local number. The network gets paid, and Apple gets its cut (as well as a subsequent payments, if it's a PAYG plan) - and you haven't even picked up your baggage from the carousel. Apple can even play off networks against each other and pick the more profitable ones, and consumers get a sleek onboarding experience for a fee, or bundled with your Apple TV/iTunes/iServices subscription, so you can resume watching season 10 of Foundation while you wait for your Uber.

1. https://www.macrumors.com/2021/11/15/apple-strict-terms-on-u...