HNHacker News
TopNewBestAskShowJobs

mthomas

357 karma · joined July 24, 2009

github.com/mt
submissionscomments
mthomas··on Kenyan engineer modernizes vintage cars with a custom ECU and EFI upgrades [video]
Kenyan engineer modernizes vintage cars with a custom ECU and EFI upgrades
mthomas··on Seven Lessons from Ten Outages
#3 has a, b and c parts.
mthomas··on Hy – A Lisp-flavored Python
I don't see any clever way to make that more readable. I would have to break it into two subexpressions and then take the difference. i.e.

    (setv e0 (-> (+ 1 3 88) (/ 2)))
    (setv e1 (-> (+ 3 2) (* 8)))
    (setv result (- e0 e1))
mthomas··on Hy – A Lisp-flavored Python
I find that both are equally (un)readable. However, for expressions that are that long, I'm inclined to write:

    (setv result (-> (+ 1 3 88) 
                     (/ 2) 
                     (- 8)))
mthomas··on Thyssenkrupp presents Multi, the first magnet drive elevator rope-free
I wonder what the backup is for when the power fails while several cars are in one shaft.
mthomas··on Ask HN: Is there a go-to JDBC command line client?
HSQLDB comes with a command line tool called SqlTool http://hsqldb.org/doc/2.0/util-guide/sqltool-chapt.html

You will have to setup the classpath manually and specify the jdbc driver. It is pretty basic.

mthomas··on Julia 0.3 Release Candidate 1
Release notes here: https://github.com/JuliaLang/julia/blob/v0.3.0-rc1/NEWS.md
mthomas··on Verizon to Buy Vodafone - Now the Largest Carrier in the World
The title is misleading. Verizon is buying out Vodafone's part of Verizon Wireless. Verizon Wireless is owned 55/45 by Verizon and Vodafone.
mthomas··on Braces are the future Hear, hear you Rubyists & Coffeeists
SyntaxError: not a chance
mthomas··on Nitrous.IO is now in public beta
It would be nice if they put a link to the main site from the blog for those who don't know what this is.
mthomas··on Spark: Open Source Superstar Rewrites Future of Big Data
My understanding of hadoop and hdfs is that both input and ourput are to/from disk. Your MR jobs are spun up and pointed to hdfs urls to read input from and they write to hdfs when done. This means that when there is an error, the intermediate computations don't necessarily have to be redone. However there is a trade off.

Additionally, I believe that HDFS keeps 3 copies of the data around on 3 different nodes for redundancy. So there is the overhead of that network traffic.

mthomas··on Ask HN: High-pitched noise when lots of colored text shows in terminal over SSH
http://www.silentpcreview.com/stop_lcd_whine What happens if you increase the brightness
mthomas··on Remote Execution Flaws a Risk to Spring Framework Applications
There is no information in that article except generic language about injection.

I believe this is the actual advisory: http://www.mindedsecurity.com/fileshare/ExpressionLanguageIn...

It appears that spring double evaluates the expressions, so you can send a request param that is an EL expression that references values present in the server environment.

mthomas··on Rails in Realtime - How LayerVault updates every page in a second
Can I ask that all product blogs provide a link to the actual site? Not everyone knows what layervault is and it would be nice to browse to the site without having to manipulate the address bar.
mthomas··on On{X} let's you hack your android instantly via JavaScript
It is annoying that facebook login is required.
mthomas··on Ask HN: Most affordable method to host a lot of files
Why not use S3 with cloudfront.
mthomas··on VMWare opensources Affinity, a graph and document database
How opensource is it if you have to agree to a TOS and give them your email to view any documentation about it.
mthomas··on Ask HN: How does Upromise track my credit card use?
If I recall correctly, we sent a daily feed to Upromise. I don't know how often or when they updated their totals.
mthomas··on Ask HN: How does Upromise track my credit card use?
That's more or less correct. But, the customer who is tracking their percentages earned would know that their purchases were not accounted for.
mthomas··on Ask HN: How does Upromise track my credit card use?
Each retailer that "supports" Upromise sends them a sha256 hash of your creditcard along with the amount for each transaction.
mthomas··on Ask HN: Easiest way to ensure a HD is not readable?
Seconded. Alternatively you can just take a power drill and drill a hole straight through the case into all the platters.
mthomas··on A cron pitfall that will probably snare you at least once in your career
You simply highlight the blocked text to reveal it. The text is the same color as the background.
mthomas··on Collection of classic computer science algorithms written in JavaScript
I question the inclusion of bubble sort especially two versions of it. I worry that people are more prone to using bubble sort, because it's conceptually simple.
mthomas··on Anonymous directly targets US Govt. over PROTECT IP Act
This headline is misleading. According to the article, Anonymous is targeting the US Chamber of Commerce http://en.wikipedia.org/wiki/United_States_Chamber_of_Commer... which is a business lobby, not part of the US Government.
mthomas··on A Java CSV File Reader
There is more to CSV that splitting a line on commas. http://en.wikipedia.org/wiki/Comma-separated_values#Basic_ru...

You need to be able to handle values that contain commas, quotes, leading spaces and line breaks.

mthomas··on Inception explained with the OS X Finder
I have to say inception wasn't too difficult to understand. I still don't understand Primer: http://en.wikipedia.org/wiki/Primer_(film) though.
mthomas··on Apple dumps Intel from laptop lines
Also, they would have to recompile and test all their existing applications on the ARM architecture. It was a big deal when they switched from PowerPC to Intel.

I guess that this would make sense if they started making laptops running iOS.

mthomas··on Robot Journalist writes a better story than human sports reporter
This is a single data point. Its best not to draw conclusions from it.
mthomas··on Nix fixes dependency hell
The article is from 2008. Link to the project page: http://nixos.org/ with links to a video and slides from 2011
mthomas··on Ask HN: Did Leibniz beat Newton?
The details of the Calculus were not worked out until decades after Newton and Leibniz: http://en.wikipedia.org/wiki/Mathematical_analysis.

However, the notation that most people use to denote infinitesimals and differentiation is Leibniz's notation: http://en.wikipedia.org/wiki/Leibnizs_notation

Page 1 of 2Next →