Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jmgao
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
jmgao
3y ago
Whoops, forgot to mention the name. The company making the sensors is InfiRay. Doogee doesn't even have a product listing for the V20 Pro on their website currently, although you can find one on archive.org that says they're using
32.
▲
by
jmgao
3y ago
I've been researching this recently because every time I need to use my FLIR One, it's annoying because I need to find it, charge it, plug it in, and use FLIR's awful software. In the last few years, a Chinese company started
33.
▲
by
jmgao
3y ago
There isn't a global standard anyway, CCS1 (North America) and CCS2 (Europe) are physically incompatible.
34.
▲
by
jmgao
3y ago
> But I still argue that this design is simple, checks all checkboxes as long as open questions are decided, and can be independently deployed. You're handwaving a ton of complexity. You don't even need token pasting for this
35.
▲
by
jmgao
3y ago
> Even in that case it would be reasonable to opt in that syntax for some blocks of code, without breaking any existing code which hasn't opted in, and this "edition" mechanism was very successful to evolve syntaxes and of
36.
▲
by
jmgao
3y ago
It could be worse, it could be Java 2 Standard Edition 5.0 1.5.0 release 22!
37.
▲
by
jmgao
4y ago
Mazda has regenerative braking that goes to a supercap, but AFAIK it's only sporadically available in the U.S. because the American fuel economy testing standards don't benefit much from it.
38.
▲
by
jmgao
4y ago
Intel wrote a header that maps NEON intrinsics onto SSE to help people port to x86 Android: https://github.com/intel/ARM_NEON_2_x86_SSE
39.
▲
by
jmgao
4y ago
The British had a proposal for a time-detonated nuclear land mine which would be kept warm by sealing chickens inside with a food and water supply: https://en.wikipedia.org/wiki/Blue_Peacock
40.
▲
by
jmgao
4y ago
> Control-backslash sends SIGQUIT on the other hand. This signal cannot be trapped. Yes, it can.
41.
▲
by
jmgao
4y ago
Kavanaugh's concurring opinion said this: > Second, as I see it, some of the other abortion-related legal questions raised by today’s decision are not especially difficult as a constitutional matter. For example, may a State bar a r
42.
▲
by
jmgao
4y ago
The trick is that USB-C has a pair of pins that identify what type of cable is connected. Different value resistors on the pins identify different types of cables, so the USB-C charger will know that the cable plugged into it is a legacy A
43.
▲
by
jmgao
4y ago
I'd be careful with these: USB-A male to USB-C female adapters are illegal in the specification because they let you connect two power sources together, which can lead to explosions.
44.
▲
by
jmgao
4y ago
Sure: https://photos.app.goo.gl/CerrZNcQiQE254pTA
45.
▲
by
jmgao
4y ago
Annoyingly, the USB-C midplate is specified at 0.7mm. In my experience, 0.6mm boards are too thin to make a reliable connection. Going thicker has worked perfectly with all of the cables I've tried. I suppose there might be some risk o
46.
▲
by
jmgao
4y ago
Yeah, you need a 0.8mm thick PCB, but everyone can do that now (JLCPCB and oshpark both do it for the same price as a regular 1.6mm board). Here's a footprint: https://github.com/jmgao/PCB-USB-C
47.
▲
by
jmgao
4y ago
0.8mm, https://github.com/jmgao/PCB-USB-C
48.
▲
by
jmgao
4y ago
And the best part is that you don't even need a connector, you can just build it right into your PCB! USB-A also lets you do a PCB-only connector, but if you're doing anything that requires a cable instead of just plugging directl
49.
▲
by
jmgao
4y ago
Belated, but no, I was referring to UAL vs old syntax.
50.
▲
by
jmgao
4y ago
It's a lot more basic than that. Everyone can steal game knowledge by just copying what other people do, but the ability of progamers to click quickly and accurately and efficiently divide their attention and context switch between mul
51.
▲
by
jmgao
4y ago
ARM spends it on pc being wrong: when you mov from it, it's off by 8 in ARM mode, and off by 4 in Thumb mode, and if you're using it for pc-relative loads (and stores, if you're crazy), it uses a word aligned value. edit: oh,
52.
▲
by
jmgao
4y ago
> With MTG, you have a huge effect from the quality of the deck. Unless you have each player play with each deck, there's no way to de-convolute the quality of the deck vs the quality of the player. And if you did have that data, El
53.
▲
by
jmgao
5y ago
IIRC, in the past, they had a pretty substantial office in Russia working on Android.
54.
▲
by
jmgao
5y ago
Knowing the Tegra chip in question, I'd bet it's probably not ARM's fault. Tegra X1, unlike pretty much every other SoC, did big.LITTLE via cluster migration with a custom cache coherence system, instead of just having a bunc
55.
▲
by
jmgao
5y ago
That's probably just an artifact of how the author initially went through the open sourcing process. It is code that is written and maintained by a Googler as his day job, that's used in skia (i.e. chromium, android, etc.) today f
56.
▲
by
jmgao
5y ago
This appears to just allow you to parse binary formats to the represented fields. (Not that that's not extremely useful, doing this in managed languages is generally a giant pain in the ass!) wuffs is much more powerful: it's esse
57.
▲
by
jmgao
5y ago
He's wrong, it is getting parsed in C. glibc happens to allow ' ' as a modifier to %n: https://gcc.godbolt.org/z/zaTnjzEY3
58.
▲
by
jmgao
5y ago
That section of the transcript is incorrect, despite being from someone who worked on it. It's obviously a printf bug because it only happens with %n with valid modifiers: https://www.reddit.com/r/gimlet/comme
59.
▲
by
jmgao
5y ago
No, it's a format string vulnerability.
60.
▲
by
jmgao
5y ago
> That one employee he noticed seemed to have concluded his comment with a rather sarcastic thanks directed toward someone who might be one of the responsible? Presumably, that's "Thanks, <my username>@" as a signatu
More ›