There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

lemmy.ml

Auzy , to programmerhumor in Use a old version of a library with a known defect

On Friday, wrote some new helper code for the templates we use for development because I did a search of the code and couldn’t any such code there. Wasted 20mins writing it

An hour later, found I wrote the functions but had simply put them in a different spot :/

Artyom , to programmerhumor in Use a old version of a library with a known defect

A few weeks ago, on Monday morning, I was looking through a PR I was working on and decided to make a ticket to write a new function that would be super useful for my current work. I then leave for meetings for the day, then come back in the afternoon and find some time to write some code, and lo and behold, I see exactly the function I wanted was already written. I wrote it at 4:00 on Friday, docstring and everything, 72 hours before I wrote a ticket to create the function. Until rereading it, I had no memory of writing it.

palordrolap ,

Personal project a while ago. Had an idea in my head that I needed to rewrite using a particular language feature but had been putting it off because I couldn't quite wrap my head around the implementation details.

Eventually decide to sit down and plug away at it. Find the code already uses the language feature.

I had either written it with that language feature in the first place or had been back at some time I don't remember and done the work I didn't think I was capable of doing.

I could still be convinced that it was done by pixies or the whatever might be the programming equivalent of shoemaker elves.

shootwhatsmyname , to programmerhumor in Use a old version of a library with a known defect
@shootwhatsmyname@lemm.ee avatar

this sounds personal, are you ok op?

vvvv OP ,

I am perfectly fine. It’s just another day of being a completely normal programmer. Thanks.

shootwhatsmyname ,
@shootwhatsmyname@lemm.ee avatar

blink twice if you’re in danger

threelonmusketeers ,
Dirk , to asklemmy in What Major Social Media Platforms Would You Like To See Federated Alternatives To That Don't Exist Yet?
@Dirk@lemmy.ml avatar

Tiktok

The problem with video content (even short videos) is, that it generates an absurd amount of traffic and needs lots and lots of local data storage. This is also why there are so few PeerTube instances.

PeerTube would be a way to publish your short clips, too. Not as specialized as TikTok, but still …

Plopp ,

Yeah the data is an issue for sure. I wonder if torrents of some kind would help making it more doable, where viewers (on computers, not phones) build up a cache from which they also seed. Like Spotify did when they started out.

taladar ,

I think you are looking for something like ipfs.

ShellMonkey ,
@ShellMonkey@lemmy.socdojo.com avatar

en.m.wikipedia.org/wiki/ZeroNet

Something similar to this might help disburse the load required for peertube. What sites you read you host in return, very much like with bit torrent with a presentation layer tacked on top.

SubArcticTundra ,
@SubArcticTundra@lemmy.ml avatar

I think the cache would also have to partially be on phones. If users are to ‘pay’ for using the network by caching/redistributing part of it, since most people access the web from phones

nilloc ,

Yeah viewing devices would all have to share hosting duties. I’m sure it could work, and popular/viral videos would serve well as the demand would be spread across the most devices as well.

There would still have to be dedicated seed servers for long tail content though I imagine.

jeremias ,
@jeremias@social.jears.at avatar

Also tiktok really only makes sense with a big algorithm knowing what users want to see. Even if you were to follow many people, with the average video being only about 30 seconds long you won’t have much content to enjoy. The whole short form video thing is kinda built on knowing what your user likes and doesn’t. I don’t know how you could design such a platform without some privacy concerns.

sxan , (edited )
@sxan@midwest.social avatar

I don’t know how you could design such a platform without some privacy concerns.

Yes, yes you could.

Companies like Google have successfully brainwashed us into believing that algorithms like this can only work on their server farms. The only reason those werver farms are necessary is becauwe they’re processing data for millions of people.

We forget that in each of our hands we hold a device that is 5,000 x more powerful than a 1985 CRAY-2, at the time the world’s fastest supercomputer. And let’s not forget our home desktops and laptops, which are several times more powerful that that.

We each have devices with persistent internet connections that could be at work scanning, categorizing, and filtering personalized content for each of us, without giving any privacy away. It’s only because we’ve been conditioned to be dependent on having our data centrally processed that we believe that’s the only way.

Note, it is more efficient to process content centrally, where the data is stored. However, generalized categorization and content tagging with robust metadata and standardized APIs would address the efficiency. Given companies are unlikely to do this and scupper their own surveillance revenue, the next best thing is local, privacy-respecting, smart content filtering assistants.

1984 ,
@1984@lemmy.today avatar

Are you Richard from Silicon Valley TV show? :)

Zak ,
@Zak@lemmy.world avatar

Those sound like good ideas in theory, but your phone’s battery would last about 2 hours if you did this.

The heavy lifting, like tagging the content of millions of videos probably needs to be done somewhere other than the end-user’s mobile device. Some sorting and filtering of text-based metadata on the user’s device to pick what videos to see next is viable though.

sxan ,
@sxan@midwest.social avatar

True, although it would probably not be so bad for the textual content. CPU load for indexing would be relatively low, and the average phone is dumping tons of data over the network to Google, Apple, and whomever else for these same end-result “benefits” already.

But, regardless, ideally, -ou don’t do it on your phone. You pay $10/m for a VPS that does it, and delivers it to your phone via push notification + fetch – same way it’s done now, but without the middle man.

It’s not a solution available to the average Joanne, although it’d be easy enough to achieve. The problem is that there’s no incentive for anyone to make these appliances: most people don’t understand what they’re sacrificing, or don’t care. And while it’s a relatively small amount of work, it’s a large effort for a few OSS devs to take on, and it’d require at least some support infrastructure, apps, and so on to be truly turn-key for The Public. And so, instead, we have TikTok.

UNWILLING_PARTICIPANT ,

I’m fine with requiring users to tag their own content if they want it to be discoverable. Like if you want to tell people “hey I’m talking about pixel art over here!” just add to your thing.

If you don’t want to shout it loud for all to hear that’s fine too. Not everything needs to be indexed, cached, and highly available to all who might potentially, possibly want to see it.

UNWILLING_PARTICIPANT ,

Algorithm doesn’t have to be a secret engagement sauce. It can just be based on an editable list of the user’s preferred tags and keywords with associated weights.

No need to get more complicated than that because you’re not trying to juice their “engagement” since their are no ads to show them.

Although I’m not even sure if infinite shorts make sense without a company pulling the strings for their own motive. But maybe it’s just not my thing

eek2121 ,

There are hosting providers that offer unmetered bandwidth.

Sure, setup complexity is higher, but it is definitely doable.

I have thought about such a project as I also have access to relatively inexpensive 20gbps fiber, but lack the funding currently to do it.

Maybe one day…

DrQuint ,

This is why I expect the video side of things to be more on the level of stream channels that self-host content with subscriptions for access to VoDs, rather than singular big platforms. Streaming in of itself is a lot of traffic too, but you have much bigger RoI per bandwidth spent with live viewers, and you cut down the storage requirements with limited VoD access too.

The only problem then becomes discovering these channels from the rest of the federated space, but honestly, either that will be a problem that will be solved by the space in a more general manner (oooh, imagine the return of web rings! Lol) or… It will end up being an issue that doesn’t matter. Like right now, still coming from video games, MinnMax and Second Wind are two creator-owned platforms that appear to be relatively unpopular, with short amount of thousands of views, except they run off of donations on Patreons and the viewers they do have keep them afloat with a good decent margin.

Witchfire ,
@Witchfire@lemmy.world avatar

Same with Instagram. I’m a performer and rely on it for outreach and promotion but absolutely HATE the platform to no end. And this is a common sentiment among all performers. It is a garbage platform that comforts Nazis and pedophiles but bans the hashtag and puts your account in jail for using it.

Unfortunately, PixelFed has almost no one on it and reaching a local audience is impossible, so there’s no point in switching. We have to go where the people are :(

s12 , to programmerhumor in Someone pushed the wrong thing to production...

I don’t get it. How can we tell this is in prod?

Ephera OP ,

You can’t tell that from the screenshot, but I can tell you that I took this screenshot on my Linux box, while upgrading my system packages as an end-user.

I believe, the problem comes from a community repo I added, which doesn’t have to adhere to quite the same quality standards, but evidently they have some distinction between build envs and production envs, and well, I’m at least hoping that my laptop isn’t deemed a build env… 🙃

s12 ,

Ah! So build implies non-production?

Ephera OP ,

My usage of the word “production” was a bit non-standard here, in case that confuses you.

Normally, it’s used for hosted services, where you have the three hosted environments “development”, “integration” and “production”.

In this case, I’m guessing, it’s rather the case that they had a build configuration for running it in their “build-env”, so probably a CI/CD runner. And then there would be a different build configuration for when they’re creating a release distribution.

In a very abstracted sense, the “production” environment is where you roll out your release distribution to, so if you will, my laptop is one of thousands of production environments for this application, but only tongue-in-cheek…

justin , to unixporn in [Hyprland] Post-punk vibes
@justin@lemmy.kde.social avatar

It’s basically GNOME.

chevy9294 ,

I love Gnome’s look, but this is better.

reddithalation , to lemmyshitpost in Am I still in time to jump on the Taylor Swift train... *ahem*... plane?

that plane is cooler than taylor swifts plane though

OhStopYellingAtMe ,
@OhStopYellingAtMe@lemmy.world avatar

Boeing KC-135 Stratotanker:

  • supported by massive powerful fans (jets)
  • needs an entire staff to operate effectively
  • mostly liquid by volume
  • flies everywhere
  • I’ve been inside one

Taylor Swift:

  • supported by massive powerful fans (swifties)
  • needs an entire staff to operate effectively
  • mostly liquid by volume
  • flies everywhere
  • I’ve never been inside Taylor Swift. :-(

Yup. The Stratotanker is cooler.

flambonkscious ,

Quality list, for real

Garak ,

For a second I was hoping it was gonna be an elaborate humble brag.

Tangent5280 ,

Quality shitpost, bravo!

corsicanguppy , to programmerhumor in Use a old version of a library with a known defect

A known defunct WHAT?

Stroke meds run out?

clb92 ,

Probably meant defect.

vvvv OP ,

Yes, that’s a more proper word. I think I meant that one. Maybe just I should just use bug. Thank you. English is not my first language.

dylanTheDeveloper , to programmerhumor in Someone pushed the wrong thing to production...
@dylanTheDeveloper@lemmy.world avatar

The worst is when some mfr pushes code that doesn’t compile so when you get latest the whole build is broken

astrsk ,
@astrsk@kbin.social avatar

CI and basic PR rules should gate this entirely… this should never be a problem.

Sylvartas ,
SpeakinTelnet ,
@SpeakinTelnet@sh.itjust.works avatar

No needs for pull requests when you commit directly to main.

eager_eagle ,
@eager_eagle@lemmy.world avatar

also remember to use --force when pushing, your colleagues will love you

SpeakinTelnet ,
@SpeakinTelnet@sh.itjust.works avatar

<span style="color:#323232;">git rebase -i --root
</span><span style="color:#323232;">git commit --amend --no-edit
</span><span style="color:#323232;">git push --force
</span>
DmMacniel ,

use the force Luke!

dylanTheDeveloper ,
@dylanTheDeveloper@lemmy.world avatar

Working in a startup is truly an experience

hex123456 ,

You owe 2 tokens to the “should jar”.

FlyingSquid , to lemmyshitpost in Am I still in time to jump on the Taylor Swift train... *ahem*... plane?
@FlyingSquid@lemmy.world avatar

I assume her dog’s plane has a smaller plane to follow it around to pick up plane poop.

SirQuackTheDuck ,

PoopDrone™

Bronco1676 ,

No this is america, you see the missiles that are mounted to the dogs plane? The poop just gets shot to the moon.

pH3ra OP ,
@pH3ra@lemmy.ml avatar

The poop gets shot to Syria

mods_are_assholes , to lemmyshitpost in Am I still in time to jump on the Taylor Swift train... *ahem*... plane?

wait till all of you realize these memes were started to punish Taylor Swift for the crime of encouraging the youth to vote.

But you keep perpetuating it just like the hard right trolls want you to do.

SnotFlickerman , to memes in Where midlife crisis Yoda is?
@SnotFlickerman@lemmy.blahaj.zone avatar

https://lemmy.blahaj.zone/pictrs/image/aaa4e43f-8088-4529-a08f-c2ccfd587cb9.jpeg

Sexy Yoda (if we’re pulling random Gremlins from Gremlins 2)

wesker ,
@wesker@lemmy.sdf.org avatar

We don’t sexually objectify Yoda here.

SomeBoyo ,

Yogurt on the other hand…

DmMacniel ,

I hate Yogurt!

1984 ,
@1984@beehaw.org avatar

“I don’t like yogurt. It’s cold, runny, and it gets everywhere.”

VaultBoyNewVegas ,

Yaddle’s ok though.

unreachable , to programmerhumor in Use a old version of a library with a known defect
@unreachable@lemmy.world avatar

when you didn’t realise that you’ve changed the world all this time

tubaruco , to memes in Where midlife crisis Yoda is?

that thing looks like jurassic park dilophosaurus

RedQuestionAsker2 , to memes in Boycott the triple-A games industry
@RedQuestionAsker2@hexbear.net avatar

I’ve been passively boycotting AAA games for years now because they all suck* and I don’t want to play them anyway

*Exceptions may apply

MilkLover ,

Closest one I’ve found to a AAA studio that doesn’t suck is Techland. Dying Light 2 was a very underwhelming release, but at least they’ve mostly fixed the game and are still updating it and listening to the community.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines