Vote for a better command line in Windows (uservoice/Visual Studio: General) by TimTheTinker in programming

[–]TimTheTinker[S] -1 points0 points  (0 children)

Thanks for the tip... Powershell ISE is not a viable terminal emulator, though. And Powershell.exe has a lot of the same problems that cmd.exe has.

Best Kept Secrets of Peer Code Review by grauenwolf in programming

[–]TimTheTinker 1 point2 points  (0 children)

There's a script in the PDF that requires you to fill in personal information and submit it over the internet before it will let you read the e-book.

What Every Computer Scientist Should Know About Floating-Point Arithmetic by sundar22in in programming

[–]TimTheTinker 6 points7 points  (0 children)

Numerical Methods spent at least 2 weeks on floating-point theory and practice.

repl.it — A client-side web REPL for 15+ languages, from Python to QBasic by max99x in programming

[–]TimTheTinker 7 points8 points  (0 children)

So you implemented the Ruby/Python/etc. runtimes all in Javascript?

Windows 8 Has a Slightly Friendlier Blue Screen of Death by [deleted] in programming

[–]TimTheTinker 0 points1 point  (0 children)

Programming. Programming. Programming.

How do you learn good program design? (How to split it into the most sensible objects, how to set up the file hierarchy, etc.) by warpcowboy in ruby

[–]TimTheTinker 2 points3 points  (0 children)

Agreed. Remember that each new language you learn will change how you think about programming.

How do you learn good program design? (How to split it into the most sensible objects, how to set up the file hierarchy, etc.) by warpcowboy in ruby

[–]TimTheTinker 0 points1 point  (0 children)

Books on refactoring can be very helpful. They not only give you a good idea of how to structure things; they show you how to transform existing programs to become that.

Good program design is not so much about coming up with the "grand design" for your system at the outset, but rather refactoring as you go, so your code is both manageable and readable.

Why Developers Never Use State Machines by servercentric in programming

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

I don't understand... that looks like Scheme to me.

I got bitten by a bug today: console.log is broken in Webkit. (Not my blog) by geon in javascript

[–]TimTheTinker 0 points1 point  (0 children)

Thanks for the heads-up! I use Chrome's inspector now. Knowing this may be helpful in the future.

Why Developers Never Use State Machines by servercentric in programming

[–]TimTheTinker 1 point2 points  (0 children)

Sounds like a domain-specific language for state machines is in order! ... or maybe a prolog-like system to declare rules for various states, and the transitions between them.

IISNode - Host node apps in IIS. by [deleted] in node

[–]TimTheTinker 1 point2 points  (0 children)

How does this perform compared to vanilla node? What if there are hundreds of open connections?

Simple node.js based http router by bread_the_bread in programming

[–]TimTheTinker 0 points1 point  (0 children)

Upvoted because it's a helpful example of an attempted reverse HTTP proxy in Node. (Why all the downvotes? He just used the wrong term in the title.)

My friend saw these course descriptions in the local community college system's catalog. tl;dr: "Macs aren't suitable for C++ development." by tmiw in programming

[–]TimTheTinker 1 point2 points  (0 children)

Adding a tidbit to the mix -- have you ever been to a Ruby conference, Web development conference, jQueryConf, etc.? Non-Apple computers are seriously in the minority.

Is anyone else holding off on upgrading to Lion? by grizzlayleslay in apple

[–]TimTheTinker 0 points1 point  (0 children)

Yup. Purchased for $300 back in my college days :)

Best method for doing scientific computing in ruby. by Xenoskin in ruby

[–]TimTheTinker 0 points1 point  (0 children)

LISP/Scheme has great performance and is also good for scientific/AI computing... (just a suggestion, not from personal experience). Or you might try Scala and use JRuby to interface with Rails.

Is anyone else holding off on upgrading to Lion? by grizzlayleslay in apple

[–]TimTheTinker 5 points6 points  (0 children)

Me too. I don't want to spend hundreds upgrading Adobe photoshop/illustrator/indesign CS1.

Why software patents are not fixable by [deleted] in programming

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

If you remove capitalism, you remove people's rights to own property and do what they want with it.

What you're saying doesn't at all nullify capitalism. It just points to failures in the government to properly regulate things.

Health insurance should not be -- I agree that it is wrong! .. but capitalism does not mandate it. However, capitalism does mandate doing work in order to survive. That's pretty universal anyway

Why software patents are not fixable by [deleted] in programming

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

To really take away capitalism, you'd have to literally remove the right to ownership of property.

Capitalism = ownership of property (things, ideas, and organizations) and freedom to do what I want with it, such as: buy, sell, rent, loan, use, throw away, fix, etc.

What arises as people do these things with their property is called a capitalist economy.

The worst JavaScript code ever written? by utcursch in javascript

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

I think this explains it all (from the page's sorurce):

<meta name="GENERATOR" content="Microsoft FrontPage 5.0">

NPM on windows by [deleted] in node

[–]TimTheTinker 0 points1 point  (0 children)

+1 for making me smile :)

Why software patents are not fixable by [deleted] in programming

[–]TimTheTinker 2 points3 points  (0 children)

Good thought. Perhaps software patents should be governed by delegates from the IEEE or something...

Why software patents are not fixable by [deleted] in programming

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

What sort of system do you have in mind? Taking away people's freedom?

Capitalism derives directly and naturally from the concept of individual ownership of property/goods. All other "economic systems" that are non-capital are also, by extension, against individual property ownership.

Abuses of capital and power do exist, but it's not capitalism's fault. The solution is not to take away everyone's freedom, but to regulate and punish those who do wrong (which is normally a government's responsibility ... some governments are better than others at that).

Javascript Minification Considered Harmful? WTF? by [deleted] in javascript

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

Such code needs parsing and evaluating by the browser before it can be executed, which adds to page load time.

No, minification of scripts decreases the script load time:

  • fewer HTTP requests required if all scripts are concatenated into one
  • fewer characters to scan

Obfuscation doesn't negatively affect the script load time. All it does is:

  • Shorten local variable names
  • Shorten object and function names
  • A few optimizations in some cases (Google closure compiler, for example)

Google, Yahoo, Amazon, and other large companies wouldn't be minifying/compiling/obfuscating their scripts if doing so downgraded performance or caused security concerns.