Better HN
topnewbestaskshowjobs
Log inSign up

codesnik

1,035 karma · joined Mar 11, 2009 (17y ago) · 496 submissions

Submissions

comment 1y ago · link · parent

but actual code preceded the hardware!

comment 1y ago · link · parent

I've never used it, but perl contains support for Berkeley DB in stdlib since forever. But sqlite maps to perl just fine.

comment 1y ago · link · parent

I recently contemplated about a thing: on a galaxy scale, the speed of gravity (or gravity change) should have a somewhat noticeable effect. There's a slight pull towards a star on the other side which is not there anymore for 50000 years! Of course there's some other star in that place, but I wonder how minuscule that effect is. Would it speed up or slow down rotation of outer regions of galaxy?

comment 1y ago · link · parent

maybe symlinking will work

comment 1y ago · link · parent

I've tried to create or revive a watercooler channel in every remote company I've worked in last 10 years. For some reason it usually doesn't work. Some people don't needed it, some people just call each other and vent out privately. I miss watercooler talk.

comment 1y ago · link · parent

I wonder how many languages have nice looking "\e" for "\u001b". ruby, perl, bash, anything else?

comment 1y ago · link · parent

browser rendering does. You'd need white-space: pre-wrap rule to retain double spaces.

comment 1y ago · link · parent

me too. that's how I learned Perl (scripting language of mmc). What was your mud client/language?

comment 1y ago · link · parent

some measured effects in such experiments happen because of, for example, magnetic interference with the lab equipment. Well, on LEO there still present the Earth magnetic field, unlike in any usable interplanetary space. Interaction with the Earth magnetic field is already used by some satellites for orientation https://en.wikipedia.org/wiki/Magnetorquer

comment 1y ago · link · parent

you kinda doing by hand what git commit --fixup could do for you, and what git rebase -i could pick up automatically.

comment 1y ago · link · parent

with supabase it is almost essential. But adding comments with migrations is somewhat tedious, unless you're writing actual sql. Like, you know, with supabase.

comment 1y ago · link · parent

supabase kiinda pushes you in that direction though.

comment 1y ago · link · parent

I've been in a Uzbekistan palace, I think it was Khiva. And it was, well, a palace, with courts and richly decorated rooms. But at certain fully enclosed by walls court there was a circular place where yurt have been standing. Khans were tracing their lineages back to Genghis Khan, and it was unbecoming for the khan to spend nights under the firm roof, even if it's in a middle of the city with long sedentary life style traditions. All the visiting relatives wouldn't approve.

https://en.wikipedia.org/wiki/Toshhovli_Palace

https://en.wikipedia.org/wiki/Toshhovli_Palace#/media/File:K... that circular spot.

comment 1y ago · link · parent

from what I know, prolog looked declarative, in a way that you just encode relations and it figures out the answers, but it really depended on the order of those rules, and some additional instructions like "cut" which not only prevented waste computations, but could affect the results.

datalog on the other hands is more or less a relation db with a different syntax.

comment 1y ago · link · parent

It'd help with other editors as well. I'm vim user, for example, various "vim-modes" in other editors are unsatisfactory for me.

comment 1y ago · link · parent

what I'd expect from a handwritten book like that, if it is just a gibberish, and not a cypher of any sorts - the style, calligraphy, the words used, even letters themselves should evolve from page 1 to the last page. Pages could be reordered of course, but it still should be noticeable.

Unless author hadn't written tens of books exactly like that before, which didn't survive, of course.

I don't think it's a very novel idea, but I wonder if there's analysis for pattern like that. I haven't seen mentions of page to page consistency anywhere.

comment 1y ago · link · parent

oh, here you are!

ok, for me it's a strange hybrid of pop-science with some newyorker style storytelling which seems to be written in a way for reader to somehow enjoy just an amount of words used. I love reading scientific news, but I'm not sure what's so interesting about what kind of coffee drinks specific scientist behind it and what is their morning routine. And when I skip over that stuff, actual description of the discovery in question is seriously lacking in details, at least to my taste.

comment 1y ago · link · parent

of course it's quantamagazine. Such a weird journal, I still wonder who's the audience.

comment 1y ago · link · parent

orbiting a planet in that case is no different than orbiting a sun on the same orbit as planet. Probably even more cumbersome, all that jiggling around. Or are you talking about making a gravity assist to turn the orbit of the probe into less eccentric?

comment 1y ago · link · parent

aren't they the same in Postgres?

comment 1y ago · link · parent

but zsh has "rehash"? for as long as I remember.

comment 1y ago · link · parent

I remember playing old french game "Metal Mutant", which on a level three or four asked something in french (it was probably asking for a code from manual) and if you answered wrong, it wouldn't exit the game, but it'd just silently disable all projectiles, making game unwinnable. I as a kid spent hours wandering around, thinking that I missed some clue. And game didn't have any saves, so after banging my head for a couple hours, I'd exit game frustrated, and in a month or two I had to start from scratch if I wanted to try to complete that level again.

comment 1y ago · link · parent

is it generated by LLM using prompt at https://github.com/stefanrodrigues2/Prolog-Adventure-game/bl...?

comment 1y ago · link · parent

is that clause even legal/enforceable in "normal" jurisdictions?

comment 1y ago · link · parent

f'' vs t'' probably.

comment 1y ago · link · parent

identifying and shining light only on specific type of cells on retina through the iris is of limited value? I personally didn't know we even have that kind of precision.

comment 1y ago · link · parent

it's not "emulating", it's exactly what you describe. And it's just one additional "v" away, can't be shorter than that.

comment 1y ago · link · parent

It's not only an additional disk space, it also a need to sync it with main column, using triggers or whatever, and have much bigger backups. Why "initial instinct was to question", though? I don't see downsides still, unless yeah, weighted queries or need to search in joined tables etc.

comment 1y ago · link · parent

yep. it works. SOMETIMES.

comment 1y ago · link · parent

"move" absolutely did move a lot of workforce, since farmers are much more productive, not as much help is needed.
12345
17