minorninth

@minorninth@lemmy.world
1 Post – 74 Comments
Joined 1 years ago

Some of the many things that surprised me:

  • They want to try all 19 at once
  • They want the trial within 6 months

This may be the most significant indictment, because the president can't pardon a state crime.

3 more...

Rotten Tomatoes has both a critic score and an audience score.

If your pick has a low critic score but high audience score, that means it was formulaic or unoriginal but probably lots of fun.

Movies with a high critic score and low audience score are usually more artsy, film-festival stuff.

14 more...

I wonder how long before we start seeing some plausible but fake AMAs

4 more...

First of all, since the very early days Android has always allowed apps to make use of native code using the "NDK", and in fact most games and most apps that do any sort of AI, image processing, or anything else complex like that make heavy use of native code already, for performance reasons.

Keep in mind that the decision to base Android apps around Java was made back in 2003 when Android was founded. Some of the reasons they picked Java were:

  • It's one of the most widely known languages by developers
  • It's hard to write code in languages like C and C++ without introducing memory bugs and security bugs. Using a higher-level language makes those bugs far less common.
  • It's portable - you note that Android only supports arm64 now, but at the time it was arm32, and Android has actually always had some level of support for x86 - you can run the emulator for x86, and some x86 Android devices exist. Using a bytecode language means Android is future-proof
  • It's not limited to just Java - the JVM has a rich ecosystem of languages that developers can use

Now 20 years later I think it's worked out pretty well. It's hard to imagine picking a different language would have worked out better. Java is still just as popular as ever, and Android developers can take advantage of all of the Java tools from any other platform or application.

Apple's original option for iOS apps was just Objective-C, which is higher-performance, but overall it's a more obscure, difficult to use language. Developers adopted it despite Obj-C, not because of it. Apple had to invent Swift to provide a more modern alternative, because Obj-C is basically not used anywhere else and it felt very ancient. While Swift is a pretty great language, it's still somewhat obscure, only used for iOS and Mac apps - while Java and JVM languages are used everywhere.

Anyway, let's say that Android really did want to switch, for some reason. I'm not sure why you think switching to compiled code would be less complex. How would all of the millions of existing Android apps migrate? What native languages would be supported? It'd be a huge transition for dubious benefits.

As it is, Android is extremely flexible. While the official APIs require a JVM language, because of the NDK you can basically write Android apps in whatever language you want. People have built frameworks enabling you to build Android apps in nearly every language under the sun.

12 more...

It's also just an open file format. Anyone could implement it, and in fact I found dozens of completely independent implementations of webp decoders on GitHub in various languages.

There really is no secret ulterior motive in this case.

6 more...

Here's the difference.

The Democrats are diverse. You've got some true believers who want universal basic income and free medicare for all. You've got right-leaning centrists who want lower taxes and less regulation, but they're not as socially conservative as Republicans. You've got some who vote their conscience, and others who are corrupt. It's difficult to get them all to agree, but when they find common ground, their ideas are generally pretty popular with the people (Obamacare, the Infrastructure deal, etc.).

The Republicans have no platform. They have no plan. They have no consistent views. They have no desire to govern constructively whatsoever. The very few things they can agree on and get done, like conservative judges and banning abortion, are extremely unpopular and set the country back.

You really think there's no difference between the two parties? The difference has never been larger, ever.

1 more...

My prediction: verified video will start to become a thing.

Phones will be able to encode a digital signature with a video that certifies the date, time, and location where the video was captured. Modifying the video in any way will invalidate it.

Same for photos.

People will stop believing photos and video that don't have a verifiable signature. Social networks and news organizations will automatically verify the signatures of all photos and videos they display.

Technically this is already possible today, it just needs to become mainstream and the default.

5 more...

Lemmy is more like Reddit, Mastodon is more like Twitter.

In other words: Lemmy has communities (subreddits) and hierarchical comments for each post. Mastodon doesn't have either of those things, but it has following users and following hashtags.

Despite being different, they have some interoperability because they use the same federation protocol.

9 more...

I've switched to Lemmy for random browsing of memes, pop culture, and tech news.

I'm hoping Lemmy will soon be large enough that major world news events will pop up there, too.

I still go to Reddit for just a couple of niche communities. Lemmy isn't large enough for there to be active communities about every TV show and every hobby, yet. Looking forward to when we hit that size.

Also: no rush. We're early adopters. Lemmy has gotten a LOT better in the last month, so I'm glad that everyone didn't rush to join it right away. I'd rather that when small communities consider migrating, they can do so and have a great experience.

I don't buy that argument. That would only make sense if Republican voters actually care about "dirt" and would not vote for a politician who was tainted. But obviously we know that's not the case. Republicans who have been accused of everything from embezzling money to grooming children have done just as well in their elections, because their voters would still prefer a crooked Republican over the most saintly Democrat.

I think there's a huge range of stuff that's legal but that many people might want to filter out because it's gross or disgusting.

The tag "NSFL" may have been created for the most egregious pictures (that might be illegal in some cases), but it was generally applied to a much wider range of stuff in practice.

Actually I'm going to disagree strongly with that statement.

Small business are far, far worse at abusing workers. If a small business fires you, you've got absolutely no recourse. They can lay you off with no severance and then hire someone new a day layer, and who's going to do anything about it? They don't have that many employees so there's no pattern and no class-action, and you can't afford to hire a lawyer to spend years fighting them in court.

In comparison, when you work at a big company, they have rules and an HR department to make sure they're going everything legally. Your boss wants to fire you? First your boss has to give you a negative performance review detailing exactly what you're doing wrong. Then they have to give you an opportunity to correct it. Only then can they fire you. At an absolute minimum, it gives you a chance to start looking for a new job. Often it gives you a chance to transfer within the company, if you were otherwise a well-liked and valuable employee.

If a large company wants to let you go, they're going to give you severance pay and extended benefits.

Of course you hear about the occasional incident where Elon Musk fires someone on the spot or a Disney employee gets reprimanded for something silly. But those incidents are extremely rare, and most of the time they end up settling behind the scenes for a nice severance.

Now, I know, I know. The HR department is there to protect the company, not you. But that's exactly why the HR department ensures employees are treated well, even when they're fired - because they don't want a lawsuit later.

Usually rich people get out of stuff by hiring smart lawyers and listening to what they say, though.

Actually, just changing the file name doesn't change the format. If it works, it's because whatever place you uploaded to already supported webp.

If you download a webp file and you really want jpg, you need to actually convert it, not just slap .jpg on the end.

2 more...

Is it possible to be a productive programmer with slow typing speed? Yes. I have met some.

But…can fast typing speed be an advantage for most people? Yes!

Like you said, once you come up with an idea it can be a huge advantage to be able to type out that idea quickly to try it out before your mind wanders.

But also, I use typing for so many others things: writing Slack messages and emails. Writing responses to bug tickets. Writing new tickets. Documentation. Search queries.

The faster I type, the faster I can do those things. Also, the more I’m incentivized to do it. It’s no big deal to file a big report for something I discovered along the way because I can type it up in 30 seconds. Someone else who’s slow at typing might not bother because it’d take too long.

1 more...

Actually, open-source software can be great for accessibility and I've been testing Lemmy with a screen reader.

Overall Lemmy is pretty close right now once a few roadblocks are removed. The audio captcha was broken, I helped fix that in the code just a couple of days ago but it hasn't been released yet (at least not in lemmy.world).

After that I mostly see more subtle issues, not complete deal breakers. I haven't started looking at moderator features, though.

Trump might say that but he’d never actually do it. He never does anything to help others.

That’s ridiculous, Feinstein is clearly far more gone.

The issue isn’t her replacement, it’s that Dems would lose control of all of the committees she’s on.

I don’t believe for one second that Democrats and Republicans are the same or equally corrupt.

In this case, though, it does seem like they’re both playing the same stupid game due to their own seniority rules.

Yes, anyone can write a book! If you have an idea, write it!

If your only goal is to finish a book, check out https://nanowrimo.org/ for inspiration and support just for to force yourself to write and keep writing!

If you want to publish it, self-publishing is surprisingly cheap, if you're happy if you only sell a few hundred copies, many just to friends and family.

If you want to publish a real novel that appears in bookstores and gets featured and advertised, you need to submit it to publishers...and be prepared for LOTS of rejection. Some of the BEST novelists I know write 10 books for every 1 they get published. Now imagine the worst writers!

Spending an hour on Reddit or Twitter means downloading a few megabytes of content.

Spending an hour on YouTube means downloading a few gigabytes of content. The cost to serve that is massive.

YouTube lost money when Google bought them. It continued to lose money for years. It was only after YouTube finally got large enough and their ad targeting got good enough that they started to turn a profit on YouTube.

I'm really skeptical that anything other than a big tech company could provide a similar platform like that for free.

Sure, it could work if you could get people to pay $10/month, like YouTube Premium, but people wouldn't do that without there being enough content to make it worthwhile. It's a chicken-and-egg problem. The only way to get past that point is with a massive amount of initial investment.

1 more...

Those are all protocols for accessing an entire calendar or sharing your whole calendar, not for general-purpose inviting one user to one event.

Certainly many others would have tried to invent something like the web.

HyperCard predated the web browser and had the concept of easy to build pages that linked. Lots of people were working on ways to deliver apps over the Internet.

I think in some alternative timeline we'd still have a lot of interactive content on the Internet somewhat like the web, but probably based on different technology. Maybe more proprietary.

GPT-3.5 seems to have a problem of recency bias. With long enough input it can forget its prompt or be convinced by new arguments.

GPT-4 is not immune though better.

I’ve had some luck with a post-prompt. Put the user’s input, then follow up with a final sentence reminding the model of the prompt and desired output format.

3 more...

Everyone can agree with the statement that government spending needs to be curtailed in the abstract. That's not useful if you're not willing to say specifically what you think should be cut.

Medicare is about 12% of the budget. Do you think it should be cut, do you think the government should spend less on that?

Social Security is the largest part of the budget. Do you think it should be cut? What about the fact that its income comes entirely from payroll taxes - not general income taxes - and it still has a huge surplus?

After medicare, social security, and debt interest, the next largest category is defense spending. Do you think that should be cut? If so, how would you do that responsibly?

I'd love to see the defense budget cut, but I think it's tricky, because most of that money goes to pay for the salaries of people. The money that doesn't go to U.S. government employees (pentagon, armed services, etc.) go to contractors who employ lots of people. Cut the budget dramatically and millions of people lose their jobs, which could devastate the economy. Again, I'm not saying we shouldn't do it - just that it isn't quite so simple as just cutting the budget and being done with it. There are consequences.

1 more...

The ability to read another person's thoughts by looking at them.

1 more...

I think there are two distinct groups of people:

About half of Trump supporters just love him. They share some of the same personality traits. They believe in conspiracy theories. They're mad at the world. They want to "own the libs". They're not very educated, they're very tribal.

The other half do not like his personality at all, but they don't care because he's effective and they like his policies. He's a means to an end. These are the ones that are hurting the country so much more. They know that he's destroying the political system and they don't care, because they'll get what they want. They support Trump over DeSantis not because they like Trump as a person, but because they think Trump has the best chance of winning.

Bulk mayo makes sense if you’re a restaurant or cafeteria or running a summer camp or something like that. Probably not for many other people.

Most people take one 3-month driving class when they're 15 or 16, then take one test, then never get tested again for the rest of their life.

3 more...

I don’t think we know that yet, and I think the discovery will be interesting.

How many reports were there? Were they credible? What other sources of truth did Google consult in deciding to ignore those reports?

Google gets lots of reports and needs to filter out spam, and especially malicious reports like trying to mark a competitor’s business as closed, or trying to get less traffic in your neighborhood for selfish reasons. It wouldn’t be reasonable for Google to accept every user suggestion either.

So if Google reached out to the town and the town said the bridge is fine, then it’s not Google’s fault. If they ignored multiple credible complaints because the area was too rural to care about, that might be negligent.

Can you elaborate on what happened when you tried to search? I’ve never had trouble.

The name is confusing, kind of like "defund the police". If you take it at face value, you can misunderstand.

Look at https://lemmy.ml/c/antiwork 's sidebar:

We’re trying to improving working conditions and pay.

We’re trying to reduce the numbers of hours a person has to work.

We talk about the end of paid work being mandatory for survival.

2 more...

Even ignoring the part where you didn’t realize Jeffries is a Democrat, this is just not a fair characterization of Democrats at all, as if they’re all the same.

Democrats in congress represent a broad spectrum from quite liberal to moderate conservative. Even by European standards.

I think the main issue is who it'd be simpler for. Let's say that they switched to AOT compiling. That enables them to "simplify" the way Android works internally.

Who does that actually make things simpler for?

Literally ONE subteam of the Android team at Google. Nobody else.

It wouldn't make things any simpler for developers. In fact, it'd make things worse because AOT compilation is slower and doesn't allow things like hot-swapping code while your app is running - something you can do now with Java.

It wouldn't make things any simpler for OEMs. They don't have to worry about the Java runtime at all, they just worry about drivers.

It wouldn't make things any simpler for the other 99% of the Android team that builds new APIs, new drivers, etc.

Basically you're proposing a radical change that would make the platform worse for almost everyone, just so that one pretty small team at Google that builds the Java runtime portion of Android could make it a little simpler???

You say the current system seems "too complicated". I agree it's complex, but for a reason. Actually just about everything in tech is complex if you peek behind the curtain and learn how it works inside. The only difference here is that the code is open so anyone can see how it works. But for the most part these are just hidden details.

I guarantee that if you looked into how video frame compositing on Android works, or how low-latency audio works, or any of a hundred other things, you'd realize they're incredibly complex too - probably "too complicated" at first. But that complexity is for a reason.

Trump can do whatever he wants.

He’s never once listened to his lawyers before. Why would he do so now?

No, but honestly I wasn’t expecting them to vote to impeach one of their own in the first place.

How did that happen?

Yeah, don’t do that. Users could accidentally or maliciously type something that would get executed as python code and break your program

OK, let's say you've got a bunch of regexes in a source repository that need to get modified frequently. It can be difficult to code-review complex regexes, and even harder to code-review changes to an existing regex.

Something like this might actually help. A change to a complex regex might actually produce a more clear diff of a subset of lines.

Also, I think being able to comment in the middle of a regex would be super handy for that type of code.

Doesn’t that also mean that ONE malicious person can get traffic off their local street or hurt a competitor’s business?

Just like moderating Lemmy, effectively policing user-generated content is a huge challenge.

GNU gets credit for the GPL, and for being the first major project to start to create a free Unix operating system. So it's true that when the Linux kernel was first released, the fact that you could boot a usable operating system on top of it was due to GNU.

But...the success of what most of us just call "Linux" since then is due to thousands of individuals and organizations other than GNU. The vast majority of free software running on top of a Linux operating system has nothing to do with GNU and is not licensed under the GPL.

Let's say I'm running Linux on a server, for a small app running the MERN stack. Literally none of the MERN stack is GNU.

Let's say I'm running Linux on a desktop. I'm depending on Wayland, KDE, Chromium, VSCodium, and a dozen other tools, none of which are GNU.

However, the fact that I can use the same OS to run a tiny embedded device or a superpowered server, that's due to the Linux kernel and the thousands of individuals, organizations, and companies who have made it into the most efficient and versatile operating system kernel in the world, period.

So to me, I have no problems at all calling the operating system "Linux".

1 more...

Did you scrape the bowl while mixing?

KitchenAid mixers are great, but depending on what you’re mixing you need to scrape the sides of the bowl with a spatula and then mix some more.

I don’t think it’s over mixed, I think the cookies made from the batter that was stuck to the sides are under mixed.

1 more...