Hacker Newsnew | past | comments | ask | show | jobs | submit | mishraprince's commentslogin

Gary Bernhardt wasn't all that wrong when he mentioned anything that can be written in JavaScript will be written in JavaScript. This post indeed reminded me of his talk https://www.destroyallsoftware.com/talks/the-birth-and-death...


The only thing he missed is that javascript as a compilation target makes less sense than a byte code format designed for such a thing, which is what WASM is. WASM is more similar to JVM bytecode than it is to Javascript. It seems we have a few implementations of WASM that for historical reasons share a code base with a javascript interpreter. But technically that interpreter is not really needed.

You can actually use WASM to run your own javascript interpreter and people are already doing that to not be dependent on the interpreter that comes with the browser or wasm runtime (outside the browser). If you are going to run node.js in a wasm runtime, that's what you might want to do. Likewise, if you want to offer a browser IDE for a node.js project, you might want to run node.js in a browser and this is probably what you'd be doing rather than passing through the javascript to the browser javascript interpreter, which lacks most of the node.js API. Just easier that way.

Likewise if you want to run some old internet explorer 10 javascript, packaging up on old version of that as wasm might allow you to do that. The hard part of course would be getting your hands on the source code. But MS might help us out here or somebody might implement something compatible. Very much like is being done with flash.


Bypassing the idea that this thing is not run via JavaScript but WASM, he was definitely right :)


Use wasm2js to cross-compile WASM to pure JavaScript: https://www.google.co.nz/search?q=%22wasm2js%22 and there are other ways to not require native WASM!


I think it was by Jeff Atwood and hence is called Atwood's Law.


Aah, yes. My bad.


Why that audio? Scared, I could have spilled some fine coffee!


I submitted a PR for configurable volume ~2015 [0]. For as often as I see this complaint in threads about the project, it's a shame that the author isn't interested in implementing it.

[0] https://github.com/tholman/elevator.js/pull/64

[1] https://github.com/tholman/elevator.js/issues/113

[2] https://github.com/tholman/elevator.js/issues/123

[2] https://github.com/tholman/elevator.js/issues/124


Yeah, fuck this audio, it literally made me rip my earbuds out because it was so loud and unexpected. Straight up asshole design.


It’s elevator music. Relax and enjoy the ride


Oh but you don't understand! They had to take their earbuds out. Clearly this is a malicious site and should be treated as such! The volume, after all. Yhoiseth, the volume.


The audio is the whole point of the library. Otherwise you could just use

  window.scrollTo({ top: 0, behavior: "smooth" })


Go easier on the fine coffee, then.


That one reply in that flame war is still hilarious so many years later. To anyone who didn't get the reference of Putnam https://news.ycombinator.com/item?id=35079


wow, that’s one helluva response. HN in 2007 seems like a wonderful place


Like the featured article, HN threads - then and now - are pretty low-key in regards to participant introductions. Usernames are just text, no flair or qualifiers so the focus is on the speaker's content itself. `libria` is free to converse with `cperciva` as an equal peer which is nice, because most other IRL forums I'd be acutely aware that's not the case ;)


I like the part where someone calls cperciva's idea bad, he says what's bad about it then the founder of Dropbox replies saying they're just starting and it sounds like they're in the same space.

Pretty good bad idea


Interesting this reply and one above are from accounts that is rather new.


tldr;

In 2007, an academic argues with PG and others. After long exchange, academic defensively states their own achievements.

Another user challenges academic with GP question, to which academic provides unexpected affirmative response.


I don't agree with that phrasing. A lot of people on that thread seemed sure cperciva was some arrogant dickhead bound for failure, but tarsnap is going a lot stronger than many of them are. Also people in the thread were amazingly rude to him, while he seemed pretty polite to me.


I think you're giving cperciva too much credit. He was just as arrogant as people thought, and he was definitely defensive.


I wonder how many people will downvote you without looking at your username?


This thread is turning out to be better than the one from 2007...


I can't downvote, but I am glad you said something because I didn't look!


But does he refer to himself in the third-person? That's the pinnacle of arrogance.


cperciva rarely refers to himself in the third person, but it does occasionally happen.

More often, we refer to ourselves in the first person plural.


TIL. Sounded reasonable to me, so quite likely I'm arrogant too.

Tarsnap's still there though, so I'd say that's a good defense.


I didn't say that I was wrong.

But I was having a bad day, and I said things in a different and more abrasive way than I normally would.


I think you missed the point. Scroll up, it's the same guy :)


Haha. I did. That’s wonderful.


Didn't see this mentioned, but Wordpress and Drupal have had a huge impact on my early career.

Wouldn't count them as developer tools per se, but as a software provider, I could serve a lot more customers with ease and confidence thanks to hundreds of thousands of man hours put in by the Wordpress and Drupal developers.


Yep, that is the long term agenda of the project. Most (all?) amendments have certain socio-economic/political context which gets lost over time. Amendments (and laws in-general) are better understood when the context is well laid-out.

I'll add all such contexts to all these amendments, including who tabled the bill, how did the debates go, were there any following judicial reviews: all that data.


There is a repo for the USA-Constitution: https://github.com/JesseKPhillips/USA-Constitution

I am not sure if there are any for the states.


- Constitution of India applies only in the Union of India

- The first article of the constitution defines the boundaries of the Union of India: https://github.com/prince-mishra/the-constitution-of-india/b...

- The terminology referred to as "socially and educationally backward classes" is to provide certain underprivileged sections of the society better living standards

- PART-3 (https://github.com/prince-mishra/the-constitution-of-india/b...) guarantees the Fundamental Right to Equality 14. Equality before law.—The State shall not deny to any person equality before the law or the equal protection of the laws within the territory of India.


Till 96th amendment, I used the work done by https://github.com/captn3m0/constitution and https://github.com/anoopdixith/TheConstitutionOfIndia/

96 onwards, I downloaded the gazette notifications and applied the changes manually. I could not find any automated way.

I'll file an RTI one of these days to the Legal Department to source the Constitution as is, after every amendment. Let's see where that goes.


Yes, the original constitution was drafted in English and the full official text of the Constitution in English, available here: https://www.india.gov.in/my-government/constitution-india/co...

However, Amendment 58 (https://github.com/prince-mishra/the-constitution-of-india/c...) made sure Hindi translations exist Hindi version here: https://www.india.gov.in/hi/my-government/constitution-india...

I am not sure about authoritative versions in any other language.


Yeah, now that you pointed out, it does look ugly. I created an issue: https://github.com/prince-mishra/the-constitution-of-india/i... to track this one. I anyway plan to rewrite all commits with corrected time and author info; will be a good time to rename files as well.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: