Better HN
topnewbestaskshowjobs
Log inSign up

mscdex

159 karma · joined Jun 5, 2012 (14y ago) · 58 submissions

Submissions

comment 1w ago · link · parent

I'm just passing information for anyone who wants to disable it without recompiling anything.

comment 1w ago · link · parent

Same with setting `ORT_DISABLE_TELEMETRY=1` in the environment before loading the library.

comment 2w ago · link · parent

You're better off relying on OS-level security mechanisms. Not only is it more likely to be much safer/secure, but it also means you don't have to worry about compatibility, missing features, etc. when you switch runtimes/software stacks.

comment 3w ago · link · parent

Yes, it's the width of the cable. If your cable is pre-terminated, then yes you have to be aware of the dimensions of the connectors if you are having to feed it through small openings. However if you're like me and go the non-destructive route of routing the cable through doorways and along baseboards, walls, and ceilings there is no issue.

comment 3w ago · link · parent

I recently switched to "invisible" fiber after having used various generations of MoCA/G.hn/Powerline ethernet over the years. The best part is that you can get such cabling down to 0.6mm thin (akin to fishing line) and get it pre-terminated, meaning you don't have to drill holes anywhere as it can easily fit through doorways and supports very tight bend radii without breaking (exceeding G.657.B3). Also, pairing it with bidirectional transceivers means you only need to run one cable to each endpoint.

comment 3w ago · link · parent

FWIW if you're stuck on 5.4 (e.g. Ubuntu 20.04 GA) for any reason, the 5.10.272 patch applies cleanly. There is only one function (skb_csum_is_sctp) missing in skbuff.h that needs to be added in, otherwise everything builds just fine.

comment 3mo ago · link · parent

For what it's worth there are now mini PCs on AliExpress with SFP+ ports. I have one running OpenWrt along with some inexpensive SFP+ modules that's been working great. Although with my setup, I opted to have an external wifi AP connected to it instead of relying on an internal wifi card.

comment 4mo ago · link · parent

For what it's worth, if you don't have the chip that powers this card, there's also the PicoGUS which is a multi-function, software-defined ISA card that includes the ability to emulate the Gravis Ultrasound among other sound cards: https://picogus.com/

comment 4mo ago · link · parent

I've found that for CPU inference the PyTorch-based (non-quantized) version of Pocket TTS actually performs (both speed and quality-wise) better than the ONNX version, even after fiddling with all of the knobs that ONNX provides.

comment 5mo ago · link · parent

You'd be amazed what exists on the market these days. For example, the pre-terminated InvisiLight fiber cabling is 0.6mm in diameter and has a 2.5mm bend radius. I've personally installed this cabling while making many 90 degree (and sharper in some cases) bends without any issues. That makes it easy to hide and trivial to fit right through doorways and other tight spaces too.

comment 5mo ago · link · parent

What "heavy handed tracing" was turned on by default?

comment 5mo ago · link · parent

If you haven't already seen it, I highly recommend watching the "War Stories" video on the making of Prince of Persia: https://www.youtube.com/watch?v=sw0VfmXKq54

On a related note, I also highly recommend the "War Stories" video for the making of Crash Bandicoot: https://www.youtube.com/watch?v=izxXGuVL21o

comment 6mo ago · link · parent

Do you have a link to results confirming this? Kroko does not seem to be on the Open ASR Leaderboard. Parakeet has an average WER of 6.32 across several common datasets.

comment 6mo ago · link · parent

Why the choice of Kroko over something like parakeet-tdt-0.6b-v3, which is also faster than realtime on CPU?

comment 9mo ago · link · parent

After having to deal with VM hosts that do GeoIP blocking, which unintentionally blocks Let's Encrypt and others from properly verifying domains via http-01/tls-alpn-01, I settled on a DIY solution that uses CNAME redirects and a custom, minimal DNS server for handling the redirected dns-01 challenges. It's essentially a greatly simplified version of the acme-dns project tailored to my project's needs (and written in node.js instead of Go).

Unfortunately with dns-persist-01 including account information in the DNS record itself, that's a bit of a show stopper for me. If/when account information changes, that means DNS records need changing and getting clients to update their DNS records (for any reason) has long been a pain.

comment 10mo ago · link · parent

On Linux, this is why I always turn to using abstract sockets when I only need local locking. Only one process can bind and the kernel cleans up automatically on process exit.

You could do the same thing with TCP/UDP, but abstract sockets give you more flexibility in naming with 108 characters vs. being forced to use a 16-bit integer. Also it means you aren't using up a port that could otherwise be used for actual network communication.

Abstract sockets also make for a nice process existence monitoring mechanism since any processes connected to the bound socket are guaranteed to be immediately notified when the process dies.

comment 1y ago · link · parent

Also be aware that kernel support for shebangs depends on CONFIG_BINFMT_SCRIPT=y being in the kernel config.

comment 1y ago · link · parent

It's only an alternative if you have a backing swap device. zram does not have this requirement, so (aside from using no compression) it's basically the only solution for some scenarios (e.g. using entire disk(s) for ZFS).

comment 1y ago · link · parent

tl;dr: Use surge protectors when you care about your electronics and/or your health.

comment 1y ago · link · parent

This seems a bit strange to me considering the default behavior is to only show a suggested command if possible and do nothing else. That means they explicitly opted into the autocorrect feature and didn't bother to read the manual first and just guessed at how it's supposed to be used.

Even the original documentation for the feature back when it was introduced in 2008 (v1.6.1-rc1) is pretty clear what the supported values are and how they are interpreted.

comment 2y ago · link · parent

It didn't work for me either, but apparently one of the issues is that it assumes window.speechSynthesis is available which may be disabled via about:config > media.webspeech.synth.enabled.

comment 2y ago · link · parent

In my opinion it's primarily for less noisy logs.

comment 2y ago · link · parent

I think it goes without saying that you would still want to be using keys instead of passwords for the actual authentication. Port knocking should always be an additional layer, not a replacement layer.

comment 2y ago · link · parent

For what it's worth if you have control over both client and server and don't want to limit access using a strict IP whitelist, an alternative solution that will keep your logs quieter and add additional protection is to use good old fashioned port knocking. knockd on Linux helps with automating this on the server side. Client side you can use anything (although knockd does include a dedicated client) to send your sequence of packets before actually connecting.

comment 3y ago · link · parent

Generally speaking (I've not tested this kind of setup with the cosmopolitan libc) what I've done in the past with C is use something like libmicrohttpd along with some web assets linked into the executable (`xxd -i` can help you with the assets). That gives you a single (small) binary where you can use HTML/CSS/JS for the main GUI and logic.

You can then integrate additional libraries as you please, such as sqlite3 to give yourself fast, local database access over an endpoint on the embedded HTTP/S/2 (or websocket) server.

comment 3y ago · link · parent

Even with node.js, it's possible to be faster and/or use less memory than better-sqlite3. For example, here is an opinionated sqlite addon I wrote that shows just that (while executing queries asynchronously): https://github.com/mscdex/esqlite

comment 3y ago · link · parent

There are still some alternative shells that exist, even for Windows 10 and 11, including xoblite (inspired by blackbox I believe) [1] and Cairo Shell [2].

[1] https://xoblite.net/docs/

[2] https://cairoshell.com/

comment 3y ago · link · parent

I recognize that, but surely there could be overlap in some areas or problems unique to streamers who don't stream for a living.

For example, I could see streamers who stream for a potential social benefit may feel the need to chase trends, play the more popular games, and other similar things in order to increase/maintain viewership for more socializing opportunities. However they may also have a unique set of problems that streamers who do it for money do not have.

comment 3y ago · link · parent

Every time I see articles talking about this subject, it's always completely focused on Twitch streamers that stream for a living. I would be more interested in hearing the contrast with streamers who stream for fun/not for a living. Which problems are the same between the two groups and which are unique?
12