Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
inglor
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
58 ms
·
601.
▲
by
inglor
9y ago
I'm using an iPhone 7, it will be my last iPhone after 4 models. The lack of headphone jack sucks, the adapter breaks, none of the cheap adapters work - and the audio on good devices sucks. The only real option is to carry a DAC around
602.
▲
by
inglor
9y ago
I think that's why the web is so successful. No one likes the DOM APIs but they provide important capabilities and people just wrap them anyway. The fact you can take the capabilities and evolve the APIs continuously is the big pro her
603.
▲
by
inglor
9y ago
People often make this complaint with flash rather than with VB (although VB is also a nice example - thank you). The web platform aims to solve a _very broad_ problem. I don't know if you've used VB for big projects - but as some
604.
▲
by
inglor
9y ago
Even in platforms that _have_ "NetBeans UI Builder" like tools people tend to not use them. I and my iOS developer friends don't actually uses storyboards for actual UI in non-demo apps because it gets quirky and it's a
605.
▲
by
inglor
9y ago
The reason the web is successful is because it is a relatively _small_ platform that you can build on in userland. I think ideas like including a single binary serialization format as misguided at best - in 3 years we'll want to do som
606.
▲
by
inglor
9y ago
> Components, modules and a great UI layout system — just like regular desktop or mobile development. I don't understand this - I develop for all platforms (web, iOS, Android) and web is always much faster to develop for in terms of
607.
▲
by
inglor
9y ago
I'll try to elaborate, global _app_ state is different from global state "in the wild". The internet is "global state" but you wouldn't call any code that makes HTTP requests global state because the "glob
608.
▲
by
inglor
9y ago
A database is only global and mutable if any part of your code can create it. If you isolate the database access to one module and then force other modules to interact with it through instances of that module in a controlled way - it's
609.
▲
by
inglor
9y ago
I have to say that I've just watched the video and I'm still surprised by how some people get confused by promises. If you forget to handle an asynchronous error in Node.js by default it will silently fail (forget to check err in
610.
▲
by
inglor
9y ago
The happenings in the Node.js community such as forks are a positive and good thing. They let people experiment with things in a new environment. A lot of good came from io.js (modern V8, promise integration etc). Ayo are working on interes
611.
▲
by
inglor
9y ago
Worth mentioning that CSS-in-JS _and_ CSS-in-CSS hot reload in any modern build system anyway. So using workspaces used to be super useful but it's not a big selling point any more.
612.
▲
by
inglor
9y ago
It means that not only the machines can fail by shutting down - they can send incorrect data. I recommend this: http://techtv.mit.edu/genres/19-engineering/videos/16444-pra... which helped me learn how it wor
613.
▲
by
inglor
9y ago
Objects have a length overhead. At Bluebird we used objects and used a bitmask on the length so it's fast. (We use less slots than an array actually) I was just pointing out that Objects weren't slow for indexed access.
614.
▲
by
inglor
9y ago
In V8, objects are actually arrays (sort of, they have an indexed store) - so doing `this[0]` is about as fast as doing it with an array (certain array things like for... of iteration are optimized though - but only if you haven't chan
615.
▲
by
inglor
9y ago
Are you sure of that? If I recall correctly from the source an object with N properties typically requires 1 hidden class (for that object). In order for it to require 8 it needs to add properties very dynamically. Am I remembering this wro
616.
▲
by
inglor
9y ago
No, this is not true. Static allocation is always faster than dynamic allocation _if_ you know you're going to use it. I think what they're suggesting here is not to dynamically allocate large arrays - it's to allocate "
617.
▲
by
inglor
9y ago
You can ask V8 to dump the assembly or intermediate representation or you can just run it with --trace-deopt and it'll tell you most of the time (generally) what's slowing your code down. > I'm asking too much from a langu
618.
▲
by
inglor
9y ago
Hey, I'm no longer affiliated with any site. If you're looking for data - I'd compare the TipRanks data set as well. I've found it to be a lot bigger than MarketBeat's and fairly more accurate. Data collection is
619.
▲
by
inglor
9y ago
Can confirm from my time at TipRanks that this data was useful for trading strategies.
620.
▲
by
inglor
9y ago
To be fair, looking at real data if you look at the 20 best analysts _one year ago_ they made a pretty decent margin (the article doesn't cover this). I can see if I can dig up some old charts if you're interested.
621.
▲
by
inglor
9y ago
Also, can confirm that TipRanks never "correct"ed any errors - which often resulted in "cease and desist"s and legal threats. No analyst who loses money likes a site saying it like it is. The legal threats held to merit
622.
▲
by
inglor
9y ago
TipRanks was founded (I'm no longer affiliated) to solve that. Analyst opinions are extracted from real world news rather than paid for. The point was to hold analysts accountable for their actions by objectively collecting them. TipRa
623.
▲
by
inglor
9y ago
So, until recently I was employee #1 at TipRanks who was founded to answer the question "Are Analysts bullshitting us?" - https://www.tipranks.com TipRanks has loads of great and interesting information - literally wha
624.
▲
by
inglor
9y ago
As someone who uses WebRTC to deliver real value (I'm an engineer @ Peer5 YC W17) - this abuse of WebRTC is awful. I think WebRTC related tooling should get a lot better - and extensions should be able to hook into WebRTC calls just as
625.
▲
by
inglor
9y ago
Also, I hope I don't sound cocky or rude in my other reply. I have mad respect to people who actually go and build stuff instead of complaining. It's a great way to learn and contribute - and who knows maybe we'll all be usin
626.
▲
by
inglor
9y ago
Your idea was described by kriskowal in 2013 (see https://github.com/kriskowal/gtor ) - in the promises community we call them "Tasks". Basically, you can make it work pretty easily with promises and multicas
627.
▲
by
inglor
9y ago
Yes, we've been reading all the golang discussion very carefully. It's nice to see them go through the same mental process we went through - and my hopes are that if we don't interfere they'll come up with a better idea
628.
▲
by
inglor
9y ago
You can also use cancellation tokens with promises. Pretty easy to do and doesn't require a library.
629.
▲
by
inglor
9y ago
Am bluebird collaborator - confirming cancellation does everything this library does - but also componses and ref-counts to work with one-to-many flawlessly.
630.
▲
by
inglor
9y ago
We have a nice JavaScript room at https://chat.stackoverflow.com/rooms/17/javascript for the past 6 years. Our only rule is "don't be a dick". A lot of things are offtopic but we have some pretty pr
More ›