Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
inglor
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
74 ms
·
661.
▲
by
inglor
10y ago
MobX is _incredibly_ simple. If you have a property you need observed - add a `@observable`. If you have a react component you want to update automatically, add `@observer`. Derive as much as you can using `@computed`. You can but shouldn&#
662.
▲
by
inglor
10y ago
VueJS is pretty old, old enough to be there when React and Angular were just emerging as viable options. It's great, and I'm grateful for it being around and for Evan's contribution but I think it was pretty lucky timing wise
663.
▲
by
inglor
10y ago
I agree 100%, MobX is like a full order of magnitude performance upgrade for me over redux. You can just think of it as "automatix redux + reselect". People think they use redux for immutability but in my experience most people ju
664.
▲
by
inglor
10y ago
For what it's worth, the TypeScript compiler can do all that for you and in my experience is giving me more informative warnings. Babel is great, I think returning the issues to GH is a big win.
665.
▲
by
inglor
10y ago
Hi, sorry for the bother but the terms "RL^2" and "learning to reinforcement learn" aren't very googleable - would you mind sharing a link to the paper you're discussing?
666.
▲
by
inglor
10y ago
I cheated here (this _is_ a binary perceptron), but the conversion is super easy with one-vs-rest or one-vs-one (training all pairs and then doing pairwise comparison until we find the one that matches), that would still take ~20 seconds to
667.
▲
by
inglor
10y ago
About 10 seconds and 10 times the samples does that.
668.
▲
by
inglor
10y ago
Hey, sure - here's 9 lines of code that implement a perceptron. I get ~95% of precision after a second with 400 samples. ```js const dotSign = (v1, v2) => v1.reduce((prev, x, i) => prev + x * v2[i], 1) > 0 ? 1 : -1
669.
▲
by
inglor
10y ago
"98.8% accuracy on MNIST in 13 minutes training" - that's really slow isn't it? I can probably write vanilla JS or Python code that does that in 10 lines or so and would finish in around 5 seconds. Why is this taking so
670.
▲
by
inglor
10y ago
Question for staltz - are you happy with the cycle code at https://github.com/staltz/matrixmultiplication.xyz/ ? It feels like a lot of work for this sort of task which I feel could have been achieved by using an
671.
▲
by
inglor
10y ago
Major props to Anthony https://github.com/ircmaxell for adding this as a language supported feature to PHP as well for his work on techniques for preventing injection. I work with C#, Java, Python Go and JS on backends a lo
672.
▲
by
inglor
10y ago
JavaScript maps can have object keys, you're just using objects as dictionaries. Objects in python don't typically have non-string keys. ```js var m = new Map(); var o = {}; // some object m.set(o, 5); m.get(o); /&#
673.
▲
by
inglor
10y ago
I just want to point out that I'm living in a country (Israel) that has ceasefires lasting tens of years (with Syria for example) even when the other region is in internal conflict. I'm not saying ceasefires are great but there ar
674.
▲
by
inglor
10y ago
There is a problem with all these studies - they all use a very small amount of programmers (21 in this case) with no experience (all graduate students in this case) and presumably no significant experience with TDD or TLD. I'm not mak
675.
▲
by
inglor
10y ago
This - so much. If my company grows I don't really see how we can _afford_ taking a much bigger office as large office spaces are really expensive in city centers to being with - not to mention supply isn't exactly great. Building
676.
▲
by
inglor
10y ago
It doesn't, it just gets very _expensive_ to live very well in a city center with a family. I guess this is what the OP meant by "certain circumstance".
677.
▲
by
inglor
10y ago
There are plenty of parks in most of Tokyo and apartment costs are reasonable if you get 10-20 minutes of metro away from the center. There are excellent educational centers in Tokyo too if you know where to look and every single train stat
678.
▲
by
inglor
10y ago
In general, mixing synchronous and asynchronous I/O typically brings you the worst in both worlds. This has been a nightmare in C# which pioneered async/await - a lot of developers are struggling with footguns from mixing sync and
679.
▲
by
inglor
10y ago
Could someone tell me what sort of useful information I can distill out of those graphs? I'm really not sure at the package level what conclusions we can draw outside of "many circular dependencies - bad". I don't think
680.
▲
by
inglor
10y ago
In practice, everyone uses products by companies like Yodlee, they barely work and have a ton of production bugs and they're expensive but they sort of get the job done and they "work" almost everywhere.
681.
▲
by
inglor
10y ago
It makes the blog post more approachable for users. I have seen the exlicit style being used over the point-free style many times before since it seems like it's easier for newbies to grasp - I haven't seen any evidence to suppo
682.
▲
by
inglor
10y ago
Native promises in JavaScript suffered from debugging issues - but there are hooks that can help you with those - like unhandledRejecton and the like. Debugging promises in JavaScript is very easy at the moment.
683.
▲
by
inglor
10y ago
TipRanks, we're a well funded mature fintech startup with clients that's doing really well - we're looking for ONSITE backend engineers who like to solve hard problems with interesting data. We're located in Tel Aviv, Is
684.
▲
Yahoo Sells to Verizon in Saddest $5B Deal in Tech History
(forbes.com)
2 points
by
inglor
10y ago
|
0 comments
685.
▲
by
inglor
10y ago
If you serve to mobile phones in third world countries every KB counts. For some of us this is a reality.
686.
▲
by
inglor
10y ago
This comment is correct - promises in JavaScript started like this and settled on their current API for ergonomics. Here is a standard promise implementation with deferred execution that never took off: https://github.com/th
687.
▲
by
inglor
10y ago
I don't understand, at TipRanks (our FinTech startup) we have been busting our asses off to get a steady revenue stream and partners. We've been at it for years and we finally have something we're proud of and works well - bu
688.
▲
by
inglor
10y ago
Not only this makes sense, Python offers pluggable type systems that let you type some of your program, or all of it - as much as you'd like. A similar trend with TypeScript emerged in JS land where it's gaining traction. (and flo
689.
▲
by
inglor
10y ago
As a side note - if you ARE a developer in Gaza reading this and would like free coding help - feel free to contact me at "myhnusername"@"googlesemailservice".com
690.
▲
by
inglor
10y ago
I agree - it is equally frustrating. If you send me his contact information I'll see if I can contact some people from my university and see if there is something that can be done.
More ›