HNHacker News
TopNewBestAskShowJobs

carb

395 karma · joined March 7, 2012

submissionscomments
carb··on A multiplayer Tron-like game with curves
You can change it manually
carb··on Why animals eat psychoactive plants
> You can drink two glasses of red wine every day of your life ... this will likely extend your life and improve your health.

This is only seen in tests with small animals such as mice or rats. Please cite a source showing that this result is also seen in humans.

carb··on How 3-D Printing Is Revolutionizing the Display of Big Data
I think it's more likely that AR or VR will be used for this purpose. It's already pretty trivial because they've already created the 3D model representing the data, all they have to do is throw it into a game engine.
carb··on Facebook Reports Second Quarter 2014 Results
why was this downvoted?
carb··on Show HN: Boxes
Why would you disable the context menu? For something so simple, this application's front-end seems incredibly over-complicated.
carb··on Show HN: Distributed Homomorphic Encryption Adder (Weekend Project)
I assume he has three groups:

1. Employees paid less than the average 2. Employees paid equal to or more than the average 3. Management.

Reactions are:

1. Unhappy: Being paid less than average 2. Happy: Being paid more than average 3. Unhappy: Half of their employees now know they are being paid less and are unhappy.

carb··on David Cameron cracks down on online pornography
That's not a government issue. You're welcome to control your own children's internet use, but it is not your right to control how any other family deals with these situations.

Edit: You're free to cite examples of children who "aren't that lucky" and had their upbringing maliciously altered by viewing internet pornography.

carb··on DuckDuckGo Direct queries per day (28 day average)
It's a play on the name of a popular children's game.

https://en.wikipedia.org/wiki/Duck,_duck,_goose

carb··on I've got 10 btc for the best CoffeeScript/JavaScript Nodewar bot
@3 I hope that they don't implement that. Good navigation code is half of the game.

If you want to see examples of competitions like this, many teams for Battlecode hosted by MIT have open sourced their code.

carb··on Don't Copy-Paste from Website to Terminal
It's the suggested install for homebrew. http://mxcl.github.io/homebrew/
carb··on The Minecraft Creator Markus Persson Faces Life After Fame
This was my main introduction as well. (I'm 21.) I remember looking through the TI-84 manual and reading through the commands to see what I could do.
carb··on A month after switching to Macs
I use shift-it for my basic tiling/resizing concerns. Maximizing is just option-command-F, which is pretty natural to hit for me.

https://github.com/fikovnik/ShiftIt

carb··on Anonymous R.I.P Note for Aaron Swartz
Almost any MIT affiliate can get a *.mit.edu domain name and host a website on it. The student in charge of the original probably forgot to protect against a simple SQL injection attack.

They bypassed that student's security and his website, not the "administrators at MIT" and "their website".

carb··on 500,000 clones get you out of a 10x10 maze
So it's more of a 10x10 room than a 10x10 maze?
carb··on Survey of MIT Students on their Stress
Dead week? MIT has dead Thursday and dead Friday. There is no week.
carb··on Survey of MIT Students on their Stress
You do it without thinking about it.
carb··on NASA Probe Finds Ice and Organics on Mercury
Many of my friends have the same views of Mercury during discussions and I find it funny. I learned about these peculiarities of planets from Dav Pilkey (known for his Captain Underpants books) in his RIcky Ricotta's series. (http://en.wikipedia.org/wiki/Ricky_Ricotta%27s_Mighty_Robot_...)
carb··on The Great Dropbox Space Race
I've been sent the referral link about fifteen different times in the past hour from distinct people. It's been sent out on most mailing lists, shared like crazy on facebook and in facebook groups, etc.
carb··on Huffshell: You probably type too much.
If you want to keep your fingers on the home row, I find `ctrl p` to be more comfortable and faster.
carb··on Scaling lessons learned at Dropbox, part 1
What he's saying is that ivankirigin should have said that himself. I don't know that he has any credibility to his statement and wasn't going to give it any merit until akent made me realize that ivankirigin had first-hand experience.
carb··on HackerRank aims to build a fun place for programmers to hang out
The error is when the argument to the `challenge` command is anything other than a number. Try `challenge monkey`. It then accepts zero for N, and the computer always picks a positive number.

Resulting in a negative.

carb··on Why are vi[m] efficient code editors?
After doing a lot of work on a specific project, you aren't going to be writing code very frequently. Most of your work will go towards manipulating, editing, and applying minor (or major) fixes to your existing codebase.

When you aren't in insert mode, it's easy to navigate to specific lines (g), scan quickly through the document (^D, ^B), scan through lines (b,e), change/delete stuff (c,d,C,D,s,etc. Quick commands like ci" will Change Inside Quotes, so for example you can edit strings very quickly.), and search (/, , #, n, N).

As well, like tlunter said, vim is very portable. If you have to hop on someone else's computer to change some of their local code, there almost certainly* will be an editor that you can use quickly and efficiently. It also loads very quickly.

carb··on Show HN: vi in your browser - edit files directly from Dropbox, etc
As well, non of the screen movement commands and some miscellaneous commands aren't working. It really took out almost all of the flow I have when I'm editing files.

Vi commands: ^D ^E ^B . J and probably more that I haven't tried.

Possibly Vim commands: * #

U is functioning completely incorrectly. Try dd, U on line 3 in the example.

It also wasn't allowing me to hit <ESC> (OSX 10.6, Chrome 19)

(All this isn't Filepicker's fault. It's whomever's that wrote the choppy JS version of Vi. But if you want to show off Vi in the browser, you can't make me feel like a broken machine when I try to use it.)

carb··on [dead]
Please link to the actual presentation, not a 1.5 paragraph blog post with an advertisement larger than the whole blog post.

For those who want it direct: http://www.infoq.com/presentations/What-Sucks-about-Clojure-...

carb··on Let Maya Speak For Herself
Am I the only person that sees a huge 999999px tall red block whenever I visit any change.org site? It's like someone added another <body> tag with ridiculous properties.
carb··on DragonBox: Algebra beats Angry birds
Very innovative, I love seeing educational apps that make the player think and solve puzzles instead of just repeatedly showing them rules to memorize.
carb··on Let's Not Call It "Computer Science" If We Really Mean "Computer Programming"
Yeah I understand. I was describing how I did it in Algebra II. They would give up f(n) = 5x^3 +4x + 8 and we would know that it was O(x^3).

We also understood that it was as n -> infinity, hence why f(n) = 2x^4 would have a larger growth rate than g(n) = x^2 + 5000. When you're talking about scalability when programming, you're going to have to understand big-O, how constant factors come into play (why Floyd-Warshall at O(n^3) is often better in practice), and how big-\Theta works. If not, you're eventually going to make a mistake and slow everything down.

carb··on Let's Not Call It "Computer Science" If We Really Mean "Computer Programming"
Of course, but part of the benefit from studying CS is that you'll be able to recognize intuitively when there is or there should be a better solution.

Let's say you want a data structure that performs three operations. Insert, Delete, and Find (as in, 'is this in the database?'). The intuitive sense may come from saying, "Linked-Lists would be horrible for this! Each operation would be slow." (O(n)) The practiced programmer may say, "I can keep the data sorted and use an Array. Those would probably be faster." (O(lg n)) However, if you learned a little more CS and how hashes work, you would know that they are constant time for all three operations. You never had to waste time thinking about which choice to make because you know how hashes are implemented and that they specialize on those operations running in constant time.

Besides, big-O notation takes no time at all to learn. I learned it's theory as a freshman in high school during algebra II when we wanted to know which of two polynomials grew faster. Take the most significant part, rip off the constants, and that's its growth rate.

carb··on Redesigning the hotel icon
I agree. I think their new design looks more like a tractor than a person in a bed.
carb··on Google Summer of Code 2012 Stats - Part 2
Unfortunate, but understandable.
← PreviousPage 5 of 6Next →