Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tripflag
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
tripflag
2mo ago
For context, the Python workload was a general-purpose fileserver with file indexing and image thumbnailing, largely IO-bound. Switching from mallocng to mimalloc resulted in a slight speedup (150% of baseline), but over twice the memory us
2.
▲
by
tripflag
2mo ago
it's a tradeoff; mallocng does have benefits as well -- for example it uses less than half the amount of RAM compared to mimalloc and glibc for certain Python workloads. While yes it is a bit slower, I prefer mallocng in many cases.
3.
▲
by
tripflag
4mo ago
Cool! Out of curiosity, since qr-codes can contain binary data -- rather than base64, have you tried inserting the file as-is? That way you could do away with the ASCII separator and have a binary header as well. This would spend less frame
4.
▲
by
tripflag
5mo ago
But what if you are leaving the page because you changed your mind, and don't wish to save the changes after all? This, for me, is the common case, so i would not want the browser to suddenly commit an unfinished draft.
5.
▲
by
tripflag
7mo ago
Hence my question -- my belief was/is that all of the escape-sequences mentioned in the article will work on 99.99% of all terminals, with the exception of 256-color. Assuming this is true, IMO the remaining 0.01% does not justify intr
6.
▲
by
tripflag
7mo ago
Aside from the 256-color section, I believe all of the examples given in the article are basic sequences which are supported in ~every terminal. Are you aware of any notable terminals where that is not the case? Maybe I've been lucky,
7.
▲
by
tripflag
7mo ago
h264 still makes sense in some applications because it is relatively computationally cheap, and has very wide adoption in both software and hardware. in the case of HEVC/h265, one of the main reasons today is Apple using that codec for
8.
▲
by
tripflag
8mo ago
Good news is there are ongoing efforts to make that happen; https://github.com/SnapXL/SnapX
9.
▲
by
tripflag
8mo ago
in my case, I use zed for almost everything, and vscodium for three things: search across all files; easier to navigate the results with the list of matching lines in the sidebar, and traversing the results with cursor up/down, giving
10.
▲
by
tripflag
10mo ago
Microsoft has been making it harder to run their proprietary python plugin in vscodium, which I was relying on to provide hints from pyright. That's something I didn't want to deal with, so I just jumped ship. There are some thing
11.
▲
by
tripflag
10mo ago
Just to clarify that the 8 security announcements are not open issues; they are announcements that a new release has been made which fixed something security-related. I'm doing my best keeping a good track-record for fixing such issues
12.
▲
by
tripflag
10mo ago
Ah, a small correction regarding this... What I /meant/ to say in the video was that a lot of the INITIAL code was written this way, so the statement is mostly true for v0.2.3. Since then I've primarily been using vscodium (a
13.
▲
by
tripflag
11mo ago
Combining copyparty with Syncthing is not something I have tested extensively, but I know people are doing this, and I have yet to hear about any related issues. It's also a usecase I want to support, so if you /do/ hit any i
14.
▲
by
tripflag
11mo ago
> I also miss Filerun's "Request a file" feature which worked very nicely if you just wanted someone to upload a file to you and then be done. With the disclaimer that I've never used Filerun, I think this can be repl
15.
▲
by
tripflag
1y ago
Hey o/ Yup, this is 97% just me hacking away in vscode -- I use pylance and the debugger but have everything else disabled, easier to focus that way. The only time I use any sort of AI/LLM is for translating new strings into Chine
16.
▲
by
tripflag
1y ago
it's also inconvenient for Norwegians and Danes, since Ø is part of our alphabet. Slightly jealous of Sweden since they write it like Ö instead... Either way, big fan of dotted zeros for that reason.
17.
▲
by
tripflag
1y ago
To be fair, it has been persistently offline for the past year or so every time I checked, so I'm not surprised that other people would jump to the same assumption.
18.
▲
by
tripflag
1y ago
I recall towel.blinkenlights.nl mentioned you would get a different version of the video (with colors) if you connected from IPv6. I've found rips online of the plain grayscale version, but not the colored one. Anyone happen to have a
19.
▲
by
tripflag
1y ago
mods are still alive, and crazier than ever -- proof that 4 channels is all you need! https://www.stef.be/bassoontracker/?file=ma-205456
20.
▲
by
tripflag
2y ago
if you stop sending data entirely, browsers tend to drop and reopen the connection after a few minutes, assuming something got stuck along the way. Throttling seems to prevent that nicely.
21.
▲
by
tripflag
2y ago
Yep, and the server bandwidth can become a bottleneck if the peers are fast enough, so true peer-to-peer is still the better choice, or something webtorrent-based if multiple people are grabbing the same file. But there's been enough l
22.
▲
by
tripflag
2y ago
> There are services which allow you to upload via CLI and download via web browser, but they host your file so you have to wait for the full upload to finish before sharing the link. There are exceptions to this; I've been making c
23.
▲
by
tripflag
2y ago
There's also the fact that an NVRAM variable is never overwritten inplace; the new value is written elsewhere, and the pointer is updated to use the address of the new value. This is probably mainly for wear-leveling, but I guess it co
24.
▲
by
tripflag
2y ago
I played a bit of Super Mario 64 using an early version of Daedalus, so it was more than a rumour :> Granted, it ran at about 80-90% realtime speed, and audio was a no-go, but maybe that improved in later releases.
25.
▲
by
tripflag
2y ago
I have very fond memories of XionPlayer; https://www.xionplayer.com/ The amount of visual flare that thing managed to produce in the heydays of WinXP was stunning, felt like operating a scifi-movie prop with all of the alph
26.
▲
by
tripflag
2y ago
Kaitai Struct has an online demo which basically does this; https://ide.kaitai.io/
27.
▲
by
tripflag
2y ago
Yes; i use this trick to display an upload progressbar (progress-donut?) using a bit of JavaScript: https://github.com/9001/copyparty/blob/c5988a04f/copyparty/w... but note that browsers rate-limit
28.
▲
by
tripflag
2y ago
One trick not mentioned in the article is to repeat the ddrescue with the same CD in different drives; this almost entirely saved my unreadable CDs, as no single drive could read them entirely. My biggest savior was a Pioneer BDR-AD07BK whi
29.
▲
by
tripflag
2y ago
I just wanted to make sure I wasn't passing up on a free 400% boost or something :-) but it was already running plenty fast, so it was entirely out of curiosity.
30.
▲
by
tripflag
2y ago
I've tested a particular python webserver in PyPy and saw roughly the same performance as CPython on average. My guess at the time was that PyPy has a bigger overhead for network sockets than CPython. You would likely see a gain from u
More ›