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.

programmer_humor

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

Bishma , in Is this a Nut?
@Bishma@discuss.tchncs.de avatar

Whatever the Tiger 2-XL was “programmed” in, it’s the best.

WhiskyTangoFoxtrot ,

Thought this was a YTP at first.

Bishma ,
@Bishma@discuss.tchncs.de avatar

No, just an early 90’s toy commercial. Which is probably a video genre of it’s own.

Kolanaki ,
@Kolanaki@yiffit.net avatar

It feels like it with how often YouTube keeps recommending me channels of nothing but commercials from the 90’s.

xmunk , in POV: Working at Google

Excuse me, that else should be elseif( user.region != ‘eu’ )

bjoern_tantau ,
@bjoern_tantau@swg-empire.de avatar

Google: “Haha, hahaha, no.”

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

elseif( user.region = ‘eu’ ){ SecretlyCollectData(user)}

JohnEdwa ,

Would be neat if Google got caught with a GDPR violation, the max fine is 4% of your global revenue, which for Google would be 12.2 billion.

So far the biggest has been Meta who was hit for 1.2 billion.

Anticorp ,

Else if (EU) {be annoying while collecting data;}

raldone01 ,

No then they just don’t show you that they have your data…

FriendBesto , in Good luck speed cameras

This is awesome. Saved. LOL

AVincentInSpace , in Is this a Nut?

Java: “Sorry, but the developers of Peanut didn’t declare it to implement the Crackable interface, even though it has all the relevant methods, so if you want to treat it like a nut your choices are write a wrapper class or call those methods using Reflections”

sjmarf OP ,

Swift’s extensions system has spoiled me, and I feel the pain of this whenever I have to write Java

loutr ,
@loutr@sh.itjust.works avatar

You should take a look at kotlin, pretty similar to swift and fully interoperable with java.

AVincentInSpace ,

Ditto, but Rust’s traits. God those are so fun. It’s like duck typing a la Python but you can just slap whatever methods you want on a foreign type without worrying about breaking anything because they’re only visible to the current crate (or other crates that import the Trait)

LillyPip , in Good luck speed cameras

Little Bobby tables learns to drive.

This is smart. When my son was learning, I put a magnetic ‘student driver’ sign on my car, too. More people should do this. It’s just polite.

snugglesthefalse ,

L plates are a legal requirement here if that’s what you mean

LillyPip ,

They’re not required here. You just plop your child in your regular car with no changes whilst they’re learning. It’s insane. I bought a magnetic sign to warn people though, because that seems nuts to me.

I was making a joke tho.

winterayars , in Is this a Nut?

Ruby: No, it has been redefined as the number 5 so buckle your seatbelts, kiddos, cuz shit’s about to get wild!

spizzat2 , in Is this a Nut?

Ce n’est pas une cacahuète

chatokun , in Good luck speed camera 📸

Little Bobby Tables’s car?

chahk ,

He goes by Robert D. Tables now.

BurningTurtle ,
@BurningTurtle@programming.dev avatar
seathru , in Good luck speed cameras
@seathru@lemmy.sdf.org avatar

Is there even a remotely possible chance something like that would work? I have to drive past a ALPR that checks for insurance every day. I wouldn’t mind plastering code across my tailgate in a design that resembles a license plate.

14th_cylon ,

Highly unlikely.

Tnaeriv ,

It actually did work, apparently:

Source

14th_cylon ,

not working in two different browsers, should it?

https://i.imgur.com/p6CMtQO.png

Zoop ,

It’s a link to a comment on this subject that says:

Ok, so to explain. This DID happen,literally 500m from my home :) the system was designed to store reg plate numbers and later turned to a speed camera. The stunt was done by a few students of the Technical University, it did bring the whole db down. They tried to revive it, but ultimately the boards have been dead for the past 5 years or so. Mind that this hack was performed around 7 or 8 years ago:) I can provide pics of the dead board now and exact coordinates too:)

And then later in the replies they do give the coordinates of the camera billboard thing they broke, and someone posts a Google Maps screenshot of the board at the coordinates they gave that just looks like a little digital billboard that’s turned off and is just black, and the OP confirms that it is the board they mentioned.

Hope that all makes sense; I’ve got a lot brain fog/stress brain and stuff and it felt like too much to screenshot lol

theFibonacciEffect ,

Wow that is impressive

Anticorp ,

They tried to revive it, but ultimately the boards have been dead for the past 5 years or so.

That’s a new level of incompetence, even for the government. So, after spending all that tax-payer money, they just let the entire project die rather than have a developer spin up a new database schema, which would take anyone competent like 5 minutes? For real? And these are the people that everyone expects to fix our problems?

Jarix ,

This is complete guess work but I’m pretty sure its the kind of things that was put together by some office assistant not a developer.

Real parks and rec vibes.

I don’t know what a database is and it’s been too long im afraid to go ask

seathru ,
@seathru@lemmy.sdf.org avatar

Worth a shot. Wouldn’t surprise me if this backwoods town is vulnerable. That being said, I’m open to anyone’s code suggestions and I’ll slap it on there. My coding abilities are limited to BASIC and just enough C to make microcontrollers work.

gandalf_der_12te , in Is this a Nut?

In Java, it’s not called the Crackable interface.

It’s the Nuttable interface.

fishbone ,

How do I know if something is Nuttable?

Benaaasaaas ,

Actually it’s AbstractNutAndShellsFactory

steeznson ,

Provided your method specifies a strongly bound type you can ensure that you get your nut.


<span style="color:#323232;">void dischargeNut(T extends Nut) { ... }
</span>
gandalf_der_12te ,

strongly bound you say?

SlopppyEngineer , in Good luck speed cameras
PatFussy ,

God that’s such a good idea. Would it work the same if I did #N/A?

InEnduringGrowStrong ,
@InEnduringGrowStrong@sh.itjust.works avatar

Only if your DMV does everything in Excel, so… maybe?

14th_cylon ,

according to Tartaro, he says he received a notice that the California DMV would not let him renew his registration unless he actually paid some of those fines.

that sounds so illegal. but i am not an american, so what do i know.

Patches , (edited )

deleted_by_author

  • Loading...
  • ThoranTW ,

    Did you read the article? All those fines were from other people, erroneously applied to him when the police officer didn’t fill in the information on the citation.

    Patches , (edited )

    deleted_by_author

  • Loading...
  • DrDeadCrash ,

    So then he’s innocent, case closed.

    InEnduringGrowStrong ,
    @InEnduringGrowStrong@sh.itjust.works avatar

    I doubt the guy had several different car makes on hand to commit some sort of nationwide parking violation spree with the same plate but different cars in places where it’s impossible to even drive between the two places in the time between both timestamps.

    KairuByte ,
    @KairuByte@lemmy.dbzer0.com avatar

    “There’s no way to know if he used the plate on dozens of vehicles in dozens of states, some at the same time.”

    hemko ,

    The standard is to assume innocence, not assume guilt

    ShepherdPie ,

    “There’s no way to prove him guilty so he should have to pay!”

    bdonvr ,

    Huh? They’re not his fines. The software is just shit so it puts all fines with no license plate as matching his.

    Anticorp ,

    California will do a lot more than deny a renewal over unpaid fines. First they’ll double the fine the first day that you are late, and then they’ll add more fees every day until it is paid. Eventually, I think it’s after six months or a year, they’ll suspend your driver’s license, and after that they’ll issue a bench warrant for your arrest. So it’s entirely possible for your whole life to be ruined over a traffic ticket in California, culminating with you being thrown into prison.

    14th_cylon ,

    ok, but while that is wild in itself, i assume that is under the assumption of them actually being your tickets. here we talk about situation where they demand the hero pays someone else’s tickets just because of the fault of their system.

    Anticorp ,

    That aligns perfectly from what I’ve seen from the California DMV. They do not give a fuck. They will do whatever their stupid little antiquated computer program tells them to do.

    JackGreenEarth ,

    Paywalled

    a_wild_mimic_appears ,
    Trollception ,

    How the heck does a system interpret a string value null as a literal null? That seems insane to me that there really is software out there written like this. “null” != null… Or so I thought, maybe there are languages out there that this can happen in easily? Or someone is storing the string value of null in a non nullable database column?

    Wirlocke ,

    May I introduce you to our lord and savior JavaScript?

    https://lemmy.blahaj.zone/pictrs/image/fd33ba38-baa4-4915-b446-518c76bca200.jpeg

    Leate_Wonceslace ,

    Javas Christ.

    Trollception ,

    But even in JavaScript a string representation of null is not equal to a null literal. ‘null’ or “null” are not the same as null

    Syrc ,

    “He had it coming,” says Christopher Null, a journalist who has written previously for WIRED about the challenges his last name presents.

    This is peak nottheonion material

    snausagesinablanket , in Good luck speed cameras
    @snausagesinablanket@lemmy.world avatar
    IzzyScissor ,

    Can you explain the joke here? My neighbor has one of these on his truck, and it still doesn’t make any sense to me.

    nxdefiant ,

    Your neighbor is the joke. (real answer: the sticker implies a cop would find being called gay very offensive, to the point of not pulling this person over. In reality the cop would likely just shoot you and say you were evading arrest or something while pissing on your corpse.)

    JasonDJ ,

    So he’s into water sports?

    KillingTimeItself ,

    the cop is.

    Anticorp ,

    Dude, settle down a little, or a lot.

    snausagesinablanket ,
    @snausagesinablanket@lemmy.world avatar

    deleted_by_author

  • Loading...
  • Anticorp ,

    But then he’d be stuck being a cop for the rest of his life.

    Sigmatics , in Microsoft Edge could use a win

    Use an ad-filled browser controlled by a megacorp, with an engine built by another megacorp?

    Hmmm, I dunno

    WhatAmLemmy ,

    Even better. After you’ve explicitly triggered the default change MS is like “have you tried the all new megacorp spyware? It’s not actually new, but identical to the spyware we already installed and absolutely nothing has changed in the last 10 seconds since you made the decision, but we figured we’d throw another churn barrier at you because fuck you; we own your OS. You’re our product now bitch, and that’s all you’ll ever be”

    Sigmatics ,

    Sad but true

    MaggiWuerze ,

    Don’t forget the OS built by a megacorp snorkeling up all your data anyways

    Sigmatics ,

    At least I can mostly opt out there. Or use Linux

    const_void ,

    Sure if you trust that the opt-out switches actually work.

    Anticorp ,

    They must do something, or Windows wouldn’t constantly turn them back on with every other update.

    jaybone ,

    Maybe that’s just what they want you to think.

    Shinhoshi ,
    @Shinhoshi@lemmygrad.ml avatar

    For all we know, Windows forgot to actually implement the settings /s

    MonkderZweite ,

    and don’t get reset the next update.

    Honytawk ,

    Do you think Microsoft wants to get sued by the EU?

    Those opt-out work. Or at least in the EU they do.

    SkyeStarfall ,

    …that they ask you to actually pay for the privilege. Because remember, windows isn’t actually free (and you pay for it if you buy a pre-built).

    AVincentInSpace ,

    I feel it’s important to point out that you can simply not activate Windows and use it indefinitely

    Does make you wonder though where Microsoft is getting that money from

    WhiteHotaru ,

    Corporate Users. My guess is, that almost any office job where you work on a Computer has Windows as OS. You have a license for your job. The license for home usage is bonus money to Microsoft.

    stebo02 ,
    @stebo02@sopuli.xyz avatar

    aren’t they the same megacorp

    LPThinker ,

    I think they’re referring to the fact that Edge runs on the Chromium engine which, as the name implies, is a Google product.

    MonkderZweite ,

    Well, on the other hand, said megacorp finances the only other engine (Gecko, Blink being a fork of Apples Webkit), so they don’t have to bother with monopoly restrictions.

    Current web is broken.

    Sigmatics , (edited )

    I realize this, but technically Mozilla is still an independent entity. They also fight some Google attempts at Web DRM, so it’s still healthy competition

    lemmesay ,
    @lemmesay@discuss.tchncs.de avatar

    and web standards! chrome doesn’t care much about web standards. they regularly add new nonstandard proprieties that eventually wins because of their market-size.

    Sigmatics ,

    who needs a standard when you are the standard /s

    lemmesay ,
    @lemmesay@discuss.tchncs.de avatar

    I hope to see servo on my device next to Firefox some day.

    railsdev ,

    Nice 😎

    bstix , in Good luck speed cameras

    It’s a Renault Mégane 1. There’s not a whole lot of those around anymore so it’d be easy to identify the owner even without a license plate.

    14th_cylon ,

    identify - maybe, prove it at the court of law - somewhere between hard and impossible.

    say you have found all these “not that many” cars, and now what? you would have (may slightly depend on the local law) prove who is the driver. that may be impossible, even if you have photo of the driver and photo of the suspected owner and you “think” they match.

    the car also doesn’t have to be local, whatever your threshold for what local is is.

    HiddenLayer5 , (edited ) in And don't forget RTFM

    Pfft imagine using a mouse to code.

    Darkassassin07 ,
    @Darkassassin07@lemmy.ca avatar

    I’m sure it works fine when held like a pen…

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines