Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ht85
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
241.
▲
by
ht85
9y ago
I benchmarked various programs to resize images a year ago. There was a JS package with native bindings to GD, a go program, and a pure JS implementation. Both go and GD were an order of magnitude faster at scaling down and converting PNG t
242.
▲
by
ht85
9y ago
Yeah, makes you wonder how much the psychological part affects you physically, and vice versa. I often ask myself if the positive things about smoking were just delusions to justify feeding the nicotine addiction, or if the physical consump
243.
▲
by
ht85
9y ago
Surprisingly, when it comes to stamina and general energy, I couldn't tell the difference. I don't practice any sport consistently, from time to time I'll join someone for a long jog or go hiking or whatever, but only a few t
244.
▲
by
ht85
9y ago
When I used to smoke, one of my worries about quitting was that I wouldn't be able to do those intense, uninterrupted, full focus 10-12 hours coding sessions. Every couple hours, those 5 delicious minutes, the fresh air, the nicotine r
245.
▲
by
ht85
9y ago
It's because of arbitrage. If people didn't value tether at $1, then the price for X/USDT pairs (on other exchanges) would be lower. As it isn't the case, if the price dropped below $1, you could buy USDT here, transfer
246.
▲
by
ht85
9y ago
People don't really trust them, but it's not like you have a choice if you want to be in crypto. It's more of a calculated risk that you have to take. The explanation behind them putting off the audit might have nothing to do
247.
▲
by
ht85
9y ago
Why do people drink and drive?
248.
▲
by
ht85
9y ago
Miners would be the correct level for such a thing. By blocking a specific address, it would effectively freeze all the funds held by it, preventing them from being transferred to anyone, including exchanges.
249.
▲
by
ht85
9y ago
I think the biggest problem is having a single point of failure. I personally keep about half my coins on exchanges, but no exchange holds more than 10%. Storing your coins might be the best solution in theory, but in practice unless you&#x
250.
▲
by
ht85
9y ago
> If you stick to browsing Twitch by game you almost never see them I don't have a strong opinion of what should or shouldn't be allowed, but that statement is false. For example, if you browse League of Legends in the evening,
251.
▲
by
ht85
9y ago
You're correct that addicts won't stop using because of decriminalization, but it does open new ways of helping those people. Instead of forcing them to hide, prosecuting, incarcerating and labeling them as undesirable members of
252.
▲
by
ht85
9y ago
I see a lot of the discussion revolving around price, but I don't think this is the issue at all. Wiping net neutrality would give ISPs - and by extension their shareholders / backers - leverage over any online content producer wh
253.
▲
by
ht85
9y ago
This is kind of a zero sum game though, someone else will take your place under the tyrant. Yes some of us are lucky and work remote, have a large portfolio of nice enough clients, and not have to deal with corporate overlords. Let's b
254.
▲
by
ht85
9y ago
Linus Torvalds might be behaving in a tyrannic way, but I think everyone would agree that he does it to enforce the philosophy and goals of the project and drive it long term, which is fine. I think the "toxic" tyrant has an agend
255.
▲
by
ht85
9y ago
The confusion for many people stems from how security is achieved for blockchains. Most systems have an identifier and a password, and sometimes 2FA. For bitcoin, all you have is a 256 bit key. The key points to a 160 bit address (through h
256.
▲
by
ht85
9y ago
It would look a lot better using proper identation... <div> {flag && flag2 && !flag3 ? flag4 ? <p>Blah</p> : flag5 ? <p>Meh</p> : &l
257.
▲
by
ht85
9y ago
SSL Session Reuse needs to be configured as well, otherwise every single request will have to perform a new handshake, independently of keepalive. In practice I've always observed HTTPS requests to take at least twice as long compared
258.
▲
by
ht85
9y ago
Apart from the obvious push capabilities, yes, websocket has much less overhead and is faster than HTTPS. Once the connection is established, you can send requests starting at 1 byte size, whereas HTTP needs the full headers on every reques
259.
▲
by
ht85
9y ago
Is there a reason why it doesn't do something like this? if (cache == null) cache = computeCache() return cache
260.
▲
by
ht85
9y ago
MPV is incredible. The subtitle syncing hotkeys alone are a godsend. It blows all over players out of the water when playing streams under non perfect network conditions. Not to mention the best fast forward / rewind experience, someth
261.
▲
by
ht85
9y ago
That's why you always want to generate a different salt for each password, which fully prevents rainbow table attacks.
262.
▲
by
ht85
9y ago
Was on the front page for some reason... what is it with the abysmal quality articles advocating vue.js?
263.
▲
by
ht85
9y ago
Powerline is a crapshoot, at least as much as Wifi. I installed several different models a few years back, for me and some friends/family, and in every case ended up finding another solution as they would just add another layer of unre
264.
▲
by
ht85
9y ago
hehe xd
265.
▲
by
ht85
9y ago
I explicitly said "without logging as root". SSH as root is almost never allowed on production servers. I was wondering if there is a way to write protected files when SSHing as a user who only has write permission through sudo.
266.
▲
by
ht85
9y ago
Almost every time I have to edit text over SSH, it is to change configuration files that aren't writable for my SSH user. Can you sudo over sshfs somehow without logging as root?
267.
▲
by
ht85
9y ago
The only thing I would put in the "garbage" tier at the bottom is the quality of the arguments in this article.
268.
▲
by
ht85
10y ago
Many people doing OO have trouble structuring their classes, splitting functionalities and responsibilities properly. OO kind of lets you do anything you want, allowing you to store data anywhere and having any kind of flow you want. It
269.
▲
by
ht85
10y ago
You had me at "faster than C"
270.
▲
by
ht85
10y ago
I very much doubt this was intentional. If this was a small company targeting unsavvy users to try and upsell them something, sure. In this case the payout might be worth the fallout once people inevitably figure it out. In this case, I d
More ›