Better HN
topnewbestaskshowjobs
Log inSign up

lexy0202

57 karma · joined May 22, 2012 (14y ago) · 46 submissions

hnchat:AdPKr8X6U1teOf36wsYB
Submissions

1.

TypeScript: Trade-offs in Control Flow Analysis(github.com ↗)

1 points · by lexy0202 · 7y ago · discuss

comment 8y ago · link · parent

I'm still reluctant to use TypeScript given that it has a serious type narrowing bug that is two years old! You'd think Microsoft could have sorted this out by now.

https://github.com/Microsoft/TypeScript/issues/9998

comment 8y ago · link · parent

What the author refers to as "randomization strategies" is in fact regularisation: a set of techniques to prevent over fitting.

comment 9y ago · link · parent

Yes.

comment 9y ago · link · parent

This. Running a script which takes hours to execute, only to find you have a TypeError on the last line just before you get the results you need is really frustrating. Static typing is a must-have imo.

comment 9y ago · link · parent

> I can probably write vanilla JS or Python code that does that in 10 lines or so and would finish in around 5 seconds.

Really? There are certainly frameworks that you can use to achieve this performance in that amount of code, but I would be really interested to see that in vanilla JS/Python.

comment 10y ago · link · parent

Disclaimer: I worked for this company.

StarLeaf (https://www.starleaf.com/) is a great alternative for businesses.

comment 11y ago · link · parent

It would be great if you could have simulation objects inherit from one another - e.g. if you're making a weather system to have a generic cloud, and then have thunder cloud and rain cloud inherit from cloud.

comment 11y ago · link · parent

Light (read: any electromagnetic wave) cannot escape a black hole beyond the event horizon. Therefore this wouldn't work.

comment 11y ago · link · parent

I have done a quick and rough translation of the German article into English. Hopefully this is better than the Google Translate version: https://gist.github.com/alexcoplan/0018e3320f99a612c737

comment 11y ago · link · parent

This hangs and hogs the CPU on "Starting Docker VM" for me.

12.

Lyrics Training – Practice listening in a foreign language with music(lyricstraining.com ↗)

4 points · by lexy0202 · 12y ago · discuss

comment 12y ago · link · parent

Same here

comment 12y ago · link · parent

Do you need the semicolons?

comment 12y ago · link · parent

Because it essentially acts like quick look for the terminal.

comment 13y ago · link · parent

Umm.. Macs?

comment 13y ago · link · parent

It makes pretty colours. http://alexcoplan.github.com/amazingjs/

comment 13y ago · link · parent

These guys have worked well for me, and really cheap for a low-endish box: http://infiniserv.com

comment 13y ago · link · parent

This: http://qiao.github.com/euphony/#49

comment 13y ago · link · parent

Very good explanation - thanks.

comment 13y ago · link · parent

Once you get over the 3D header this article is amazing.. the visualisations are incredible.

comment 13y ago · link · parent

And suddenly the true purpose of WebGL became clear..

This is pretty awesome, would be better if it was in sync with the music though? It gets out after a bit.

23.

TTS on a Raspberry Pi (sort of).(gist.github.com ↗)

1 points · by lexy0202 · 13y ago · discuss

comment 14y ago · link · parent

Clickable: http://www.facstatim.com/login/clien.php

25.

Ask HN: Has anyone else seen this Facebook phishing attack?

2 points · by lexy0202 · 14y ago · 1 comment

comment 14y ago · link · parent

I would have thought that the kind of people who post on HN are going to be better at correct use of English than those on your average Facebook/Twitter stream.

27.

HN, why do you auto-capitalize posts?

5 points · by lexy0202 · 14y ago · 3 comments

12