Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kevincox
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
811.
▲
by
kevincox
3y ago
The demo at the very least appears to assume a lot about font sizes or shapes. It is very broken on my setup with everything escaping the bounds that it is presumably supposed to live in: https://pasteboard.co/6Z1nLEWhPHRg.p
812.
▲
by
kevincox
3y ago
I've found that `localStorage.mouseSensivity = 4` (the default max is 1) seems to set it to about the right amount. However mouse movement is now very jumpy. It seems that individual mouse events are visible and mouse acceleration curv
813.
▲
by
kevincox
3y ago
How did you obstruct? The cop put your finger on the phone and you configured this before there was an investigation.
814.
▲
by
kevincox
3y ago
The key difference to me is that they can't prove that you know your password. What if it isn't you phone? Or you just changed your password yesterday and in the stressful moment can't remember it. It would be fair to punish
815.
▲
by
kevincox
3y ago
Didn't work for me on Firefox Android for some reason.
816.
▲
by
kevincox
3y ago
I might be misunderstanding. But the instructions just say to set it as a fallback index. So I don't think its own code would run if you requested these files directly because they exist. > Add /_h5ai/public/index.php
817.
▲
by
kevincox
3y ago
I'm curious how the /_h5ai/ directory is hidden. I can see that I get a 403 at https://release.larsjung.de/_h5ai/private/conf/options.json but don't see any mention of adding this rule in
818.
▲
by
kevincox
3y ago
It's a shame that the report server is hard-coded (well implied). Imagine if the device could advertise a report URL and then you could receive reports without a Google account. The only thing that may be hard is forcing aggregation. H
819.
▲
by
kevincox
3y ago
From the newer announcement https://developers.google.com/nearby/fast-pair/specification...
820.
▲
by
kevincox
3y ago
My biggest complaint is that there is a hardcoded result limit. And it searches for that whole limit, then renders the result. So if you have a lot of messages you can't use the date range thing to refine the results. And if you want o
821.
▲
by
kevincox
3y ago
10% of users but I would suspect that they are more than 10% of the profits.
822.
▲
by
kevincox
3y ago
> the JIT only knows about those that happened in the past. This is typically handled by assuming that all future calls will be representative of past calls. Then you add a (cheap) check for that assumption and fall back to interpreter o
823.
▲
by
kevincox
3y ago
Even when dynamic linking a lot of calls will be internal to each library. So you can either: 1. Use a stable calling convention for external interfaces. 2. Use a stable calling convention for everything, but generate trampolines for extern
824.
▲
by
kevincox
3y ago
I can't recommend nixops anymore. It is basically unmaintained. But I switched over to https://colmena.cli.rs/ and it is basically a drop-in replacement if you are just managing machines over SSH. (It lacks some of the
825.
▲
by
kevincox
3y ago
I strongly agree. NixOS is a league above things like Ansible that are highly mutable. Also getting started with NixOS really isn't that bad. Just read the wiki and set a few options. https://search.nixos.org/options T
826.
▲
by
kevincox
3y ago
* I don't see how.
827.
▲
by
kevincox
3y ago
I'm not saying that they don't need to check auth by repo. They can still check the auth when they look up the metadata for the file. Just don't include it in the URL. The auth difficulty may make moving the files to a differ
828.
▲
by
kevincox
3y ago
They could probably even just parse all comments and rewrite them. Then remove the redirects. If this feature is being used as intended these files should all be just linked to from comments and they parse the markdown anyways. While they a
829.
▲
by
kevincox
3y ago
GitHub has githubusercontent.com. Why was this domain not used for these uploads? Or did image uploads in comments predate that domain? But either way putting the repo in the URL seems completely unnecessary. If you need to track ownership
830.
▲
by
kevincox
3y ago
IIRC Chrome's PDF viewer is built upon NaCl which is basically a precursor to WASM. So it has lots of the same benefits and is basically running inside the web sandbox already. Until Firefox shipped PDF.js it was likely the most secure
831.
▲
by
kevincox
3y ago
I see how the problem maps onto this. It seems like the main issue in the original problem is that you have a fixed number of eggs. But for git bisect-find there are unlimited eggs, but we want to use as few as possible. It is also quite di
832.
▲
by
kevincox
3y ago
Yeah. I've been considering something like `git bisect-find start 14d` as people often have some sort of notion for how long something was likely to fly under the radar. If it is an obvious bug maybe a few days, if it is subtle maybe s
833.
▲
by
kevincox
3y ago
That is what I meant, typo + phone seems to have resulted in "start". The problem for me is that stashes aren't associated with a branch and I find them very hard to manage. I end up just using stash for very temporary things
834.
▲
by
kevincox
3y ago
Now fixed.
835.
▲
by
kevincox
3y ago
Does this give you 4k? Or are you artificially limited?
836.
▲
by
kevincox
3y ago
I've also pondered about custom functions to rank each commit. Maybe you can mark some sub-directory of the repo as 8x more likely to cause trouble than others and that would effect the split point decision. For example if this seems l
837.
▲
by
kevincox
3y ago
There is an existing discussion here: https://news.ycombinator.com/item?id=40093658
838.
▲
by
kevincox
3y ago
The problem with Git is that it is actually a rich man's backup solution. It lets you do very detailed snapshotting and manipulation across versions. So when working on something it can be very helpful to have many commits during the w
839.
▲
by
kevincox
3y ago
Often times I will "have to" commit WIP work to check out another branch (to test something, code review, urgent bug fix...). The other main option would be start but it isn't as organized as branches. I guess work trees woul
840.
▲
by
kevincox
3y ago
Yes. It is very helpful for seeing what change introduced a bug to help understand why it happened, what could be undone by simple fixes and what assumptions were broken. If you use a simple merging workflow --first-parent can avoid testing
More ›