Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Humphrey
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
181.
▲
by
Humphrey
6y ago
Or just buy the real thing? The problem is since we can't know the future, it's hard to tell if it's a dip or not. I've bought a small amount in the past year by deciding on a price that I'll buy at if it drops belo
182.
▲
by
Humphrey
6y ago
Whoops! As long as it's less than the rate of return I guess? I managed to find a company that offers "pool allocated storage" for free, with an option to "cast" it to a shippable product for a small fee. Perhaps it
183.
▲
by
Humphrey
6y ago
I guess it depends on whether the company with your precious metal in a vault chooses to honour your piece of paper or not. I guess the trick is to tap the "ship me my gold now" button before Mr Robot wipes their database.
184.
▲
by
Humphrey
6y ago
I bought some about 10 months ago as a practice investment, as I figured it was easier to understand than the share market and it had given an average 10%/year return over the past 10 years (well at least in Australian dollars). Kind
185.
▲
by
Humphrey
6y ago
Please explain how service workers relate to third party cookies? Surely service worker https requests are bound by the exact same cookie rules as any third party script, resource, etc?
186.
▲
by
Humphrey
6y ago
I got caught out by this when upgrading all our sites to Django 2.1, as that version sets SameSite: Lax by default. So, I'm assuming that any Django 2.1+ site will already be compatible with this.
187.
▲
by
Humphrey
6y ago
This post reminds me of a product idea I've been pondering for a while: A versioned database backed by git. It would only be useful for data that made sense to be represented in individual files (perhaps json files with the file name a
188.
▲
by
Humphrey
6y ago
For me it all comes down to display size and density, and therefore out of all the monitors I've tried, I'd go 27" at either 5k or 2.5k resolution. For me 27" is the perfect display size: - Any bigger and I find I have
189.
▲
by
Humphrey
6y ago
I believe they are saying O(1) since it only builds the single file that you just changed and will never just build all your files. They also mention that it only builds the files as requested by the browser, so in terms of the compiler it
190.
▲
by
Humphrey
6y ago
Yeah, that'd be great but according to [1] they have chosen to not release the cloud code for security reasons. It does appear that they are just uploading encounter data to s3, so I suspect it's not necessarily a complicated sys
191.
▲
by
Humphrey
6y ago
I'd disagree with that - and say this scenario is where TypeScript saves me time. I just want to add a property to an object. All I have to do is add it to the definition, and TS will show me every location I have forgotten to set the
192.
▲
by
Humphrey
6y ago
Yes - there are some pain points - but my experience is that the 2x is worst case. It gets MUCH closer to 1x with experience, and I'd dare to say it will be closer to 0.75x over the long term.
193.
▲
by
Humphrey
7y ago
Yes, Poetry is best-in-class package manager. I liked the idea of Pipenv, but in practice it just didn't work well. FYI, Poetry is just a fancy tool for managing your virtualenvs
194.
▲
by
Humphrey
7y ago
Australian here. Until this HN post it never occurred to me that you could spoof phone calls. While landlines used to get lots of spam calls, perhaps I've had just two of these calls to my mobile in my life. Each time I typed the num
195.
▲
by
Humphrey
7y ago
Interesting. We don't use UA to track customers, but it has been invaluable information for trying specific bugs. Eg, twice in the past 2 months, I've had to fix weird bugs that didn't make sense. The only way I was able t
196.
▲
by
Humphrey
7y ago
Did anybody else remember calling these Gatorolla's?
197.
▲
by
Humphrey
7y ago
Mozilla recently published a good write up on why they started using these undocumented CALayer API's in Firefox 69. The TLDR is that that these private API's allowed them to get up to 3x better battery usage in Firefox. The art
198.
▲
Telstra to switch off 3G network in 2024
(gizmodo.com.au)
2 points
by
Humphrey
7y ago
|
2 comments
199.
▲
by
Humphrey
7y ago
I agree in part. I've also had the type battle with HoC... and with Redux is still pretty painful. I don't know if this is Typescripts fault though, or more to do with some of js magic that goes on. But, once you win the battle
200.
▲
by
Humphrey
7y ago
Typescript feels like it's own language. Whereas python types are just optional extra information you can add (more like Flow does), and they are rather verbose and clunky compared to Typescript
201.
▲
by
Humphrey
7y ago
Yes -- so I've reverted back to putting my types in docblocks. The python type system makes code too messy.
202.
▲
by
Humphrey
7y ago
I've been using Typescript for the past year and it's definitely one of the best typing systems I've used (Rust might be up there too - once I've conquered the battle of the borrow checker). The way it handles nullable r
203.
▲
by
Humphrey
7y ago
Most of the coffee shops that I frequent offer an AUD 50c (US 35c) discount if you bring your own reusable cup. It works well!
204.
▲
by
Humphrey
8y ago
Recent Typescript convert here: I find Typescript a GREAT tool for those experimental projects. They are the ones that need constant refactoring as you build, which is where Typescript shines.
205.
▲
by
Humphrey
8y ago
Many people. This is targeted at professionals who need a max with good performance. Eg. Software developers. I can imagine this being a popular device.
206.
▲
by
Humphrey
8y ago
The main issue is performance -- so janky -- animations shudder. There is even a delay waiting for text to appear while I'm typing an email.
207.
▲
by
Humphrey
8y ago
Alright -- I've got thunderbird running -- lets see how this goes!
208.
▲
by
Humphrey
8y ago
> Which parts get in your way? The slowness, lag, ugly font. Even scrolling is laggy. I'm just waiting for it to respond often. Sitting around waiting for the collapsible sidebar to collapse.
209.
▲
by
Humphrey
8y ago
ha ha! Man that brings back memories!! It's weird how it "feels" faster, although, I think it actually takes longer for each page load.
210.
▲
by
Humphrey
8y ago
Absolutely! I get that they have added in some cool new features under the skin (the auto suggest as you type is cool) but it's too many steps backwards to be worth it!
More ›