sh.itjust.works

best_username_ever , to memes in Paying for advertising

But how can you show them that you bought an overpriced shirt made by a child in Bangladesh?

stoicwisesigma ,
@stoicwisesigma@thelemmy.club avatar

The problem is it's hard to hold people accountable for their actions because the liberal court system doesn't allow for it. As a fellow sigma, I don't let anyone walk all over me anymore, learned that the hard way after my wife cheated on me and took the kids. I once bought a shirt from Facebook marketplace and it had a rip in it, I sued the seller for 10 million USD in damages, didn't win the court case. When I tried to get the money back he refused to give me it in Monero. This country is screwed.

brbposting ,

Screenprint the notice right on the shirt: this shirt supports Bangladeshi child welfare

Kinda makes everyone else jerks if they’re buying clothes from makers who could afford their next meal regardless.

cjk , to Programmer Humor in Corpos being corpos

Apple deployed a library I wrote to every mac on the world, and additionally bundles it with Xcode.

Apple users reported some bugs, that‘s how I found out.

I never heard a word from them. No patches, no bug reports, nothing, they didn’t even bother to refresh the bundled version.

I think in the meantime they removed it from macOS but still bundle it with Xcode.

I mean, I didn’t any money, but some appreciation would’ve been nice, and a version refresh…

If you are curious: it is this library: https://github.com/ckruse/CFPropertyList

Edit: appreciation as in: a mail with a notice that they did so.

mattd ,

Really funny/interesting that they use an external library to handle a format that they created!

SomethingBurger ,
@SomethingBurger@jlai.lu avatar

MIT License

Hopefully, you learned your lesson.

cjk ,

Yeah, well. What should I say. I wanted to use it in a commercial project, too :)

JPAKx4 ,

I mean isn't it your library? You can make any exceptions you want lol

GreyEyedGhost ,

Here's the core issue. The developer didn't know his rights, and made a mistake. I'm not criticizing, people make a career dealing with crap like this. But if you want to make a business out of something, it's worth it to do some research or talk to a lawyer. I believe the MIT license has its place but, from what the OP said, this isn't it.

cjk ,

I did not want to make a business out of this library. I don’t want money for it.

All I would’ve wanted is that the people at Apple would’ve given me a heads up beforehand, so I would’ve been prepared for it and not caught on surprise. And a that they do a version upgrade when I release a new bugfix release.

This is not a license issue. I was well aware of the consequences when I chose the MIT license. This is not about money.

GreyEyedGhost ,

You specifically said you chose the MIT license because you wanted to use it in commercial projects. That's business, no matter how small. As the owner of the property, you could have used any and all licenses available to you. Also, if you wanted to require users of your code to attribute or notify you, you could have. If you want to be disappointed in their behavior that's perfectly fine, too. Corporations usually disappoint if you have any altruistic expectations of them.

cjk ,

Ah, that‘s the angle you’re coming from.

In this regard you are right. I could’ve chosen AGPL and use it in my commercial project nonetheless. I wasn’t aware of that at the time, and that was a mistake.

That said, I don’t expect all users to notify me. But if a company like Apple, with millions of users, exposes me to even a fraction of its users - then yes. I expect a mail beforehand. I did not sign up for this.

But I agree with your last part again ;)

Tikiporch ,

You're a good person.

Wilzax ,

Agreed. Free licenses should NEVER be applied to Apple-specific tools. They don't want to help the FOSS community, so we shouldn't help them back. Make them pay for it, or make them make their own version.

acockworkorange ,

the MIT license has its place

Garbage, that’s its pace.

GreyEyedGhost ,

A cogent argument. I'm convinced!

acockworkorange ,

Praised be the copyleft!

thevoidzero ,

You can use your library for commercial projects that you have. Just have dual license that requires payment for commercial use or something similar. You don't have to pay yourself

cjk ,

To be honest, I wasn’t aware of this option when I wrote this library. Nowadays I would chose this path.

thevoidzero ,

I think that's why Github suggests MIT as default. Unaware people will just put that. Most open source people just code things they want without thinking much on other aspects. We really need some sort of enforcement to stop companies banking on voluntary work done for the community.

Nighed ,
@Nighed@sffa.community avatar

It's probably a single dev that made the decision, then moves onto something else. They (probably?) don't have the ability to just raise a recurring PO etc to easily pay you and don't care enough to worth through the paperwork.

If you had a paid licencing model they may have done it, or just found another lib/ wrote their own.

subtext , to memes in Temperatur

I don’t think anyone knows what a C° is

Most every kid who has taken high school science should know what °C is, though

acockworkorange ,

Hence the meme face below it.

pewgar_seemsimandroid ,

down under.

RecluseRamble ,

A C degree is an okay degree.

dohpaz42 ,
@dohpaz42@lemmy.world avatar

C’s get degrees

Entropywins ,

I'm doing my best not to prove that right, but I'm proving it right... especially math. I love it, but it does not love me.

zigmus64 ,

Hey… D stands for Diploma.

B stands for “Better than I thought I’d do.”

casual_turtle_stew_enjoyer ,

And A is for Addicted to Adderall

andrew ,
@andrew@lemmy.stuart.fun avatar

Anything to the zeroth power is 1. Quick maths.

MufinMcFlufin ,

Except for 0⁰

stebo02 ,
@stebo02@lemmy.dbzer0.com avatar

seriously what smooth brain made this meme lol

xlash123 , to Programmer Humor in Happens all the time
@xlash123@sh.itjust.works avatar

Lol, it took me a while to realize it's the compiler essentially saying "how high".

Downcount , to memes in Not like that

Das Rindfleischetikettierungsüberwachungsaufgabenübertragungsgesetz

ObviouslyNotBanana ,
@ObviouslyNotBanana@lemmy.world avatar

Stör

Downcount ,

Hai!

ObviouslyNotBanana ,
@ObviouslyNotBanana@lemmy.world avatar

Hej!

lugal ,

SPRICH

axsyse ,

DEUTSCH

RmDebArc_5 OP ,
@RmDebArc_5@sh.itjust.works avatar

DU

Downcount ,

HAST

holomorphic ,

VERSCHLAFEN

Viking_Hippie ,

MICH

filister ,

That's one

Downcount ,

Since when is an article not a word?

HopFlop ,

1st word: "Das"
2nd word: "Rindfleischettiketierungs.....gesetz"

brbposting ,

"Cattle marking and beef labeling supervision duties delegation law"

Of course!

AgentOrangesicle ,
@AgentOrangesicle@lemmy.world avatar

I'm going to say Venezuela.

captainlezbian ,

It could be anywhere in South America really

stembolts , to Programmer Humor in Old timers know

This application looks fine to me.

Clearly labeled sections.

Local on one side, remote on the other

Transfer window on bottom.

No space for anything besides function, is the joke going over my head?

tiramichu ,

I'm sure there's nothing wrong with the program at all =)

Modern webapp deployment approach is typically to have an automated continuous build and deployment pipeline triggered from source control, which deploys into a staging environment for testing, and then promotes the same precise tested artifacts to production. Probably all in the cloud too.

Compared to that, manually FTPing the files up to the server seems ridiculously antiquated, to the extent that newbies in the biz can't even believe we ever did it that way. But it's genuinely what we were all doing not so long ago.

30p87 ,

manually FTPing the files up to the server seems ridiculously antiquated

But ... but I do that, and I'm only 18 :(

Poiar ,

Old soul :)

realbadat ,

Like anything else, it's good to know how to do it in many different ways, it may help you down the line.

In production in an oddball environment, I have a python script to ftp transfer to a black box with only ftp exposed as an option.

Another system rebuilds nightly only if code changes, publishing to a QC location. QC gives it a quick review (we are talking website here, QC is "text looks good and nothing looks weird"), clicks a button to approve, and it gets published the following night.

I've had hardware (again, black box system) where I was able to leverage git because it was the only command exposed. Aka, the command they forgot to lock down and are using to update their device. Their intent was to sneakernet a thumb drive over to it for updates, I believe in sneaker longevity and wanted to work around that.

So you should know how to navigate your way around in FTP, it's a good thing! But I'd also recommend learning about all the other ways as well, it can help in the future.

(This comment brought to you by "I now feel older for having written it", and "I swear I'm only in my fourties,")

JackbyDev ,

Think of this like saying using a scythe to mow your lawn is antiquated. If your lawn is tiny then it doesn't really matter. But we're talking about massive "enterprise scale" lawns lol. You're gonna want something you can drive.

aard ,
@aard@kyu.de avatar

Shitty companies did it like that back then - and shitty companies still don't properly utilize what easy tools they have available for controlled deployment nowayads. So nothing really changed, just that the amount of people (and with that, amount of morons) skyrocketed.

I had automated builds out of CVS with deployment to staging, and option to deploy to production after tests over 15 years ago.

DinosaurSr ,

after tests

What is "tests"?

towerful ,

Tests is the industry name for the automated paging when production breaks

Wangus ,

The large .war (Web ARchive) being uploaded monolithicly is the archaic deployment of a web app. Modern tools can be much better.

blackn1ght ,

The joke isn't the program itself, it's the process of deploying a website to servers.

dan , (edited ) to Programmer Humor in JavaScript
@dan@upvote.au avatar

Use TypeScript, and nonsensical things like adding arrays to objects will be compile-time errors.

CanadaPlus ,

Yup. The libraries underneath will still allow nonsense at runtime, though, and it will now be harder to see, so it's a partial solution as done in standard practice.

An all-TypeScript stack, if you could pull it off, would be the way to go.

dan ,
@dan@upvote.au avatar

Most libraries have TypeScript types these days, either bundled directly with the library (common with newer libraries), or as part of the DefinitelyTyped project.

CanadaPlus ,

DefinitelyTyped is the exact kind of thing I'm talking about. You put TypeScript definitions over things, but under the hood it's still JavaScript and can fail in JavaScript ways.

intensely_human ,

It can’t fail in javascript ways that require specific sequences of code to be written, if those sequences of code aren’t in the range of output of the Typescript compiler.

Cethin ,

So a strictly typed language.. I think those already exist.

thevoidzero ,

If there was an easy way to use rust or something on webassemly and use that instead of JS. I'd be so happy, but I can't find how to do it without npm.

ObstreperousCanadian ,
@ObstreperousCanadian@lemmy.ca avatar

It's in alpha, but there is a Kotlin to wasm compiler in the works.

MaggiWuerze ,

Does WASM do DOM manipulation nowadays?

intensely_human ,

Just use javascript and don’t try to add {} to [].

CanadaPlus ,

Well, you never try to.

ObstreperousCanadian ,
@ObstreperousCanadian@lemmy.ca avatar

Doesn't look like it, unfortunately. But it's planned. Kotlin can also compile to JavaScript with DOM manipulation. I've not tried either scenario, myself.

MaggiWuerze ,

I can't wait for the day I can use something like Kotlin to write Frontend code. Maybe there'll be something like vue or react build on it

rooroo ,

You could use Java ages ago and it was, very rightly so, abandoned.

MaggiWuerze ,

You meanbJavaFX? Yeah the web version of it never was great

CanadaPlus ,

Kotlin -> JavaScript would work. I assume there must be a Python version of that as well.

Ephera ,

We use this framework at work: https://leptos.dev

CanadaPlus , (edited )

Rust would probably be the wrong tool here. This is scripting, so pointers like Rust is built around aren't really meaningful. Kotlin or Python or something are more on the ticket.

anton ,

Websites have grown beyond mere scripting.
Rust is about more than just nicer pointers, it has a very expressive type system that enables correctness rarely seen outside FP.

CanadaPlus ,

Websites have grown beyond mere scripting.

Parts of them, yeah. WASM in Rust makes total sense.

Rust is about more than just nicer pointers, it has a very expressive type system that enables correctness rarely seen outside FP.

If you say so. I'd suggest Haskell, but it doesn't work very naturally with interactivity, either user or intersystem.

dan ,
@dan@upvote.au avatar

You can use WebAssembly today, but you still need some JS interop for a bunch of browser features (like DOM manipulation). Your core logic can be in WebAssembly though. C# has Blazor, and I wouldn't be surprised if there's some Rust WebAssembly projects. I seem to recall that there's a reimplementation of Flash player that's built in Rust and compiles to WebAssembly.

CanadaPlus ,

Yeah, ideally TypeScript would be natively supported. Or maybe just Python, which is sort-of strictly typed, and definitely won't do "wat". Alas, it's not the world we live in, and browsers take JavaScript.

dan ,
@dan@upvote.au avatar

Python supports type hints, but you need to use a type checker like Pyre or Pyright to actually check them. Python itself doesn't do anything with the type hints.

bleistift2 ,

The libraries underneath will still allow nonsense at runtime

Only if you use a badly written library. Most libraries have types provided by DefinitelyTyped. Those who don’t are (in my experience) so tiny that you probably aren’t using them; or, if you really wanted, can check yourself.

In the end, if you encounter a bug, it’ still 99% of the time not a library’s fault, even if it’s written in plain JS.

CanadaPlus , (edited )

Like I said to the other person, those are just types over top of JavaScript that can still fail if/when coercion happens under the hood.

I don't even know how to search it now, but a specific example came up on here of a time when JavaScript libraries will cause problems, and problems you can't even see very well if you're expecting it to act strictly-typed.

Schadrach ,

By that logic what we really need is a modernization of Ada, where there are no compiler warnings and anything that would generate one in another language is instead a compiler error, everything is strongly typed, etc, etc.

If you aren't familiar with Ada, just imagine Pascal went to military school.

dejected_warp_core ,

Pascal went to military school.

I'm not in love with the idea, but a language that cuts out the BS has a sudden appeal when on a group/team project.

Schadrach ,

That analogy was chosen for a reason. Ada was originally developed by DOD committee and a French programming team to be a programming language for Defense projects between 1977 and 1983 that they were still using at least into the early 2000s. It's based on Pascal.

It was intended for applications where reliability was the highest priority (above things like performance or ease of use) and one of the consequences of that is that there are no warnings - only compiler errors, and a lot of common bad practices that will be allowed to fly or maybe at worst generate a warning in other languages will themselves generate compiler errors. Do it right or don't bother trying. No implicit typecasting, even something like 1 + 0.5 where it's obvious what is intended is a compiler error because you are trying to add an integer to a real without explicitly converting either - you're in extremely strongly-typed country here.

Libraries are split across two files, one is essentially the interfaces for the library and the other is it's implementation (not that weird, and not that different than C/C++ header files though the code looks closer to Pascal interface and implementation sections put in separate files). The intent at the time being that different teams or different subcontractors might be building each module and by establishing a fixed interface up front and spelling out in great detail in documentation what each piece of that interface is supposed to do the actual implementation could be done separately and hypothetically have a predictable result.

not_that_guy05 , to memes in Pokémon NO

How you going to become a Pokemon master if you don't accept the challenges?

deus ,

You can't become the very best if you are dead, now can you?

MustrumR ,

Loser mindset, skill issue.

idunnololz ,
@idunnololz@lemmy.world avatar

There is a legendary pokemon waiting to be caught at the top of the tornado.

WhiskyTangoFoxtrot ,

No, that's a cow.

idunnololz ,
@idunnololz@lemmy.world avatar

Legendary flying cow

milicent_bystandr , to Programmer Humor in Corpos being corpos

Make your MIT-licensed library big enough that the corpos use it, then switch it to AGPL just before you add a really important and tricky feature they've been waiting for.

Z3k3 ,

The rich text editor my work uses in its product dud this 🤣

While they are looking to jump to something else they will get at least 1 or 2vyears worth of fees out of them

alexdeathway ,
@alexdeathway@programming.dev avatar

Ckeditor lol?

Z3k3 ,

Bingo

Naich , to Programmer Humor in It's called attaining divinity
@Naich@lemmings.world avatar

I have programmed by looking up op codes in a table on a sheet of paper and entering the hex codes into an EPROM programmer.

steersman2484 ,

Did the same in school on a Z80

kionite231 ,

You are.... Old?

Naich ,
@Naich@lemmings.world avatar

Fucking ancient. This was for a Z80 based system using discreet logic for addressing and IO, constructed on a wire-wrapped board.

dirtySourdough ,

Oh that's interesting. I started poking around with a Gameboy emulator guide implemented in Python that intended to emulate a Z80. Got any good resource recommendation in case I decide to pick this back up and inevitably get stuck?

umbrella ,
@umbrella@lemmy.ml avatar

i still have a z80 reference manual on here somewhere

Valmond ,

Same, and also for the C64 :-)

grandma ,

Did this in university in the very first week, quite a few people dropped out after that 😅

01101000_01101001 ,

Ah yes, the great filter

notabot ,

Ah, memories. That was me on a Spectrum. It's all fun and games until you forget to save (to tape) and your code hangs the machine, losing everything.

A_Very_Big_Fan ,

You're a god amongst men around these parts.

GenosseFlosse ,

When I was young, we didn't have hex codes, we only had 1 and 0s. One time we where all out of 1s, and I had to code a whole Database system with only 0s!

Cethin ,

If you want some modern day fun with this, try the Zachtronics programming games; TIS-100, Shenzhen I/O, and Exapunks.

Or, my personal favorite I only discovered somewhat recently, try Turing Complete. You start by designing all your logic gates from just a negate gate IIRC. You eventually build up an ALU and everything else you need and then create your own computer. Then you define your own assembly language and have to write programs in your assembly language that run on the computer you've designed to complete different tasks. It's a highly underrated game, although it takes a certain type of person to enjoy.

WldFyre ,

Turing Complete looks really interesting! How polished is it? Just looked it up and saw it was in early access

Cethin ,

I would say it's very polished. It does everything you'd expect and has some nice QoL features. There was work on a big update that'd improve performance and things, but the last information about that was from Aug of last year as far as I can tell. That's not a big deal though. The game works fine without it.

WldFyre ,

Thanks! I'll try it out over 4th of July weekend!

Zangoose ,

Another interesting low-level interpreter/emulated system to look into for anyone else trying to get started with this type of thing is the CHIP-8! It's a pretty basic 8/16-bit instruction set (there are 35 opcodes, the instructions themselves are mostly simple) and there are tons of detailed guides on making one and writing roms for them.

Sam_Bass , to memes in It do be like that

Would actually love to do that. I just have an extreme aversion to knowingly shooting myself in the foot

RGB3x3 ,

Me too. The only jobs I apply to are ones I really want (obviously), so doing this just hurts my chances of getting them.

But I absolutely hate this bullshit.

Sam_Bass ,

Yeah its annoying as hell most times

the_third ,

Eh, sometimes I apply to jobs I don't really care too much about, just to go through the process and see what the market is like without any stress. I can recommend. And once that even turned out to be a good thing and I stayed, who knows.

Before anyone complains, the companies put out job descriptions they're not really serious about either, sometimes to just meet candidates they could maybe use elsewhere, sometimes just to make themselves look good towards their competitors. Play that game, get your time wasted for my "training", I don't feel to t bad about that.

FlyingSquid ,

Some companies and institutions also have policies that they have to put out a public employment ad even if they plan to promote someone internally.

RecluseRamble ,

But you would edgily shoot you in the foot!

robocall , to Memes in No Kevin
@robocall@lemmy.world avatar

I would be consumed with guilt if a dog wanted to come in to sleep and I shut the door on it. I'm not even a dog person.

Flughoernchen ,

I'm absolutely a dog person, still I wouldn't allow dogs in my bedroom, let alone on the bed. While the first is just a bit bothersome, I think the second one to be pretty icky.

noGold ,

My dog sleeps exclusively on my bed. I even sold hers, she never used it

whostosay ,

Fair weather dog person, you welcome that infinite ball of heat into your bed and you will like it.

psycho_driver ,

Yeah unless they're like my little 25lb furnace who manages to push 250lb me to the very edge of the bed every night.

Guy_Fieris_Hair ,

You are not a dog person.

histic ,

What are you worried about be watched by them? Unless they are farm dogs and are dirty af then understandable

Numenor ,

Why is the dog left in the house without the owner?

Sirence ,

Doubt it's without the owner, might be a two story building with one floor being an airbnb and the other the owners flat or some similar setup.

MissJinx , (edited )
@MissJinx@lemmy.world avatar

For sure! Went to visit my cousin and she doesn't allow her puppy on her bed... well guess who had company sleeping all week? We snugle out every day! You crazy if you thin I'm gona lose the opotunity to sleep with a dog!

TheFunkyMonk ,
@TheFunkyMonk@lemmy.world avatar

I’d pay extra for Kevin.

frostysauce ,

I hate dogs and would hate to be in an Air BNB where there was a dog about. But fuck yes, Kevin, if you're lonely you still deserve to be treated well. Let's go to bed, Kevin.

Andromxda , to memes in Pokémon NO
@Andromxda@lemmy.dbzer0.com avatar

As a European, I find it insane to have an app that warns you about gunshots, like wtf

Brickardo ,

Also works by exchanging European by almost any other nationality

Andromxda ,
@Andromxda@lemmy.dbzer0.com avatar

True

ibt3321 ,

Most of the reports are unfounded in these apps. The EFF wrote about them:
https://sls.eff.org/technologies/community-surveillance-apps

TimewornTraveler ,

hey now it's just philly

Empricorn ,

As a gun-owning American, I agree with you.

fuckwit_mcbumcrumble ,

It's not like the app only does that. It warns you about all emergency alerts in your area. https://citizen.com/

Andromxda ,
@Andromxda@lemmy.dbzer0.com avatar

Yeah I know, but god damn just getting a notification about gunshots is fucking crazy

Entropywins ,

Listen to emergency/police scanners you might be surprised what goes on in your area...hopefully not though!!!

efstajas ,

I really wish I could but unfortunately in Germany all police chatter is encrypted, and even if you could run a scanner it's super illegal

Imgonnatrythis , (edited )

As a Chicago resident so do I. Just listen for the screams and shot reverberation off the nearby buildings. It doesn't take much practice to hone it down within 50yards or so. Don't need no app.

Andromxda ,
@Andromxda@lemmy.dbzer0.com avatar

I've been to Chicago once (visiting a family member), it's absolutely crazy. I could never even imagine living like that. Never before in my life have I been genuinely scared that if I left the house at night, I wouldn't come back alive.

chatokun ,

I've also been to Chicago once (going to an Anime con up there; was a meet up for AMV creators worldwide, and while I wasn't one my brother was), but it was a chill and nice experience for me. The last time I heard gunshots was actually this past new years, when my neighbor fired off like 12-15 shots during fireworks (GA, not in Atlanta but not too far either).

hector ,

What is it like in Chicago? It’s really THAT bad?

(I’m an European)

Andromxda ,
@Andromxda@lemmy.dbzer0.com avatar

It's pretty normal during the day, but at night, once you hear gunshots a few blocks away, I would really avoid going out. I've never seen something like this before.

icydefiance ,

Statistically no, it's not very dangerous as far as big cities go. Its homicide rate is ranked 30-something in the USA. Pretty much every city has "bad areas", though.

rustydrd ,
@rustydrd@sh.itjust.works avatar

Not an app, but here in Germany we have a public warning system that broadcasts an alert to all phones in an area in case of catastrophic events. Happened twice in my city since I moved here two years ago. Once for a mass shooting, and once for an accident at a chemical plant.

Andromxda ,
@Andromxda@lemmy.dbzer0.com avatar

I know about cell broadcast, it's common in many countries. But where the fuck do you live that you get so many alerts?

snf ,

Is that specifically what it is? I thought it was just a news alert

Squiddlioni , to Programmer Humor in Like getting 9 women pregnant and expecting a baby in 1 month

It's called Brook's Law. It takes a lot of time and effort getting people up to speed, and that takes experienced devs away from coding. You also have to get them credentialed, teach them the tools, need extra code reviews/testing/bugfixes while they learn the quirks and pitfalls of the code base, etc. In the long term you'll be able to get more done, but it comes at the cost of short term agility.

SpaceNoodle ,

This, except for bullshit credentials.

Squiddlioni ,

Maybe "credentialed" wasn't the right word. I was thinking of software licenses and access to third party tools and systems. Probably not as big a mess in game dev as it is in government.

IsThisAnAI ,

You mean you didn't enjoy sitting there when your thumb up your ass while you wait 6 months for a background check and another 6 months to get your GFE? Crazy!

Tar_alcaran ,

Yeah, it happens everywhere, all the time. And the main cause of it is, surprise surprise, people who have no technical understanding of the subject matter.

doublejay1999 ,
@doublejay1999@lemmy.world avatar

If you have a troubled project, and you add more people, you have a bigger troubled project.

It’s a common trap for project managers … and in fact some pretty high brow projects blew up because of this.

When you are called in front of the board, and they say:

“Hey, your project is late, we get it, it’s not your fault, but we have to deliver on the 1st of the month. - and so we’re giving you our 10 best men to get it done”

I can tell you, it takes a certain amount of testicular fortitude to say “That won’t work”. More than I had at the time , in fact.

Transporter_Room_3 ,
@Transporter_Room_3@startrek.website avatar

My anecdote isn't quite the same since it deals with something a lot simpler, and lower stakes than stuff like this.

used to assemble bicycles for a sporting goods chain, and had to travel to a nearby city to build theirs because nobody there knew how. I had two days to get 300 done.

I got there and start, and about two hours in the store manager comes over and tells me he's pulling 2 of their operations employees to help and learn how to build. "they're the strongest guys we have so they should have no problem tossing these bikes around"

I straight up told him I have no time at all to train them on how to build and do the safety inspections correctly, not to mention the fact that I will still have to personally inspect every single one they put together anyway, so if they want to give me help I'll take it but they're on trash duty. Remove all the packaging, put the bike next to my work area, toss the trash. I will build. If there's extra time at the end I will be happy to instruct everyone in the store how it's done. Or even put me on the schedule for next week to do it.

Dude got pissy and wanted me to train people first, so I just called the district manager while he was talking and had him tell the guy to do what I said because I'm here at corporates request and if I don't get the bikes finished in time then "it will look bad on your store's next visit if the bikes are still boxed up"

In the end I got all of them done with about 3 hours to spare, so I spent the rest of the time teaching a couple people how to do it.

jaybone ,

Holy shit. In an 8 hour day that’s like 20 bikes an hour. So that’s a bike every three minutes. How is that even possible?

Transporter_Room_3 ,
@Transporter_Room_3@startrek.website avatar

Lol I wish it was just an 8 hour day.

More like 12-14 hours, and with the experience I had I was able to build most in about 6-7 minutes.

There's downsides to speed building like that, because whoever has to inspect it when it gets sold has to spend a lot longer fixing minor problems.

If I were building at my own store, each bike took about 20 minutes because I made sure everything was as close to "ready to ride" as possible.

Nowadays I bulk build for many companies. They don't give a shit about quality but I spent years making sure my bikes were perfect, so I still like to make them good to ride out the door.

my quickest bike was one particularly well put together model. 3 minutes per bike and it was good enough that I'd ride one without tools to the nearest store a few miles away.

kibiz0r ,

but it comes at the cost of short term agility

Often long-term agility, as well.

Big teams are faster on straightaways. Small teams go through the corners better. Upgrading from a go-kart to a dragster may just send your project 200mph into a wall. Sometimes a go-kart is really what you need.

SeeJayEmm ,
@SeeJayEmm@lemmy.procrastinati.org avatar

I just wanted to say I loved your analogy.

TheKracken ,

Some go karts have 2 seats and that's ok.

Ephera ,

Currently in a project, where for strategic and unrelated reasons, we ended up with 4 new juniors and had to hand off one senior. In a team that consisted of merely 3 people before.

So, it's just me and another guy having to constantly juggle these juniors to push them back into the right direction and review whatever code they ended up with.
It's so frustrating, because while I'll gladly pass on my knowledge, the project has basically ground to a halt.

There's so many tasks me and the other senior would like to just quickly tackle. Which should just take a few days, no big deal. Oh no, I rarely get a day's worth of work done in two weeks. The rest is just looking after the juniors, who cannot tackle many of the actual crucial tasks.

And it's not even like the juniors are doing a bad job. Frankly, they're doing amazingly for how little support we can give them. But that doesn't stop the project from falling apart.

darkpanda ,

“What one programmer can do in one month, two programmers can do in two months.”

rhpp , to Programmer Humor in void *

Actually void* just points to anything, with no regard to the type of that thing. Pointing to the void is more accurately described by NULL pointer.

tunetardis ,

Fair, though I guess my interpretation was that void* is kind of like a black hole in that anything can fall into it in an unsettling way that loses information about what it was?

Traister101 ,

It erases the type of what your pointing at. All you have is a memory location, in contrast to int* which is a memory location of an int

frezik ,

"Allow me to combine the worst feature of strong typing with the worst feature of dynamic typing".

marcos ,

But we need dynamic types!

...hold my beer...

riodoro1 ,

Result: one of the most if not the most popular programming languages.

neo ,

So, when I want the void to point back at me, do I have to loop over void* or over NULL?
And how many iterations?

programmer_belch ,
@programmer_belch@lemmy.dbzer0.com avatar

For the void to point back at you just dereference the NULL pointer

sus ,

as many iterations as it takes

void* x = &x;
char* ptr = (char*)&x;

while (1) {
    printf("%d\n", (unsigned int)*ptr);
    ptr--;
}
mox ,

In other words, void refers to the typing of the pointer, not a particular value that might be present at its target.

(But I can see how someone might find it confusing.)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • kbinchat
  • All magazines