skysight-inc/HackerNews huggingface dataset:
The same shortcut syntax that people complain about does make perl really handy for one-time tasks where you're iterating on ideas. Lots of features there that make that easy. One example:

#!/usr/bin/perl
while (<>) {
# various processing here
# $ARGV is set to either "-" for piped input, or the current filename
# $_ is the data of the current line
}

That (<>) construct accepts data from stdin, redirection or file(s) named as arguments and iterates over the data. There's lots of things like that throughout the language.
Yes. I have a fomo everytime I see people discussing it in depth and I can't understand what they're talking about.
Yep. Using AI at all here feels like overkill. You could get interesting results just choosing random chords* in the key signature.

*speaking from experience. I built a web app at tapcompose.com (desktop only for now) that uses pure randomness for both chords and melody. Initially I used randomness for testing only and planned to substitute an AI model later — but I was delightfully satisfied with the results and kept it in
Fascinating topic, but it was as if i was reading a high school report on the subject.
> Hmm I think it's getting pretty easy today to get a de-Googled Android phone that "just works".

This is a wild exaggeration.
Are the 'bugs' actually triggered in the real-world usage of the code, or are they just 'potential bugs' which would be triggered given specific inputs that don't happen in the current usage of the code?

Might seem like nitpicking, but the 'probability of a bug being triggered in the future' is an important metric for figuring out if large scale refactorings are actually worth the risk of introducing new bugs.

Disclaimer: I'm coming from the static typing hemisphere, but adding type information to a codebase that was originally written with runtime-duck-typing in mind sounds like it might actually make maintainability of the code worse - that's at least my experience after trying to do exactly this in a medium-sized Python codebase - some of the 'typings' ended up so complex and weird that they completely dominated the code and turned what was very simple code at the beginning into an unreadable mess (looking almost like C++ template code). I eventually rolled back the changes. Basically, if I wanted a statically typed language, I wouldn't have chosen Python in the first place for this type of project.
https://archive.is/v3u4i
There's CCTV footage of the attack on me as well. The problem isn't proving what happened, it's sentencing. The police (after 3 months of waiting...) told me not to bother, and I spoke to a magistrate who said they'd get a slap on the wrist. Additionally, the attack was retaliation for my friend going to the police a few days before. I decided that the risk of another attack, combined with the additional stress of going to court, to get a slap on the wrist wasn't worth it. I might look into civil court - it seems there's a 3 year expiry, which would allow me to wait until after A levels.

Thank you for the kind words. I'm not really sure what to say - reading this thread has really helped me, particularly your comment. I've seen time as my second-biggest problem throughout the last year, and it's good to hear from you and others that I can afford to slow down and still be alright.
Perl better? maybe or maybe not.

It can be very useful and they are pretty robust.
I often found Perl scripts running for years and years without issues at different companies.

My main issue with Perl-scripts is that they often are not "readable" by anybody but the original creator. Which of course left the company. (not a fault of Perl itself tough)

But your millage may vary and any script can be made (un)readable.
>it's not obvious how one would replace it to do the same thing for EVs.

Taxing tires would work. Also, mileage is already recorded during vehicle inspections. That could be used to calculate tax but would be more open to fraud.
Here's a useful "start here" link:

https://en.wikipedia.org/wiki/Geoid

an important concept, the invisible "Geoid" is an equipotential surface of equal gravitational strength .. call it the " 1 G surface ".

Where there is a large amount of dense mass ( a giant iron deposit | all other things being equal ) the immediate gravitational field is stronger .. it's the usual surface 1G PLUS the extra gravity from the mass of the iron .. therefore the constant 1G equipotential surface is much higher 'above' the mean ellipsoid surface.

There's a lot going on here to get your head around - it generally takes a few WTF?!? iterations to fully grasp the various geophysical surfaces ( the WGS84 ellipsoid (and others), the various 'standard' geoids, the (diurnal flucuating) magnetic topography, etc ).
It's impossible to tell if someone is driving properly based on just sensor data because if it were, we would have full self driving.
There was a period where getting a new computer or phone meant you’d viscerally feel the power in your hands and everything would be tangibly snappier.

Then the SW and Product teams would catch up, add more crap and it’d be time for a new machine.

It seems like that cycle has ended and HW will never catch up again at this point.
Because PayPal is so pervasive, that even with all of those problems, it's still maybe only less than 0.5% of people that have issues with PayPal?
True, but then Google doesn't just download the page source and index that. They run JavaScript in some cases to get to the actual content. This must come at a significant cost. Their index is enormous as well:

"The Google Search index contains hundreds of billions of web pages and is well over 100,000,000 gigabytes in size."

https://www.google.com/intl/en_uk/search/howsearchworks/how-...

Doesn't mean you have to be as big as Google to do something useful of course.
Please note that there is also a Free plan: https://account.proton.me/pass/signup
Obiturary for Don Lancaster
>A 3-series BMW clocks in at 1700-2255 kg. A comparable Tesla Model Y clocks in at 1778-2003 kg (from empty to fully loaded).

A brand new 330i is 3500lbs. A Model Y is 4500lbs. That's a 28% increase in weight for a similar size car.

A Honda Civic is 3100lbs in full trim. A 530i is 3800lbs. My VW SUV is only 3850lbs.

That means more tire wear and more road wear. Are we at the point where EV fans are going to deny that EVs are far heavier?
I cheat a bit and use Scaler 2's library as a starting point. It has progressions for all kinds of moods and genres, and that's usually what I'm aiming for.
Wow thanks for the insightful answer.... Never heard of caustics before, but that is a much better analogy I think. The fact this stuff can and does exist makes sense. Caustics caused by gravitational lensing is something I can naïvely visualize.

I'm struggling to understand how a sandwich wave causes "everything in an infinite spatial volume becomes known in a finite time". Armchair physicist here.

Crazy that this stuff has already been studied 40 to 60 years ago.
Neat. Went down a rabbit hole and ended up finding this out. Quite interesting

https://publicinfrastructure.org/podcast/80-nick-seaver/
I was reading to pull the trigger on a Withings but then I got so many reports of inaccurate tracking data that I backed out. How's been your experience with it?
https://www.amazon.com/Pulsar-Portable-Gas-Powered-Generator...

https://www.homedepot.com/p/71cc-2-Stroke-Portable-Generator...
Is it also the case that they lay off their editors? Or only writers?
DIY Fitness Tracker Smart Watch with Oximeter and Heart Rate
Yes good thought! But if used as a library it is not extensible. It would definitely be faster than this
This legislation comes from the same source as the GDPR.
Any tips on approaching this? The only thing I can think of is trying to write out a comprehensive description of your life and trying to view it like it belonged to a stranger who asked you for advice or something? It is very strange how the same issue can be viewed so radically different by the same person and where they would otherwise have the presence of mind to propose an effective gameplan towards resolving the "not great parts" if only through the eyes of a stranger
It's good to hear that the degree apprenticeships work on interesting stuff - that's the reason I'm so interested in GCHQ, I'd love to work on some really interesting problems. I assumed that if and when I completely failed on the cognitive tests they'd just drop me - I think I might at least give it a shot thanks to your comment. Thank you.
You can’t run video cards in the new Mac Pro. https://www.macrumors.com/2023/06/11/apple-exec-discusses-ma...
YouTube is actually regarded quite high in terms of revenue sharing and Linus has praised them numerous times. It's for example partly (26% in 2020) why LTT have around 100 employees. YouTube do have a ton of other issues (spam, lack of support, content moderation, etc) but I don't believe revenue sharing is a big one.

https://twitter.com/BobDuckNWeave/status/1613846589482598403

https://www.reddit.com/r/LinusTechTips/comments/100fmgx/linu...
It's important not to confuse the various Proton services. Proton Mail is considered to be a communication service, and in most countries (including Switzerland), communication services are regulated to some extent. Privacy isn't a blank check to break the law with impunity, and all companies need to comply with the local law.

That being said, Swiss law is very restrictive, and there are a lot of hurdles that one needs to jump through to get a court order. And even with a court order (and has been proved multiple times in court), there is no way to break Proton Mail's encryption. Privacy is not the same as anonymity, and due to the way the internet works, if anonymity is what you are going after, you have to exercise proper infosec and take preventive measures, such as using Tor or VPN.

Under Swiss law, the treatment of VPNs is different. So VPNs can indeed be no-logs. No-logs VPN, is also possible in other countries as well. What makes Switzerland different, and possibly unique, is that within the current Swiss legal framework, Proton VPN also does not have forced logging obligations. So, a no-logs US VPN could for instance, get a NSL (National Security Letter) to start logging particular users, but that's not possible in Switzerland. In addition to that, VPN is mostly impossible for law enforcement to ask for something reasonable, as there's no "identity" for the traffic going out of our server. There's practically no chance of law enforcement to know what account to ask for.

Finally, it's worth noting that in October 2021 (after the case you mentioned), Proton won in court against the Swiss government and as a result, email services cannot be considered telecommunications providers, and consequently are not subject to the data retention requirements imposed on telecommunications providers. You can find more details here: https://proton.me/blog/court-strengthens-email-privacy.
I wish awk had support for addressing a range of fields, like from $1 to $7. `cut` supports it, FWIW.
Loved Vice Principals.....on one episode we were laughing so hard watching that cops were called! Good times.
Have you checked the full docs? Maybe it takes an optional parameter to specify the server machine's IP address or host name. Then others on the network could see it.

Not near a PC now.
The other possible scenario is that people who want to create new content will quickly figure out that the LLMs are basically rewriting their original research and extracting all monetary worth from it, and so stop publishing in any medium that the bots can harvest the information.

So all new discoveries will get walled off from the GPTs and we will be stuck with constantly regurgitated old information unless you go looking in paid for publications.
Yes, that's it. Mr Incredible and Buzz Lightyear look very similar I guess.
Zsh: Turn off globbing with Git (2016)
Distance from ellipsoid surface (eg WGS84 (or closely related model) ) - the earth isn't spherical, the poles are ~ 20km closer to the earth's centre than the mean equatorial radius.
I read a comment here saying that they didn't like Progressive Snapshot, so they switched to Geico and cut their rate in half. This is my most recent anecdote as a different experience.

I was paying $620 (for 6 months) with Geico while letting them monitor my driving via my cell phone. The premium never went down although I had 110 scores in their EasyDrive app (In driving for over 11 years in the US, I never had an accident and never filed any claim car insurers; I always drive defensively and never got any ticket either). What I found was EasyDrive app is always punishing me for bad driving practices like running red light (again, the same experience some has mentioned here with Progressive) in fear of registering a hard-brake event; and worse, slowing down excessively to turn the corners (basically, surprising the cars behind me and risking them bumping into my car) because EasyDrive thinks ONLY IF you go below 15 mph then you are doing the cornering right. I guess these EasyDrive developers (or rule makers) never drove on a real road, and found that usually 20mph is the safe way to go about turning on the right corner.

Regardless, I got 15% premium bump in the renewal despite having 110 EasyDrive score (I think Geico raised their premiums by a very high percentage in CA as well; I live in FL and have been using Geico for all the years I've been driving in the US). That pissed me off and I explored other options, and finally got Progressive for $570 for six months. The sacrifice I have to do for this lower rate is to subscribe to their Snapshot program. I used my phone and have been driving for over a month. The relief (good thing) about using Snapshot app is that it doesn't monitor your cornering score. However, like some mentioned here, it still promotes bad driving behavior like running yellow/red light in fear of hard-brakes. It also seems to be a bit proactive in determining what a hard-brake is (again, I'm using their phone app) because I registered 2 hard-brakes (the only two hard brakes that I have recorded so far in about 1.5 months of driving) on my grocery trip. I swear I didn't do any hard brakes (or maybe at most once) because I know the road pretty well and I usually do grocery runs in early mornings on weekends when there are very few cars on the road.

I know I got much cheaper ($570 vs. $710) rate from Progressive now just because I am a new customer. I am pretty sure come next or next, next renewal, they'll jack up my premiums like what Geico did, and then I'll have to switch to yet another insurer like musical chair game. I wish that the car insurers actually have a more accurate, realistic, non-intrusive tech to monitor the driving habits (e.g., the ones who don't use turn signals when turning right/left or changing lanes, which really could cause accidents) and ACTUALLY give discounts to drivers like me who are very careful with their driving (plus, my wife and I drove a total of 6050 miles in the last year). This is all to say that the risk-reward distribution system with car insurance companies is still inefficient.
Just imagine how much more bugs you add...

Also, imagine how much more productive you would've been if you instead of doing what you are doing you'd do something worthwhile, like, design the program or organize the testing better.

I've heard so many nonsense claims like yours both in proprietary projects and in open-source ones, and not a single time did the code base became better. In most cases a small(-er) pile of garbage became a bigger pile of garbage.
This isn't common, but it's pretty routine. Pilots are trained for this, and the aircraft are designed to handle the stress.
I was really hoping for something more creative than the traditional hashmap approach.

Still pretty cool, I wish I was that confident with rolling my own data structures.
From Lab to Fab: Increasing Pressure to Fuse IC Processes
fertile women
> Not everyone lives in the US

Nor do I. Banks themselves in the EU and India offer virtual cards. There's also Wise with much wider availability.

I won't pay for YouTube because they don't accept magic jellybeans is a bullshit excuse and you know it.
Show HN: CLI text processing with GNU sed (eBook)
Hello!

I am pleased to announce a new version of my "CLI text processing with GNU sed" ebook. This book heavily leans on examples to present features one by one. In addition to sed commands and options, regular expressions are also discussed in detail.

Links:

* PDF/EPUB versions: https://learnbyexample.gumroad.com/l/gnu_sed (free for a few days)

* Web version: https://learnbyexample.github.io/learn_gnused/ (always free)

* Markdown source, example files, etc: https://github.com/learnbyexample/learn_gnused

* Interactive TUI app for exercises: https://github.com/learnbyexample/TUI-apps/blob/main/SedExercises

I would highly appreciate it if you'd let me know how you felt about this book. It could be anything from a simple thank you, pointing out a typo, mistakes in code snippets, which aspects of the book worked for you (or didn't!) and so on. Reader feedback is essential and especially so for self-published authors.

Happy learning :)
Eating this food may be a reason why some people live to 100
Material + Markdown + mcdocstrings is my current favorite for documenting a code repo. It auto creates nice code docs from doc-strings, and also renders math in those doc-strings. And of course I can add nice looking custom doc pages too.

So I’m curious how this compares with vitePress, which does look really nice.
Does this include the auto telemetry we have been seeing articles about recently?
Same here. I had a Samsung Android watch for years that I would use for tracking runs, and I was never very happy with it. Slow gps fix, horrible battery life (the thing died on a bike ride when I started with it fully charged), and the touch screen was hard to use while running.

I wear my Garmin all day, and charge it every other week. Physical buttons are a game changer, and the activity tracking software feels like it was made by someone that actually uses it.
I've got the Garmin Forerunner 735XT and while the software is a little clunky at times, it's a total work horse. Battery lasts for a week when worn all day and with at least 30 minutes of GPS tracked running activity per day, the display is extremely well to read outside in the sun and the smart features I use are the app notifications and that's it. No complaints, that thing is indestructible and I would buy it again. The prices at times are truly comical though, then again I've got this watch since 2017 and it's still going strong, I'm sure I would have gone through at least a couple of Apple Watches or Android Wear watches in the meantime.
Nice, Vlad. Keep up the good work!
Yeah i read that and I immediately thought BS. The most the tide varies on earth is less 15 meters.
For the record: a PWA can also be served by a single request, it's called hydration.

My issue with these kinds of discussions is that they're inevitably using outright false arguments.

You can make a well performing website through SSR and a backend templating language, yes.

However , In a business setting with lots of developers this usually becomes an abhorrently performing website despite the SSR with the same templating language.

You can make a pwa with any of the usual frameworks and it's going to perform wonderfully... The bad performance begins when people start to write terrible code or just keep adding dependencies to cyberstalk their users.

But doing the same in the backend puts you into the same position wrt poor performance, so it's just not an argument for or against SPAs.

It's totally fine if you decide to write your website with a SSR stack however, and it could very well be the better choice for you, depending on how your skillset is aligned with the technology.
Sure, download and run the javascript, but then you can snapshot the DOM, grab the text, and discard all the rest. The HTML and js is of little practical value for the index after that point.

Google's index is likely very large because they don't have any real economic incentives to keeping it small.
Don Lancaster was an engineer that wrote many articles but what he is really known for is the TV Typewriter which allowed normal TVs to be used as terminals.

https://en.wikipedia.org/wiki/TV_Typewriter

His techniques were used in computers like the Apple 1 and Sol-20
Disney's Chief Diversity Officer, Latondra Newton left
I feel like I'd have a very hard time designing a $7000 system which doesn't completely blow the Mac Pro out of the water in terms of CPU and GPU performance. Do you have some examples of $7000 systems which are beaten by the $7000 Mac Pro's cut-down M2 Ultra in terms of CPU or GPU power?

EDIT: I don't get why this is getting downvoted. The M2 Ultra really doesn't have very impressive GPU power compared to even consumer offerings from nvidia and AMD. The competitive $7000 workstations would have to have something weaker than a 4080.
It matters a lot. I just spent three days on a 130kbps 1000+ms latency high packet loss connection, and RTT was one of the problems that made lots of sites I tried (practically) unusable, due to launching dependent queries in series without any retries. The other big one was gigantic interaction-blocking assets served from CDNs with aggressive timeouts.

SV techbros are a fun pinata to smash, but that's a load of bullshit intended to conflate individual workers (easily hateable and zero power to fix anything) with ad-tech/paywalls/lead acquisition/overoptimisation driven by profit-seeking (too diffuse to hate, too little understood for lawmakers to regulate effectively...yet), and make slow websites seem like a technical or competency problem instead of an auctioning-your-eyeballs-and-spamming-you-with-modals.
It makes sense to invest in the companies selling shovels in a gold rush. If the VCs are investing in developer tools, I guess it means they think the gold rush is still on.
Court Sentences YouTube Content ID Scammer to over Five Years in Prison
Aviation Herald always has great coverage on incidents like these https://avherald.com/h?article=50b0742c&opt=0 . Glad nobody got hurt!
From what Proton has said, it seems like the Swiss courts allow the authorities to compel email service providers like Proton to log IPs for them, but they've also said that they can't do that for VPNs, I don't know if the situation has changed but I remember them saying that.
Some things about that suck though.

Ethernet is stuck on 1500 byte frames, with the result of limiting TCP as well. That's just nuts on 100G or 400G networks, even on 10G it's a bit of a stretch already.

TCP is also sticking around for too long. Almost nothing wants a stream these days, lots and lots of applications reinvent datagrams on top of it.

Of course people came up with workarounds, but that's mostly adding a bunch of different layers on top. So on the surface everything looks stable, but in reality there's a huge amount of protocols piggybacking on top of TCP and UDP.
I know. I'm saying the problem isn't a lack of PCI bandwidth or anything like that as my parent comment suggested.
Open Source QR code AI art generator
That landing was so smooth it makes you wonder if front landing gear is even necessary at all!
I'm not taking those arguments seriously anymore. Here's from the linked doc:

> In a weakly typed language a compiler / interpreter will sometimes change the type of a variable

Well,

a = 1
a = "a"
a = [1, a]

executes without any problem, so according to that argument, Python's typing is weak.

Even if you take the "dynamic but strong" argument, it only holds for a few specific operations. A function like this cannot be considered strongly typed:

def f(x, y):
return x + y

because I can call f(1, 2) or f("a", "b") without any problem.

People have been desperately wanting to claim that Python has strong typing, but it not having weak typing doesn't make it strong. They're not binary opposites.
>the aircraft are designed to handle the stress.

I was somewhat thinking of the passengers.