News for hackers. Stuff that matters.

mthomas

Kenyan engineer modernizes vintage cars with a custom ECU and EFI upgrades
Re:Seven Lessons from Ten Outages on Wednesday June 23, 2021 @12:06AM (#27600675)
#3 has a, b and c parts.
Re:Hy – A Lisp-flavored Python on Wednesday August 02, 2017 @09:17PM (#14916199)
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))
Re:Hy – A Lisp-flavored Python on Wednesday August 02, 2017 @04:44PM (#14914448)
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)))
I wonder what the backup is for when the power fails while several cars are in one shaft.
Re:Ask HN: Is there a go-to JDBC command line client? on Tuesday July 22, 2014 @07:58AM (#8068437)
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.

The title is misleading. Verizon is buying out Vodafone's part of Verizon Wireless. Verizon Wireless is owned 55/45 by Verizon and Vodafone.
SyntaxError: not a chance
Re:Nitrous.IO is now in public beta on Wednesday June 26, 2013 @01:42PM (#5947588)
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.
Re:Spark: Open Source Superstar Rewrites Future of Big Data on Wednesday June 19, 2013 @02:34PM (#5907344)
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.

http://www.silentpcreview.com/stop_lcd_whine What happens if you increase the brightness
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.

Re:Rails in Realtime - How LayerVault updates every page in a second on Wednesday September 05, 2012 @04:16PM (#4481245)
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.
It is annoying that facebook login is required.
Re:Ask HN: Most affordable method to host a lot of files on Friday March 02, 2012 @09:39PM (#3659191)
Why not use S3 with cloudfront.
Re:VMWare opensources Affinity, a graph and document database on Wednesday February 29, 2012 @11:15AM (#3648342)
How opensource is it if you have to agree to a TOS and give them your email to view any documentation about it.
Re:Ask HN: How does Upromise track my credit card use? on Wednesday January 18, 2012 @06:41PM (#3482456)
If I recall correctly, we sent a daily feed to Upromise. I don't know how often or when they updated their totals.
Re:Ask HN: How does Upromise track my credit card use? on Wednesday January 18, 2012 @06:10PM (#3482334)
That's more or less correct. But, the customer who is tracking their percentages earned would know that their purchases were not accounted for.

Older »