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.

elxeno , in White House weighing in on the big issues
CosmicCleric , in dont();
@CosmicCleric@lemmy.world avatar

What, no null check on ‘goingToHitStuff’?

brisk , in wait what

The correct answer is, was and always has been elastic tabstops

pohart ,

Any ides have support for this? I feel like I’ve been waiting forever.

BatmanAoD ,

Essentially no. I wish so badly that this had taken off.

Edit: as noted on the website, various plug-ins that attempt support are in fact not correct.

thedevisinthedetails ,

What do you mean? There’s a ton of working plugins listed on the website for many editors.

BatmanAoD ,

Sorry, my phrasing was sloppy. Most popular IDEs and editors do not have a plug-in or setting that implements elastic tabstops correctly. In particular, there’s no implementation for vim, emacs, VSCode, eclipse, or any JetBrains IDEs. (I had forgotten that there’s one for Visual Studio and one for Notepad++.)

Euphoma ,

Looks like there’s an emacs package for elastic tab stops.

KairuByte ,
@KairuByte@lemmy.dbzer0.com avatar

Of-fucking-course there is.

dan ,
@dan@upvote.au avatar

Wow this site is hard to read, at least on mobile (haven’t tried on my PC). The line-height is too small.

fidodo ,

I’ve been hoping someone would try that!

Lodra , in Company forgets why they exist after 11-week migration to Kubernetes
@Lodra@programming.dev avatar

The CEO now seeks help from Phutar Afrayughum, a psychic and extrasensory perception specialist who allegedly helped Google increase their marketshare in the messaging app market, and was also involved in developing the Material Design framework.

Seems like a legit article :shrug:

fidodo ,

Yeah I thought it was satire until I read that. I can’t think of an explanation for Google’s product decisions in any other way

SlopppyEngineer , (edited ) in dont();

The car now phantom brakes for anything remotely suspicious, like a shadow from a tunnel or light fixture, causing numerous pileups behind it

tryptaminev ,

The rules for driving demand to keep at least enough distance to the vehicle before you, that you can safely perform an emergency break, if the vehicle should do so too.

In driving ed i learned that you need to keep at least 2seconds distance to the car in front of you, one second to react and one second to perform a similiar break maneuver like them. If your vehicle is heavier you need to increase that distance.

Whenever i drove like this the only result was people taking it as an invitation to swear in between the car in front of me and me. I want undercover cops in plain cars to just drive and record everyone violating the safe distance or takeing the space that is left as safe distance. We could resolve muncipal debt and drop the amount of deadly accidents by at least 50% this way.

exocrinous ,

Cops can’t solve bad driving. Fear of punishment is not an effective deterrent. We know this because we’ve done the psychology and looked at the numbers. Unsafe driving is an infrastructure problem. In my country, people leave enough space between cars. It’s not because we have more police than yours, it’s because we have safer designed roads. Every traffic accident that causes a death is an infrastructure failure.

tryptaminev ,

It is both.

Germany often sees reckless driving compared to its neighbouring countries in similair road conditions. Lack of enforcement and small penalties do play an imporant role in that. The infrastructure is similiar, but other countries actually enforce things like speed limits much more actively. At the end of the day if bad driving equals unsafe driving, the person shouldnt drive.

UndercoverUlrikHD ,

Surprised to hear the rule is 2 seconds in Denmark, it’s 3 in Norway

tryptaminev ,

I’m in Germany

UndercoverUlrikHD ,

Ah sorry, got it mixed up with feddit.dk I think

jadero ,

Canada used to recommend 1 car-length for every 10 miles per hour. Along with metrification, that was changed to 2 seconds, but it’s been set at 3 seconds for a long time.

I’ve yet to drive in traffic where even 1.5 seconds is manageable. More space than that and some slips into the gap, even if that leaves something like a loaded tractor-trailer hanging a second off their rear bumper.

BaardFigur ,

deleted_by_author

  • Loading...
  • SlopppyEngineer ,
    NocturnalEngineer ,

    Technically it’s always hitting the road & air, so it simple just doesn’t move.

    Hamartiogonic ,
    @Hamartiogonic@sopuli.xyz avatar

    This has the way. A god strategy to minimize the probability of an accident is to never move at all. Someone else might still hit you though, but that’s their fault.

    Clent ,

    No one can enter the vehicle because this is a collision. The vehicle automatically moves away from anyone that approaches it.

    nexussapphire ,

    That’s nothing new, my mother’s 2014 charger slows down to a complete stop if there’s a crisp shadow of a bridge in the right place on the road.

    Graz , in dont();

    The missile knows where it is at all times. It knows this because it knows where it isn’t. By subtracting where it is from where it isn’t, or where it isn’t from where it is (whichever is greater), it obtains a difference, or deviation. The guidance subsystem uses deviations to generate corrective commands to drive the missile from a position where it is to a position where it isn’t, and arriving at a position where it wasn’t, it now is. Consequently, the position where it is, is now the position that it wasn’t, and it follows that the position that it was, is now the position that it isn’t. In the event that the position that it is in is not the position that it wasn’t, the system has acquired a variation, the variation being the difference between where the missile is, and where it wasn’t. If variation is considered to be a significant factor, it too may be corrected by the GEA. However, the missile must also know where it was. The missile guidance computer scenario works as follows. Because a variation has modified some of the information the missile has obtained, it is not sure just where it is. However, it is sure where it isn’t, within reason, and it knows where it was. It now subtracts where it should be from where it wasn’t, or vice-versa, and by differentiating this from the algebraic sum of where it shouldn’t be, and where it was, it is able to obtain the deviation and its variation, which is called error.

    trashgirlfriend ,

    This is what mathematicians sound like to normal people

    jadero ,

    Add a bit of the right structure and you’ve got the pseudocode for dead reckoning. (I guess that was probably the point, but I’ll hit the ol’ post button anyway…)

    robojeb ,

    It’s a copy-pasta :)

    nexussapphire ,

    Text formatting would go a long way.

    And009 ,

    Hmm, attention deficiency kicking in

    ptz , (edited ) in I need this....
    @ptz@dubvee.org avatar

    So…basically a prettier. I’ve never seen them improve the readability of my code. If I want pretty code, I just write pretty code :shrug:

    All the prettiers do is just 'eff up my deliberate indentations and break the editor’s ability to collapse code sections.

    lazynooblet ,
    @lazynooblet@lazysoci.al avatar

    Sounds like you’re using a shittier prettier

    BombOmOm ,
    @BombOmOm@lemmy.world avatar

    Same. There is a logic to all code choices. Even basic things like the placement of empty lines to group code into ‘idea blocks’ massively helps with readability. This idea block touches x, and this next idea block touches y.

    A tool can’t perform perform even basic logic like that.

    kogasa ,
    @kogasa@programming.dev avatar

    If you have a lot of semantic breakpoints (like the end of a concept) that don’t line up with syntactic breakpoints (like the end of a method or expression body) your code probably needs to be refactored. If you don’t, then automatic code formatting is probably all you need.

    humorlessrepost , in White House weighing in on the big issues

    Front end dev here. SublimeText all day eryday.

    criitz ,

    I just switched from Sublime Text to VSCode, so far so good

    nieceandtows , in White House weighing in on the big issues

    Waiting for an executive order on vim vs neovim.

    Kolanaki , in I need this....
    @Kolanaki@yiffit.net avatar

    Is that pronounced “shitty er” or “shit tier?” 🤔

    hemko ,

    Yes

    radix ,
    @radix@lemm.ee avatar

    “Shitty-er” to rhyme with “prettier”, I would guess.

    loics2 ,

    “pret tier”?

    geogle ,
    @geogle@lemmy.world avatar

    Superb-owl

    db2 , in magnetic fields

    Too bad it doesn’t work horizontally.

    superduperenigma , in White House weighing in on the big issues

    This is what kicks off the second Civil War in the United States. And just the like first time, those treasonous Emacs Confederates will be decisively defeated.

    Illecors ,

    Begone, spawn of evil!

    https://stallman.org/saintignucius.jpg

    Allow the light of Church of Emacs into your heart!

    _cnt0 , in White House weighing in on the big issues
    @_cnt0@sh.itjust.works avatar

    Obligatory: how to exit vim

    vim > emacs, though.

    HootinNHollerin , in I need this....

    Hail chaos

    xantoxis , in Movies vs life

    Ugh I keep getting memory bounds errors, time to fire up the dodecahedron

    stoicmaverick ,

    Just don’t look directly at it for too long or it’ll cause a buffer overflow in your brain and you’ll start yelling out your private keys instead of saying words.

    troyunrau ,
    @troyunrau@lemmy.ca avatar

    Snow Crash, is that you?

    thebardingreen ,
    @thebardingreen@lemmy.starlightkel.xyz avatar

    Was THAT what was on this USB stick the crazy dude at the bar sold me…? Things make so much more … HAIL ENKI, GOD OF -----BEGIN RSA PRIVATE KEY----- Proc-Type: 4,ENCRYPTED DEK-Info: AES-128-CBC,6784434422A3B98781F157CFCEA6FA3D

    ks8A38SJahkdh339AKShdhaAks9aj3SJfooPazz91JS8S9Sanshriz…

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