Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mmastrac
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
271.
▲
by
mmastrac
1y ago
This appears to be the removed section: -------------------------- To provide and maintain a Navy; To make Rules for the Government and Regulation of the land and naval Forces; To provide for calling forth the Militia to execute the Laws of
272.
▲
by
mmastrac
1y ago
True, but for the most part, RSA keys are the only keys that anyone encounters that start with long SEQUENCEs requiring two-byte lengths. `eY` could be any JSON, but it's most likely going to be a JWT. Neither is a perfect signal, but
273.
▲
by
mmastrac
1y ago
`MII` for RSA private keys.
274.
▲
by
mmastrac
1y ago
I built a JWT support library at work ( https://github.com/geldata/gel-rust/tree/master/gel-jwt ) and I can confirm that JWTs all sound like "eyyyyyy" in my head.
275.
▲
by
mmastrac
1y ago
Good thing we're using a shared Samba drive and editing files directly without locks!
276.
▲
by
mmastrac
1y ago
With that much cash on hand, Apple has at least a decade of failing before they even begin to worry.
277.
▲
by
mmastrac
1y ago
https://github.com/WICG/html-in-canvas/blob/main/security-pr... > TODO: Expand on fingerprinting risks
278.
▲
by
mmastrac
1y ago
This is full circle. You used to be able to host the unifi stack on anything that would run Java. Glad to see them returning to their roots!
279.
▲
by
mmastrac
1y ago
Don't use PR_SET_PDEATHSIG. That way lies pain.
280.
▲
by
mmastrac
1y ago
Previously: https://news.ycombinator.com/item?id=44685011 https://news.ycombinator.com/item?id=44667667
281.
▲
by
mmastrac
1y ago
I've done this in the past and it works quite well. I recommend that you buy a 5V, 20A power supply, crank it up to 5.3V-ish, and power directly to each Pi's header through the relay. Put a big cap over the Pi's power pins to
282.
▲
by
mmastrac
1y ago
In a pinch, a pair of pliers works too.
283.
▲
by
mmastrac
1y ago
It's a shame that stdX streams were never spec'd as sockets, with appropriate handling available in the various shells. Also, file handle inheritance by default was such a big mistake.
284.
▲
by
mmastrac
1y ago
It's an interesting choice, but every writer now needs to handle: 1) vectored i/o (array of arrays, lots of fun for cache lines) 2) buffering 3) a splat optimization for compression? (skipped over in this post, but mentioned in an
285.
▲
by
mmastrac
1y ago
As a "userspace" Rust developer, I'm happy that this still appears to be close enough to the standard Rust dialect that I could still be productive. I suspect that allocations are intentionally a little more explicit. It woul
286.
▲
by
mmastrac
1y ago
I remember the feeling of bruising my joints with scissors as a kid.
287.
▲
Fp8 runs ~100 tflops faster when the kernel name has "cutlass" in it
(github.com)
4 points
by
mmastrac
1y ago
|
0 comments
288.
▲
by
mmastrac
1y ago
That's literally it. Inflate the balloon, squeeze ram, you're good to go.
289.
▲
by
mmastrac
1y ago
I know almost nothing about Matter but is this true? I though that if you control your own fabric, you can talk to any device on it because they trust your controller.
290.
▲
by
mmastrac
1y ago
I think they are describing a "balloon" - you allocate enough memory to trigger a low-memory condition. Android then tries to kill off any large apps. You can then allocate large amounts of RAM in your own app after giving Android
291.
▲
by
mmastrac
1y ago
I did a similar thing for derive-io. It greatly improved the ergonomics of the macro. https://docs.rs/derive-io/latest/derive_io/ Being able to handle directly recursive type bounds would be an awesome improv
292.
▲
by
mmastrac
1y ago
That's brilliant, tbh. I guess the challenge is how you represent those in the decoded character space. Maybe they should allocate 128 characters somewhere and define them as "invalid byte values".
293.
▲
by
mmastrac
1y ago
Normalization is annoying but understandable - you have common characters that are clearly SOMETHING + MODIFIER, and they are common enough that you want to represent them as a single character to avoid byte explosion. SOMETHING and MODIFIE
294.
▲
by
mmastrac
1y ago
I'm a little behind on my CSS, but apparently you can now evaluate styles in the container and act on them, at least in Chrome: https://developer.chrome.com/blog/new-in-chrome-137 The example uses a newer `style(.
295.
▲
by
mmastrac
1y ago
Oops, I worded my comment poorly -- it's not a hidden input, but rather a "CSS-visibility-hidden textbox input". Hidden inputs are useful but something completely different.
296.
▲
by
mmastrac
1y ago
I have a reasonably good solution for this project of mine you might find useful: https://grack.com/demos/adventure/ The trick for me was just using a hidden input and updating the state of an in game input box. T
297.
▲
by
mmastrac
1y ago
I really like this idea - I keep finding myself re-implementing something like it every time I hit the brick wall of blanket impls. I'll see if there's a good place to make use of it in some of my current work at Gel (mainly tryin
298.
▲
by
mmastrac
1y ago
If you extract the grain (e.g. by subtracting a blurred version of the image), the result contains mostly noise, not meaningful scene information outside of some variation according to image brightness. Film grain is random, so the extracte
299.
▲
by
mmastrac
1y ago
There's no need for low-quality comments cutting and pasting from your favourite LLM. You can literally just type it into your browser's search bar and learn what it is, or spend a minute reading the wiki page ( https://
300.
▲
by
mmastrac
1y ago
... 11 years ago. Are you really hanging on to a vendetta this long?
More ›