Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
k_bx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
421.
▲
by
k_bx
8y ago
Ironically, artificial meat might be "more natural", since it wouldn't need as many antibiotics if cells would be selected from a healthy animal.
422.
▲
by
k_bx
8y ago
They're actually better than anyone else I know in terms of their cheap instance (around $5/month).
423.
▲
by
k_bx
8y ago
Same reason why Ubuntu became so popular on servers. Good point.
424.
▲
by
k_bx
8y ago
> You just receive the email, open it, click the link and then you could be potentially logged in for months One caveat is that your ios gmail app opens an internal browser, that has distinct cookies from main one. So there needs to be s
425.
▲
by
k_bx
8y ago
Tracking can be done in JS via onclick event also. What makes you so sure it's not about masking referrer?
426.
▲
by
k_bx
8y ago
Code usually doesn't carry final HTML in its data structures, whereas converting a URL in a single place where it's extracted is easy. In other words, making sure you didn't miss to put rel=noreferrer everywhere is way harder
427.
▲
by
k_bx
8y ago
This technique (redirecting through some dummy ?url=... page) is a common way of doing an external redirect on any service you're building. It's a simple way of making it impossible to see the actual Referer to external website, w
428.
▲
by
k_bx
8y ago
Even Javascript has to compile to Javascript. Elm's TodoMVC, after compilation, takes less JS code than the React version. What else is needed? :)
429.
▲
Struggling with My Drinker's Problem
(k-bx.github.io)
3 points
by
k_bx
8y ago
|
0 comments
430.
▲
by
k_bx
8y ago
And to add to the question on "what made you get involved", I would be interested in knowing which drugs were they (opioids and heroin?) Thank you, and sorry if it's too personal to ask
431.
▲
by
k_bx
8y ago
I never stated anything remotely close to that :) What I've meant are: - either Haskell gives you API which is done "right", without any Async types. For example, `bracket` function - or runtime gives you lightweight threads
432.
▲
by
k_bx
8y ago
> In C# if you're not careful your codebase gets littered with tasks everywhere, even in code that has nothing to do with concurrency originally. This is a spot-on. The only language I know that did this all right is Haskell, where
433.
▲
by
k_bx
8y ago
Elm
434.
▲
by
k_bx
8y ago
AMP is about guarantees that you can't have with regular JS. You guarantee to not do any sync JS and document.write() stuff when you use AMP. Personally, I plan to use AMP to make a better indexation of my app which I do as a SPA, and
435.
▲
by
k_bx
8y ago
I am dual-botting my MBP 2014 and I absolutely recommend doing that. Not sure about more recent ones though.
436.
▲
by
k_bx
8y ago
Dual-booting on my 2014 MBP. Works surprisingly wonderful, even has pixel-perfect scrolling in Chrome. Battery is great as well. Only using it for development, and overall it was a great idea to switch from trying to set up macOS with Docke
437.
▲
by
k_bx
8y ago
Well, it's one thing to not be mature yet (UI could definitely be improved, it's very minimalistic currently, but works ok for me), and another to not work in principle :)
438.
▲
by
k_bx
8y ago
> Elm was trying to make it very hard to use JS in Elm which is always a bad idea when you are a transpiled language. Your code will produce runtime errors which will be rendered into console with ReasonML runtime guts in it. I would dis
439.
▲
by
k_bx
8y ago
> The ReasonML debugger supports time-travelling as one of its features. Yes, but the question is: does it guarantee to be working or is it only "sort of" working? Can your view do side-effects? Can it call JS? If yes -- it wil
440.
▲
by
k_bx
8y ago
Elm code is hard to measure because you encode HTML in Elm as well. I'm currently working on a form which takes 1.5K code in just one module. But there's a lot of HTML generated :)
441.
▲
by
k_bx
8y ago
- no runtime errors guaranteed (in the Elm code) - the ones you do get from your JS code – will be shown as console errors not involving Elm runtime in their stack trace - guaranteed support for time-traveling debugger and model serializabi
442.
▲
by
k_bx
8y ago
You are shifting a point of conversation. The point is, they are comparable and should be compared. Single-threaded is an important comparable point.
443.
▲
by
k_bx
8y ago
The point I am making in this thread is that they are comparable, I never recommended drawing general conclusions.
444.
▲
by
k_bx
8y ago
This is what a lot of people including myself are actually expecting, yes. The most interesting part is that the test is quite real world, not some microbenchmark. It runs to-do list app implemented with modern popular frameworks like Angul
445.
▲
by
k_bx
8y ago
iPhone XS is faster than iMac Pro on Speedometer 2.0 https://twitter.com/dhh/status/1043277162676072449 What makes you say it's closer to Intel U?
446.
▲
by
k_bx
8y ago
How so, if iPhone XS is faster than iMac Pro on Speedometer 2.0? https://twitter.com/dhh/status/1043277162676072449
447.
▲
by
k_bx
8y ago
...except that A12x Bionic is itself comparable to desktop CPUs
448.
▲
by
k_bx
8y ago
> The question should be: How did MongoDB become so successful? Ability to store Algebraic Data Types and values with lists without a hassle of creating a ton of tables and JOINs. Postgres added JSON support since, plus there are now thi
449.
▲
by
k_bx
8y ago
Dhall and Dhall-nix are definitely a step towards that.
450.
▲
by
k_bx
8y ago
This makes a lot of sense, thank you!
More ›