• 57 Posts
  • 464 Comments
Joined 3Y ago
cake
Cake day: Mar 23, 2020

help-circle
rss

She was cute af in an computer science class and I knew if I waited to decide if I liked her, someone else would grab her first

She thought I was weird and gay but I pulled it off

5 years later we’re still together


The harder I tried to see the author’s POV, the more IQ points I lost. The fediverse is having some drama and hiccups, and so the author threw up their hands and said it should die?




Good, launder all the proprietary BS into public domain


If video games have taught me anything, once both sides run out of military supplies, whoever is producing military supplies quicker will win



Absolutely hilarious

These tests, combined with our visual analysis of the data yielded the result that repositories containing swearwords exhibit a statistically significant higher average code-quality (5.87) compared to our general population (5.41).

The scores here (5.87 and 5.41) are from 0-10 based on SoftWipe. For a general idea on what that feels like when you look at the code, referring to this article in Nature (a highly reputable journal outlet):

sumo has a rate of 7.7 bugs per 1000 LoC (SoftWipe score: 3.7), llvm-openmp has a rate of 4.0 bugs per 1000 LoC (SoftWipe score: 5.2), and llvm-pstl has a rate of 0.8 bugs per 1000 LoC (SoftWipe score: 7.4)

Naively assuming a linear correlation (y = -0.6x +8, where x is the number of bugs in 1000 lines of code and y is the SoftWipe score), we can extrapolate that:

Swearing Not Swearing
5.87 = -0.6x + 8 5.41 x -0.6x + 8
x = 3.55 x = 4.31

Therefore code with swearwords has about 1 less bug per 1,000 lines of code than code without it.

although we have a statistically significant difference between the groups, it could be caused by other underlying factors […] This means that swearing will not automatically improve the quality of your code

Absolutely hilarious.


This lawsuit is not about protecting artists like the other ones, it’s instead that SD used 12 million Getty images in their training model without paying Getty. It’s a much stronger case with much smaller repercussions for AI.

Honestly, a red herring article.


Tl;dr new EU law adds requirement to software distributors (ie. package managers) to verify your age if the app allows users to contact eachother


As someone who uses Github copilot and Stable Diffusion to do my job:

LOL

Please stop posting this garbage


If the news makes zero attempt to cite where facts in the title (“majority of the German population”) then yea, uh, that’s fake news.

Edit: Looks like the Mexican president also said it was the majority



Tl;dr

“We are fighting a war against Russia and not against each other,” Baerbock said, according to the A News TV network.


First they’re gonna have to define objectives they can stick with


What sort of communist workplace allows recursive code in production?


  • Cites a pro-Ukrainian source
  • Azov Regiment members can’t help but have Nazi symbols on them

Makes it hard to refute, even if you’re pro-Ukraine.


My bad, it was Muon. No idea why I wrote Gecko


Did you confirm if the recipient got it? I shared a Lemmy post link via Linkedin DMs once and the message was shadow un-received (I could see it as sent but the other person never got it, only my before and after messages)


I’ve been using Brave since it was based on Gecko Muon, and all it’s worth is ad-blocking by default. If you know how to install uBlock Origin, Brave won’t offer you any advantages.


Linkedin blocks .ml website domains too. Rip any site that uses that I guess


I’ve been up and down all the common ones from AUR to Pacstall to Homebrew, and honestly Flatpak and AUR stand head and shoulders above the rest. There might be some more obscure ones out there but I’d doubt their catalog at this point if I haven’t heard of them


They forked from Lemmy early on and were the most popular site running the Lemmy codebase. After some time the developers realized maintaining their codebase independent of Lemmy was duplicated effort (and effort they didn’t have), so they started work to get back on the main line.


Too real. The unimaginable weight that comes with running a successful piece of work is the reason I’ve stepped down from every. successful. project I’ve made.

A successful trait I’ve seen is the maintainer of the project is not someone who touches the code anymore. At a glance you’d think “What do they do?”, but the answer is a lot


Love to see it. Mastodon is a trojan horse that companies are joining to keep up with technology, but it’s taking the power out from underneath them. See what happened to Raspberry Pi after they moved to Mastodon and still tried to keep their community on a string :)


If there’s one thing everyone on Lemmy.ml seems to agree on, it’s this


I find it extremely difficult to sympathize with companies and governments that suffer cyberattacks. Stop writing bad, proprietary software with tax payers’ money, and half your problems will soon be solved.


Huge portions of the homeless (or even poor-looking people) in South Korea have randomly disappeared multiple times now. It also happened in 1988 when SK hosted the Olympics for optics

Police officers often received promotions based on the number of vagrants they had arrested, and owners of facilities received a subsidy based on the number of people held. There were multiple reports of inmates raped or beaten, and sometimes beaten to death.

https://en.wikipedia.org/wiki/1988_Summer_Olympics


Usually I’m against whataboutism, but this article is targeting the US directly - and the US international interference is several fold worse than what China does. Look no further than literal government destabalization over the past 20 years for examples.



Love these tips. To add on:

Environment:

  • Don’t use your bed for anything but sleeping
  • Wash your bedsheets at least once every 5 days
  • Do not have any RGB lights visible
  • If the sun is up or there’s light outside, close your curtains

Sleep time:

  • Make sure to shower before bed
  • Make sure to wash your hair at least every 3 days
  • Make sure to brush your teeth before bed
  • Do not use your phone in bed. At all. Zero.
  • From the moment you’ve reached consciousness until the time you get out of bed in the morning should be <15 seconds

Once you get these nailed down, start training yourself with white noise. Any time you feel like you can fall asleep quickly, turn the whitenoise on. It trains your body like magic. Build up whitenoise habits over 2-3 months into more and more uncomfortable nights until you fall asleep with whitenoise every day. Keep this up for 6+ months. At this point, you will be able to turn whitenoise on and fall asleep in 30-60 seconds guaranteed, regardless of how sick/uncomfortable you are, and you can throw out half the things mentioned above (although you’ll probably want to keep them)


Reading books is a requirement for not falling into the addiction of instant dopamine hits modern technology provides



Given this comment was written by a bot, I think it’ll make information noise a significantly larger problem


Once I got into good habits (going back to school + going to the climbing gym), I quickly ran out of free time, but life is good. That said there’s still a few hours of downtime each week.

Working on 2009scape or packaging Linux apps on Flathub. Procrastinating usually just leads to a few games of chess though, since coding at my job 10+ hours a day only leaves time to work on community projects when work is slow.



Vietnam almost bankrupted the US

Alright…

Ukraine has completely destroyed the western economies

Err…

Militarizing space seems… Expensive.

3 points in a row missing the mark?

Keep some of your stupidity for your children. Don’t hog it all yourself.


tl;dr Rasberry Pi hired an ex-cop who specialized in surveillance and major players in the fediverse got the Rasberry Pi mastodon instance defederated

I actually disagree with the other commenters and personally love this, it’s keeping companies accountable for their actions. Yeah, it’s legally fine to hire someone who specializes in anti-privacy (and then be stupidly arrogant about it), but now the power is in the people’s hands and they’re punishing you for it.


Looks like Western propaganda has been effective!


snap/ folder in the home directory is so disrespectful. I absolutely despise these apps that think they’re “too good” to follow proper xdg standard




::: spoiler Click to view bonus question Does the second robot's answer matter? :::
fedilink


It feels like upvotes don't have enough weight in the algorithm, as the order is almost always newest-comments-first
fedilink


What did the Viet people ever do to you, @yorma?
![](https://lemmy.ml/pictrs/image/c6e00e47-19f8-414f-adc5-c9681313712e.png) ![](https://lemmy.ml/pictrs/image/b0952131-f7ad-4891-8478-b4a8648cc631.png) ![](https://lemmy.ml/pictrs/image/43106a3c-8eb8-44e2-b665-fb8757c3e201.png) These aren't even recent events. Vietnamese people must be pretty passive if you have to go all the way back to 2019 to find a case of organized crime.
fedilink

What are you glad you did before you died?
"debated more NATO shills/tankies on Lemmy" probably won't be on that list
fedilink



The Real Issue with Github Copilot - You Forget How Your Code Works (From the Perspective of a User)
I've been using Github Copliot since beta. In general I find it an extremely nifty tool, and definitely recommend it to developers of any skill level to try out. There's a lot of complaints about Copilot, that IMO are somewhat valid, but also negated. For instance, Copilot is undeniably laundering FOSS code.. But it's also laundering proprietary code. Specific licensing aside, everything Copilot is doing here is lowkey making software much more collaborative and closer to at least some ideas open source stands for. Another thing people bring up is Copilot would make you forget how to code. After almost a year of using it, I have to disagree. Things like setting up the environment, making architectural decisions, and integrations are always the hardest part about coding, and regrettably Copilot doesn't help with that. Even if Copilot makes you "lazy", so does any good tool. **The real problem is I don't know what my code is doing anymore.** It's not that I don't read what Copilot spits out, but when you don't have to put in the effort writing it, **you forget the details** much more quickly. The obvious side effect is you spend much more time debugging your code, trying to figure out how it works, when you only wrote it a week ago.
fedilink




DropKiwiFarms.net - A short compilation on the impact KiwiFarms has had on real people around the world
fedilink
21
DropKiwiFarms.net - A short compilation on the impact KiwiFarms has had on real people around the world






Snap actually sucks. This isn’t even a meme.
Upgraded Ubuntu to 22.04, where Firefox is Snap by default. Wasn't going to fight it, especially since Canonical has made 3 blog posts talking about how much faster they made Firefox on Snap. Since then, I've had subtle but annoying issues. * Can't Google things that have a colon after the first word- i.e. `error: file not found` doesn't work * I get *notifications* for pending updates * Other apps like Gnome's Software take a minute+ to load on my beefy computer This isn't even a meme. Snap is trash. I wanted to be neutral and not join the "hate train" but seriously. Snap is that bad.
fedilink













/r/Place Admin Abuse and the Orange Cat
https://v.redd.it/komiw3hmv5r81 Not my original words but can't find original source: >A reddit admin was caught abusing her position to set her tile cooldown to zero (note: cooldown is 5 minutes and 20 minutes for email verified and unverified users respectively) in order to erase an [Orange Cat](https://telegramchannels.me/stickers/s-marseycat) that was [previously posted by Reddit on twitter.](https://twitter.com/Reddit/status/1509990348378058755?ref_src=twsrc%5Etfw%7Ctwcamp%5Etweetembed%7Ctwterm%5E1509990348378058755%7Ctwgr%5E%7Ctwcon%5Es1_&ref_url=https%3A%2F%2Frdrama.net%2Fpost%2F56728%2Freddit-calling-marsey-on-place-a) >This cartoon cat was the creation of Anton Dimitriev, a Ukrainian artist who is currently living in Kharkiv that is besieged by the Russian military as we speak. >His art station: https://www.artstation.com/mine_flood >His deviantart: https://www.deviantart.com/anton-d/gallery >In addition, reddit permanently banned everyone who placed a tile in that area or tried to change her tiles to repair the Orange Cat. Merely placing pixels near the cat resulted in a personal ban, resulting in the bannings of users from /r/AnarchyChess as their subreddit logo bordered the Orange Cat. >[People who tried asking about their bans had their posts removed as well](https://i.imgur.com/TR0UQzm_d.webp?maxwidth=9999&fidelity=high) >https://old.reddit.com/r/place/comments/tukjit/why_was_my_account_shadowbanned_after_placing_a/ >Reddit went a step further and manually deleted the accounts so that [whenever you try to visit an account banned for placing a tile - you get this page.](https://i.imgur.com/DRtHWQg_d.webp?maxwidth=9999&fidelity=high) >[Example of an account manually deleted](https://old.reddit.com/user/Quad_RIP_Deux/) - they [last posted yesterday](https://old.reddit.com/r/Drama/comments/ttuqtd/100700/) proving it is a real account. As you can see, this was an active and real account that was not only banned, but deleted. >[2nd example](https://old.reddit.com/user/Treecko251/) - [proof](https://old.reddit.com/r/rugbyunion/comments/ttnf5w/iron_will_documentary_by_quins_about_will_evans/?context=3) >Other people caught on, resulting in posts calling it out that reached the front page. Initially the admins tried to do damage control by setting a filter on /r/place to automatically remove any post that mentions the cheating or the Orange Cat that was overwritten. Now they seem to be going back and forth on the issue after the public outcry grew too big to suppress. Impressively bad. Why create a pixel board with limited space if the admins will literally ban people for placing pixels over the area they want?
fedilink


Lemmy.ml link blocked on LinkedIn for being “general malware”
![](https://lemmy.ml/pictrs/image/337ac1fe-b256-4cd2-9fbf-be1a29754852.png) ![](https://lemmy.ml/pictrs/image/506fe9e4-b326-4460-a146-35e86cc28b1c.png)
fedilink
1
Lemmy.ml link blocked on LinkedIn for being “general malware”

The Gateway Drug To Testable code
Bill realizes a usecase for a new app and spends 3 days creating his first release. After hundreds of happy users, the codebase matures and becomes something somewhat stable. But as time goes on, Bill slowly forgets the parts of his codebase. Maybe he was more junior before, maybe he was simply in a rush - but in any case, adding new functionality is difficult, and things keep breaking. Bill wants to add tests, but every time he looks into it he realizes the tests don't quite fit his codebase. He could mock giant objects and configure a huge state, but his tests wouldn't cover much and each new feature would require rewriting the tests. ***** We've all been in places like Bill. Especially those of us who always chased building new apps and getting people excited. **People claim testing is good, but you can't see it**. If that's you, let me introduce you to something new: *Function purity*. Function purity isn't anything special - a function is *Pure* if: * The same input always returns the same output * The function does not alter any external state *C programmers begin wondering what is impure in the distance..* Pure functions are a slightly different way to approach the code - Each function does one very specific thing and takes in a handful of parameters. But one thing that's special about pure functions is how easy they are to test. They're also fantastic at avoiding the slow growth of code complexity, since what you can add to the function is limited when you're keeping its purity. Some languages have adopted the [Pure] tag for methods as well, leaving other developers a strong hint on what the function can do. It's always reliable, and it does exactly what you want. Pure functions don't make your codebase 100% testable. But they get you most of the way there - with very little effort! Despite the controversy around it, I like to pair my Pure functions with Github Copilot, since copilot can very easily generate a test class for each pure function (since pure functions are naturally so easy to test). If you're ever *felt* like testing might help, but it doesn't in practice - Try this one out. Here's a wiki link to get you started: https://en.wikipedia.org/wiki/Pure_function
fedilink

MIT and BSD are cuckold licenses
I would say "change my mind" but I won't. I spent 5 years believing \*maybe\* I was missing something about them, but no, these are licenses selected 49.5% of the time for the wrong reason, 49.5% of the time because the original project devs were cucks, and 1% of the time because they're trying to replace a corporate dominant proprietary solution (which is the only valid usecase for these licenses). If you're a FOSS dev, have some self respect and choose a proper license.
fedilink

Looking for an Open Source program to automatically seed latest project torrents
Hey Lemmy - I was downloading the KDE Neon edition ISOs yesterday night and noticed there weren't many seeders for the nightly edition. It gave me the idea to write a program that automatically grabs the .torrent file for lots of FOSS projects and throws them on my seedbox every night, but before I reinevent the wheel, does something like this exist? Qbittorrent has a Python API so the code isn't complicated, but with a bit of Google-foo I wasn't able to find something like this already, which kind of blows my mind tbh. Does Lemmy know?
fedilink

Google Cloud needs to stop telling their engineers to answer Stackoverflow
Whenever I have an issue with a Google Cloud service, whether it's Firebase, Google Compute, or whatever else, I find myself on Stackoverflow looking at answers. What at first I found strange and proactive, I've quickly realized is unhelpful and downright toxic. It would seem, at least on the outside, GCP has a policy that Stackoverflow questions regarding their service must be answered, so engineers will happily jump in and offer a piece of their mind. In theory great. In practice, off of memory alone, here's what I've seen happen instead: ***** * Google engineers tell the user to get a reproducible case What? That's not what Stackoverflow is about. ***** * Google engineers tell the user it's a bug I don't care if it's a bug, I'm looking for a solution ***** * Google engineers spam the comment section asking if the user has found a solution yet "Hey have you tried doing X?" (2 days later) "Hey did X work for you?" (3 days later) *Posts solution suggesting X, even if you told them no repeatedly in the comments* ***** And this one is the worst - * Google engineers say the service is not designed to support doing X, meanwhile two other SO users have found a solution to do X ***** I get why they might think they're doing a service, but with very few exceptions, Google engineers are totally useless in the SO answers section. They seem to have no interest in actually helping you, and only an interest in looking like they're trying to help you, and that's a big difference. If you're ever on Stackoverflow and notice someone has a highly upvoted, GCP related comment that isn't actually useful, check their profile and see if they proudly boast to be a Google engineer. And don't feel bad giving them a downvote if it's deserved.
fedilink