HNHacker News
TopNewBestAskShowJobs

elpescado

120 karma · joined May 28, 2020

submissionscomments
elpescado··on Ask HN: Where Is the COLA?
> Yep, and very few mention money as the reason why people are leaving their jobs. It's much more often about a re-evaluation of people's priorities.

Yet, somehow, the new job is almost always (much) better paid. Strange, isn't it?

elpescado··on Tauri – Electron alternative written in Rust
> as different as Gecko is from Blink

As someone who has been playing with some web dev in early 2000s, that sounds funny. Gecko, WebKit and Blink seem very consistent to me. I remember dealing incompatibilities between IE6 and "standards-compliant" browsers (mainly Firefox/Mozilla Suite back then). And don't get me started on dealing with "classic" Netscape!

`<layer>` tag anyone?

elpescado··on Anti-Café
> Do young people in big European cities have no problems with finding a place to meet friends?

Here in Europe there are places like cafes, restaurants, bars, parks, libraries, museums, galleries, shopping centres, town squares, gyms, clubs or just plain outdoor areas that people use to hang out with one another.

elpescado··on When will we get secure desktop OSes? (2018)
Same here. When I don't want random apps sniffing my files, I just unplug my HDD!
elpescado··on Registry Explorer: Replacement for the Windows Built-In Regedit.exe Tool
I just don't get it. Not using Electron, no Angular, not using any latest web technologies, not cloud-native, no social network features... WTF was this guy thinking?

/s

elpescado··on Why I still use an old PowerPC Mac
While 25-year-old car lacks many of new tech gadgets it still is likely to have most important conveniences (A/C etc). The most important difference is safety (while not death cages like cars from 50 years ago, 25-year-old cars are still light years behind current cars) and emissions. The latter means that soon those cars might be banned from cities (at least in Europe), which renders "moves stuff around just like a brand new one" invalid.
elpescado··on In defense of hiring based on side projects
There are also different approaches to parenting, ranging from "as long your kids don't starve they're ok" as one extreme to helicopter parenting as other extreme.
elpescado··on In defense of hiring based on side projects
I doubt that. Your body needs time to recover. If you practice at home in addition to regular workout routine you're likely to overtrain.
elpescado··on Json-Base – Database built as JSON files
...or even just storing JSON in files.
elpescado··on The Curious Case of Copy and Paste
The problem is that the same medium (HTML) is used for "documents" and "applications". Programmatic access to clipboard, zoom etc is legitimate for "HTML applications" like Google Docs/Maps but unnecessary for "HTML documents", along with virtually all scripting.
elpescado··on The Curious Case of Copy and Paste
They do have Command/Ctrl and X, C and V, though.
elpescado··on 25 Years of PHP
Long time ago I was learning Perl, because at that time basically the whole Internet ran on Perl CGI scripts. I thought, "man, Perl is weird".

Then I learnt PHP, because whole internet seemed to move to Apache+PHP. I thought, "man, that's Perl done right!".

Then I actually learnt Perl, looked at my PHP code written earlier. I thought "WTF?"

Now I use Python. I think "man, why I have to type this silly whitespace?"

elpescado··on Linux Sucks 2020
Is there a version for literate people?
elpescado··on The use of `class` for things that should be simple free functions
Author makes some valid points, but jumps to conclusions too quickly. Most importantly, code in examples that actually solves problem is omitted (`[...recursive solution omitted...]`) - and that code can be potentially very long. If you have very long function, you should break it into smaller functions. But, those functions need to operate on shared state. In some languages (Python) you can have nested functions that can operate on variables defined in parent function, but in some other languages you can't, so you can pass shared state in other ways, like function parameters or, wait for it, what can you use when you have bunch of functions operating on some shared state? Use classes! You can even wrap it simple function to have cleaner interface.

Other counter examples might be Template Method pattern etc.

← PreviousPage 2 of 2