Better HN
topnewbestaskshowjobs
Log inSign up

indexerror

689 karma · joined Dec 13, 2015 (10y ago) · 144 submissions

my website: https://sudofish.com my mail: me [at] sudofish.com
Submissions

comment 8y ago · link · parent

This is the approach that Kotlin takes (albeit with boxed primitive types). Float, Integer, Long - all are subtypes of Number.

comment 8y ago · link · parent

> It's been a year and a half since I took a course on this

Can you please recommend a MOOC/resource for learning more about this?

33.

An Illustrated Guide to Covariance and Contravariance in Kotlin(typealias.com ↗)

2 points · by indexerror · 8y ago · discuss

comment 8y ago · link · parent

> Elm exists solely to excel at front-end web development.

Except that it unfortunately falls short of that.

35.

Mike: The headless chicken(en.wikipedia.org ↗)

1 points · by indexerror · 8y ago · discuss

comment 8y ago · link · parent

From page 10-11 of [1]:

> A shared resource provides a way to build a real counting thread with a negligible overhead compared to a message passing approach. This already raised concerns with respect to the creation of a high-resolution clock [19]. In this method, one worker continuously increments the value of the buffer without checking for any events on the event queue. The main thread simply reads the current value from the shared buffer and uses it as a high-resolution timestamp.

[1] https://gruss.cc/files/fantastictimers.pdf

comment 8y ago · link · parent

Windows Phone 8.1 had an amazing feature called Kid's Corner[1]. Galaxy phones have a similar Kids Mode[2].

[1] https://support.microsoft.com/en-us/help/10661/windows-phone...

[2] http://www.samsung.com/global/galaxy/apps/kids-mode/

38.

Scale of the universe(htwins.net ↗)

1 points · by indexerror · 8y ago · discuss

39.

Personal observations on the reliability of the Shuttle – R.P. Feynman(ranum.com ↗)

16 points · by indexerror · 8y ago · 3 comments

40.

(1999) How We Learned to Cheat at Online Poker: A Study in Software Security(datamation.com ↗)

1 points · by indexerror · 8y ago · discuss

41.

Show HN: Hacker-blog – jekyll theme for hackers(github.com ↗)

2 points · by indexerror · 8y ago · discuss

comment 9y ago · link · parent

It can be done using Adobe After Effects and the Bodymovin plugin.

comment 9y ago · link · parent

You ended the wait yourself.

44.

Iceland's Down syndrome dilemma(cbsnews.com ↗)

3 points · by indexerror · 9y ago · discuss

45.

Tips and tricks for writing asm.js as a human(github.com ↗)

1 points · by indexerror · 9y ago · discuss

comment 9y ago · link · parent

Fantastic. Thank you so much for this.

comment 9y ago · link · parent

Looks like the service returns spoiler for movies when contacted on any port. The attacker would get annoyed if all they see is movie spoilers in the logs.

comment 9y ago · link · parent

Except that any non-trivial code in JSfuck is enormous in size.

comment 9y ago · link · parent

I found Microsoft's Office JS API docs to be terrible and borderline unusable.

50.

The meeting that showed me the truth about VCs(techcrunch.com ↗)

1 points · by indexerror · 9y ago · discuss

51.

Prettier adds TypeScript and CSS support(github.com ↗)

2 points · by indexerror · 9y ago · discuss

comment 9y ago · link · parent

Interesting and much needed (as far as my experience in freelancing goes).

1. Are you aware of the legality issues that might arise because of this?

2. Is there a working demo for that I can install and check it out?

comment 9y ago · link · parent

Certainly doable but this should not be done.

54.

What is so ‘scientific’ about Sanskrit?(smritiweb.com ↗)

96 points · by indexerror · 9y ago · 51 comments

55.

The Metaphysics of Causation(plato.stanford.edu ↗)

17 points · by indexerror · 9y ago · discuss

12345