HNHacker News
TopNewBestAskShowJobs

technofire

102 karma · joined December 16, 2014

submissionscomments
technofire··on Ask HN: What has heavily influenced your coding style?
I agree with several other users on this thread about maintaining existing code. If you aren't already working in a position in which you have to modify code written by others, try to start fixing bugs or writing features for an open source project. In either case you should immediately see how frustrating it is to try to figure out why things in the code base are the way they are, and I think the best solution is not documentation but clear, clean code that self-documents, not with comments but with small focused recipe-like functions. Bob Martin's book Clean Code[1] is a quick read that makes clear how this can be done effectively. Martin Fowler's book[2] is another obviously good illustration.

The second thing that has really influenced my coding style for the better (making it clearer and easier to understand) is writing a medium-sized program using a strictly functional language like Erlang. This will force you to use global state less, to write functions in such a manner that the function itself includes all the information required to understand it, simply because global state cannot be used and everything on which the function operates must be passed into it explicitly via its parameters.

[1] Clean Code (Robert Martin) http://amzn.to/2uewcpB

[2] Refactoring (Martin Fowler) http://amzn.to/2vnD7vx

technofire··on Scientists Reverse Brain Damage in Drowned Toddler?
> if we're going to throw in hyperbole, it should at least be somewhat accurate

Exaggeration is an essential part of the definition of hyperbole. Merriam-Webster literally gives the definition of the word simply as "extravagant exaggeration."[1]

[1] https://www.merriam-webster.com/dictionary/hyperbole

technofire··on Why a Universal Basic Income Will Not Solve Poverty
If a bunch of people move to the middle of nowhere, they will need goods and services, and thus jobs will be created as enterprising people move to provide them.
technofire··on Unitools – A suite of tools for working with Unicode in the browser
I think what he's getting at is that whatever program is reading the text must be prepared to read UTF-8 and not just ASCII. Sure, the underlying data is the same, but the data type is not the same; analogously, a byte with the decimal value of 65 might be the number 65 if cast as an integer, but might be the character 'A' if cast as a char.
technofire··on Ask HN: How happy are you working as a programmer?
Second-guessing yourself is a good sign. As Michael Atiyah said, "Only the mediocre are supremely confident of their ability. The better you are, the higher the standards you set for yourself."
technofire··on Post-human mathematics
No, precisely the opposite should be said of engineers. Engineering is about reusing well-known techniques to achieve repeatable, predictable results whose timelines can be estimated. Engineering is not art. When civil engineers build new buildings or bridges (and I'm talking about your common building or bridge, not some iconic project), do they try to innovate and undertake to do things in some new-fangled way every time? No, because this would be extremely costly and dangerous and would render useless much of the past work that's been done testing materials and loads and so forth. When a method is known of constructing a bridge or an overpass that is both safe and economical, a good engineer should just keep doing that, with perhaps some adaption as appropriate on a case-by-case basis.

If software developers would stick with tried-and-true tools instead of inventing new frameworks to solve the same old problems and immediately obsoleting the "old" way of doing things each time, we'd have much less legacy code and likely would be much better at estimating software development tasks, and wouldn't have to solve the same problems over and over again.

technofire··on Ask HN: Who wants to be hired? (June 2015)
FYI, when I attempt to view your resume I encounter:

"You and this LinkedIn user don't know anyone in common ... You can only view the profiles of users within your network. However, as you add connections, you may discover people you know in common."

You might want to adjust the public profile privacy controls on LinkedIn so that the public can view this.

technofire··on [dead]
Synopsis:

"Flush with cash after raising more than $5 billion from investors, Uber offered some scientists bonuses of hundreds of thousands of dollars and a doubling of salaries ... In all, Uber took six principal investigators and 34 engineers. The talent included NREC’s director, Tony Stentz, and most of the key program directors."

technofire··on Cuba and the U.S. will begin to normalize relations
> This is an executive action.

Not quite; some restrictions have been lifted but this is not yet a done deal:

"Although the decades-old American embargo on Cuba will remain in place for now, the administration signaled that it would welcome a move by Congress to ease or lift it should lawmakers choose to."[1]

[1] http://www.nytimes.com/2014/12/18/world/americas/us-cuba-rel...

technofire··on The most popular web sites every year since 1996
It seems you've overlooked "Penthouse" near the bottom of the list in 1996.
← PreviousPage 2 of 2