AnAmericanPotato

@AnAmericanPotato@programming.dev
0 Post – 19 Comments
Joined 4 months ago

In practice, Python is not easy to learn programming with. Not at all. I see beginners wrestling with Anaconda and Jupyter notebooks and I weep.

The fact that pip is intentionally broken on macOS and some modern Linux distros sure doesn't help. Everything about environment management is insane.

8 more...

Who do we arrest if a crime is organized via phone call on T-Mobile’s network

I guarantee you, T-Mobile does not hesitate to hand over any and all data they have to the government. And they don't encrypt shit, as evidenced by their many many data breaches.

or via mail?

The postal service is from a different era, and has legal protections I wish online equivalents had. Logically they should. Realistically they probably never will.

This will likely be rejected for one the same reasons that they decided they would not add any new flag emojis. Flags come and go. Bitcoin hasn't even been around for 20 years yet, and its future is highly uncertain.

Also, considered as a currency, it would be better as a regular text character, not an emoji. Like $, €, ¥, £, etc.

9 more...

Not all use-cases require a high speed:capacity ratio.

I mean, I have an 18TB USB hard drive, which sustains transfer at about 50MB/sec in practice. It is nearly full, and its level of performance has never been a show-stopping problem.

It's hard to imagine a use case where a NAS would be a viable alternative to an SD card.

A simpler, less ambitious alternative is Clickbait Remover: https://github.com/pietervanheijningen/clickbait-remover-for-youtube

It replaces thumbnails with stills from the video. You can select between beginning, middle, and end.

It doesn't change titles but it lets you force capitalization to lowercase, titlecase, or sentence-case. Keep in mind that this has no logic to retain capitalization of proper nouns no matter which option you choose. I set mine to lowercase just to have some kind of consistency, because I got sick of random ALL CAPS TITLES.

I haven't used DeArrow myself. Crowdsourcing titles sounds interesting but I appreciate that Clickbait Remover behaves exactly the same way with 100% of videos.

Honestly, I don't find this very creepy. This is information you are already putting out there for everyone to see. If I post a video of myself speaking, I am not concerned about people seeing how my skin vibrates in that video.

As video generation tools become more advanced, we will need better algorithms to validate videos. The bar for "fooling the vast majority of humans" is much, much lower than the bar for "being literally indistinguishable from a real video". The main problem I see is that it's going to be a cat-and-mouse game, and I don't think any method you publish will remain valid for very long in practice. The same method will be used to improve the next version of video generators.

Also, lots of real videos use post-processing that might wash out some of the details they are looking for. Video producers might re-record lines so they don't perfectly match the video to begin with. It's been a long time since I used a Samsung phone, but on my old S6, I remember that it always had a beauty filter applied to the selfie camera that made me me look like a creepy porcelain doll. I could probably make a deepfake of myself that looks more "real" than those real videos and photos.

I don't know about strictly "unable" but there are a million contexts where it is a bad idea and simply not done. Like a spreadsheet or financial document. Or anywhere you want your text to behave like text — with a consistent font, color, style, etc. The difference between $ (text) and 💲 (emoji) is pretty stark in most contexts.

2 more...

This doesn't seem to be a problem with disaster recovery plans. It is perfectly reasonable for disaster recovery to take several hours, or even days. As far as DR goes, this was easy. It did not generally require rebuilding systems from backups.

In a sane world, no single party would even have the technical capability of causing a global disaster like this. But executives have been tripping over themselves for the past decade to outsource all their shit to centralized third parties so they can lay off expensive IT staff. They have no control over their infrastructure, their data, or, by extension, their business.

This is how Arc behaves by default, and it drove me crazy. The cons of it appearing when I don't want it far outweigh the pros of saving me a single click when I do want it.

If you have your day ruined by Cloudflare, I’m going to either assume you run a bot network, you’re trying to do something incorrectly, or you are part of the dark web.

Or you are unfortunate enough to share a subnet with someone who got on Cloudflare's bad side, in which case there is basically no recourse.

There are a million legitimate reasons to use a VPN, for example, but Cloudflare doesn't care.

Switching to another Chromium-based browser is a half-measure. Other Chromium-based browsers are on borrowed time.

As time goes on, it will become more difficult for them to maintain v2 support. Nobody has the resources to properly maintain a browser fork with more than minor modifications. And you can bet Google will go out of their way to make this difficult for everybody else.

I mean, sure, use what you're comfortable with if you really can't use a non-Chromium-based browser for some reason. But it means you're likely going to have to jump ship again sooner or later. Why not just jump once, to something with better long-term prospects?

Then again, the folks behind Arc Browser have expressed interest in becoming engine-agnostic, so perhaps there will be a Chromium-free Arc version in the future. That would be very cool.

1 more...

4 is sheer madness. 1 is common sense. 2 is just the cooler version of 1.

I've always found hardcoded style to be an obnoxious and counterproductive paradigm. It's the text editor's job to handle line wrapping, and there's no reason a coding editor shouldn't be able to format code intelligently. I hate hard line breaks that do not have meaning. Not everybody is using the same size windows! It's 2024! We have the technology!

4 more...

everyone and their mother uses VS Code

This is usually a good reason to avoid something. Especially if that something comes from Microsoft.

4 more...

The "problem" of having more people than we have meaningful work for. This is not a new problem, but it is increasingly exacerbated by automation. So we manufacture bullshit work just to keep busy, because we've decided people shouldn't have food or shelter if they're not doing work, bullshit or not.

The world would be better off if whoever got paid to plan and implement this instead got paid to just stay in bed. The economy is fundamentally broken.

1 more...

Monocultures are bad. Popularity very rarely tracks quality. And once something is overwhelmingly popular, it usually goes to shit, because the momentum is enough to keep it successful.

See: Windows. Outlook. Reddit. CrowdStrike.

2 more...

Give it time. This is Microsoft we're talking about. Look at GitHub or Skype.

The solution to the whitespace gripe is strictly enforced formatting standards with a git hook running a manually invokable script.

Throwing a linter into the pipeline just hardcodes the formatting at that point in the pipeline. That doesn't really solve the issue, which is that style is not a one-size-fits-all concept, and displaying text appropriately is really the job of a text editor. To quote PEP 8, "default wrapping in most tools disrupts the visual structure of the code". In other words, "most tools" suck at displaying code, because they are not language-aware. That's the real problem. Hardcoding style is a workaround, not a solution.

That said, I wouldn't consider intelligent editors to be a replacement for formatting standards, either. Ideally my text editor would display my Python code the way I like it, and then save to disk in accordance to PEP 8.

You're right, but I think there's a lot of overlap here. Large businesses are not laser-focused and are not rational actors.

Someone pitched this as a way to make money. Someone believed that was plausible and approved it. But the motivation for even pitching it was likely a step or two removed from that.

Executives and middle managers are not above bullshitting to justify their salaries.