News for hackers. Stuff that matters.

pancrufty

Re:Never Use Git Submodules on Friday March 03, 2023 @08:41AM (#35009470)
I had no issues that were directly attributable to the way they behave and not to my own ignorance.

In short: once I learned and documented the checkout/update/reset commands, I was set.

The other “issues” were that they require extra config in some cases (CI), but again it’s just 2 lines in most cases.

Re:Never Use Git Submodules on Friday March 03, 2023 @05:09AM (#35007763)
You're using them wrong. I've been using them for years and I have no issues with them, however I treat them as a read-only dependency.

They have their use and it's not that hard once you figure out the exact sequence of git commands to use (but that applies to all of git)

Re:The moral case against equity language on Friday March 03, 2023 @05:03AM (#35007723)
As a non-American, the dumbest change that affects me daily, is the renaming of the master branch. Master means teacher in romance languages and its variations are part of daily usage. In git there's no "slave" part so it always meant "main" and not "owner"

It affects me daily because "look on master" became "look on the main branch" for no advantage to absolutely anyone.

European here: I do. I also have a federated government login that I can use to officially identify myself with the many government agencies.
I'm looking forward to the day physical mail is outlawed with few exceptions. Junk mail is such a wasteful endeavor only meant to subsidize shipments of value that can't be electronic.
Re:On Container Queries, Responsive Images, and JPEG-XL on Wednesday March 01, 2023 @08:57PM (#34990941)
I think browsers could nowadays figure out when enough bytes result in enough quality. Progressive images should have been the solution since the very beginning and it’s disappointing (yet expected) that they aren’t.

I really wish I could just point to the canonical source of an image and have the browser decide how much of is needed like it does for video segments.

Thumbnail: load 1000 bytes

Drag to desktop: download the remaining megabyte of your full-quality image

The current picture/sizes setup is a verbose joke hacked together because they refused to use progressive JPEGs for this purpose, which we had for a very long time. This whole thing could have been a single `<img progressive>` attribute

Re:Tether elements to each other with CSS anchor positioning on Wednesday March 01, 2023 @08:56AM (#34982418)
Uhm, this is a preview. You’re not supposed to use it until it’s widely available. They’re just showing it off and gathering feedback.

> I'll file this under something interesting to revisit in a year or two.

Correct. However things are moving fast so certain new features become widely available within months.

So verbose. Better:

    document.querySelectorAll('*').forEach(element => element.animate(
        {translate: '5px 5px'},
        {duration: 500, iterations: 1/0}
    ))
Except that rude words weren’t taped over back then, unless you lived in a monastery.

Ask HN: Google leaked my email through Google Maps

I just received a direct email, which ended up in the spam folder, using the name I assigned to my Google account. This name is unique, not used anywhere else, I only specified it because it appears on Google Maps reviews.I believe my Google profile is as locked down as possible, but I can’t figure out how this person was able to link my public “Google account” name to my email.Where did I mess...

( Read More... | no comments | on HN )
Re:FFmpeg 6.0 on Tuesday February 28, 2023 @05:38AM (#34967835)
I think you can ask that to ChatGPT in a follow up question ;)
Re:W3C Beta Website on Monday February 27, 2023 @11:50PM (#34965750)
You can always press “cmd minus” to bring the old web back. Every press brings you back by a decade
Re:Bun v0.5.7 on Sunday February 26, 2023 @09:25AM (#34945766)
> collecting users along the way to extracting money from them

Can you listen to yourself?

When was the last time you paid Node or npm inc? Projects have the absolute right to monetize without having to start that way. You can use bun without signing up, there’s no data, there’s no registration. There are only entitled users.

Same for my European bank. It’s annoying enough that I quit the app and reopen it to try FaceID again. I don’t even know my bank password
Re:Things I Won't Work With: Thioacetone on Saturday February 25, 2023 @08:27AM (#34936495)
Selenium stinks alright
Re:Bun v0.5.7 on Friday February 24, 2023 @07:37PM (#34932369)
No, there’s intention to monetize.
My guess is that it was hacked together and they piled hacks upon hacks for decades. There’s no chance anyone can or wants to fix that. Let’s not forget it came out in 1995 so the codebase must be a nightmare now.
I think eBay has always been terrible. The website was awful and it went downhill fast after 2007 I think.

I still remember how I was able to include javascript and CSS that affected the whole page in 2005. Good times. I was using the former to enable Clippy in IE

That’s standard. This scam is nearly 2 decades old, except back then it was done via PayPal. I think you’ll find more by searching “PayPal chargeback scam”
Here’s what happens:

    1. Service launches
    2. They get loaded with scams
    3. They implement safety mechanism
    4. Repeat cat and mouse game until the list of “if/else ban” reaches the distance between moon and earth
Basically all of these transactional companies lock themselves into corners and make life hell for everyone.

It happened with PayPal, it happens with eBay and it’s starting to happen with Stripe.

Re:Mullvad VPN: Security audit of account and payment services on Thursday February 23, 2023 @12:40PM (#34913768)
In my European country, you can only mail money via insured mail. Otherwise it’s prohibited.

I assume it’s to avoid responsibility and money laundering.

From what I see there are limits on the amount of cash you can mail in the US as well.

Myanmar has its own cables: https://www.submarinenetworks.com/stations/asia/myanmar

Additionally the cable in question comes from Europe, so the Vietnam break shouldn’t affect Myanmar (which also has direct access to it) https://commons.wikimedia.org/wiki/File:SEA-ME-WE-3-Route.pn...

Re:Google Stopping Coding Competitions on Wednesday February 22, 2023 @01:59PM (#34900833)
Which Google are you referring to exactly? With its many successful products, I don’t see Google being overtaken anytime soon.

Ads are doing better than ever, Android is holding steady worldwide, Maps has a huge moat that Apple has yet to overcome (in over a decade), nobody really complains about Google Search except us nerds.

I see them just coasting, but an overtake is unlikely in this decade.

“The New Bing” sounds interesting but that’s not all that Google is about, it’s not 2002 anymore.

IMHO it’s high time China and Japan went the enlightened Hangul way Korea took half a millennia ago. There’s no reason to keep to absurdity going any longer; even they don’t know how to type their own words and use pinyin as input. The Vietnamese way would also be easy with their explicit tones written on each vowel, however they lost the advantages that blocky characters offer.
Yes super educational and informative like all those mukbang videos and unique content created by those famous live-streaming factories. [1]

Chinese users are interested in junk just as much as westerners, if not more, so they will be fed exactly what keeps them glued to their phones.

I don’t believe for a second that every Chinese kid is on Douyin watching science videos for hours.

[1]: https://www.vice.com/en/article/pgzamm/chinas-live-streaming...

Re:Testing Without Mocks on Tuesday February 21, 2023 @11:37AM (#34883151)
You’re describing a bad API to begin with. Those are too many steps to test at once too.
Re:The Unbearable Sameness of the Modern Web on Tuesday February 21, 2023 @06:10AM (#34879602)
I mean, no, that's hardly a website. It's as much a website as example.com/demoscene.exe. Nobody ever stopped making art and video games, it's just that they don't run in the browser.

If you call it a website, then Unity is a web authoring tool.

Re:The Unbearable Sameness of the Modern Web on Tuesday February 21, 2023 @06:02AM (#34879544)
Straight into the soup
Re:The Unbearable Sameness of the Modern Web on Tuesday February 21, 2023 @05:27AM (#34879276)
one reason I love CSS. literally design swapping properties until it looks decent.
Re:On Replacing My MacBook Air M1 with a ThinkPad T480 on Tuesday February 21, 2023 @05:24AM (#34879238)
You can replace it now.

Older »