Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aasasd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
94 ms
·
931.
▲
by
aasasd
6y ago
BTW, MacOS has this feature for menus in all apps: at the top of the ‘Help’ menu is a search field. Also invoked with cmd-? (i.e. cmd-shift-/ on my keyboard). The highlighted menu item is then triggered with ‘enter’—so for touch-typis
932.
▲
by
aasasd
6y ago
That would be equivalent to always putting your data in b-trees or other structures, according to the request patterns, without keeping the tables themselves. Sort of how you need to do that in Redis for any kind of sane request strategy ot
933.
▲
by
aasasd
6y ago
Articles on product internationalization sometimes mention that sloppily translated Western ads tend to do poorly in the Far East—when on the ad pictures a man first grimaces with pain, then takes a pill, then smiles with a contented expres
934.
▲
by
aasasd
6y ago
‘Techno Live Sets’ are good at long mixes in the genre, though they do delve into house regularly: https://www.techno-livesets.com (IIRC they were on Mixcloud previously, but parted ways for some reason.)
935.
▲
by
aasasd
6y ago
Well, the convention in theory is usually that `object->method(param)` is equivalent to `method_function(object, param)`, and likewise you have the signature of `method(self, param)` in languages where `self` is an explicit argument—if o
936.
▲
by
aasasd
6y ago
Thanks, this actually answers my original question in regard to the kernel's part of it. I'll take a look at what names and signatures libc has, and if they're still like that then the question is readdressed to libc—though I
937.
▲
by
aasasd
6y ago
I think OOP builders can work without extra state if they implement `->addThis()->addThat()` by actually doing functional `addThat(addThis(defaultObj))` and creating immutable values inside. But ultimately there's no good answer
938.
▲
by
aasasd
6y ago
I had this exact comparison pop up into my mind yesterday when I read this, yet another, news of Google flexing on someone. Actions of both tech companies and content publishers make it clear as day that they have zero respect for people.
939.
▲
by
aasasd
6y ago
Funny thing, that sounds precisely like what you'd do with shell companies and any other kind of alter-egos making you hard to find. Bonus points if the companies have different owners and formal directors. Nice of Google to educat
940.
▲
by
aasasd
6y ago
Ah, no, that's also contrary to my taste. I love clear function names and I hate state. Immutable return values are way better than builders, in my experience, even if that means many arguments. And static globals are a whole other le
941.
▲
by
aasasd
6y ago
You're talking here about the second half of your previous comment. This reasoning is ok by me, though I have to wonder how often, and why, do programmers need to decide dynamically in mid-flight whether they want to wait instead of
942.
▲
by
aasasd
6y ago
So the entire use of BMI starts with the assumption that its increase can only mean more fat. I practically can see the headlines: ‘BMI on the rise for the past decade, obesity epidemic in Jocktown! We need even more gyms!’
943.
▲
by
aasasd
6y ago
I don't see how `an_op_syscall(param)` is ‘more complicated’ or requires more calls or state than `a_syscall(OP_NAME, param)`.
944.
▲
by
aasasd
6y ago
I lowkey have to wonder why Linux seemingly goes all-in on monster functions that implement a variety of operations depending on the arguments (as far as I can see from casual encounters). In my experience, such code often both reads poorl
945.
▲
by
aasasd
6y ago
Just from reading through various health topics on Wikipedia, I'm now pretty sure that exercise influences much more than just fat and muscle mass. All the way to having anti-inflammatory effect because muscle secretes some stuff,
946.
▲
by
aasasd
6y ago
Note that apparently there's a late-ish ‘restoration’ that seems to correct some of Max Brod's editing decisions so that the plot is more straightforward, if that can be said of the novel. Literally the chapters' proper order
947.
▲
by
aasasd
6y ago
Well people on HN worship PDF, thinking it's necessary for printing and you can't print HTML—so it seems not only the author forgot about CSS for printing. Anything with a pretense of research gets published in PDF even on sites h
948.
▲
by
aasasd
6y ago
> Still to this day, I have absolutely no idea how people can write Java for line-of-business applications (its bread-and-butter!) and remain sane from having to manually manage data-flow, implementing Java Beans, and manually writing b
949.
▲
by
aasasd
6y ago
> isn’t an unfair generalisation that Russians don’t speak English very well Of that I happen to be painfully aware, along with the country's simultaneous post-SU obsession with English or generally Latin-alphabet branding. The cl
950.
▲
by
aasasd
6y ago
For some context, the ‘Anti-Corruption Foundation’ of Navalny and Volkov was giving talks for European and US state/human-rights organizations for years. It's actually a bit weird if MPs didn't get Volkov's phone number
951.
▲
by
aasasd
6y ago
Indeed, it's probably very hard to find out what he looks like, despite his and Navalny's Anti-Corruption Foundation giving talks to European state and human-rights organizations for years now. And indubitably he speaks like a bea
952.
▲
by
aasasd
6y ago
I have about the same sentiment in regard to personal notekeeping, and do in general care about preserving metadata. Many times I have consulted the date when I created a note or, say, an entry in the password manager—or when I last changed
953.
▲
by
aasasd
6y ago
Ah, well, I should've written ‘Russian-Latin confusion’—forgot about the alphabet changeovers. But at least I'm told that: > It can be written in Serbian Cyrillic or Gaj's Latin alphabet, whose thirty letters mutually map
954.
▲
by
aasasd
6y ago
So when different clothes prescribe washing at different temperatures, it's because the ‘activation’ temperature of detergent changes depending on whether you use it with jeans or underwear?
955.
▲
by
aasasd
6y ago
Well thankfully the rest of the world aren't subjected to the Cyrillic-Latin confusion, because it's only inside the country that Russian companies use the mix of Cyrillic and Latin... And specifically English, while a lot of peo
956.
▲
by
aasasd
6y ago
HN folks complain all day that their computers and phones changed since the 90s.
957.
▲
by
aasasd
6y ago
I'm quite sure that plenty of bacteria don't die at 40°, let alone ‘tap cold’.
958.
▲
by
aasasd
6y ago
Not to compare bad vs worse, but when I get bored for ten minutes I tend to remember that at least I'm not in Otokichi's crew: > The ship, without a mast or a rudder, was carried across the northern Pacific Ocean by currents.
959.
▲
by
aasasd
6y ago
Pretty sure this would change into the symlinks, not the linked directories. I.e. the $PWD would be under `~/.marks/`.
960.
▲
by
aasasd
6y ago
If you're looking for Russian-language stuff and happen to come to Russia (mainly Moscow and SPb), you can buy crates of books from the 60s-80s for handfuls of bucks—they aren't highly valued since everybody had them in the family
More ›