Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
codesnik
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
361.
▲
by
codesnik
6y ago
AFAIK COBOL was never popular in ex-Soviet republics, but "natural programming language" was taught in most schools in some form. Usually it wasn't considered a real programming language, though, just something like a pseudoc
362.
▲
by
codesnik
6y ago
omg. Do yourself a favor, come visit Italy one day and go the museum or two. See whole range of stuff from stone age, to etruscan art, to roman, to early medieval. It's not like it was buried only in one particular place, and period at
363.
▲
by
codesnik
6y ago
"compelling"?!
364.
▲
by
codesnik
6y ago
if you ask for next page of results, with parameters like offset=20&limit=10, then you, as a client, can try to reason and manipulate those parameters. Ask for multiple pages in parallel, ask for offset=18 etc. Make calculations on thos
365.
▲
by
codesnik
6y ago
I love idea of "json lines" which is implicitly here, in jq. You can convert giant json array of objects to "json lines" and back with jq. A lot of tools could produce them, and then you can mix and match jq, simple uni
366.
▲
by
codesnik
6y ago
interesting. that huge transparent block is here for aesthetics only?
367.
▲
by
codesnik
6y ago
"lotska" is not a russian word. It was probably "liozhka", ("process of lying for a long time"), if it is something to believe at all.
368.
▲
by
codesnik
6y ago
though, station doesn't have to be a torus. Zubrin said something about two starships chained together with a loong cable. That could work.
369.
▲
by
codesnik
6y ago
I once made napkin calculations that for 1g "gravitation" a station even about 50 meters in diameter would introduce coriolis force so great you'll have a lot of trouble even trying to stand up from a chair.
370.
▲
by
codesnik
6y ago
I used to have the same kind of migraines. So much sharp smells everywhere, smell people across the street, things like that. Sadly headache didn't allow to enjoy that superability, even for normally pleasant smells.
371.
▲
by
codesnik
6y ago
video shows just a weird positioning of letters, like that's how zodiac had put them into cypher (one down, three to the left). It seems to me that originally text was written in some geometric shape, mostly from top to bottom, then wa
372.
▲
by
codesnik
6y ago
minor unwarranted tip: you don't need "|" between letters in character sets in regexps. grep "[r|R]elocate" would match "relocate", "Relocate", yes, but also "|elocate". You probably wa
373.
▲
by
codesnik
6y ago
you don't need anything else. Just Monica.
374.
▲
by
codesnik
6y ago
on mac: Preferences > General > "Click in the scroll bar to:" > "Jump to the spot that's clicked". Though with mac touchpads, I forgot when was the last time I ever clicked the scrollbar.
375.
▲
by
codesnik
6y ago
well, then why bother copyiing at all? ruby passes references everywhere. Those are not pointers, of course, but for small arrays AFAIR those arrays (pointers to actual data) are contained in the reference itself. And logically it simplifie
376.
▲
by
codesnik
6y ago
There're revision control systems based on diffs, but git's power (and durability) is that every commit references only blobs, which are (content addressable) files, not diffs. All the diffs used in git log presentation or git-dif
377.
▲
by
codesnik
6y ago
apple apologized?!
378.
▲
by
codesnik
6y ago
You probably jest, but perl introduced simple arrays and hashes long before introducing references, and this created a lot of confusion later. Very simple json-like structures are pretty confusing in perl now. In most other dynamic language
379.
▲
by
codesnik
6y ago
wings are surprisingly tiny. I wonder if wide body is actually providing some lift there.
380.
▲
by
codesnik
6y ago
> I would imagine Apple doing this with FaceTime soon. And we'll notice it because somehow our and other people faces in facetime will start to subtly translate strangely aggravating emotions, as current memojis do.
381.
▲
by
codesnik
6y ago
and memory tricked me. Whitespace doesn't work for regex and quoting terminators.
382.
▲
by
codesnik
6y ago
and, AFAIR, in perl space and enter could be delimiters too! I think I've used it in some perlgolf task which didn't count whitespace.
383.
▲
by
codesnik
6y ago
there were attempts to use ; instead, many query parsers in standard libraries still split parameters pairs on semicolon. But who cares if browsers still generate & in GET forms
384.
▲
by
codesnik
6y ago
"attach a screenshot of your desktop"? really?
385.
▲
by
codesnik
6y ago
Maybe it's not that relevant here, but in most ruby on rails projects nowadays there're a lot of "service objects" which are intended to be instantiated with all the needed inputs, and to have just one public method &quo
386.
▲
by
codesnik
6y ago
I went through training for Amadeus system in 2010, to get a better idea of the problem domain I'm going to automate for our startup. "oh", I've thought, "it's a terminal, and a text interface, I'll be fin
387.
▲
by
codesnik
6y ago
oh, so many memories. 4 years debugging barely documented xml output of Amadeus SOAP services (SOAP in name only), (re)inventing rules engines for tax calculations, fearing to receive a bunch of Debit Memos to come 2 months after deploying
388.
▲
by
codesnik
6y ago
that article (which imho is totally devoid of any substance) still reminded me about other thought experiment by Feynman: What if there's just one electron in the universe, traveling back and force in time, becoming positron when chang
389.
▲
by
codesnik
7y ago
well, system of black holes would lose some energy via gravity waves, this isn't something that could be reversed, yes?
390.
▲
by
codesnik
7y ago
Clifford Simak's books all seem to be mainly about evolution of humanity of some sorts, but they are so epic that they touch almost every usual and unusual sci-fi topic.
More ›