u/Balrogic - 24 Archived Voat Posts in v/programming
u/Balrogic
  • home
  • search

u/Balrogic

0 posts · 24 comments · 24 total

Active in: v/programming (24)

  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››
Comment on: Sometimes a bug is hit only after code was executed 100 000 000 000 000 (100 trillion) times -- Spotify's underflow bug

Really? Seems like a straightforward issue from the very first part of the link.

int index() {
  int index = this.index.get();
  if (index < 0) {
    index -= Integer.MAX_VALUE;
  }
  return index;
}

The part that mutates the index count is an obvious potential problem source when the index goes all to hell. A conditional on index < 0 tells you that you're trying to deal with signed versus unsigned data type. It should be fairly obvious what's going on, provided you've spent a bit of time messing around with binary representations of numbers.

Edit: Removed a brain fart, still waking up.

1 30 Aug 2015 04:47 u/Balrogic in v/programming
Comment on: Places to go learn assembly?

Or you could just, you know, write a quick program to give you the usage stats on your code.

1 28 Aug 2015 23:23 u/Balrogic in v/programming
Comment on: Dumb Beginner HTML Question

Typos are the bane of your life when you're writing computer instructions. Nothing to apologize about, just be aware of typos. Train yourself to check for them, re-check, re-check so you can spot and correct errors on the fly.

4 25 Aug 2015 05:08 u/Balrogic in v/programming
Comment on: Mozilla just announced their intent to deprecate so called XUL-based add-ons in favor of what they call the WebExtensions API within the next year or two

What's that? Firefox to be forked within the next year or two in a major move to preserve the power and utility of existing features?

0 24 Aug 2015 02:21 u/Balrogic in v/programming
Comment on: I hope one day I'll live in a country where I have freedom to write any code I like without fearing.

Until you start working on strong encryption projects, then they shut you down with threats to disappear your ass. 'Murica!

3 22 Aug 2015 21:02 u/Balrogic in v/programming
Comment on: Developers Who Can Build Things from Scratch

That author can go fuck himself, highly recommend he utilize his generalized presumptive slurs in order to do so.

Edit: To be specific, I'm referencing the "Human Robot" section of his linked slanderfest. He's clearly talking about autistic programmers. None of those slurs have any basis in reality. Autistics have original thoughts, can be creative, et cetera. Not their fault he's a poor communicator that's incapable of explicitly defining what he's looking to do in exact, precise language.

1 17 Aug 2015 16:07 u/Balrogic in v/programming
Comment on: Locks and concurrency

Beware of deadlocks.

0 08 Aug 2015 10:31 u/Balrogic in v/programming
Comment on: Excuses For Lazy Coders

It's a known bug with the programming language.

Well, as long as the programmer doesn't understand how the programming language works or how to use it correctly, I guess that's okay...

0 08 Aug 2015 10:06 u/Balrogic in v/programming
Comment on: Firefox exploit found in the wild

Good thing it's not closed source or the exploit could have persisted for years after being reported.

4 07 Aug 2015 18:00 u/Balrogic in v/programming
Comment on: This is why GitLab is better than GitHub.

Could you possibly get any more pedantic? Good grief, I suggest you grow up.

1 04 Aug 2015 23:03 u/Balrogic in v/programming
Comment on: This is why GitLab is better than GitHub.

but I don't have a strong tolerance for hipsters.

Don't be silly. Code is code, business is business.

3 04 Aug 2015 22:22 u/Balrogic in v/programming
Comment on: GitHub's new far-left code of conduct explicitly says "we will not act on reverse racism' or 'reverse sexism'"

Thanks, gave my two cents.

0 04 Aug 2015 14:57 u/Balrogic in v/programming
Comment on: GitHub's new far-left code of conduct explicitly says "we will not act on reverse racism' or 'reverse sexism'"

Some are alright, you just have to check between the cracks of ambulance chasers and district attorneys.

2 04 Aug 2015 09:51 u/Balrogic in v/programming
Comment on: GitHub's new far-left code of conduct explicitly says "we will not act on reverse racism' or 'reverse sexism'"

Communicating in a ‘tone’ you don’t find congenial

Oh look, they finally added a rider promising not to discriminate against autistic programmers. I don't really believe them so it really doesn't matter.

Edit: I read it a little more and take that back. Patterns of inappropriately assuming people are your friends after working with them for a while is banned. Like it's not hard enough when you make a stupid mistake like that without realizing it.

Pattern of inappropriate social contact, such as requesting/assuming inappropriate levels of intimacy with others

1 04 Aug 2015 09:50 u/Balrogic in v/programming
Comment on: Ran out of stuff to program.

Stop picking up new languages when you don't even know what you're doing in the ones you already tried. Pick one out of the bunch and focus on it for a while. Read a couple books, lurk in blogs and social media posts by senior developers working in that language. You're sabotaging yourself. Computer languages basically do the same thing when it comes right down to it. The basic principles don't change. The only thing that changes are the abstractions.

Maybe you should worry about improving your skills instead of finishing projects. You can't just hop from language to language hoping it will somehow come to you easy on that next try. It's going to be tough. It's going to make you feel stupid. You're going to get stuck, the problem will seem completely hopeless. Then you analyze your approach, refactor a bit, look at it from a few more angles and somehow you manage to make it work. It feels great, you jump around for joy and get back to it only to figure out there's a serious flaw in your implementation. So now you have to figure that out, eventually fixing that too. It gets easier when you get used to working past roadblocks, you get better at it.

1 01 Aug 2015 15:58 u/Balrogic in v/programming
Comment on: Github disables repository for using the word "retard."

It's also the standard justification for unequal enforcement and blatant injustice.

1 30 Jul 2015 02:40 u/Balrogic in v/programming
Comment on: Github disables repository for using the word "retard."

As someone with an extraordinarily persecuted disability that's getting into programming... The SJW proposals are more of a threat to me than blatantly hostile anarchy.

5 30 Jul 2015 02:39 u/Balrogic in v/programming
Comment on: Why the Open Code of Conduct Isnt for Me

Are we really supposed to care if someone gets offended on the internet?

Yes. If people are failing to get offended on the internet then it's clearly not working as intended. We need to figure out the source of the problem and submit a pull ticket.

1 24 Jul 2015 04:38 u/Balrogic in v/programming
Comment on: Github is adopting a code of conduct

Politics. It's a political measure taken to combat a real problem in an out of context fashion. Codification and enforcement creates a mechanism that empowers a few at the expense of the many. It starts off innocently enough, but now there's a social sidelines in those projects with a road that leads to political power. Power hungry types will start introducing social antics in order to buddy up to those initially in power as part of a protracted campaign to convince everyone that they can be trusted with that power. They will establish their power base one part at a time, first utilizing a seemingly democratic process with community opinion used to inform small changes designed toward establishment of their private kingdom. Once critical mass is reached, a clique will begin to form and they will no longer require an approach similar to community representation. Changes will become more rapid and more drastic all at once. Enforcement will be arbitrary and selective with zero consideration as to whether or not someone is actually disruptive. It's a common pattern on the internet. There's no reason we should believe that website will be immune to typical internet politics.

I'm very strongly opposed to that kind of community standards approach in spite of the extraordinary oppression I've faced in my own life. I was born autistic, albeit with my higher brain functions fully intact. I was bullied and attacked throughout my childhood by fellow kids and adults alike. I was punished out of hand by school faculty for things I didn't even do. It went so far as to imbue me with PTSD to the point I developed an extreme case of agoraphobia.

According to the promise of those codes of conduct and inclusion, those communities ought to be a safe place for me to flourish. According to my own real world experience, it's nothing but a sham. The nice words are used to ablate any evidence based claims that they are socially oppressing those they're supposedly upholding. All I have to do to start a cycle of marginalization is to mention my issues and request reasonable accommodation if a problem exists. It will be used against me, nothing will be done except to attempt conforming me to the expectations of others in spite of pathological differences in my neurology that renders such an outcome impossible. When that fails, I will start getting targeted for reprisal. I have no interest in playing that game any more.

In practice, the best communities to operate in are the ones that just don't give a crap who or what someone happens to be. Worst case, someone starts running their mouth about me or those like me and I tell them precisely what I think of that. In extreme detail with strong logical arguments that infer their general stupidity. They wind up publicly humiliated and shut up about it. I don't bring up drama or dirty laundry, focus on the business at hand and stick to purely technical matters in any productive endeavor I participate in.

1 22 Jul 2015 23:00 u/Balrogic in v/programming
Comment on: Github is adopting a code of conduct

Only a matter of time before that gets weaponized. You don't need that much blah-blah-blah to tell people to keep to business and don't stray beyond purely technical matters related to a project.

20 22 Jul 2015 06:56 u/Balrogic in v/programming
Comment on: Computer Programming to be renamed Googling Stackoverflow

Can confirm, felt exactly that way fixing a water damaged portion of flooring in my home last week.

1 21 Jul 2015 23:02 u/Balrogic in v/programming
Comment on: Computer Programming to be renamed Googling Stackoverflow

Sure, then when the author finishes writing their book they send it to their editor to get all the broken stuff fixed by someone that does learn it to great depth.

Edit: A little more accurately, to get all the broken parts notated with shorthand for the various kinds of problems and sent back for the author to fix as instructed.

0 21 Jul 2015 22:38 u/Balrogic in v/programming
Comment on: Computer Programming to be renamed Googling Stackoverflow

More than half the time I've bothered to look when researching a question that hasn't quite clicked for me, the best answer has been objectively, provably wrong. There hasn't been a single case of Stackoverflow where I got a better or even equivalent answer to just cracking open one of my language reference manuals. Every useful answer I came across was either a much later correction to the accepted answer or buried much further down.

0 21 Jul 2015 22:24 u/Balrogic in v/programming
Comment on: No Code of Conduct: A Code of Conduct for Adults in Open Source Software

That's when you start waving your red card at people and asking if anyone likes what they see. Now, reading that red card... Do they get thrown out for not being inclusive if they hand that offensive, mean card to an autistic person that was merely guilty of being autistic in a social situation? Because the people handing out those red cards are definitely problem persons.

2 18 Jul 2015 02:29 u/Balrogic in v/programming
  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››

archive has 9,592 posts and 65,719 comments. source code.