Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kortex
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
391.
▲
by
kortex
3y ago
The other big challenge is from a SAR (structure-activity relationship) point of view, it's completely benign looking from just about any way you look at it. It's two peptides, and a methanol (which yes, gets converted to formalde
392.
▲
by
kortex
3y ago
Man, rustc compiling of binaries that run on this computer, docker, github CI, this kid's going places (no idea how old he is, but he's squarely younger than me, a millennial, ergo, kid).
393.
▲
by
kortex
3y ago
I get that, but isn't the debt/GDP ratio in general also growing?
394.
▲
by
kortex
3y ago
I get that countries don't exactly operate like a family budget, but can someone explain what the intended steady state is? There's only really three options: pay it off, keep it at the current debt level (or keep it steady at som
395.
▲
by
kortex
3y ago
Does the prefix ("user_") get recorded in the DB (so every string in the column starts with the same "user_"), or does are there constraints and other clever chicanery to save those bytes in every record? Or do modern DB
396.
▲
by
kortex
3y ago
> But as White points out, it’s a bit surprising that Delta didn’t block this particular combination as a possibility. “I’m sure they removed many four-letter words that would be seen as offensive,” he tells the Post. “I’m surprised that
397.
▲
by
kortex
3y ago
> Bad. Config is not code. Settings should be explicit. DRY is not helpful. I disagree. From experience, there are enough times that configuration requires repetition, loops, interpolation, etc, that you often end up in this gross space
398.
▲
by
kortex
3y ago
Would this also apply to home directory, eg ~/.meta/.netrc? That would be neat and make backing up a system and synching configs easier. Also, what about .idea/.vscode and related IDE stuff? Those I would definitely consider
399.
▲
by
kortex
3y ago
Wow, that's pretty awesome! I don't know if WASMpy would be a completely different implementation, or just CPython compiled against a WASM target. Probably the latter. Which has already been done. https://github.com
400.
▲
by
kortex
3y ago
Your python code is executed by Apache? You mean like WSGI? Well either way, the bytecode alliance is working on things like fork/exec. > What would the Python "requests" module do if it has no Linux kernel below it to p
401.
▲
by
kortex
3y ago
No. Only NAT is slower to any real degree. https://stackoverflow.com/a/26149994
402.
▲
by
kortex
3y ago
What you are describing is basically WASI [1]. Yes there are exploit concerns in the bridge layer, but it is far easier to sandbox these capabilities-based modules, than native programs. For example, many WASM runtimes are written in Rust,
403.
▲
by
kortex
3y ago
I could see this greatly benefitting python in particular. Compile cpython and all the dependencies against WASM/WASI, bundle WASM wheels, and wrap the whole thing up in a single .wasm binary. Python portability woes are basically solv
404.
▲
by
kortex
3y ago
What is the overhead for WASM like, vs bare metal? I know containers generally run as fast as regular processes, but I imagine there is some interpretation overhead for WASM.
405.
▲
by
kortex
3y ago
Can't you just define the symbol color pallet in options? (I'm not a vscode user, I use JetBrains and I just define my own colors)
406.
▲
by
kortex
3y ago
I'm a big fan. My source code looks like a rave. I think it depends on your neurotype quite a bit though.
407.
▲
by
kortex
3y ago
I'm not really an engineer (general hobbyist, former chemist) but I have built and worked with pressure and vacuum vessels. Positive pressure (tank vs exterior) is much easier to deal with than negative pressure (vacuum vessel at 1 a
408.
▲
by
kortex
3y ago
Yes but every time I've seen it, it's in a small scope, it's very obvious the type of the variable and what it's doing. It's really not as bad as it seems once you spend some time in go.
409.
▲
by
kortex
3y ago
ROS is verrrrrrry opinionated and a pain to set up in an orthogonal way to other ROS installs. It's also tied very heavily to ubuntu/debian. Putting it all into containers makes many things so much easier (it makes a few things ha
410.
▲
by
kortex
3y ago
Oh man, this is a nostalgia bomb. I wish this had a search feature, so I can't find my favorite one, though I'm sure it's on there. Author if you are here, I'd love the ability to search, rather than scroll through thous
411.
▲
by
kortex
3y ago
Chip music / chiptune specifically to music produced on/for sound chips, or produced using tracker software which was commonly used to produce this kind of music. "8-bit" is also often used to refer to the genre of chipt
412.
▲
by
kortex
3y ago
703 is probably the right path towards true gilless python, but to quote Greg Smith (gpshead) on the PR, > We're not ready to simply pronounce on 703 as it has a HUGE blast radius. 703 isn't even out of draft PEP status. I thin
413.
▲
by
kortex
3y ago
> The problem is not that deep Technically yes, the data structure can be abstracted over and removed, in that sense, it isn't "deep". But the reason I say it's deep is because of the deep implications and assumptions
414.
▲
by
kortex
3y ago
I indirectly referenced it. IIRC the main problems with his approach are the ABI problem and the mutex overhead. He tries to "solve" the performance hit by offsetting with performance gains elsewhere, but that raises the question
415.
▲
by
kortex
3y ago
What exactly does "running inside a Thread/GilFreeThread" in the context of the cpython runtime mean? You pretty much need an entire copy of the virtual machine code. These are C structs we are talking about here, not some Ru
416.
▲
by
kortex
3y ago
Every single HN thread on python performance, ever: Person with limited to zero experience with CPython internals> I hate the GIL, why don't they just remove it ? That just is doing an incredible amount of heavy lifting. It'
417.
▲
by
kortex
3y ago
> But the red/blue splitting happens behind the scenes, so it's different. Respectfully, I don't believe you have spent any appreciable time looking at the CPython source code. If you had, you would understand how unreason
418.
▲
by
kortex
3y ago
Python is dynamic AF and Rust's whole shtick is compile-time safety. Python was built from the ground up to be dynamic and "easy", Rust was meticulously designed to be strict and use types to enforce constraints. It's ha
419.
▲
by
kortex
3y ago
That sounds like a maintenance and stability nightmare, if it's even possible. You are effectively red/blue splitting the entire codebase. PyObject and the GIL touch everything in the codebase.
420.
▲
by
kortex
3y ago
> C programs unavoidably interact directly with the GIL? Bingo. They don't have to, but often the point of C extensions is performance, which usually means turning on parallelism. E.g. Numpy will release the GIL in order to use ma
More ›