Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mbrock
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
96 ms
·
901.
▲
by
mbrock
9y ago
Very reasonable, but I dispute the implied notion that React and Web Components are competitors, or that React is in any way obsolete because we can use Web Components. As the React docs state: > React and Web Components are built to sol
902.
▲
by
mbrock
9y ago
The linked module defines a "monad transformer" that can wrap other monads with a continuation-capturing layer. This means, among other things (Haskell's solution is awesomely general) that you can indeed use it with state, i
903.
▲
by
mbrock
9y ago
Nope. It's a Nokia 130 or something with no internet stuff, and the only people who know the number are close friends who only call when it's really necessary.
904.
▲
by
mbrock
9y ago
"I already know it, there are working libraries for my particular problem and the performance is acceptable, I can reuse code in my web client, it doesn't require compilation, it's popular, etc etc." There are plenty of
905.
▲
by
mbrock
9y ago
Error handling in asynchronous JavaScript is quite notorious for being easy to screw up.
906.
▲
by
mbrock
9y ago
Coinbase doesn't seem all that doomed to me. Neither does Polychain Capital, the cryptoasset hedge fund backed by Andreesen Horowitz and Union Square Ventures.
907.
▲
by
mbrock
9y ago
I wonder if HiDPI is handled better by the other cross-platform UI toolkits that people recommend over Electron...
908.
▲
by
mbrock
9y ago
I don't know if Spotify is Electron but it's some kind of embedded Chrome and I'm really happy that it scales so well on my Linux HiDPI setup. The regular zoom shortcuts for Chrome just work. I also love that about Slack. Arb
909.
▲
by
mbrock
9y ago
"When the work is done and it’s time to relax, you can watch 14 episodes of your favorite TV show in one sitting, without ever plugging in." I'm glad I'm not the only one...
910.
▲
by
mbrock
10y ago
Ah, for me one of the biggest reasons to use shell is that I use it every day to just do stuff in the terminal, so it's great to use that knowledge in scripts, too. But yeah, some of the syntax is quite obscure. That kind of reference
911.
▲
by
mbrock
10y ago
There are a lot of unsafe defaults in JavaScript too, most prominently async error propagation. Basically all languages have some tricky fatal flaws, even Haskell (lazy I/O can make very strange bugs, etc). I just don't think we s
912.
▲
by
mbrock
10y ago
Attackers who have commit access to your repository can do a lot of bad things quite easily.
913.
▲
by
mbrock
10y ago
Nix-generated paths don't contain spaces, so it's unnecessary to quote those variables. Of course, as a developer you have to understand this. The semantics of shell string interpolation are generally not that hard to learn, compa
914.
▲
by
mbrock
10y ago
Hmm, I admit that's not too bad. I still disagree with the ideology that any non-trivial script needs to be rewritten in Python. The shell is the standard way of interacting with a *nix system, and for me that's the major benefit
915.
▲
by
mbrock
10y ago
You still need to know how to write safe shell programs even if they're one-liners. And once you do, shell is really, really useful and convenient. For example, Linux distributions are full of shell scripts that would be frankly awful
916.
▲
by
mbrock
10y ago
That's what I mean, you're not familiar with what's happening, yet you comfortably dismiss the whole idea of blockchain as ill-conceived and impractical. So both of your major criticisms are being actively addressed by very s
917.
▲
by
mbrock
10y ago
I work full time on Ethereum development, and I don't have any kind of maximalistic opinions about decentralization, the evils of banks, or whatever. It's just a very interesting technology with a really great momentum. But everyt
918.
▲
by
mbrock
10y ago
I think that content creators simply are not able to prevent copying. If I have a folder of mp3s on my computer and my friend asks for a copy, it's so easy for me to say yes and just copy the files, instead of saying "sorry, this
919.
▲
by
mbrock
10y ago
That's an interesting question to ask the vast hordes of people around the world who partake in torrents -- applied ethics research. When I used to torrent stuff, it was mostly because I was a kid with no money to spend. I'm glad
920.
▲
by
mbrock
10y ago
If money worked like MP3 files, being infinitely copyable in a non-zero sum way, it would indeed be hard to stop people from copying "my" money. Since that's not how it works, banks already successfully protect our accounts.
921.
▲
by
mbrock
10y ago
Torrenting should be legal because criminalizing decentralized network technology fucks up the internet and requires the government to spy on all traffic. This kind of argument is quite similar to why drugs should be legal even if their eff
922.
▲
by
mbrock
10y ago
Maybe being a bit of a leper wouldn't be too bad.
923.
▲
by
mbrock
10y ago
The author suggests that if you assume that not having an internet connection at home is highly impractical, you should take a moment to really think about whether you're assuming too much. I agree. As for me, I'm a remote worker
924.
▲
by
mbrock
10y ago
I'm curious, do you think you would you have the same reproachful attitude if the author had limited his text to describing his own experience rather than talking about what others should do?
925.
▲
by
mbrock
10y ago
Spotify Premium lets you download something like three thousand songs for offline play.
926.
▲
by
mbrock
10y ago
Having to walk to a cafe in order to use the internet is not really a return to the middle ages, you know.
927.
▲
by
mbrock
10y ago
During the time periods when I haven't had internet at home nor on my phone (three months times two in different cities) it hasn't made me more "productive", it's primarily made me more relaxed, grounded, and happy.
928.
▲
by
mbrock
10y ago
You'll want to check out "react-blessed", a way to use Blessed through React -- which enables common UI code for both web and terminal. https://github.com/Yomguithereal/react-blessed
929.
▲
by
mbrock
10y ago
I mentioned "Worse is Better" on this site a few days ago and received this comment: > "Worse is better" has nothing to do with it. Stop saying it every time anything you think is bad comes up. It's incredibly ar
930.
▲
by
mbrock
10y ago
But I do consider that article a good explanation of the tremendous success of C and Unix, and I think its perspective should be part of these discussions.
More ›