u/Tommstein - 35 Archived Voat Posts in v/programming
u/Tommstein
  • home
  • search

u/Tommstein

0 posts · 35 comments · 35 total

Active in: v/programming (35)

  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››
Comment on: What is your preferred SCM?

Subversion.

1 20 Sep 2016 05:58 u/Tommstein in v/programming
Comment on: [Poll] Tabs or Spaces?

Nano is modal too, every time you press Control and such. Remembering the keys to do things comes with practice and actually using them.

1 18 Aug 2016 00:43 u/Tommstein in v/programming
Comment on: [Poll] Tabs or Spaces?

Learn Vim. I used to use Nano and then learned Vim and I'm so glad I did.

1 17 Aug 2016 19:52 u/Tommstein in v/programming
Comment on: [Poll] Tabs or Spaces?

What the hell kind of shittyass editor are you using that can't be told to automatically insert however many spaces you want when you hit Tab? You code in Notepad brah?

1 16 Aug 2016 00:36 u/Tommstein in v/programming
Comment on: [Poll] Do you write hexadecimal numbers in upper- or lowercase?

Uppercase. What the fuck kind of question is this?

2 15 Aug 2016 00:57 u/Tommstein in v/programming
Comment on: Today's date is 100/1000/10000 in binary

Maybe for foreigners.

0 05 Aug 2016 00:07 u/Tommstein in v/programming
Comment on: TIL: In a numeric system of base 'x', 10 is always equal to 'x'. Binary 10 = 2, Decimal 10 = 10, Hex 10 = 16.

No shit, the values of the digits, from left to right, are multiples of xn, xn-1, xn-2, . . . , x2, x1, x0. To answer your question, anyone who has taken a single computer science class has thought about it.

0 14 Jul 2016 06:15 u/Tommstein in v/programming
Comment on: Policheck - Remove the term "whitelist"

lolwat

0 23 Jun 2016 02:08 u/Tommstein in v/programming
Comment on: Hiring is Broken... And It Isn't Worth Fixing

I remember the last time some recruiter sent me something about a project some assholes wanted me to complete before they would even consider interviewing me. Never even responded to the e-mail. Hopefully they didn't stay up late waiting for me. Good luck to them with the unemployed end of the totem pole that can't get a job anywhere else.

0 30 Apr 2016 01:46 u/Tommstein in v/programming
Comment on: Bored? Go over this text-based RPG I'm making. Tell me exactly how awful my coding is.

lolwut

0 26 Apr 2016 04:39 u/Tommstein in v/programming
Comment on: Bored? Go over this text-based RPG I'm making. Tell me exactly how awful my coding is.

I like the theme of this game.

0 26 Apr 2016 04:33 u/Tommstein in v/programming
Comment on: Hitler Uses Git

Pretty much. This never gets old.

0 22 Apr 2016 07:49 u/Tommstein in v/programming
Comment on: We need more programming challenges. We should start off small: First non-repeating character of a string. Any language you like.

Yeah, I actually like your original algorithm, linear time I believe instead of all the quadratic BS that dominates the solutions here, the Java implementation just made me throw up in my mouth.

1 16 Apr 2016 19:35 u/Tommstein in v/programming
Comment on: We need more programming challenges. We should start off small: First non-repeating character of a string. Any language you like.

Post it brah.

3 16 Apr 2016 09:12 u/Tommstein in v/programming
Comment on: We need more programming challenges. We should start off small: First non-repeating character of a string. Any language you like.

Pretty sure that's not what he meant. Not least of which because your computer doesn't execute C either.

1 16 Apr 2016 09:10 u/Tommstein in v/programming
Comment on: We need more programming challenges. We should start off small: First non-repeating character of a string. Any language you like.

They seem to prefer wowing people with how compactly they can write such shitty code. My own solution could've compressed that entire if-else structure into one line with the ternary operator, but that's not what I cared about.

0 16 Apr 2016 07:06 u/Tommstein in v/programming
Comment on: We need more programming challenges. We should start off small: First non-repeating character of a string. Any language you like.

In linear time, because you little bastards are performance-challenged:

#!/usr/bin/env python
word = 'yellow'
locs = {}
for i, letter in enumerate(word):
    if letter not in locs:
        locs[letter] = i 
    else:
        locs[letter] = None
print(word[min(i for letter, i in locs.items() if i is not None)])

Linear assuming the locs dictionary doesn't fuck shit up. Let's call it linearish. I'm not sure how Python dictionaries are implemented, but even the most retarded implementation on the planet should still only result in the quadratic time that you gits love so much.

2 16 Apr 2016 06:14 u/Tommstein in v/programming
Comment on: We need more programming challenges. We should start off small: First non-repeating character of a string. Any language you like.

I was about to say that word for word with a "Brah" in front of it.

1 16 Apr 2016 05:33 u/Tommstein in v/programming
Comment on: We need more programming challenges. We should start off small: First non-repeating character of a string. Any language you like.

And this is why nobody likes Java.

4 16 Apr 2016 05:32 u/Tommstein in v/programming
Comment on: Apple's Swift comes to Linux | ZDNet

Not interested.

2 29 Mar 2016 09:56 u/Tommstein in v/programming
Comment on: As a Linux Developer, do you find the GNOME or KDE ecosystems better and why?

Oh shit, looks like you got me by two years and change. How was it when men were men and dinosaurs roamed the Earth?

1 17 Mar 2016 16:08 u/Tommstein in v/programming
Comment on: Does the Go programming language have any future?

I've heard rumors too, but until I see it happen, it may as well have been some drunken blogger making shit up.

0 17 Mar 2016 05:37 u/Tommstein in v/programming
Comment on: File extensions: .gz, .tar and tar.gz

There's nothing Linux-specific about tarballs.

0 17 Mar 2016 05:24 u/Tommstein in v/programming
Comment on: As a Linux Developer, do you find the GNOME or KDE ecosystems better and why?

This is what comment sections were invented for.

2 17 Mar 2016 05:10 u/Tommstein in v/programming
Comment on: As a Linux Developer, do you find the GNOME or KDE ecosystems better and why?

But why.

0 17 Mar 2016 05:01 u/Tommstein in v/programming
Comment on: As a Linux Developer, do you find the GNOME or KDE ecosystems better and why?

I started on SuSE 7.2 Professional, after a failed attempt at Debian. Screw both of you guys.

0 17 Mar 2016 05:00 u/Tommstein in v/programming
Comment on: Does the Go programming language have any future?

Unless Google crams it down people's throats, why would it ever suddenly start seeing use? Although I would love if they changed Android to Go, because fuck Java.

0 17 Mar 2016 04:51 u/Tommstein in v/programming
Comment on: Does the Go programming language have any future?

But tell us how you really feel about it brah.

0 17 Mar 2016 04:37 u/Tommstein in v/programming
Comment on: Apollo 11 source code

As if. The project I was on was using Windows XP.

1 09 Feb 2016 01:00 u/Tommstein in v/programming
Comment on: Apollo 11 source code

I've worked on code running on our Guided Missile Destroyers. You are correct, you would hate to see what runs them.

8 31 Jan 2016 21:50 u/Tommstein in v/programming
Comment on: The Ruby Programming Language community is now under siege by SJW entryists and the trojan horse Code of Conduct

They can make me not ignore them?

16 24 Jan 2016 07:19 u/Tommstein in v/programming
Comment on: The Ruby Programming Language community is now under siege by SJW entryists and the trojan horse Code of Conduct

The only correct response to this is "eat shit and die."

51 24 Jan 2016 06:42 u/Tommstein in v/programming
Comment on: Executing python. I'm confused.

What are you doing, trying to run the .pyc files? Don't do that, run the .py files. The .pyc files are just a cache for the interpreter.

1 21 Jun 2015 22:14 u/Tommstein in v/programming
Comment on: Isn't .NET a weird choice?

Not really, unless you plan on hacking on .NET itself.

0 18 Jun 2015 07:10 u/Tommstein in v/programming
Comment on: Isn't .NET a weird choice?

When I decided to join Voat, I opened two tabs: the one to register, and the one to the source code. After taking a glance at the latter for a few seconds, that tab was closed. And moments later I was the opposite of surprised when I saw that the site was shitting the bed. If he actually wants much free help, especially quality help, that was an extremely poor decision.

1 15 Jun 2015 07:19 u/Tommstein in v/programming
  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››

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