Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hangonhn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
301.
▲
by
hangonhn
4y ago
This might be a bit of a tangent but what's the advantages and disadvantages of register-memory vs. load-store? Thanks!
302.
▲
by
hangonhn
4y ago
Can someone clarify this statement from the original nanoID site ( https://github.com/ai/nanoid ) for me? "random % alphabet is a popular mistake to make when coding an ID generator. The distribution will not be eve
303.
▲
by
hangonhn
4y ago
That's just bad management. It didn't take them until the release date to realize that SF was the right choice. They just procrastinated until they couldn't anymore when you released your project. I had the same thing happen
304.
▲
by
hangonhn
4y ago
I wonder if it’s because US government employees do need to chat with their Chinese counterparts sometimes. For example, when the Economist produced “The Prince” podcast, the journalists chatted with some of their Chinese interviewees via W
305.
▲
by
hangonhn
4y ago
BTW, if you're exporting your data, check that it's all there. I had the unpleasant experience of noticing Lastpass either has a buggy implementation or intentionally giving an incomplete export. I ended up needing to manually cop
306.
▲
by
hangonhn
4y ago
Got a link to your company's service? Would love to learn more. We work in healthcare so data-anonymization is essential. If we can take prod data and erase all the PII, it would be AMAZING.
307.
▲
by
hangonhn
4y ago
That's a really good point. I think what made it quite easy for us is that we maintain a staging environment. Staging is constantly tested by QA simulating our workflows so non-production data is being constantly generated. When we spi
308.
▲
by
hangonhn
4y ago
Yeah that's a really good point. Our microservices are like 30? 1000+ is intractable but up to 50 or even a 100 it's doable. We rely pretty heavily on AWS Cloudformation to deploy. All our services have Cloudformation templates. I
309.
▲
by
hangonhn
4y ago
We certainly do at my company. Most microservices are rather small and easy to spin up on smaller AWS instances, especially if they're Docker based. Our AWS bill isn't that high and our preview environments don't contribute m
310.
▲
by
hangonhn
4y ago
Yeah. And it's also not that impressive. We've had what they call "preview environments" for a very long time and at my previous companies too. With GitHub and AWS/Cloud it's trivially easy to do. And like you,
311.
▲
by
hangonhn
4y ago
So if the fields are encrypted by the proxy on the way to the DB, how do queries and indices work since it would be pretty much invisible to the DB and the query planner? Thanks! I really like the approach you are taking since it could be a
312.
▲
by
hangonhn
4y ago
Wow. That's absolutely beautiful. Thanks for sharing that.
313.
▲
by
hangonhn
4y ago
I had a similar experience with the California PUC. Sprint raised the texting rate so I tried to cancel my plan. Their service rep wanted to charge me for breaking my contract but I pointed out that any material change to my contract is gro
314.
▲
by
hangonhn
4y ago
I had just started reading Mearsheimer's book (The Tragedy of Great Power Politics). It's quite depressing to say the least. My plan is to finish it and then read a critique or a competing viewpoint. What would you recommend as a
315.
▲
by
hangonhn
4y ago
I don't see how they can legally have any control over what a 3rd party's software outputs. And more importantly, how would they even enforce such restrictions?
316.
▲
by
hangonhn
4y ago
This is the concept that's about to be tested in court. The majority of the revenue generating segment of the smartphone market is iOS while the majority of the overall smartphone market is Android. I get the sense that Apple did this
317.
▲
by
hangonhn
4y ago
It's a little sad to hear that from multiple former Intel employees at multiple levels. They're all tremendously down on Intel. Maybe there's a bit of "refugee bias"? I really do hope Pat Gelsinger pulls through and
318.
▲
by
hangonhn
4y ago
TBH, that seems the more reasonable way of dealing with it. If they are truly worried about transmissions while in flight, then yeah do that. Once the luggage is on the ground and unloaded the AirTags will still work. Seems like a win win f
319.
▲
by
hangonhn
4y ago
Not that many since they only last 10 to 15 minutes so you can just set the TTL to that. Also, you only need to retain the “jti” of the token and not the entire token. So you can hold quite a lot of these jti of tokens even in memory which
320.
▲
by
hangonhn
4y ago
Yeah that’s what we ended up doing but do hate that everyone who encounters this problem has to cook up their own solution for a scenario that’s very common. It’s not terribly difficult to do because most JWTs should only last 10 to 15 minu
321.
▲
by
hangonhn
4y ago
Thanks for explaining that to me. That's such a fascinating way of looking at it. I wonder how long it will be before we get the Linux of cars. Or the Pine Laptop equivalent.
322.
▲
by
hangonhn
4y ago
Given the relative simplicity of an electric drivetrain compared to ICE, is all that software absolutely necessary? I'm a bit shocked (pun intended?) to hear that your car got bricked by a software update.
323.
▲
by
hangonhn
4y ago
Because it doesn't need to improve. It just needs to check some checkboxes. It's "free" as part of Microsoft Office 365. It allows the IT department to check a checkbox and de-incentivize them from looking at Slack. With
324.
▲
by
hangonhn
4y ago
We ended up implementing an API Gateway in AWS that just proxies the request to our CI server after a simple authentication (and also checking the signature of the request as suggested by GH). Another related option is that you can run GitH
325.
▲
by
hangonhn
4y ago
Thought Emporium made a really good video about this kind of accelerator a few years back: https://www.youtube.com/watch?v=UZbXGDxMRCw
326.
▲
by
hangonhn
4y ago
I think it was just governed by some IT policy which was basically, "no bare hard drives leaves the IT room". The people who literally shredded the hard drives would give us the literal bits back. It's kind of nutty but infor
327.
▲
by
hangonhn
4y ago
Same. When I used to work at a hedge the standard procedure was to zero them out first. Then retain the hard drives in a closet. Then someone could come periodically to physically destroy them.
328.
▲
by
hangonhn
4y ago
The government will do something as soon as the members of government are satisfied and done with growing their factory... Any day now...
329.
▲
by
hangonhn
4y ago
Anyone with more expertise know if this will have any material impact on their acquisition by Broadcom?
330.
▲
by
hangonhn
4y ago
Agreed. I can't help but think the approach he advocates is actually very limiting. When your instruments are more crude, you have to be more conservative in your approach. The accuracy of modern approaches allow us to be more open min
More ›