Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tanilama
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
59 ms
·
571.
▲
by
tanilama
8y ago
Workers works pretty differently than regular script. The way it is being loaded, how to import other scripts into worker and have it communicate with your main thread (window) is quite a standard on its own, it is just that it happens to u
572.
▲
by
tanilama
8y ago
> Instead of downloading the entire app before users can use it, code splitting allows you to split your code into small chunks which you can then load on demand. You need to make a business case that your whole application is modularly
573.
▲
by
tanilama
8y ago
Which is what popular setup like create-react-app and alikes are against. It doesn't make too much sense for more heavy application like interactive editors to have multiple artificially split files just to conform with this limit.
574.
▲
by
tanilama
8y ago
> Per-script max size: 50KiB That is quite small actually... My application (internal use, not consumer facing, so no panic) has a single packed script file, that is around 100KB.
575.
▲
by
tanilama
8y ago
Agree. But Google puts such moral handcuffs on itself, hardly worthy of any sympathy.
576.
▲
by
tanilama
8y ago
Better late than never.
577.
▲
by
tanilama
8y ago
TF.js is just a wrapper. It develops independently with TF's core.
578.
▲
by
tanilama
8y ago
Applying ML is one's FREEDOM.
579.
▲
by
tanilama
8y ago
But RNNs are losing its edge over sequence modeling against fully attentional techniques like Transformer, at least it seems to be the consensus right now, Transformer, when done right, offers better performance.
580.
▲
by
tanilama
8y ago
> How? Simplest scenario, the read-increment-write cycle with 2 threads. Even with a mutex, it is still possible to have data race, if the lock is on per operation level. For the second part, yep, it is a mistake, not processes, but thre
581.
▲
by
tanilama
8y ago
> Is there really no situation in which an alternative implementation that only supports "pure Python" would be useful? This really depends on your definition of 'being useful'. Jython is useful in a sense, it is bein
582.
▲
by
tanilama
8y ago
> If this were true, all of the explicit locking mechanisms in Python's threading module would be pointless. Not true. You can have serialized access to the same data structure that still have data race. But as long as each Python p
583.
▲
by
tanilama
8y ago
If we are ever going to get rid of GIL, we need to get rid of Python's C extensions all together. It is not a real Python implementation if not compatible with C extension, it is just embedded DSL that has Python flavor syntax.
584.
▲
by
tanilama
8y ago
Why would not having a CTO symbolize Google's strategy shift from tech? Google has more than enough talented tech visionaries at high levels in each of its sub organizations, probably overpopulated with such. I don't think Google
585.
▲
by
tanilama
8y ago
eventual elimination..
586.
▲
by
tanilama
8y ago
> Amazon really has razor thin margins in its retail sector Not any more, if their advertising business keeps skyrocketing, Amazon will be US's Alibaba.
587.
▲
by
tanilama
8y ago
I am happy that Facebook endure this organized media smearing attacks. It is very obvious to me someone wants to shape a narrative against Facebook, and it is distasteful to dress such intention under an altruistic disguise, like destroying
588.
▲
by
tanilama
8y ago
Well the internet is military project to begin with, it is not born to be fun and weird.
589.
▲
by
tanilama
8y ago
I am not sure the proposal is solving the right problem: > The situation I'm envisioning is that a site can show me any advertising they want as long as they keep the overall size under a fixed amount, say one megabyte per page. Wit
590.
▲
by
tanilama
8y ago
Any benchmarks against traditional data warehouse solutions?
591.
▲
by
tanilama
8y ago
Most likely u need an oracle to forecast all kinds of error in real world.
592.
▲
by
tanilama
8y ago
I think Visual programming is OK when your control flow is linear, and doesn't have too many branches. However, when your control flow contains primitives like break/continue/try-catch, it can get pretty messy very quickly.
593.
▲
by
tanilama
8y ago
If something is broken, best way to start fixing it is to stop pretending it is still working. Good move.
594.
▲
by
tanilama
8y ago
It is unlikely UBI will enable average person to go to an elite school, because by definition elite implies scarcity.
595.
▲
by
tanilama
8y ago
Actually, I would say this might be the strength of AI from another perspective: the ability to observe and monitor global information without losing attention. Or in other words, attend to the whole picture from get go without being overwh
596.
▲
by
tanilama
8y ago
I think by this announcement, it is probably safe to say, even at the size of Twitter, it is probably still more economical to handle your operations to bigger players. Hosting your own infrastructure makes less and less sense going forward
597.
▲
by
tanilama
8y ago
It will be simplistic to assume such decision is tech-driven. Per my experience, it is mostly business driven. Who offers the best deal with the lowest price, gets the business. You'd be surprised, if you are a big enough customer, eve
598.
▲
by
tanilama
8y ago
At the same time, maybe college shouldn't charge that much for a major/profession that might not pay off the student out of his/her student loan back, in like decades?
599.
▲
by
tanilama
8y ago
If you want certain technology to be commercially successful, it needs to provide value. For the most part, most code are tolerated to be buggy, in exchange of fast delivery. And for most internet applications, a single error has limited sc
600.
▲
by
tanilama
8y ago
Layoff, cost cutting.
More ›