Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
leeoniya
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
55 ms
·
601.
▲
by
leeoniya
5y ago
oof. has a very Worms aesthetic to it.
602.
▲
by
leeoniya
5y ago
the biggest issue i ran into when trying voip with a cell phone is lack of functioning mms (and therefore also group sms). that ended up being the dealbreaker.
603.
▲
by
leeoniya
5y ago
Sounds of the Nightmare Machine https://m.youtube.com/watch?v=1lTYPvArbGo
604.
▲
by
leeoniya
5y ago
too late for me. they fired a ton of engineering talent working on exciting tech (servo) to chase some bundled vpn rebrand. what a misguided move, like most everything they've done in non-engineering space. sad. before, i would have do
605.
▲
by
leeoniya
5y ago
SCT reflector telescopes use an exotic looking "corrector plate" (lens) to compensate for the easier-to-produce spherical mirrors vs parabolic. https://en.m.wikipedia.org/wiki/Schmidt_corrector_plate
606.
▲
by
leeoniya
5y ago
like a perf-related bug for ctx.font mutation? no. the actual behavior of context being reset during resize works as specced, AFAIK.
607.
▲
by
leeoniya
5y ago
resize and orientationchange don't change devicePixelRatio though, so they're somewhat different concerns.
608.
▲
by
leeoniya
5y ago
you can use matchMedia to detect devicePixelRatio changes and re-sync: https://github.com/leeoniya/uPlot/blob/190134aa844cfa2a0c052... everything stays crisp even as you browser-zoom. e.g. https://
609.
▲
by
leeoniya
5y ago
i think you'd still need 4 bezierCurveTo commands, so not sure there's any advantage over 4 arcTo: function roundedRect(ctx, x, y, width, height, radius) { ctx.beginPath(); ctx.moveTo(x, y + radius); ctx.ar
610.
▲
by
leeoniya
5y ago
> context.reset is kinda funny. Most high-performance canvas apps will never want to use it. For that matter you want to set all properties as little as possible, especially setting things like context.font, which are slow even if you&#x
611.
▲
by
leeoniya
5y ago
one [more] thing i want is to be able to retain canvas context settings when resizing the canvas. e.g. it's unreasonably very expensive to re-sync the lost ctx.font on every dragged pixel - this operation alone dominates my perf prof
612.
▲
by
leeoniya
5y ago
you can do rounded rect in about 50% fewer commands vs the example. https://stackoverflow.com/questions/1255512/how-to-draw-a-ro...
613.
▲
by
leeoniya
5y ago
> A steam explosion is what happened to the Chernobyl reactor in 1986. Although this lead to a serious disaster, it is much less destructive than an actual nuclear explosion (Wilkins, 2011). Due to the nature of molten salt reactors, the
614.
▲
by
leeoniya
5y ago
but also cannot realistically operate for very long becase structural components tend to deteriorate quickly from the combo of salt, high heat, and radiation.
615.
▲
by
leeoniya
5y ago
> and I commit to my rudely named project on my local computer with his email address and how exactly would this be out of character for the real Linus Torvalds?
616.
▲
by
leeoniya
5y ago
> the free market considers nuclear power plants too risky the free market is made up of people who primarily watch sensational evening news and follow clickbait social media. the actual statistics are still well on the side of nuclear i
617.
▲
by
leeoniya
5y ago
the whole nuclear paralysis because of fukushima is rather insane. location & reactor design make a giant difference in risk profile and outcomes. IMO nuclear is the only real way out of the current mess. any idea why we dont have sever
618.
▲
by
leeoniya
5y ago
the old, "would you rather be forgotten or hatefully remembered?"
619.
▲
by
leeoniya
5y ago
> The blockchain has added no value to the transaction. it does make it impossible to make and sell fakes?
620.
▲
by
leeoniya
5y ago
i follow you on github :) sorry!
621.
▲
by
leeoniya
5y ago
hmmm, you might be right. i wonder what steered me away. maybe each SSE response re-sends headers, which can be larger than the message itself? maybe it was inability to do broadcast to multiple open sse sockets from nodejs. i should revis
622.
▲
An unscientific benchmark of SQLite vs. the file system (btrfs)
(github.com)
113 points
by
leeoniya
5y ago
|
67 comments
623.
▲
by
leeoniya
5y ago
the problem is multiple tabs. if you have, e.g. a bunch of Grafana dashboards open on multiple screens in different tabs (on same domain), you will exhaust your HTTP connection limit very quickly with SSE. in most cases this is not a concer
624.
▲
by
leeoniya
5y ago
the biggest drawback with SSE, even when unidirectional comm is sufficient is > SSE is subject to limitation with regards to the maximum number of open connections. This can be especially painful when opening various tabs as the limit is
625.
▲
by
leeoniya
5y ago
the AX210 is better by far (i swapped out my M2 mediatek, which had bizarre hardware issues)
626.
▲
by
leeoniya
5y ago
> Came with MediaTek 7961 WiFi, which while supported by mainline Linux, the performance is trash (~30MBit on 802.11ac). Luckily it's only M.2 so you can replace it with something like the AX201 yep, those mediatek cards aren't
627.
▲
by
leeoniya
5y ago
i dont think they do it on these models. i have an AMD Ryzen Pro Gen2 P14s and replaced the wifi+bluetooth M2 card with an AX210. the mediatek card was garbage; not just slow (ping times were 3x normal), but caused my machine to insta-reboo
628.
▲
by
leeoniya
5y ago
it really depends on what you're working through. i do this on occasion while experimenting and thinking through an architectural design. what matters is whether the end result is representative of the time spent on iteration and writi
629.
▲
by
leeoniya
5y ago
i have TPM 2.0 disabled in BIOS, which blocks Windows 11, sounds like permanently. still will have to deal with occasional Windows 10 "feature" update shenanigans, but far fewer hopefully once 11 is widely-deployed. still use Manj
630.
▲
by
leeoniya
5y ago
i speak russian fluently and still parsed the title as "Do" + <indian name>
More ›