Better HN
topnewbestaskshowjobs
Log inSign up

tchow

22 karma · joined Oct 25, 2015 (11y ago) · 17 submissions

Submissions

comment 8y ago · link · parent

How many hundreds? We are apparently at 72 qubits...sounds to me we are a year or two away from what you're saying

comment 8y ago · link · parent

Can you share your experience with sicp? I'm self taught in JavaScript, go, python, ruby and taken Coursera for algorithms and read up on the operating system. Will sicp help me?

comment 9y ago · link · parent

May be wrong but I think it's made to 'solve' centralised identity

comment 9y ago · link · parent

They took a trend of 40 years. You took a trend of 1 week.

comment 9y ago · link · parent

4.0 is a regression imo. The docs say that if you do server side rendering with code splitting then 'God Speed' (their words not mine).

I don't see the benefit of switching if v3 allowed me to ssr and code split while v4 doesn't allow me to do both.

From the user pov it went from instantly displayed page with minimal js required to choosing one of those options.

What benefits could exist that supercede giving the user the best possible experience? (Genuine question).

I can't imagine huge speed gains going from one page to the next from this change and indeed changing pages in SPAs are essentially instant. So what could possibly be better that makes it worth getting rid of ssr and code splitting? Imo I won't be using react-router in future products because they are too fickle with their codebase.

comment 9y ago · link · parent

Adding stuff to a request body in GET is considered an antipattern

comment 9y ago · link · parent

When doing something like `student/1245/courses` there will certainly be a scenario where you want a list of courses on their own as well.

If planning ahead, does that warrant designing your route such as:

`/courses` where you get a list of courses and `/courses?studentId=12345` Where you get courses scoped to a student...

Or is it better to just recreate a separate route such that you have /courses AND student/2345/courses?

Im concerned that the latter results in duplication of code and possibly more confusion (ie not clear if the API require POST to /courses or /student/12345/courses to create a course for a student ) while the former results may cause (lack of) caching problems.

Suggestions?

comment 9y ago · link · parent

I don't see any discussion about what this does besides decentralisation. Care to explain how it is securing through decentralisation? Is this some blockchain based solution?

comment 9y ago · link · parent

>The point of zero-knowledge is that an external observer should not be able to be verify the proof, only the parties involved.

Had no idea from the story that was the point of a zkp

comment 9y ago · link · parent

While action fallback sounds pretty useful, it feels like a framework solution to a language problem. The language just doesn't handle nested if statements very well.

Also writing elixir always feels like the lines of code are longer than the width of my IDE. It is so much text...

My Elixir (and phoenix) experience so far, has been far from amazing contrary to all the hype on hn all the time.

comment 9y ago · link · parent

Any suggestions on a cheap cloud compute engine to play with cuda that won't cost me a fortune as I learn?

I have macbook pro. Is it better to just buy a nvidia GPU and throw it in?

comment 9y ago · link · parent

He mentioned a lie of:

Code should be designed around a model of the world

but I didn't hear any reason why not to? The Key/Value pair being the only reason, but besides that being a optimization / preoptimization in high performance applications, is there any reason to not design code around a model of the world?

Seems to me it makes things easier to think about.

comment 10y ago · link · parent

What is a large-ish app? Just for comparison's sake?

What makes it large-ish? The number of tables? The number of views?

What is the problem that large-ish apps give that Rails solves?

Genuine questions, I only do small projects and I honestly don't see a huge benefit to using rails, despite having used it before.

comment 10y ago · link · parent

wow, that microphone array you linked costs USD$750! Are there any cheaper alternatives?

comment 10y ago · link · parent

How do you know to choose 6 hidden layers with 6 neurons each though? Why not 'x' hidden layers with 'j' neurons each? or some other random number?

Also how do you know to choose a ReLu instead of a Tanh activation?

comment 11y ago · link · parent

This is extremely cool. Someone needs to do this for all the languages that are commonly used. Knowing general speeds of various calls for javascript, ruby, elixir, etc. would be great for web development.