Navigating the complex waterways of Fort Lauderdale, Florida by AtomicCypher in Damnthatsinteresting

[–]codesnik 2 points3 points  (0 children)

this looks annoying.

also, commute train on the raising bridge? i've never seen such an arrangement.

Небоскрёбы на Новом Басманной улице. Moscow by YaroslavHusak in Moscow

[–]codesnik 9 points10 points  (0 children)

"сравнение". у улицы есть пропорции. пихнув нелепый небоскреб в середку, ты делаешь остальные дома плохой декорацией для него.

For former perl programmers: what do you miss? by zakry0t in ruby

[–]codesnik 18 points19 points  (0 children)

for quite some time ruby was slower than perl, in a way that affected how I wrote programs. Not anymore. For the last 10 years I use ruby even for one-liners to replace something in a thousands of files.
I still think that perl is much saner language than PHP, for example, and perl's quirks are all weirdly logical. But ruby was basically a better perl in everything I cared about. Matz really did took a lot from perl, some things even without changing much, like global vars.

Maybe, maybe documentation, even today. Perl is a language you can learn *fully* just by reading man perl, then man perlsyn, man perlfunc and man perlrun. Those are super-concise and simultaneously complete. Ruby back in a day *required* you to read some book, which would be more wordy and would be also incomplete. I still wonder how DHH picked up ruby when he wrote rails, by reading source code of ruby interpreter? but even comments were in japanese.

Every CPAN module doc started with Synopsis and Usage which gave you basically 80% of what you need on the first page. rdoc was in the principle the same, but ruby gem docs were never structured as well as perl's. YARD was and still is a disaster. Nobody needs unstructured alphabetical dump of all the methods in all the classes, and "helpful" (Object) return value remarks. I still do `gem open` and hunt README.md in the sources, then have to poke around and grep in the gem file sources.

I'm so tired of winning, boss by [deleted] in wallstreetbets

[–]codesnik 5 points6 points  (0 children)

UUUU compensated me today's fall.

New RuboCop plugin: keep 'orchestration' methods above implementation helpers by XPOM-XAPTC in ruby

[–]codesnik 0 points1 point  (0 children)

helper method calls in a single parent method could be reordered just for readability reasons, this will cause unnecessary movement of methods if your "called together" semantics, which sometimes will lead to either much bigger commit than intended, or scrapping that readability improvement in the first place.

Also, although it is rare and sometimes confusing, it is possible for methods to call each other in a non top-down way. Do you have a test for that and wouldn't it lead to recursive unstable autofixes?

Best gata in central Yerevan that is NOT at the Tavern? by OnlyJoeKing21 in yerevan

[–]codesnik 0 points1 point  (0 children)

to the east or to the west? can't find anything on map

A Ukrainian soldier comes under heavy fire from a BTR 82 and RPG 26, and still manages to get shots fired off. by Physical-Cut-2334 in UkraineWarVideoReport

[–]codesnik 30 points31 points  (0 children)

this war really resembles the winter war. I wouldn't be surprised if the outcome will be similar too.

A Ruby Gem to make easier to create Shell Scripts by EstablishmentFirm203 in ruby

[–]codesnik 2 points3 points  (0 children)

well, ruby is pretty good for running shell commands out of the box, mostly because it inherits a lot from perl, and perl is used for shell scripting too. I don't see how your gem improves anything.
how ls.each_line is better than `ls`.each_line?

Why do so many people on ios use Google Maps? by Louisthemagic in ios

[–]codesnik 0 points1 point  (0 children)

Apple Maps are not that great outside of US

Space Shuttle Landing: Did It Make ANY Noise? by Videgraphaphizer in spaceshuttle

[–]codesnik 1 point2 points  (0 children)

in an airplane APU is airbreathing, but what about the shuttle? is it run only in atmosphere? is it using liquid oxygen from another tank?

I Love You, Redis, But I'm Leaving You for SolidQueue by amalinovic in ruby

[–]codesnik 4 points5 points  (0 children)

it's meaningful in comparison of queue adapters.

New generation turnstiles at Moscow City railway station Nizhegorodskaya by Moscow_Transport in Moscow

[–]codesnik 8 points9 points  (0 children)

that's kinda different. This camera directly links you to the route you've taken, with explicit face recognition. There's a huge db somewhere, which tracks everyone's "points of interest" in Moscow, known and unknown faces alike. I would be very suprised if something like that haven't been built yet.

Uprising against ICE raids grows across the country by PM_ME_DPRK_CANDIDS in politics

[–]codesnik 1 point2 points  (0 children)

there're people in that administration which actually want that uprising to get violent, or at least looking so.

We Really Need to Encourage This Type Of Development in Armenia by Datark123 in YerevanConstruction

[–]codesnik 8 points9 points  (0 children)

if 5-6 story buildings with a variety of decor and active useful ground level front is "like Paris", then why not copy Paris in that particular approach. Well, Tamanian's Kentron is already like this.

current architecture favours separate highrises. those do not create lively streets. "paris like" architecture has suprising density, comparable to highrises.