News for hackers. Stuff that matters.

ngzhian

If you are using Emscripten, porting x86 should be easy (see https://emscripten.org/docs/porting/simd.html#compiling-simd...), but you will take some performance hits (like float min/max) and these are all documented in the links above.

If you are interested to bring more SIMD instructions, you can participate in the SIMD subgroup. What's needed is interest in suggesting new instructions, working on a proposal (following the process) and pushing it through. Compiler expertise not required :)

Re:Ask HN: What are some interesting papers in CS for a beginner? on Wednesday November 15, 2017 @08:40PM (#15709677)
2 classics that don't require a whole lot of backgrond are:

- An Axiomatic Basis for Computer Programming by C. A. R. Hoare

- The Next 700 Programming Languages by P. J. Landin

The most recent paper I've read is:

- Storage strategies for collections in dynamically typed languages - Bolz, Diekmann, Tratt

I blog about some papers I've read on my blog [0], and these three papers I've mentioned have their own post, where I summarize key ideas of the papers. Take a look if you're interested.

[0] https://blog.ngzhian.com/

Re:Ask HN: What are you working on? on Wednesday April 05, 2017 @09:58PM (#14047331)
You might be interested in this: https://visualgo.net
Re:Ask HN: Is it worht learning OCaml? on Sunday March 12, 2017 @12:44PM (#13851512)
Yes!

A useful tool for writing OCaml in Vim is Merlin [0].

Facebook uses OCaml as well [1] [2] [3]

A great tutorial is [4]

[0] https://github.com/ocaml/merlin

[1] https://github.com/facebook/reason

[2] https://github.com/facebook/flow/

[3] https://github.com/facebook/infer

[4] http://realworldocaml.org/

Quickview for YouTube! Allows you to quickly view videos from your subscriptions feed page without any clicks.

https://chrome.google.com/webstore/detail/quickview-for-yout...

Cool extension! My YouTube session usually happens on my subscriptions page, so I made this extension for non-stop, no-click viewing (hover to play video!): https://chrome.google.com/webstore/detail/quickview-for-yout...
Re:Browse Hacker News Like a Haxor on Tuesday April 19, 2016 @02:39PM (#11529146)
From https://github.com/donnemartin/haxor-news/blob/master/haxor_...

  haxor
  Unofficial Python wrapper for official Hacker News API
Re:Why your query language should be explicit on Thursday June 18, 2015 @09:25PM (#9742590)
The SQL version reads left-to-right, similar to how ReQL's version reads top to bottom, and both reflects the execution order (in terms of a common way of text flow). From my understanding, ReQL does not do any form of optimization based on the complete query, the `.()` punctuates the flow of command. Whereas and SQL statement is just one compound thing made up of different commands where the SQL engine can optimize, which makes it hard to tell.
Re:No Longer an Inspiration on Wednesday April 15, 2015 @01:42PM (#9382689)
i can confirm this, i was there at the hackathon
Re:Code that breaks 2 or 3 times every month on Friday October 31, 2014 @10:16AM (#8538826)
Not trying to complain here, just sharing and interesting feature
Re:Code that breaks 2 or 3 times every month on Friday October 31, 2014 @10:16AM (#8538821)
Tests that relied on date (especially involving getting the current date) are usually hard to get right. I had an assignment in school to build a To-do list, and had lots of problems trying to test it. I think I solved it by having methods take 2 dates, initial and relative date, rather than just getting the current date.
Re:Code that breaks 2 or 3 times every month on Friday October 31, 2014 @10:13AM (#8538798)
Oh wow, that is a pretty bothersome trouble. I don't know nearly enough about databases and generating reports to understand this, but that link is saved. Thanks for sharing!
Re:Code that breaks 2 or 3 times every month on Friday October 31, 2014 @10:09AM (#8538780)
Exactly, not sure how much code has been written to take advantage of this fact. Taking day 1 is a much safer option definitely.
Re:I will never be able to log in to Flickr again on Sunday May 25, 2014 @02:08AM (#7795637)
Yes many sites do require that, but Yahoo? I expected a little more from them, does it even make any sense to have such password requirements anymore? Also, I can't tell for sure if the phone verification is optional, it could be required for new sign ups randomly. Yea I most definitely can, but I will definitely don't feel like logging in anymore.
Re:I will never be able to log in to Flickr again on Sunday May 25, 2014 @02:06AM (#7795630)
I'm pretty sure from 2007 till 2014 they made some changes to allow users to log on using Facebook/Google accounts, and they reverted in recent months