News for hackers. Stuff that matters.

oxplot

Re:Math.random() in v8 is not very random on Thursday November 19, 2015 @10:57PM (#10599474)
Given the author's comment:

"Xorshift generators (also discovered by Marsaglia) are fast and do very well on statistical tests (much better than MWC1616). An xorshift variant called xorgens4096 has been implemented in Javascript by David Bau. It has a 4096-bit state space, a cycle length of ~2⁴⁰⁹⁶, and it runs faster than MWC1616 in Chrome on my machine."

there is no reason not to have a better math.random().

Re:Gitwatch: Watch a Git repository for changes on Tuesday November 17, 2015 @05:32PM (#10584480)
You don't need the full versioned repo, just the top commit (ie cloning with depth=1). Also, git compresses the objects before sending them.
Re:The most popular curl download – by a malware on Monday November 16, 2015 @11:23AM (#10575275)
Daniel mentions in the comments [1] that this is a binary build and implies that it's not meant to be hotlinked to.

[1]: http://daniel.haxx.se/blog/2015/11/16/the-most-popular-curl-...

Re:Gitwatch: Watch a Git repository for changes on Saturday November 14, 2015 @07:59AM (#10565504)
This looks great. Have you thought about turning it into a unix filter?
Re:Gitwatch: Watch a Git repository for changes on Saturday November 14, 2015 @06:49AM (#10565357)
You only delay saving time and bandwidth — you eventually have to clone the repo for any ops other than checking the head SHAs and unless the repo is rarely updated, the delay will be short.
Re:Gitwatch: Watch a Git repository for changes on Saturday November 14, 2015 @04:06AM (#10565035)
That only gives you the commit for the head of the branches. If there were multiple commits since you checked last, you'll miss some!
Re:Tomo: Low Cost Impedance Tomography, Alternative to MRI, CT on Saturday November 14, 2015 @03:14AM (#10564925)
It might not be a "competitive" alternative, but it does what CT and MRI do — takes picture inside the body.
Re:How to Remove Your IP from the Gmail Blacklist on Friday November 13, 2015 @10:58AM (#10560478)
Given their concern for ranking of their IP space, they'll be watching you with fifty eyeballs after granting you access.
Re:Five years of Scala and counting: debunking some myths on Friday November 13, 2015 @10:06AM (#10560175)
I've recently started on Rust. Can someone who knows both Rust and Scala draw comparison on the myths the author is talking about?
Re:Deep Learning in a Single File for Smart Devices on Thursday November 12, 2015 @11:58AM (#10554348)
Any links?
Re:Ask HN: How do you search for an appropriate English word? on Thursday November 12, 2015 @08:37AM (#10553012)
OneLook Reverse Dictionary [1]. I use it all the time and it's helped me with coming up with domain names.

[1]: http://www.onelook.com/reverse-dictionary.shtml

Ask HN: Crazy but plausible uses of neural nets

I've always had this thought about a computer that given a story in form of a screenplay or some other textual format, would output a video production of it! I know little to nil about neural nets but given that we have huge amount of training data (e.g. Youtube), this should be doable in the long run.Has anyone else had similar ideas?

( Read More... | 1 comment | 2 points | on HN )
Dymocks bookshop in Australia does this at the checkout [1]. They ask you if you want to round the price up and donate the extra to charities.

[1]: https://www.dymocks.com.au/childrens-charities/round-up

Re:How to Remove Your IP from the Gmail Blacklist on Tuesday November 10, 2015 @11:57PM (#10544896)
Most cloud providers (e.g. Google [1] and Amazon) as well as ISPs block outgoing traffic on TCP port 25 (SMTP) so it's actually fairly hard to run your own SMTP server to begin with.

[1]: https://cloud.google.com/compute/docs/tutorials/sending-mail...

Re:Getting rid of free office snacks doesn't come cheap on Tuesday November 10, 2015 @08:47PM (#10544255)
I can understand the convenience of having snacks a dozen steps away, but where is the evidence that correlates the length of time present in the office with productivity? I can certainly tell from my own experience that stepping outside for even 5 minutes boosted my mental state after I returned.
Re:Mobile App Developers Are Suffering on Thursday November 05, 2015 @07:37AM (#10512946)
I've developed a few apps, and the method that I saw huge potential in was to promote the app to early adopters by submitting it to specialized forums like xda-developers. These are the folks who go out of their way to give your app a spin and spread the word elsewhere for free.
Re:Tesla autopilot stops a collision [video] on Friday October 30, 2015 @08:59PM (#10481403)
Damn it, I knew this. Thanks for spotting it. =]
Re:Tesla autopilot stops a collision [video] on Friday October 30, 2015 @10:40AM (#10478064)
It depends how 'autopilot' is defined. There are airplanes that have autopilot but all they can do is to keep the plane level. And there are others that can take off, land and do everything in between.

Older »