Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Humphrey
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
121.
▲
by
Humphrey
4y ago
I've solved your data binding problem with: GraphQL (server) + UrQL (JS graph client with the graphcache plugin) + GraphQL Code Generator (creates TS types for your API). The data syncs perfectly, keeps up-to-date. GraphQL subscription
122.
▲
by
Humphrey
4y ago
This. Firefox drains battery, but still less than Docker & a TypeScript dev environment. Using those three together means my M1 Air falls a LONG WAY SHORT of the 18hr battery life I was promised
123.
▲
by
Humphrey
4y ago
I love that you did such an audacious thing. FYI, if you're on MacOS, someone has packaged Postgres into a standard "just works" self contained MacOS app. With a GUI & system tray menu to control it. It's so good tha
124.
▲
by
Humphrey
4y ago
I initially tried to rotate my phone. It look me a while to notice the buttons. Good 5 mins of fun!
125.
▲
by
Humphrey
4y ago
Was once [ignorantly] trying to help encourage an echidna to get off a busy road next to my house, but it burrowed down into the cement curb gutter. It managed to use its quills to hold onto the cement, and there was not a chance of moving
126.
▲
by
Humphrey
4y ago
Got this bag also, it's the best!
127.
▲
by
Humphrey
4y ago
> As far as I understand, applications are not written in Rust but in HTML/CSS/JS. Frontend UI yes. But enables you to use rust for your background worker (Electron apps use node for the background worker)
128.
▲
by
Humphrey
4y ago
I think it depends on your use case. Yes, a huge selling point Electron is being able to control the Chromium version. But, I can imagine a lot of less complicated apps don't need this. Also, the Chromium renderer is only half of an
129.
▲
by
Humphrey
4y ago
Why is the speed in metric (km/hr) and the vertical acceleration in imperial (ft/min). Hurts my brain!
130.
▲
by
Humphrey
4y ago
Screen size is slightly too high for iPhone SE, wanna slice off about 50px?
131.
▲
by
Humphrey
4y ago
Cant you make the vertical height on mobile about 50px less, so it does not scroll in full screen on an iPhone SE. Thanks!
132.
▲
by
Humphrey
4y ago
Yeah, and I guess all my Australian hosted things are slow for you Americans who have even more money to spend
133.
▲
by
Humphrey
4y ago
I'm confused! Why would Nvidia want to keep any of this closed source. Surely they make money when people buy graphics cards, and having open source out-of-the-box graphics support in Linux would mean they would sell more graphics ca
134.
▲
by
Humphrey
4y ago
I was literally thinking while riding on the weekend that my watch should be able to track "hang time" / "In the air time". So good work! I'll try that out next time I ride. I don't like the idea of strap
135.
▲
by
Humphrey
4y ago
Oh of cause -- and I suspect TS only became so good because it had the freedom to be a new language.
136.
▲
by
Humphrey
4y ago
While I love the idea behind Python's type hints, they are merely a shadow of the success of TypeScript. Like the author, I've mostly given up on adding type hints in my Python code. I now only use them when I want to help my IDE
137.
▲
by
Humphrey
5y ago
I wonder whether we should stop calling it Web3? Names matter, and calling it such helps promote & legitimise it. But is the current state of the block chain hipe what we want the web to become? Shall we wait and see whether this actual
138.
▲
by
Humphrey
5y ago
But it's not an apples to apples comparison. Generating static files has a smaller attack vector than running an executable on a server. Keeping a service up and running over a long period of time is much more work than using generic s
139.
▲
by
Humphrey
5y ago
Also, at that time, it's super quite except for those freighters.
140.
▲
by
Humphrey
5y ago
Oh, those 2am freighter flights! I'm in a super quiet area of Trevallyn, which makes those couple of flights quite loud. Also, Launceston has a similar set of runway lights, that you drive under, and look very close to a house.
141.
▲
by
Humphrey
5y ago
Unfortunately, Apple have a policy that the inbuilt webkit is the only browser engine that is allowed to be used on an iOS device. The iOS Chrome, Firefox, & Edge apps are just thin wrappers around the same Safari engine included in iO
142.
▲
by
Humphrey
5y ago
> Why would it do that? If I remember correctly, Signal was first explained to me as a secure SMS app. That is it stores your SMS's more securely than the stock apps did... and if you were messaging somebody who also used Signal, t
143.
▲
by
Humphrey
5y ago
Yes, on Android - it can replace your SMS app, and uses secure storage so that other apps do not have access to your SMS's.
144.
▲
by
Humphrey
5y ago
Certificate expired 2022-02-03 which, depending on your timezone, means that you can't access it. Since they have enabled HSTS, browsers will not let you add an exception, so this site is effectively offline for my half of the world.
145.
▲
Django Issue Tracker inaccessible due to expired certificate
(code.djangoproject.com)
2 points
by
Humphrey
5y ago
|
3 comments
146.
▲
by
Humphrey
5y ago
It fails with the word "frogs", as it tells me it is "gross"
147.
▲
by
Humphrey
5y ago
I have also hacked around on solving this problem. However, I decided that using the shorter list of answers was cheating, since end users wouldn't have access to this list. From a user's perspective, any word that Wordle lets y
148.
▲
by
Humphrey
5y ago
TS does take into account things like === and you can get warnings for using them wrongly. But I'm not certain... I just don't find myself thinking about === and use strict.
149.
▲
by
Humphrey
5y ago
> one thing that TS doesn't provide ... is an integer type. This! I'd love an integer type, and I think this would be within the scope of TS: Use a JS number when running, but type check it to integer. There is JS bigint thou
150.
▲
by
Humphrey
5y ago
Opinion based on my experience: Typescript kicks Python typing to the curb.
More ›