Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
akx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
121.
▲
by
akx
4y ago
As my comment says, A1111's fork _sets up the venv for you_, no futzing.
122.
▲
by
akx
4y ago
Automatic1111's fork is pretty good in the no-messing-around sense – on my Windows box (which has an old but decent gaming GPU), all it took was running `launch.bat`, and it set up a venv, downloaded dependencies and wired everything u
123.
▲
by
akx
4y ago
A good start would be to not do silly things like body = request.json key = json.dumps(body) in the prediction code to begin with: https://github.com/postgresml/postgresml/blob/15c8488ade86b0...
124.
▲
by
akx
4y ago
Don't suppose you have any data to show to back that electricity claim?
125.
▲
by
akx
4y ago
Not only that, but there's a file `.bebelrc`. That really should be `.babelrc`, for the configuration file for the Babel transpiler.
126.
▲
by
akx
4y ago
I did my math again, and a latency (buffer size in milliseconds) of 0.72ms (0.072 s) with a buffer size of 64 samples means your sampling rate would have to be about 400 KHz (stereo). Are you sure it's not 7.2 milliseconds (to bring it
127.
▲
by
akx
4y ago
0.72m/s? I hope you mean 0.72 milliseconds, which sounds about right for 44.1khz and 64 samples. Anyway, have you actually measured the _true_ latency from when your computer thinks it's sending out a signal and when it comes out
128.
▲
by
akx
4y ago
You might want to try an alternative shell for your CLI. E.g. `fish` ( https://fishshell.com/ ) does that.
129.
▲
by
akx
4y ago
Where would an interpreter cache things if it's not running anymore? The disk? You're back to loading data from disk.
130.
▲
by
akx
4y ago
I know one does not simply go async, sure, but I thought it should be noted (especially considering how async-centric this release is) that the repo doesn't immediately allow for async. Also, "4.1 only landed a few hours ago"
131.
▲
by
akx
4y ago
That seems to be using WSGI, not ASGI, though, so no natively `async` views..?
132.
▲
by
akx
4y ago
I'm quite sure crypto people working in Python wouldn't use a Node.js library. Pretty apples-and-oranges there.
133.
▲
by
akx
4y ago
Trying to get Python SOAP stacks to talk to Java/.NET banking services was another thing too. I still get mild PTSD from thinking about XMLsec and XML c14n.
134.
▲
by
akx
4y ago
Sure. For a physical server, you'd use its lights-out management to the same effect.
135.
▲
by
akx
4y ago
Not necessarily. With good timing and some luck, you can connect the serial/"recovery" console before GRUB's timeout ends and either change the running kernel or add the `systemd.mask=docker.service` boot parameter to pr
136.
▲
by
akx
4y ago
> have to follow the procedure for restoring from backup or re-mounting the root volume on an alternate house to revert the kernel version being run. Or add `systemd.mask=docker.service` to your boot parameters to prevent Docker from sta
137.
▲
by
akx
4y ago
... With microphones he builds himself, too. https://mynoise.net/microphones.php
138.
▲
by
akx
4y ago
You could absolutely write `encapsulate`, but you will lose out on all of the established code completion and other IDE features.
139.
▲
by
akx
4y ago
xxhash would work fine for this, especially since it has a seed value option (which would be your salt).
140.
▲
by
akx
5y ago
Not to mention the fonts. That's no MS Sans Serif...
141.
▲
by
akx
5y ago
There's a lot to optimize here - a bit of looking at the profiler and an 8-line patch makes generating 24-character solutions already 5+ times faster (on my MacBook, using a single process). Considering there is no LICENSE in the origi
142.
▲
by
akx
5y ago
I think logging inspects frames while they're still on the stack, not post-fact..?
143.
▲
by
akx
5y ago
TrueType fonts. https://github.com/dosemu2/dosemu2/pull/1398
144.
▲
by
akx
5y ago
For something a little more involved, I've written a modular glitch tool with animation features... https://akx.github.io/glitch2/
145.
▲
by
akx
5y ago
Well yes, memcached has apparently had its share of memory-corruption vulnerabilities. https://www.cvedetails.com/vulnerability-list/vendor_id-1299...
146.
▲
by
akx
5y ago
Ah, cheers. :)
147.
▲
by
akx
5y ago
Um... > The Python Packaging Authority (PyPA), along with the Python community, is working on an endpoint to provide the dependency information. So what is the `requires_dist` key in e.g. https://pypi.org/pypi/Django
148.
▲
by
akx
5y ago
And formats like BMP are stored upside down...
149.
▲
by
akx
5y ago
Or a piece of software in your toolchain has been unaware of the bit and inadvertently stripped it. Is that evidence of intent still?
150.
▲
by
akx
5y ago
There is a screenshot explicitly titled "subpixel antialised fonts". http://www.jedit.org/index.php?page=screenshot&image=36
More ›