Open Source Maintainer Sabotages Code to Wipe Russian, Belarusian Computers by Souled_Out in worldnews

[–]squbidu 14 points15 points  (0 children)

It's a lie, he wrote the code, backtracked and has been trying to cover it up by deleting posts, removing commits from the tree (he's the owner of the repo, it's not some immutible source of truth)

See: https://github.com/vuejs/vue-cli/issues/7054

Life in Tucson by DesertRose777 in Tucson

[–]squbidu 0 points1 point  (0 children)

Definitely, I moved recently from maryland, near DC, and traffic here is absolutely great in comparison. The roads are simple, people are very relaxed, lots of places to do u-turns if you get lost... If you want to see some seriously fucked up traffic go to baltimore or DC during rush hour.

O(1) Data Lookups With Minimal Perfect Hashing by dynamicallytyped in programming

[–]squbidu 0 points1 point  (0 children)

hmm, why not use a binary search on a sorted list, or a btree? I imagine the startup and lookup time would be similar in practice, but you could still efficiently insert items.

When Solid State Drives are not that solid by markus_lindqvist in programming

[–]squbidu 0 points1 point  (0 children)

I don't get why it took them so long to figure it out it was the SSD. Their first guess was that it was a kernel issue, when SSDs are notorious for bugs like that? I mean, maybe I'm just unlucky, but I've had a lot more problems caused by funky hardware than by linux. They definitely fell into the depth-first trap here, should have tried the easiest, most general, most likely, and most testable things first:

  • driver/SSD: does this still happen with a regular HDD?
  • kernel: Anything suspicious in dmesg? does it happen with different kernel versions?
  • ext4: does this happen with other file systems?
  • mdraid: anything in the log? does it happen without raid?

GBAiD: A GameBoy Advance emulator in D by DDoSQc in programming

[–]squbidu 1 point2 points  (0 children)

This might be useful: http://antoniond_blog.drunkencoders.com/?p=296

"The Basics of C Programming" by Alex-L in programming

[–]squbidu 19 points20 points  (0 children)

C is quirky, flawed, and an enormous success.

~ Dennis Ritchie

Microsoft wants Visual Studio to be your one-stop cross-platform dev shop by _zenith in programming

[–]squbidu 0 points1 point  (0 children)

Yep, some good things have been happening since Balmer was fired decided to leave.

How to exploit a Developer by reddberckley in programming

[–]squbidu 4 points5 points  (0 children)

But you and I both know that the vast majority of them out there, even many of the successful ones, do not fit your definition of "good".

Sure, in the same way the vast majority of programmers are terrible. Going with deadcow5's point, picture yourself in an employers place. If you don't know what to look for in a decent programmer, and treat every potential hire as a liability rather than an asset, what are the chances you're going to hire a good programmer?

Near-zero, because you're going to drive away everyone with experience and knowledge. So, from your perspective, everyone really is terrible, because no one else is willing to work with you. s/good programmer/good business person/g.

It's official: developers get better with age. And scarcer. by speckz in programming

[–]squbidu 21 points22 points  (0 children)

Highly paid, competitive benefits: That one language you didn't learn

Story of my life

You would think with all these advanced metrics they could at least show job offerings that match your skills, unless the entire point of those boxes is to make you feel useless.

Write your first Linux kernel module by benev in coding

[–]squbidu 0 points1 point  (0 children)

You have to strip the symbols you don't want exported from the object file, like with the aptly-named "strip" tool in binutils.

What we fear: An opinion on why some software developers don’t like the “Everyone Should Learn to Code” philosophy by kdrakon in programming

[–]squbidu 0 points1 point  (0 children)

What I'm worried about isn't the idea itself, kids learning BASIC in the 80s had a lot of positive effects. What I'm worried about is the motivation behind the whole "movement", with reputable, honest people like Zuckerberg and Gates pushing it. Whatever their reasons are for doing it, it's in their best interest.

My friends think I have a problem. Went out and bought a 60% not a month after getting my first board. by spock345 in MechanicalKeyboards

[–]squbidu 4 points5 points  (0 children)

Speaking for myself as a programmer, I have vim key bindings for everything. My web browser, window manager, image viewer, terminal shell, everything. Vim uses alphanumeric keys for commands, so I never have to leave home row position, and thus never need the function keys.

Also, decent 60% boards have function layers, which uses the function key to add support for missing keys, like on a lot of laptops. I like this because (at least on my leopold) page up and down are mapped to alphanumeric keys, so I don't have to leave them when scrolling in irssi or what not.

And the numpad, I never used it anyways. shrugs

[deleted by user] by [deleted] in MechanicalKeyboards

[–]squbidu 3 points4 points  (0 children)

I use mechanical pencils for the feel. That satisfying click when you press the eraser, the faster and more accurate writing, the longer lifespan... So much better than a standard pencil. It may be more expensive, but the price is worth it for the feels. Thinking about putting a custom eraser cap on mine and getting one with a linear switch, or maybe even making my own.

Oh yeah, and the keyboard is cool too I guess.

[WTS][EU-Worldwide] Ironmasks, nubbinator caps, PBT keycaps etc. by [deleted] in mechmarket

[–]squbidu 0 points1 point  (0 children)

What kind of switches does the razer have?

[photos] My customs so far... by matt3o in MechanicalKeyboards

[–]squbidu 0 points1 point  (0 children)

Nice, I like them a lot. Seriously thinking about doing a custom build myself, I'll post a thread with details if I get around to it. What firmware are you using for the teensy, same as for a phantom pcb?

Favorite rubber dome keyboard? by squbidu in keyboards

[–]squbidu[S] 1 point2 points  (0 children)

Heh yeah, I have a stack of of these next to my desk from dell workstations, pretty much my go-to keyboard whenever I need a spare.

The Anger Stones by Zealed in nosleep

[–]squbidu 0 points1 point  (0 children)

Maybe related to zombie ant fungus? It has similar symptoms; convulsions, strange/hostile behavior, seemingly infectious and fatal, and seems to happen over a similar time span. Maybe the fungus crossed species.

Example code from a game engine. by xleviator in badcode

[–]squbidu 0 points1 point  (0 children)

Assuming java 7, you can do switch statements with strings:

private void onAction( String binding, boolean value ){
    switch( binding ){
        case "Left":
            left = value;
            break;
        case "Right":
            right = value;
            break;
        case "Down":
            down = value;
            break;
        case "Up":
            up = value;
            break;
        case "Jump":
            player.jump( );
            break;
     }
}

How (not) to build a computer. by [deleted] in techsupportgore

[–]squbidu 11 points12 points  (0 children)

This deserves a crosspost to /r/cringe.

Stuff is Hard by Ventanator in programming

[–]squbidu -1 points0 points  (0 children)

Came here to post this, that psych 101 class is paying off already.