skysight-inc/HackerNews huggingface dataset:
Here's my personal gripe list:

- The New Tab Page isn't an actual page that lives in a tab anymore. Instead, it's a sort of "launcher" that lives outside the tabs. This creates all sort of bizarre UX issues, like if you click on a top-site, click back, and click on another top-site, you now have two tabs open.

- The tab switcher has been replaced with a janky spring-loaded pop-tart that appears to have been lifted directly from the Google Maps search results screen without any understanding of why it works in that context.

- Several important areas of the UI are now dedicated to "Collections", a feature that's just like bookmark folders (which are still present), except for weird subtle differences like not syncing properly.

- You can no longer display your bookmarks on the New Tab Page.

- You can no longer use themes other than the included "light" or "dark".

- You can't navigate to data URIs anymore -- you get a generic something-bad-happened error instead.

- A thousand little UI papercuts. Why do half the animations do weird-looking double fades? Why is the New Tab Page scrollable even when there's no additional content to reveal by scrolling? Why are the contents of the hamburger menu slightly different when you're on the New Tab Page?
IPFS CID of that zip file: QmaCpz7YkLGaAQxa3kRHGQhhd23RQFHuKPzhHaa2pC3i53
I believe it's a subscription feature for YouTube Music as well. The link you provided indicates that this requires a YouTube Premium subscription, though a bit more digging on that page and https://support.google.com/youtubemusic/answer/6313552?hl=en suggests that the minimum required subscription is actually YouTube Music Premium (this is included as part of YouTube Premium).
Ugh. Unlike some others, my 'migration' worked, but YT Music sucks. Sorry to be blunt and short, but that's how I best describe it. It's in every way worse than GPM for my use. I legally buy songs, and just want to stream them. YT Music is obsessed with, after playing an upload, playing random music with ads in it, rather than say, playing the next upload. The only thing that works without much complaints is a playlist, so that's good I guess. I can't even figure out if/how I can purchase music from it, which is really annoying.
A knife can be used to cut bread also.
(author here) I do use Python. In fact I wrote something like 30K lines of Python for Oil.

The question isn't shell OR Python.

My shell scripts call Python scripts, many of white I wrote myself. That is working as intended.

They also call C programs, C++ programs and R programs. And put JavaScript programs in various places.

----

I guess this is a huge misconception about shell that I have to write a blog post about.

https://news.ycombinator.com/item?id=24083764

I'm often asked this about Oil [1]: Why do you want to write programs in shell?

That's not the idea of shell. The idea is that I write programs in Python, JavaScript, R, and C++ regularly, and about 10 different DSLs (SQL, HTML, etc.) And I work on systems written by others, consisting of even more languages.

I need a language to glue them together. A language to express build automation and describe deployed systems. Most big systems consist of more than one language.

Shell is the best language for that, but it's also old and crufty, with poor implementations.

When you program in shell, gcc, git, pip, npm, markdown, rsync, diff, perf, strace, etc. are part of your "standard library".

-----

If you want some concrete examples, look in the Oil repo. There are dozens of shell scripts that invoke custom tools in Python, R, and C++.

https://github.com/oilshell/oil/tree/master/benchmarks

For example, to generate this report on how much we speed up Python by translating it to C++: https://www.oilshell.org/release/0.8.3/benchmarks.wwz/mycpp-...

The tables are manipulated by R code, and shell/Python/CommonMark generates the HTML.

-----

Another example is that the release page is essentially a huge shell script: https://www.oilshell.org/release/0.8.3/

This page and all the linked pages are generated by: https://github.com/oilshell/oil/blob/master/devtools/release...

------

If you don't understand why shell should call Python and C, I recommend reading The Art of Unix Programming

http://www.catb.org/~esr/writings/taoup/html/

https://www.amazon.com/UNIX-Programming-Addison-Wesley-Profe...
"Dude", you only have the job for a year. Why not take a year to see the USA and bring joy before you settle down into a career?
How is the closest thing to HyperCard when you need to type code to make the GUI? In HyperCard you draw the interface as if you were using a paint program, you create simple databases "living" inside the stack just by placing input fields around and you create links by placing buttons that you can make links to the other cards just by visiting them. You can make presentations, e-books, simple databases like phone books, recipe books, etc without writing a single line of code. And if you want to write some code the language is very simple and "readable" with very simple approachable commands and a GUI that 'knows' about it.
What do we do if storage technology isn't able to match energy demand when the sun isn't out and the wind isn't blowing?

At heights current generation wind turbines reach wind is blowing essentially all the time, giving them the ability to reach a capacity factor of 63%.
Conventional wisdom is that Yelp goes head-to-head against Google and is not worth that much -- except to Google who would face immense antitrust pressure if they were to disappear. (e.g. Google has the same motivation to prop up failing competitors today that Microsoft had in propping up failing Apple in the 1990s)

Before there was Pinterest I thought `Damn my mother-in-law gets a lot out of Oprah Winfrey and there could be "something like Reddit" that scratches the name itch and appeals to women.`

Pinterest was that success and it's really unique
as a "originally digital" brand that wasn't born in a global city (e.g. mainstream appeal that doesn't seem mainstream to the tastemakers.) Other brands aimed at women fall into schema that surround an individual celebrity (say Goop) or an idealized femininity -- so Pinterest looks very unique compared to that space.
Running Ubuntu on Windows 10 with WSL2
Prophet Muhammad said “Feed the hungry, visit the sick and set free the captives
That headline should probably be "at" 1k stars. Being "on" the star would make for a much more interesting story though.
iTunes, other than the iTunes Store, is indeed gone now and merged into Apple Music:

https://support.apple.com/en-us/HT210200

But as that article briefly mentions, the iTunes Store continues to exist and can be reached from the Apple Music app. I suspect this will change in a future macOS release, though I don't work for Apple and have no inside info.
It's mostly just me.
Where were you when seomoz rebranded to moz?

First I've heard someone call Mozilla Moz. I was mildly annoyed when seomoz rebranded to Moz but had to admit that I didn't think it was confusing at all.
I'm looking as well. I came across asti.ga, which looks promising as it can use a variety of cloud backends, but haven't got around to using it yet. I'm actually also considering a plex setup.
the approach to have a few tools that work well in their specific niches to be superior to having one tool for all jobs.

Exactly, that is the point of shell.

Shell scripts are meant to invoke Python or Ruby programs.

sibling comment: https://news.ycombinator.com/item?id=24875932

earlier comment: https://news.ycombinator.com/item?id=24083764
We use snow tires during the winter. But in the US, summer tires are sold as "all season," and handle poorly in snow. We're not required to use snow tires in our region, and they salt the roads heavily, to the detriment of my bicycle.

Over the past few decades of living in this region, folks have pretty much settled on "needing" AWD to drive in snow, and then gaining relatively little benefit, while insisting that "all season" means that they don't need snow tires.

I asked my mechanic about it. His take: "They should stop salting the roads, folks should get snow tires and learn how to drive."
I’m really surprised that some people here don’t understand the value of smart contracts.

Contracts and rules and regulations are made by humans. Humans can sometimes be unfair and biased and error-prone.

Code on the other hand does not discriminate. Ethereum smart contracts are open source and auditable.

Technology can be used for good or bad. But I would much rather an industry be run by fair, auditable code than (unfortunately faulty) humans.

If I apply for a mortgage, I would like to know the process if driven by code which is applied transparently and equally to everyone, so things like skin colour isn’t a factor.

Competition will always remain. If a company uses unfair smart contracts, there will always be alternatives.
Hubs already makes money, by offering turn-key self-hosted Hubs instances for corporations via AWS image.
I think the OP is mostly talking about "perl one liners" on the shell like this: https://catonmat.net/ftp/perl1line.txt

It is not that hard either (unless perl is completely foreign to you).

Ironically just today I wrote a python script (using concurrent.futures) to batch re-encode 10gb of mp3 podcasts into 3gb of opus files to save space. Before I deleted the old mp3's, I did a quick file count of mp3 and opus files only to have 5 extra opus files... I beat my head really good trying to glue a bunch of bash stuff together but I could not find where the 5 extra opus files were coming from.

I defected back to perl. All I needed was an alphabetical list of all the files (there were many sub-directories), perfect for a little perl oneliner:

find /podcasts/ -iname "* \.ogg" | perl -nle 'if( $_ =~ /\/([\w-]+.\w\w\w)$/) { print "$1"}' | sort >ogg.txt

I did the same thing for * .mp3 files and then diffed the two files. I quickly noticed the extra 5 opus files were from me doing test encodes a couple of weeks ago that I forgot about.

Sure it looks hideous, but the explanation is easy: for 'perl -nle', the 'l' means process each line from stdin individually, the 'n' means no auto printing of the line, and the 'e' is basically the perl 'one liner' mode. Either way, each line comes in and is stored in '$_', I use a capturing regex to grab the file name without parent directory names, basically everything after the last '/' in a path that ends with a three letter extension (\w\w\w). The "captured" part of the regex ends up in '$1'. Also see 'perldoc run' for all the runtime one liner options.
Everything in cryptography is more complicated than you'd hope it would be. On this one, see for instance:

https://cryptopals.com/sets/7/challenges/52
> YTM lets you do background music or videos, which is not something you could ever really do with GPM

The entire point of a music player is to play music in the background.
I just removed my Google Home devices and migrated my music service to Tidal because of this whole YouTube Music debacle. Went like this:

1. Suddenly my Google Home would only use YouTube Music when playing to the Chromecast on my TV.

2. YouTube Music, among a bunch of other terrible UX issues around how it considers music to be organized/related, has the extremely annoying quality of always playing videos of the music instead of just the music.

3. Turns out there's an option in your account settings to tell it to only play audio, no videos.

4. Also, turns out this setting has zero effect when playing through a Chromecast, and thus the damnable videos persist.

5. So, I said, "Eff it!" and signed up for a Hi-Fi Tidal account (the audio quality improvement is immediately apparent, BTW) to replace my Google Play Music... er, YouTube Music instigated brewing household clusterf*ck (the chance was screwing with my wife & two little kids' ability to listen to music with the ease and predictability they had with Google Play Music).

6. I can cast Tidal to the Chromecast from my phone, so I figured I could link it in my Google Home device, and our household music situation would be basically back to normal. Nope...NOPE!

7. You can't set Tidal as a music service for your Google Home, which turned me into the family's sporadic impromptu disc jockey throughout the day, and entirely broke the kids' ability to manage their own music enjoyment.

8. Turns out Amazon's device ecosystem doesn't have this problem, so the Chromecast got replaced with a Fire TV stick and an Alexa pod.

In one felled swoop, via the most utterly existentially dubious product rollout and migration, Google managed to motivate me to eat the switching cost of replacing 100% of their hardware and 100% of their media services from my family's life. Truly a spectacular "own goal" on Google's behalf... and for what? What is even the point of YouTube Music?
> For example, what happens if they first send a probe to verify habitability? Suddenly travel times more than double.

This doesn't seem like a good idea if their method of traveling is generation ships. What would be the point?
What I haven’t seen pointed out is that this is really Githubs problem. They shouldn’t automatically respond to DCMA. The process should really be passed on to the owner of the repo and make them liable. Basically, defaulting to rolling over to DMCA requests had led to an environment where there’s no way to fight them. Even if I hosted something like YouTube-dl myself, my internet provider could cut me off.

It’s the same issue with deplatforming people, do we want a world where literally you lose the ability to share knowledge others don’t agree with Or in this case, a tool that could be used maliciously
I guess it was only a matter of time, the more popular it became. I have Youtube Premium and still use this utility every day for legitimate reasons (converting talk videos to audio file that I can listen to offline). Sad day for youtube-dl but I expect there will be many contenders to fill the void.
They're combining everything so it can't be peeled apart by antitrust.

Same reason Facebook is forcing login on Oculus

It's disgusting
No reason it can’t be hosted elsewhere with that name after a fork.
I too offload my personal vidos (family/kids) to youtube from my iphone. I used to back them up on a Hd but it has since crashed so whats on youtube is basically my sole backup. If youtube dl goes down I’ll have a hard time retreiving all that
Yea, as someone who listens to Nightcore/Japanese music, Youtube Music is by far the easiest way to listen and discover music. And the download offline feature has always worked great for me, a 100 songs uploads periodically to match what I've been listening to, so I don't run into the classic issue of using the same "I don't have service" music playlist.

Not that I don't get why people complain about the move (it is a dramatically different app), but Google is the only one with the actual usage numbers, and honestly I've never met someone who has used it. I'm guessing they weren't the best, while Youtube has some of the best usage numbers of any Western service.
[Error] Unhandled Promise Rejection: ReferenceError: Can't find variable: AudioContext

(anonymous function) (perfect-pitch-ear-training:20)

asyncFunctionResume

play (perfect-pitch-ear-training:19)

(anonymous function) (perfect-pitch-ear-training:29)

per MDN, AudioContext() is implemented as webkitAudioContext() in Safari.

https://developer.mozilla.org/en-US/docs/Web/API/AudioContex...
I've found it's inference to be great, but the error messages GCC-like
Looks like you need to supply them your name and email even for just the open source version. Why do people do this? Just provide the installer :-/
Not surprising, they don't want to have the Cambridge Analytica scandal happening again. Yes it's a very different thing, but the general populus and old beuracrats in Washington aren't really going to understand that.
Real reason: Tesla uses single low resolution low refresh rate non color camera (or three center mounted ones in never hardware). They dont even do parallax, thus cant spot stationary obstacles.
LUKS, FileVault, encrypted DMG, or Veracrypt, depending on the platform(s).
Microsoft was happy to extort money from Linux distros via its patent racket until it realised it had no choice but to embrace Linux after the failure of Windows Phone. This is not about Satya Nadella or VS Code or cross-platform .Net Core - it's about The Nature of the Beast. Microsoft is a monopolistic enterprise and always will be. Cross-platform doesn't change this fact.
With fnm, you can use a .node-version file that auto-switches to the correct version when you change directories to the project.
> But as far as I know, any two different hashing schemes applied sequentially has never been broken.

Suppose you used SHA256(MD5(x)) as your sequential hashing function.

If I can find two messages m1, and m2 that have the same MD5 digest, the outer SHA256 will also collide. MD5 is sufficiently broken that finding such messages is easy: https://github.com/thereal1024/python-md5-collision

Two different hashing schemes applied in parallel is better. However even there many uses of hashing functions require all the bits in the output digest to be equally unpredictable.
It sounds ridiculously large when you put it as 100 average single family homes filled to the brim (I get about 50, BTW, using 2623 sq ft with 9 ft ceilings for the average single family home).

On the other hand, it is under two Mount Palomar observatory domes full.

I'm assuming anyone building a generation ship is going to build it in space, not build it on a planet's surface and then try to launch it, so size is not really going to be an issue.

The big engineering issue will be propulsion. We don't have anything now that could drive such a ship. My guess is that this is either something we'll have within the next couple hundred years or we'll never have it.

I'm assuming that by the time you want to build this kind of ship, you've gotten raising people from frozen embryos or frozen eggs and sperm perfected, and that is where most replacement crew would come from. That should greatly reduce the crew size needed.

I think we'll be able to handle the biological side of this within a hundred years, with a good chance of it being quite a bit sooner than that.
There are some here: https://en.m.wikipedia.org/wiki/Security_of_cryptographic_ha...

But, it does say practically provable
>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)).

If you can find a collision in C(x), then A(C(x)) will have a collision as well.
I've heard this a few times from cow-orkers as a rationale for doing it. "Well, Facebook does it, and Google does it." It's not a good argument in any way, shape, or form, but it's definitely out there.
How would hashing twice help with a collision? Surely if your hash function is A(C()) then if you find a collision in C() then that is also a collision in A(C())?

Also, just saying “we should use 100 year crypto” is about as useful as saying “we should hurry up and cure cancer”.

Nobody has a probably secure hashing function. It’s actually a huge problem in cryptography that a lot of the time hashing is modelled as a perfect random oracle and there are schemes which are secure only if modelled with a random oracle, but insecure when instantiated with any concrete hashing function.
Hi Daniel_Connell, thank you for the reply. I didn't imply it was for profit, but rather that the content is only useful for getting people to join your group.

I can appreciate the effort you've put into the project, but leaving glossing over details makes "DIY" a buzzword instead of a method. The video gives zero information as to how it can be turned into a 1KW turbine and it leaves out so many vital details.

I appreciate what you've done, but if you want to make it truly accessible then you have to give all the details. Show the different ways it can be done with parts anyone can get; Not just the windmill part, the entire generator. Show somebody how they can use that electricity. Otherwise, it is just a toy project.

I am sorry for being so critical but I hope that you can see that this is constructive. You've clearly put a lot of effort into this, but you're selling yourself short by not making it complete, and if you're truly into open source, then you're selling your project short too.
I know your example is contrived but its amazing how complex we make the web

<input type="reset" value="Cancel">
This really hit me with flash self-uninstalling this month. All that content just systematically erased via the viewer disappearing. Flash was trash but it was a lot of the golden age of the net.
Pictures of Curious Antique Types of Doors That Will Inspire You
That's why `===` is a thing. But FYI, "foo" == 0 is no longer true in PHP 8: https://3v4l.org/fQLXX RFC is here: https://wiki.php.net/rfc/string_to_number_comparison
These factors are important, but I don't think they are as important as the people factor: Chinese people simply want to work hard to live a better life. Everyone knows education matters, so much so that you see news like this: https://www.dailymail.co.uk/news/article-8296195/Chinese-gir.... Not that I personally know everyone, but I trust that what my Chinese coworkers told me had certain truth. They openly acknowledge that Chinese needed to learn from western civilization, especially STEM, and policy making, so much so that no one would mock CIT for not winning NCCA games. That's some serious respect. I mean, what kinda of sick country would openly mock their best university for sucking at basketball?
Very cool app--wanted to leave you some feedback after my first test render finished.

Loved the visuals. I can tell that your analysis separates out harmony and percussion as advertised as the video reacts very well to transients in music. This is a common criticism I have of music visualizers--often they don't react to transients quickly enough to communicate the percussion patterns and that's not an issue here.

The whole process creating the video was very easy. Some more control over the images used would be cool, but I'm not sure how that'd work. I do also like that the images are generated and unique for each project. Perhaps if it's possible there could be an advanced feature to upload a pool of images to seed the generation of images. For example, if I wanted to create a video using landscape images of a particular type (mountains, forests, etc), this kind of feature would be very useful.

I'm not sure I'll be a paying customer for this product, as I don't have a commercial use for music visualization at the moment, but I'll be playing around with it some more for sure. I have a big collection of synthesized versions of classical music I created for a project that never materialized, so I can see using this tool to revisit that music and perhaps create videos to share. Thanks for sharing this very cool project!
While they may have made collaborative development more difficult for the moment, what hasn't changed is the strong motivation from a wide range of technical people to be able to download whatever they can watch in a browser. Something will rise from the ashes.
Python has a REPL but it isn't sufficient to be a shell. Therefore, I can't write a program in the Python REPL just as I'm doing stuff normally and copy it into a file for further editing and polishing. I have to port whatever I did in the shell to whatever other language I'm using, which is more porting than I want to do for most shell scripts, especially ones which are mostly pipelines.

Heck, Python isn't even a good language for one-liners. Not saying it should be, but it further demonstrates that I can't use Python live the way I can use zsh live.