HNHacker News
TopNewBestAskShowJobs

sankha93

421 karma · joined January 24, 2012

https://sankhs.com

[ my public key: https://keybase.io/sankha; my proof: https://keybase.io/sankha/sigs/fNCBWiRz03YhX9qwaVqJtlytd4Cu4ow8db4gHejSxhU ]

submissionscomments
sankha93··on Ask HN: Any logic based software dev tool which helps building code gradually?
I really like F* . It is very close to OCaml in design but allows you to write proofs using a SMT solver or tactic based proofs when the SMT solver gives up. Instead of a proof theoretic language like Coq, the language feels closer to something we regularly program with and the F* compiler can output OCaml and C code. The proofs are erased from the final executable code so you still end up with a program that you would write without proofs.

Microsoft Research's project Everest is using it to write a verified HTTPS stack.

Edit: formatting

sankha93··on Stripe is building a Ruby typechecker
There are a bunch of interesting stuff coming along. I don't know if you have seen the Refinement types in Ruby paper based on RDL recently published in VMCAI [1], this opens the window to verification of Ruby code.

[1]: https://arxiv.org/abs/1711.09281

sankha93··on Stripe is building a Ruby typechecker
Oh, I am not sure how these went unmerged! We should do something about the PRs.

Will shoot you an email to discuss more.

sankha93··on Stripe is building a Ruby typechecker
Any reason why existing typecheckers for Ruby didn't make the cut? There are projects like RDL [1] which provide similar functionality. I know for certain that people from Stripe were taking a look at it last year from the issues they had raised.

Disclosure: I am a grad student, recently started working on RDL.

[1]: https://github.com/plum-umd/rdl

sankha93··on Ask HN: Which companies' tech blogs do you read?
I tried multiple feed readers but didn't find anything satisfying or simple enough. These days I use a Python script that runs as a daily cron and sends me a plain text email of new posts from the sites to which I have subscribed.
sankha93··on Show HN: ShakyDraw – Hand-drawn block diagrams from plain text
Oops! Will take a look into it and fix this right away.
sankha93··on Show HN: ShakyDraw – Hand-drawn block diagrams from plain text
There are tools available to draw ASCII diagrams easily, like asciiflow.com or asciidraw.com. Their output can be directly pasted into ShakyDraw.
sankha93··on Show HN: ShakyDraw – Hand-drawn block diagrams from plain text
While going the other way is not possible directly, but you can use something like asciiflow.com to make a ASCII diagram easily and paste it in ShakyDraw.
sankha93··on Ghost Browser
Firefox Nightly has Container Tabs [1] which have different sessions even though they are a part of the same widow. Also the tabs are colour coded to show that they are different containers.

[1] https://blog.mozilla.org/tanvi/2016/06/16/contextual-identit...

sankha93··on Opposition to Facebook's new internet.org
Internet access is essential. But providing a limited number of sites for free and the rest as paid creates unequal opportunity on an otherwise level playing field.

There are other ways to provide internet connectivity to people - by allowing them to access the entire internet and not limited websites. The Mozilla Foundation runs a program with Grameenphone, where users get free data in exchange for watching an advertisement. It also runs a program with Orange in Africa, where those who purchase a $37 handset get 500 MB of free data.

sankha93··on Opposition to Facebook's new internet.org
The open web is essentially open because anybody with a computer can create and access content online. The cost to entry is almost nil, be it a big corporation or a small startup or any individual.

With Facebook's Internet.org or the "Free Basics" they would be the gatekeepers of defining what the free basic are. It creates a sort of economic divide - why would people people pay to access your site, when a similar big player is providing services on the Facebook's free basic plan?

sankha93··on Google, Microsoft, Mozilla and Others Team Up to Launch WebAssembly
The draft design documents state that any WebAssembly code will have an equivalent text representation - so that is almost comparable to human readable source code. It will not be a linear list of instructions like an assembly source code but will be structured as WebAssembly is supposed to have an AST representation. [1]

I cannot see why FSF will have problem with this then, since if you are distributing a .wasm file you can construct an isomorphic text source code representation from it. This is in spirit with the user should get the source code of whatever they are executing. (Though I agree, it would not be equally readable as original C/C++ source code from the .wasm file was compiled, but then something is better than nothing)

[1] https://github.com/WebAssembly/design/blob/master/TextFormat...

sankha93··on Hubble captures the sharpest ever view of Andromeda Galaxy
502 Bad Gateway. :(
sankha93··on Make No Promises
Strangely I find the promises benchmark faster than the core.async one on the Firefox OS browser.
sankha93··on NSA PRISM Access Console
It was using an ES6 feature. I just removed it. It will now work fine in all browsers.
sankha93··on Show HN: Blog using Github Gists
Yes, but this allows you to host your own blog, and presents all posts not just one at a time.
sankha93··on [dead]
Yes, but this allows you to host your own blog, and presents all posts not just one at a time.
sankha93··on Take care, it's Floating Point Arithmetic
Take the example that I cited: 1 + 2^-25 + 2^-25 ... (2^25 times) will give you 1.

But if you do: 2^-25 + 2^-25 ... (2^25 times) + 1 it will give you 2.

sankha93··on Why does this png display differently in Chrome/Firefox than in Safari/IE?
IE10 shows a pear. It became standards complaint or what?
← PreviousPage 2 of 2