Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
codesnik
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
121.
▲
by
codesnik
2y ago
poor man's chroot.
122.
▲
by
codesnik
2y ago
MUDs are played over network or on a multiuser mainframe, in realtime. DOS (and windows) machines back then were single user and networks for them were rare, specialized and/or asynchronous, like BBS.
123.
▲
by
codesnik
2y ago
I've played a MUD and accidentally learned Perl once.
124.
▲
by
codesnik
2y ago
unreadable perl?! I clicked on the link expecting something super-terse and unstructured, but it's anything but. What the hell is wrong with people casually dropping such remarks.
125.
▲
by
codesnik
2y ago
but it's also very extendable. It's ability to slap on new control structures and DSL's is on par with Lisp. I'd say it's very low level and much higher level than the most languages simultaneously.
126.
▲
by
codesnik
2y ago
um, a normal one? it looks exactly what I've seen on my grandmother's garden patch in my childhood. It's just that size is not very practical for supermarkets and a small family consumption, so current selection and harvestin
127.
▲
by
codesnik
2y ago
I started on Perl as well back in a day, and used it long enough to get a list of things I didn't like, though I liked the basic principles. Ruby really is a Perl without unnecessary parts, which are surprisingly many. I remember notic
128.
▲
by
codesnik
2y ago
I wonder in which language you think 1m locs would be manageable for an actual monolith (and not just a monorepo). And method_missing is a such fundamental part of the language, that it obvious you skipped basic docs on the language. Beside
129.
▲
by
codesnik
2y ago
You can have indentation based syntax and ; for multiple statements in one line, or something even more powerful. But it doesn't matter. Main power of blocks is not being multiline or being closure-like, many languages have this. But b
130.
▲
by
codesnik
2y ago
nobody serious uses indentation as a bad point against Python. Ruby pretty much could work with indentation instead of "end" almost without drawbacks. Maybe irb would be slightly less convenient, and that's it. Whitespace IS
131.
▲
by
codesnik
2y ago
I like ruby much more than python for many reasons, but that's one of those articles which present a lot of arguments so dubious and subjective that it almost convinces the reader that it's actually the opposite of what the title
132.
▲
by
codesnik
2y ago
also https://docs.docker.com/desktop/features/wasm/
133.
▲
by
codesnik
2y ago
for a lot of stuff we make from rubber various types of silicone polymers would probably work too.
134.
▲
by
codesnik
2y ago
"tech bankruptcy"! this is a VERY strong sentiment. First of all, I've never seen a rails-based company which has it problems from tech department, and not from product market fit or whatever, and that's in a 18 year car
135.
▲
by
codesnik
2y ago
problem is that it does too much out of the box. Finding some sloppy formatting - ok. Fixing it automatically? even better. But rubocop tries to sniff "code smells", security problems, and it's not that great with it, not eve
136.
▲
by
codesnik
2y ago
I also am not sure why it's intuitive at all. Article doesn't mention why - ruby has a parse phase, it doesn't scan your string byte for byte every time it runs looking for an interpolation. During the parse those "foo#{
137.
▲
by
codesnik
2y ago
strange, I think default rubocop setting is actually to add spaces around = in default values in functions. https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Layout/Spa... this is an override in you
138.
▲
by
codesnik
2y ago
this isn't true for any half-ass interpretator out there. Perhaps some old PHP executable was slower with different quotes, but it's not true for ruby for decades. In bytecode there's zero distinction between "" and
139.
▲
by
codesnik
2y ago
Nice. Now we can probably ask to move there half of the too nosy rubocop rules from the main rubocop repo. And then to never install rubocop-obsession!
140.
▲
by
codesnik
2y ago
if you're on os x, you can also do pbpaste > file and if you're using zsh, just > file is sufficient, without cat
141.
▲
by
codesnik
2y ago
if you prefer to use cat just to read your pipeline from left to right, you can just start your command with file redirection. It doesn't have to be at the end of the command. <file grep something | do something else ... this
142.
▲
by
codesnik
2y ago
there are, even with defaults. Look in "Window > Move and resize" menu of any app.
143.
▲
by
codesnik
2y ago
aiming it and keeping it on target would be pretty hard, though. And time-consuming, to say the least.
144.
▲
by
codesnik
2y ago
from what I understand, slowing down would be true for a non-massless particle, but speed of light in vacuum is still the same around massive objects. What changes is the frequency of the light in this particular direction, and that "t
145.
▲
by
codesnik
2y ago
all the wavefunction collapses only needed to compute future/far away collapses, we are all just thunks, evaluated because we needed for the final compute.
146.
▲
by
codesnik
2y ago
"My account" is innocent enough, compared to some other real life examples. And it sometimes doesn't come from marketing, but from development too. I've worked in company which added a "funny" codename to every
147.
▲
by
codesnik
2y ago
> "arming Ukraine's invasion of Russia's Kursk Oblast" just because you don't like US imperialism, you don't have to suck up to Russian one.
148.
▲
by
codesnik
2y ago
I'm still amazed that many US companies willingly force every employee to install zscaler "to improve security and compliance", application which basically passes all inbound and outbound traffic through zscaler edge servers,
149.
▲
by
codesnik
2y ago
> could have been yeah, we can go a long way with that reasoning.
150.
▲
by
codesnik
2y ago
would symlinks in that global location help, maybe?
More ›