HNHacker News
TopNewBestAskShowJobs

flywheel

16 karma · joined November 7, 2010

submissionscomments
flywheel··on Should you start with Swift or Objective-C to learn iOS development?
"Swift is the more beautiful language and it lets you write pretty code and bring you joy"

If you think code is "beautiful" then you don't know what you're talking about. You're anthropomorphizing a list of instructions. It's functional, not beautiful.

Go out and watch a sunset, and then try to compare that to a list of instructions, or better yet, compare your wife's beauty to that of a list of instructions - I bet she won't appreciate the forced equivalence either.

I've been programming for 30 years, and for me there is no beauty in code except for what it produces. Is buggy code written in Swift still "beautiful"? This is why it's not good to spend so much time in front of a computer, if you start to think of list of instructions as "beautiful" then you've lost touch with reality.

flywheel··on Revision demoparty live
Historically, no, there is no active demo scene in the United States. I was one of the few demo scene programmers in the US during the 1980's - 1990's, but it's never really been a thing over here.
flywheel··on The JavaScript Problem
Considering the language was created in about a week, Javascript is nothing short of a computing miracle.

It has enabled anyone with a web browser to write software that can run on billions of computers.

And it is extremely easy to learn and use, with no boilerplate whatsoever.

People who require the boilerplate to feel comfortable probably shouldn't use Javascript, and should have their heads examined.

flywheel··on Noise, Dynamic Range and Bit Depth in Digital SLRs
I've been using digital cameras since the first wave of them was introduced in the 90's.

Since the start I was making hot pixel maps and that helped fix images using them as a mask in photoshop to reverse the errors caused by hot pixels and non-random noise.

A hot pixel map is simply a long-exposure photo taken that is completely black - with the lens cap on, or the lens otherwise blocked from all light.

I've found that as the sensor ages, the "hot" pixels get "hotter". I take a new pixel map every six months to a year, and have observed the increase in non-random noise.

flywheel··on No more Haml or CoffeeScript
You only think you knew javascript that well. Your anecdotal evidence is unsupported by reality. You likely never really liked or used javascript as much as a real javascript developer. Let me guess, you're "full stack".
flywheel··on No more Haml or CoffeeScript
People have been saying this stuff since Coffeescript first started making the rounds, but many adopted it anyway without any good reason to, and without any critical thinking about what implications using this "made up language" would have on their codebase and the life of their project. Coffeescript needs to fade into obscurity, where it should have stayed to begin with.
flywheel··on React, JSX, and CoffeeScript
Probably, but that syntax is awful.

This syntax makes more sense to me:

[{"tagName":"div","class":"a-class","children":[{"tagName":"span","innerHTML":"you can use all of your json tools to edit the DOM"}]}]

flywheel··on Why Programming is Difficult
The differences is that an artist doesn't have to worry about maintainability, scalability, orthogonality, or any other such concerns.

Art is art, code is code. Art is beautiful, code is clever. They are different.

flywheel··on Why I’ll be Pirating Adobe’s Products From Now On
>It all started with my new Macbook Retina. A gleaming beacon of self-worth, and productivity (Yes, Mac IS more productive).

I stopped reading after this.

flywheel··on CoffeeScript's Time is Waning For Me
It's really really simple. Significant whitespace has no punctuation to visually queue the reader of the code as to where things begin and end. It is much easier to read Javascript than Coffeescript because well written Javascript includes curly brackets, and other delimiting characters to aid in reading the code.

Coffeescript and significant whitespace eschew delimiters for indentation and other gimmicks, and the end result is something that is more difficult to read.

I totally agree with the author on this fact. I only see a "wall of dense text" when I read coffeescript, and when I read Javascript it is much easier to parse.

flywheel··on Why Meteor will kill Ruby on Rails
You're wrong. Node.js has already overtaken what you think Ruby on rails "is". Node.js is the current darling of Silicon Beach. Add on some mongodb and more bells-and-whistles and you have Meteor.

This is probably a more important metric than language popularity on github: http://www.statisticbrain.com/computer-programming-language-... And I'm sure javascript has grown quite a bit in popularity in 2013.

Javascript is getting things done, and with node and mongo and now meteor, it's only getting easier.

It's a fact that many don't want to face, but you may need to practice your JavaScript skills to find your next job.

flywheel··on Why I am building a product with a tiny market
I honestly found it to be wonky and not useful, but I am an experienced programmer who knows how to use regex.
flywheel··on The W3C's plan for DRM in HTML5 is a betrayal for all web users
Do you have any clue how encryption works? There are plenty of open-source encryption algorithms that are very secure.

I'm not sure how W3C is recommending the DRM be implemented, but it is in no way necessary for the source code for browsers to be 'closed' vs 'open' source in order to have effective DRM.

flywheel··on Announcing Firepad — Our Open Source Collaborative Text Editor
Security? Client-side encryption.
flywheel··on Decaf: Ruby in the Browser
MOAR Javascript, please.

There is something to be said for ubiquity that programmers of other languages just don't get. Ruby might seem like a good idea to put into a browser but it will run slow as shit compared to the javascript engines that are in modern browsers. A lot of development has gone into optimizing javascript engines. Ruby, not so much.

Javascript is also the easiest language to learn, requires no boilerplate, and will run inside any web browser since the mid 90s, and the code you write with it can run instantly in any web browser, no installation required, just a URL to click on. There are so many reasons to learn javascript and develop with it, it is really unique and should remain that way. I'd really rather not go back to the days when there were two front-end languages, or worse, coffeescript.

flywheel··on Decaf: Ruby in the Browser
Those who remember the hell that was VBScript in the browser, know that having support for more than one front-end language is not such a good thing. Web developers have benefited from having javascript as the only language supported by browsers.

Language fanboys might bash javascript, but there are many examples of the great things that can be achieved with javascript that make them look really quite silly, and every language has its pitfalls. Javascript is not a bad language, but it is misunderstood and people who misunderstand it are the most vocal detractors.

Opening up the browser to many languages causes the tower of babel all over again. Now front-end devs won't just be required to be a "javascript ninja", they will now have to master many other languages in addition to all of the DOM wackiness that comes with supporting multiple browsers. It's all just too much.

flywheel··on How to build a $5 Arduino clone
Ever hear of "free samples"? How about $0.00 for the part and $0.00 for shipping.

So many chip manufacturers will send a few parts to whoever wants to order them.

Atmel sample store: https://secure.atmel.com/forms/secure/verifylogin.aspx?targe...

For students on a budget, or anyone interested in electronics, you should be ordering free samples.

May latest score is two ADXL362 chips, normally sell for ~$9 each in qty 1. I got them shipped express from asia, totally free.

I've gotten tons of microcontroller chips, small graphic LCDs (as well as the associated touch-screens), even a laptop touchpad, all types of LEDs, and many other components. My workbench would make most EE labs blush, and a lot of it was totally FREE, including shipping.

flywheel··on Silicon Valley is high on innovation. And pot
You don't know how to use Marijuana. You don't need to get completely baked to have positive benefits while working. It's really all about dosage and the way you consume it. I don't smoke it anymore, but I take THC pills that I either make or buy at a dispensary. It is a very clean and useful way to consume Marijuana that doesn't need you to get "baked" and out-of-your-mind stoned.
flywheel··on Live Coding in CoffeeScript
Both meanings are equally repulsive and are activities without merit. The fact that this is about coffeescript doesn't surprise me at all.

"and just starting to learn CoffeeScript, because it seemed rather cool"

This thought pattern is wholly flawed. "Seems cool" is not a reason to learn coffeescript, in fact there is no good reason except syntax fetishism, which is also not a good reason.

flywheel··on Psilocybin shows success in medical trials
Meditation is "the third way". The Fourth Way is superior in many respects.

http://gurdjieff.tribe.net/thread/158f144d-6630-46e6-ad5d-f2...

DMT is the epitome of the fourth way. It is transformative in a way that nothing else can really approach, not LSD or mushrooms or any amount of meditation, or what have you.

flywheel··on For Wealthy Chinese, Bicycles Become Status Symbols
I have lived car-less in Los Angeles for 15 years. I do NOT "mooch" off car-having friends. If we are all going to a party together or on a trip, I pay for my share of gasoline, and usually buy lunch for the driver if applicable. I never request a ride from anyone when a bike or public transport can do the job.

Your characterization of non-car-having-people is very misinformed.

← PreviousPage 3 of 3