programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

poVoq, in :q! to quit the Force
@poVoq@slrpnk.net avatar

Looks like they are playing Frets On Fire 🤣

schmidtster, in Programmer tries to explain binary search to the police

I get the sentiment, but you want them to waste public resources doing it on all these different clunky uis and software? Sometimes these take minutes to load new information to parse.

Maybe waste your time pinpointing it instead of expecting public resources to do what you could do for them?

new_guy,

I mean… their job supposedly is to protect and serve the citiens so yeah… I’d expect them to use their tools to do their job.

schmidtster, (edited )

It’s your software/hardware and you know how to operate it. Would take you a fraction of the time as well.

Maybe public cameras sure, but private that’s not their tool by any stretch of the imagination.

And most public cameras don’t record for privacy reasons.

GBU_28,

What? It was a campus security camera, not their hardware

bleistift2,

It’s your software/hardware

Where do you read that in the original post?

OmenAtom,

In what world do random citizens own and operate the security cameras of, well, anything? As opposed to the people that work there, or I dont know the police? Whose job is allegedly to solve crimes?

BombOmOm,
@BombOmOm@lemmy.world avatar

on all these different clunky uis and software

As someone who has used security cam software before. I swear they are designed to be as unhelpful, slow, and convoluted as possible.

NoIWontPickaName,

So I should do their job for them?

Why the fuck are we paying them then?

Deceptichum,
@Deceptichum@kbin.social avatar

Oh shit, a few minutes to do their job. The fucking horror, wouldn’t want to cut into their being an utter fucking bastard time, where they’re probably harassing a minority or beating their wife.

schmidtster,

It’s public money, why waste it when you could provide it for them.

But argue fallacious points.

slurpeesoforion,

Chain of custody

NoIWontPickaName,

Because it is their job to do it.

frezik,

Who is “you” in this sentence? I mean, I could probably write security camera software, but I don’t, and have no plans to. I imagine most of the people here are the same.

Crackhappy,
@Crackhappy@lemmy.world avatar

So when there is a pothole in front of your driveway, you’re going out and filling it in yourself, right? Because why waste the city’s valuable time when you could do it yourself?

schmidtster,

If it’s in your driveway it’s your problem, yes.

Aatube, (edited )
@Aatube@kbin.social avatar

They said in front. So right after you go out

Even if it was in your driveway, unless you’re a cement construction worker you’d probably have no way to fix it and contact somebody

SpaceNoodle,

Oh, so your excuse is that you’re illiterate?

Deceptichum, (edited )
@Deceptichum@kbin.social avatar

Okay so genius, are the cops going to provide the footage for the person to watch themselves to narrow down the time?

How the fuck do you expect this person to work it out if the ones with access to the evidence to do so refuse to do so?

And further fucking more, how is doing their job, wasting public money? There’s a lot of money wasted on police, investigating a robbery for a real person is not one of them.

gregorum,

That’s an interesting way to say that they shouldn’t get paid if they’re not doing their jobs. 

kryptonianCodeMonkey, (edited )

Yeah, every time I have ever had to hand over footage to the police for thefts at our family store, I clip and organizr that shit. I also include a paper identifying each file, the timestamps and what happened during them, any details I identified that they can corroborate (physical description, identifiable clothing/tattoos, make and model of vehicle, license plate number, etc.). I often end up putting in 1-2 hours of work on it watching, editing and transferring footage.

If you want traction and results from the police, you need to make it as easy as possible for them by doing the heavy lifting yourself. The cynical view is that thats because they just don’t care, but also, in fairness, your case is one of dozens of cases on their desk and the cases never stop coming. This is your priority, so put in the effort instead of expecting others do so. That being said, that is much easier when you have direct access to the cctv footage. I’m guessing this student didnt.

bruhduh, in Dev rule
@bruhduh@lemmy.world avatar

New AAA games be like

xx3rawr, in Programposting

No children, no maiden

Matombo, in Welcome to the wonderful world of code obfuscation

Ok another US local units are retarded rant: it’s called weekEND! why do you start your week at sunday and not monday! Sunday is part of the weekEND!

DeltaTangoLima, in Debugging
@DeltaTangoLima@reddrefuge.com avatar

My biggest problem isn’t discovering my own crime. It’s trying to determine what my motive was at the time.

Gormadt,
@Gormadt@lemmy.blahaj.zone avatar

Usually my motive is, “It’s 3am I’ll just put this temp placeholder here and fix it in the morning.”

Proceeds to not fix it due to forgetting by the morning

xmunk, in Welcome to the wonderful world of code obfuscation

As a Real Programmer™ I have developed such a deep fear of anything time and date related that I would fully endorse dispatching an API call to the tz_database instead of attempting any fucking part of this.

Kids, it’s fine to meme about silly stuff… but date and time is deadly serious, regardless of how careful you think you’re being you are wrong.

Do you know how many timezones there are in Indiana? No? Look it up and scream in horror.

AndyLikesCandy,

Here’s a fun thought experiment: What gregorian year and date will the spacian date value of zero correlate to? Trick question.

The atomic clock on the moon and every other celestial body colonized will simply start at zero, and thanks to relativity it will not actually be the same rate of time passing as on earth.

Enjoy your nightmares.

sunbeam60,

What if I told you that weekend days are locale dependent?!

Time and date is the black hole where optimistic programmers go to die. Nothing is simply with localisation and if you think it is, you mustn’t have worked enough with it.

Source: Run a system that schedules millions of interactions across the world and deeply depend on this. The amount of code to manage and/or call out to external services to give us information about time zones, summer time, locale specific settings, day names, calendar systems, week numbers etc etc.

kogasa,
@kogasa@programming.dev avatar

IMO every datetime should be in utc, and variables for datetimes should either be suffixed “Utc” or have a type indicating their time zone (DateTimeOffset or UtcDateTime etc). Conversion to local time happens at the last possible second (e.g. in the view model or an outbound http request parameter). Of course that doesn’t solve the problem of interoperating with other morons programmers who don’t follow these rules, but it keeps things a lot neater locally.

Scheduling based on regional time conventions (holidays, weekends, etc) is just not great though.

DAMunzy,

2 timezones but the complication is that it is dependent on which country you’re in?

backhdlp, in The classic font size exploit
@backhdlp@lemmy.blahaj.zone avatar

Everything looks like hacker with syntax highlighting

xmunk,

Just so long as it’s in dark mode. Light backgrounds burn my eyes after spending so much time in my mom’s basement subsisting only on hotpockets and grits straight off Natalie Portman.

magic_lobster_party, in Show me a better text format for serializing

JSON for serialization all the way. It’s simple and to the point. It does one thing and does it well. There’s little room for annoying surprises. Any JSON can easily be minified and prettified back and forth. If you want it in binary format you can convert it to BSON.

Yaml is too much of a feature creep. It tries to do way too many things at the same time. There are so many traps to fall into if you’re not cautious enough. The same thing can be written in multitudes of ways.

survivalmachine, in GTA 5 Java Coffee shop

This is great! When I play GTA, the only thing I want is HOT COFFEE.

fibojoly, in Programming: The Horror Game

Anti-peeking filter is looking dope! Nobody will be able to look at my screen anymore, me included!

XEAL, in The Perfect Solution

LOL I made something similar to identify the language of a text.

KSPAtlas, in Every goddamn time
@KSPAtlas@sopuli.xyz avatar

me when i connect to an ssh server

blakeus12, in Fitbit Clock Face
@blakeus12@hexbear.net avatar

im confused as to why it doesn’t use variables? this is pretty interesting to see though

settoloki,

In JSON the value on the left would be the variable name the value in the right of the pair is the value.

z3rOR0ne, in You can have anything you wan...
@z3rOR0ne@lemmy.ml avatar

I’d just wish to not be in Hell talking to Satan… I mean, literally anywhere else talking to literally anyone else is by definititon a better situation to be in.

To all contradictory replies, I said NOT be in Hell.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • programmer_humor@programming.dev
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #