skysight-inc/HackerNews huggingface dataset:
The use youtubeDL for music would probably fit the fair use in Finland. The fair use allows personal copies of legally licensed material but not redistribution of said copies to third parties. It has been used to defend a service where ISP records the specific shows from TV like a VCR and streams them to customers at different time. The ISP:s and representation of copyright holders made a compromise to avoid legal battle, where ISP:s limited the storage duration of said recordings to two years. ISP:s still had service they could sell, and avoid unnecessary legal battle.
I'm not a lawyer. So not expert on matter, but just educated local.
There is also https://github.com/cjb/GitTorrent but I have not used it myself.
Except it’s not in the README, it’s in an obscure unit test. That’s not marketing.
Hey just to let you know -- the reason I'd pick something like FastAPI over pyotr is because I don't want to write the OpenAPI -- I personally see code on the backend as the source of truth, and prefer for it to go the other way (Swagger/OpenAPI YAML/JSON generated from code).

Other than that, library looks cool! like connexion[0] but starlette based. Might be worth putting a comparison on your page?

[0]: https://github.com/zalando/connexion
Because the stereotype is that China is the one that bans the products of the Free West.
> Therefore, why not get the Americans to develop their best hashing algorithm, the Chinese to develop their best algorithm, and then use A(C(data)).

Would it not be better to report both A(data) and C(data) (or maybe all three), so you have to simultaneously find a collision in both? Using A(C(data)), finding a collision in C(data) gives a collision in A(C(data)) as well.

Further, there are other considerations - it doesn't matter how secure the hash is if it's unusably slow.
Only if you are generating the power in a weaponized form.
> They have been corrected

This sounds like something a soviet comission would declare after an accident. What went wrong and how was it corrected? You needn't know, it has been corrected.
This is only as strong as the stronger of A and C. If we had picked MD2 and MD4 to xor in the 90's we'd be no better off today.

If there was a trivial way to get much stronger hashing with double the compute time we'd do it.
That would have to be some pretty constrained input if you are rulling out collisions in principle
Where nuclear has failed, at Vogtle in South Carolina, at VC Summer in Georgia, at Wylfa, all of EDFs projects, the failure hasn't been from funding showing up and disappearing. It hasn't been from regulations changing.

It's all been due to lack of expertise and project mismanagement. In the US they plowed forward with designs that "couldn't be constructed" and wasted money building something different from what had been designed. With the French EPR design, welding skills weren't there to deal with insanely complex and difficult welding jobs.

The failures of nuclear construction have been internal to the industry, they haven't been foisted on the industry.

We should build now with the clear path we have to 80%-90% decarbonization, and see where the chips fall.

So I think we are in agreement there? Maybe in 2045 NuScale (Or Terrapower or whoever) will be shipping reliably and have brought down costs quite a bit from what they currently think they can hit. Maybe not, and we will go with whatever the cheapest alternative is to meet our reliability needs.

There's certainly adequate VC money to get these nuclear startups off the ground. Personally, I don't think any of it is "smart" money, but rather just hedging money. Which is to say I'm really glad that people are investing in it, even though I don't think it's a likely bet, it's a necessary bet.
Yes. Use the links in the "Community Edition" column here:

https://downloads.livecode.com/livecode/
Re the dirty dishes, one killer way I get around this it to put away everything that I don’t use and only have one of each item I need.

For example I only have one cup, one bowl and plate. If you have multiple items, you generate more mess and are less incentivised to clean things you don’t need.
The article said they were new keys.
"I've found you can't criticize the BLM organization or else it's equated that you think black lives do not matter"

I think that's by design.
I keep meaning to have a bumper sticker made: “Solar Power is Nuclear Power!” with a cute little trefoil for one of the O’s.

Until we can do profitable fusion, though, “alternative” energy may be the best, holistically.

Neighborhood-, ward-, and city-sized nuclear à la Taylor Wilson’s proposal would be ideal, but humans will be humans and we can’t afford such a security risk. This pains me to no end. We’ve been given a near-magical metal (see XKCD, “Plutonium”) but we’re too... base to manufacture and use it appropriately.

I’m butchering it, but the quote that keeps coming back to me is, “Nuclear is a 22nd-century solution to a 20th-century problem.”

If you’re into fate and religious stuff, I have a suspicion it was deliberately dangled in front of us as the one way to conquer interstellar space, if we can maturely manage the material itself.
$ basename "/podcast/with/nasty'--c h a r$/and/stuff/track1.mp3"

track1.mp3
Explore the Ways Trump or Biden Could Win the Election
I added the weasel-word "spiritually" for that reason. If I had a teenager wanting to make a gui program I would point them to PSG as it doesn't require much conceptual understanding nor many lines of code to bang something together. There are still graphical programming environments out there and there is even a general one in the form of LabVIEW community edition. However, they just don't have the network effect of Python which is the de facto "learn to program" language.
"Apple Doomed!"

I have seen that headline every year since 1984. Every single year.
Wait so was the landlord just shilling for the production company?
Train your model with your model
It's obvious in software to build a mvp then iterate. That's now possible in ML with model assisted labeling.
> The mining issues are similar to uranium mining.

They aren't comparable. There are something like 50 mines supplying the entire global uranium industry [0]. And I happen to know Australia quite well, 3rd biggest uranium supplier globally with 2 active mines and one reprocessing old waste heaps. More than half our production comes from a mine that isn't even a uranium deposit, it is really a copper mine [1]. That is a top 3 global uranium producer - a uranium mine, a copper mine and an old dump. Good luck supplying the production of a serious number of solar panels with that sort of mining setup.

There are no issues associated with uranium mining. The industry is too small.

[0] https://en.wikipedia.org/wiki/List_of_uranium_projects

[1] https://en.wikipedia.org/wiki/Olympic_Dam_mine
To play devil's advocate, I wonder if it can really be said that when you watch a youtube video you have been

> invited to witness in its entirety free of charge

when you consider advertising. It could be argued that when you watch a monetized youtube video you are being invited to view the video in exchange for also viewing advertisements as a form of payment.

I hope that you're right though, and that we get a ruling in favour of being able to make copies for fair-use.
Bewitched
> I think that's by design.

Which way do you mean this? I can interpret that in a few different ways
Do you know if it’s possible to install node? I’m eager to try this out on my ipad :)
George Hotz: Learning to Drive with Neural Nets – Lex Fridman Podcast #132
Thanks -- correct me if I'm wrong but I thought lit-element is the bit that does components and lit-html (I think the naming is pretty bad here) is just the rendering bit, is that right?

I was already on the fence about what to try next, and Svelte is at the top of the list if I have any problems with lit-element... lit-element just seems a bit lighter and more standards-positive so I wanted to give it a go.

These days though, I'm basically not considering investing in any libraries/frameworks that don't offer SSR with competent hydration. IMO it's the closest we get to the holy grail in frontend -- separation from the backend (which I argue is a benefit), and the SEO-friendliness, nojs-compatability, and speed of server side rendering.

lit-element doesn't have a good SSR story just yet (it's experimental[0]), and Svelte has sapper and ElderJS[2], so it's already ahead there...

[0]: https://github.com/PolymerLabs/lit-ssr

[1]: https://sapper.svelte.dev

[2]: https://github.com/elderjs/elderjs
We're remarkably close--ENIAC was first powered up in 1946. Kinda cool when you think about it--electronic computers are WWII-era technology and a lot of us reading this now will see their 100-year anniversary.
Could you please give more details on how your company was stalled?

Was it through the legal ways as in a government entity said that it must be shut-down or through some other methods from third parties?
That is the same argument with Microsoft in the 90s. Windows are selling great, they have great Market Share etc....

Steve Jobs: We are still Better!

Bill Gates: Does it Matter?

Time will tell.
> how much could you possibly learn about the issue in the time prior to that vote?

Again, the votes might be new, but the issues are not. There's plenty to learn about them before getting the job

> Additionally, they probably won't be effective at getting any legislation passed until they understand how to work with the system.

Again, "the system" hinges on authority of the other lawmakers. Lobbies and other non-democratic operators obviously exert a lot of power, but that takes the form of playing sides against each other. Term limits makes all of the legislator factinos played against each other weaker.

> Another way to look at it, is how long would it take you to become effective if you switched careers tomorrow?

I don't think being a politician is unskilled labor! But the skill lies in campaigning and bargaining, not voting. Unlike politician on politician vote struggles, politician on public campaigning doesn't out. Maybe this results in voter apathy and therefore blander/weaker bills but this is a complex second order effect.

I'm not even trying to defend term limits to you all here, just arguing that these arguments against them are as simplistic as the older arguments for them.

> If we assume legislators only need a few weeks or months to get up to speed, then term limits of 6-8 years don't matter. If we assume it takes a few years to become effective, then we're hobbling our legislators for close to half the maximum time they can be on office.

I'm perfectly willing to say they get more powerful and more skilled over the years. So the big first order effect of term limits is not on the absolute power of the legislature, but the relative power of new vs old politicians.
Looks like a good fit for youtube-dl
No, it's not.

A unit test is there to allow the developers to test whether the program is producing expected output from certain inputs.

It doesn't demonstrate that it's intended for circumventing copyright.

They just picked examples to use for in test cases.
It's hackey, but PyInstaller works OK. I think there might even be an example in the official docs.
HN is full of dilettantes that are skeptical of every article they read here. Why would freshman politicians commit the faux pas of being gullible --- we can even ignore the actual veracity of wait they are told --- when they can be cynical skeptics too?
In fairness, a lot of his early stories featured people with trust funds!
> Even something that should be as simple as piping output from one process to another in Python is a nightmare, and fraught with opportunities to shoot yourself in the foot with buffering deadlocks and other nonsense.

This hits the nail on the head for me. What I'd like is something bash-like to handle running programs, pipes, tab-complete for file names, and so on, and something like Python syntax for control flow and strings (quoting / escaping), and access to something powerful like Python's standard math libraries (and ability to import other stuff like requests). I don't know how you'd roll all that into a single shell, but as close as you can get is what I'd like to see in a new shell.

(I've briefly looked at Oil before, but it has seemed a bit complicated to merit trying to switch full time at this point. I'm definitely following it for future developments though.)

Edit: just found Xonsh from another user's comment, which seems almost exactly what I'm looking for, if a bit hacked together at first glance. Going to try that out.
There may be significant differences between US and EU copyright laws, but the anti-circumvention laws in question here are pretty consistent, as they implement the WIPO Copyright Treaty ratified by both the US and the EU: https://en.wikipedia.org/wiki/Anti-circumvention
If I've not wildly misunderstood what you're doing with that line (and apologies if I have), could you not just stick `-printf '%f\n'` on the end of the `find` command?

(By definition, since you're looking for `.ogg` files, everything `find` finds will have a path that ends in a three letter extension.)
I think there is one implicit advantage elder people have: they are generally out of trouble of taking care of kids and retirement gives them even more free time. But again their energy level is lower so maybe those free hours don't add up.
It's actually kind of weird. It seems like the left is _obsessed_ with QAnon for some reason. I'm firmly on the right, and I hardly hear anything about it at all. Take a look at right-wing news sources and community websites - nobody treats it seriously, and it's hardly mentioned at all, other than in the context of the left-wing having a raging hard-on for banning it. If you asked me about any of their "conspiracies" I wouldn't know how to respond.
Language Design with Leo White
> Is their search history also public discourse?

Oh, come on. You are bringing that into this discussion. The topic is not people's private search or browsing history. Political advertisements are very clearly a public issue.
Battlesnake Fall League Challenges
You also need to either own the copyright or have permission from the owner.
> A(C(data))

This is just as weak as C. Any collision in C is by definition a collision in A(C(data).

You probably meant A(data) ^ C(data) [XOR] which is mostly as weak as the stronger of A and C. Google multicollisions in iterated hash functions for more details.
$ path="/podcast/with/nasty'--c h a r$/and/stuff/track1.mp3"
$ echo "${path##*/}"
track1.mp3
$ basename "${path}"
track1.mp3
$ echo "${path}" | awk -F/ '{print $NF}'
track1.mp3
A unit test seems like fair use.

I don't know where tranformation would land as they are just streaming data and not actually viewing it.

It's (potentially) the whole content, but a case that was literally just uploading an entire video as-is with a different title was ruled fair use not too long ago, so this isn't itself damning.

The nature of the work seems irrelevant here as it's not viewed. It could easily be replaced with any other video -- even one owned by the repo creators.

Likewise, since they are unit testing rather than viewing the content, I doubt there is any commercial harm and the market overlap between video viewers and unit testers is zero.
I have no issue paying for movie tickets or concert tickets, and believe that is the primary way movie and music creators should be supported. A theatre ticket covers the costs of running a theatre, a concert ticket covers the cost of running the concert. And the artists/creators receive a cut of that.

But if I copy a film, what's actually happening? The distributor has already spent the money on making blurays and distributing to streaming platforms. If I photocopy a book, the publisher has already spent the time and material to produce the physical copy. The only argument here is that the author deserves a cut of revenue, because another copy of their (already publicly available idea) is in existence. I find this notion absurd. Why is an author entitled to money when an idea they have already disseminated is put onto a new piece of paper? I own the paper and the photocopier. The materials are mine. The author should not have a monopoly on how ideas are spread. Nobody can compel them to share their ideas, but once they are shared, they are out there. I could read a book to somebody and a partial copy exists in their mind. Should authors receive royalties for mental copies too? Why not? They lost nothing physical when I made a paper copy either.

Our copyright system is broken, and is based on completely flawed premises.
Despite the limitations mentioned in this article, my team prefers a monorepo. I said, if you have a better way for us to administrate this, please start a discussion. If the pros outweigh the cons, we'll transition off.

Under the old model (non-monorepo), you merge and release one repo. Then you have to open a pull request in another repo to do a dependency bump. That step is busy work that doesn't provide real value to the business, and it's something you need to regularly if all of your repos are being actively developed.
Show HN: Deploy your own algo trader in 5 minutes with 0 code
Yes! Finally someone in this thread has a coherent argument against term limits. Thank you.

(I do wait for the Empire-Strike-Back-Style sequel to Mr. Smith Goes to Washington to dramatize what everyone else is saying...)
What did the readme say that has no legitimate use? Because even downloading Disney can be legitimate.

LockPickingLawyer teaches you how to do things that could be torts, but there are circumstances where those same actions are entirely legitimate. Tort generally needs the context to show that something is not legitimate; so the same applies here. AIUI copyright is not a situation of strict liability.
That’s not a very convincing post because it’s a bit too shallow:

> I encountered a nice blog post, Replacing Shell Scripts with Python, which, in my opinion, inadvertently proves the opposite point. The Python version is longer and has more dependencies. In other words, it's more difficult to write and maintain.

The Python version uses only the standard library, so it doesn’t make sense to worry about dependencies if you aren’t counting every program your shell scripts call similarly. Having just one thing providing a consistent baseline beats learning that your script needs to upgrade RHEL to get a feature which would make something safer or easier.

Similarly, the Python script is longer because it does better work and consistent, useful error handling. That adds lines of code but it’s usability and correctness, not overhead.

It’s similarly incorrect to treat line count as a proxy for difficulty, as anyone who’s ever had to deal with quoting or data structures in shell scripts knows. The use of pathlib or os.path sometimes gets grumbles for extra characters but I’ve found it nearly inevitable that the grumblers will have something fail or destroy data because they hit a filename or argument with a space or special character in it. On one notable occasion, that resulted in an `rm -rf something something /`. (If you’re writing a shell script, shellcheck is mandatory)

The best criticism I’d make is that it could be easier to replace a shell pipeline. Python’s subprocess makes that pretty easy but you still need a minimum of 3 calls per command plus whatever you need to actually do with the output. Since subprocess.{run,check_output} handles most of my needs this isn’t a big deal and there are excellent modules if you don’t mind dependencies.
another promising project: https://pijul.org/
On top of what others said, I also like youtube-dl + mpv because it consumes a fraction of the memory Firefox + one YT tab consumes. My main browser is Qutebrowser where I don't login to Google stuff, for which I use a Firefox profile. So when I'm watching something long like a lecture from any of my playlists, I download it first, quit Firefox, and watch with mpv. If I watch on FF on a large screen the computer starts swapping and I have to go kill some apps.
Those fighting for people to see where our society is falling short of its promise for blacks, should be the first to distance themselves from the BLM organization. It muddies the water and makes people who would gladly support any fight against racial injustice leery of voicing that support, for fear of it inadvertently supporting and emboldening the communists leading the BLM organization.
The crime was not that he used wget, it’s that after he was banned from the service he used a server closet he was not permitted to access to continue downloading. Still bullshit but it’s not even close to wgetting a public resource
"Some people use YouTube as their repository."

I wondered when this would happen. I'm. not referring yotube-dl specifically but the third-party repository problem such as Github and YouTube where material exists principally on one site.

The fact that the RIAA is involved makes it high profiled case and should warn people that distributed systems/repositories are a much better (safer) idea.
I second Fauna, it might not have all the bells and whistles yet, but they are excelling in providing a "serverless" database
We already know that renewables are super cheap. Even the super conservative, anti-renewables IEA recently declared that solar now produces the cheapest energy in history.

The only question is how to deal with intermittency of renewables. For which we have tons of options, with nuclear being a poor contender, IMHO. There are certainly some models of zero carbon energy grids that say nuclear is the cheapest way to achieve zero carbon, but I think those models have not adequately accounted for several key observations about the world, namely: 1) how storage technologies are getting cheaper far faster than anyone anticipated, by an order of magnitude, 2) how we will build a lot of hydrogen infrastructure anyway to decarbonize industrial processes that we can't electrify, and 3) how nuclear is getting more expensive every year because it relies on industrial techniques that have been optimized in the past, and where we are now losing skills. Even if we correct 3), I don't think it could outweigh 1 & 2.

That's not to say that nobody should invest in nuclear, just that nobody should bother with gen 3 or 4 designs, as they are already obsolete. Look to the tiny startups, and forget about the giant conglomerates of yesteryear like EDF, Toshiba/Westinghouse, and Hitachi.
This is what I'm using:
- Raspberry Pi
- Streaming server: MiniDLNA
- Android client: Hi-Fi Audio

You can of course get your ripped music from Google Takeout.

I wanted a headless install, and MiniDLNA works great - you just install with apt-get and then point it to a directory tree of mp3 files.

Hi-Fi Audio costs $9 -- I could not find an equivalent free & ad-free player, though they must exist.
This has surprisingly been a long run for a Google product. It sucks hard, but I'll take 9 years over 6 months (am I getting soft?).
I would guess it’s similar to the chunking they do when streaming in the first place. Assembling the pieces is one of the main functions of youtube-dl.
Just because someone registers a website, doesn't mean they own the movement.
For sure, that is the argument they will have to make! As a counter-argument, what if I paid for my youtube premium membership though, to avoid the advertising, and really what I want to do is to location-shift within the bounds of the law, I want to take my laptop into the wilderness and watch the movies I paid for, on an Indian reservation in front of a mountain scene, ... where there is no broadband or cell radio tower service?

(Hypothetically of course! Youtube-dl is not only for Youtube.)
You’ll occasionally get funny looks but it’s probably safer to just assume that pretty much anything that has sensors is or has been comprised.
Current discussion: https://news.ycombinator.com/item?id=24872911