u/WillyWillyBumBum - 14 Archived Voat Posts in v/programming
u/WillyWillyBumBum
  • home
  • search

u/WillyWillyBumBum

0 posts · 14 comments · 14 total

Active in: v/programming (14)

  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››
Comment on: F*** You, I Quit - Hiring Is Broken

Never said it had to be memorized. I almost agreed with the blog author when I couldn't remember how to do BFS. But thought I'd challenge myself and figured it out in about 15 seconds, with the deque and all.

2 28 Apr 2016 13:43 u/WillyWillyBumBum in v/programming
Comment on: F*** You, I Quit - Hiring Is Broken

How many people can actually write BFS on the spot, without preparing for it in advance?

While I agree with the sentiment (was rejected several times a few months ago), knowing basic algorithms is rather important. I would assume most competent programmers can write BFS on the spot. But I agree that interviews could be improved. I've had luck with simple interviews at very small companies/start-ups; no BigCorps for me

5 28 Apr 2016 12:41 u/WillyWillyBumBum in v/programming
Comment on: I've reached a point in my project where I think I could get my coding skills critiqued. Where (besides here) could I post my project to get feedback?

Github? Bitbucket? Gitlab? Tons of services. But if you're not using them already... chances are you aren't using a CVS either. So read up on those - almost as important as the code itself.

4 20 Apr 2016 00:08 u/WillyWillyBumBum in v/programming
Comment on: You are a programmer and you like Trump, I found the language for you: TrumpScript

Unlikely; why would the defend their arch enemy? If anything, they'd have a dilemma.

0 06 Mar 2016 04:55 u/WillyWillyBumBum in v/programming
Comment on: An anonymous response to dangerous FOSS Codes of Conduct

The whole point is the author does not want to be identified, for their own safety. You would know if you read the document.

6 25 Jan 2016 14:22 u/WillyWillyBumBum in v/programming
Comment on: Computer Languages History Timeline

Neat *snap*

1 25 Dec 2015 17:36 u/WillyWillyBumBum in v/programming
Comment on: xkcd comic: Git

Not once had I such a problem with mercurial. With git I have to recheck out every couple of weeks because it broke in a weird way.

1 02 Nov 2015 11:17 u/WillyWillyBumBum 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

Palemoon, everybody. The Firefox of the yesteryear. Same great features and extensions without the stupidity of Mozilla.

6 22 Aug 2015 14:07 u/WillyWillyBumBum in v/programming
Comment on: I'm sorry for asking this here: HTMLPurifier isn't purifying submitted data, but it purifies a test echo.

What do you mean "submit it through $_POST"? I don't think it supports $purifier->purify($_POST) if that's what you're doing. In any case, you'll have better luck on stack overflow.

0 20 Aug 2015 03:30 u/WillyWillyBumBum in v/programming
Comment on: Java or Python

Python all the way. It let's you get things done rather than having to worry about verbose syntax. You can't avoid Java in the long term, but Python is the best way to start. As for others recommending C, it's a terrible choice for first language. You need to know how it works, but please don't use it on a regular basis unless you're hacking kernels.


C die-hards shouldn't feel personally offended, but you can't deny that a huge chunk of bugs in all software comes from people (from newbs to pros) making silly mistakes when managing memory. Just take a look at a random sample of CVEs, I can guarantee you at least half have to do with bad memory access. I always discourage C usage unless it's for embedded or performance critical parts. C++ is a step in the right direction.

12 13 Aug 2015 03:11 u/WillyWillyBumBum in v/programming
Comment on: If you use a VPN to keep yourself private, you may want to use this tool to check the JavaScript WebRTC IP Leak isn't exploitable in your browser. [x-post - v/JavaScript]

It's only leakable if you set your proxy connection in your browser. OS or higher (router) configurations are not affected.

1 08 Aug 2015 02:02 u/WillyWillyBumBum in v/programming
Comment on: If I want to be more of a defensive programmer where do I start?

Basically anything that let's you access arbitrary memory. In unsafe languages array[length+20] will not necessarily crash and might read meaningful data. In safe languages you'll get an array index out of bounds error of some sort. Basically see heartbleed. Such a bug would not be possible if OpenSSL was using a better language.

I would only allow C/C++ usage for low level programming like kernels/drivers/embedded. Even then you could probably use something like rust which touts itself as being safe. All userspace code should be written in safe languages imo.

0 01 Aug 2015 00:29 u/WillyWillyBumBum in v/programming
Comment on: If someone with 5-10 years of experience in something, be it Java or a specific database, is called 'Senior'....

Tell that to all those employers looking for COBOL experience.

Minimum 30 years experience.

2 31 Jul 2015 04:10 u/WillyWillyBumBum in v/programming
Comment on: If I want to be more of a defensive programmer where do I start?
  • Don't use unsafe languages like C and C++ to avoid the entire class of buffer overflow errors
  • Never trust input, even if you're digging up old input from a database
  • Watch out for timing attacks - use constant time string comparison for hashes
  • Rate limit online services
  • Always use memory-heavy hashing functions with unique salts for passwords
  • Watch out for race conditions
  • Use white-lists as opposed to blacklists

First few things that come to mind.

8 31 Jul 2015 04:07 u/WillyWillyBumBum in v/programming
  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››

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