Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alerighi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
56 ms
·
571.
▲
by
alerighi
6y ago
Is not that simple. First you would need a flatpack daemon that manages that permission, that the application could ask for a path (e.g. by writing in a control socket) and the daemon asks the user and mounts that paths inside the container
572.
▲
by
alerighi
6y ago
Well the Wireguard app exists both for macOS and iOS so I guess is not that big deal to support VPN on these systems. Also services like this one to circumvent the Apple policy couldn't just give you a Wireguard configuration file and
573.
▲
by
alerighi
6y ago
Not true, it depends on what one is used to. My father for example always used Android, now he got an iPhone and he find it more difficult to use, to the point that it asks me even trivial things. It's a myth that iOS is more simple to
574.
▲
by
alerighi
6y ago
In that regard Linux is much worse than Windows. In Windows you basically never go out of memory in a way to lock the system, sice the OS reserves some memory for its functions. It will block applications, but the operating system remain re
575.
▲
by
alerighi
6y ago
Also Rust is risky to parallelize: you can get deadlocks. I don't get the obsession of parallel code in low level languages by the way. If you have an architecture where you can afford real parallelism you can afford higher level langu
576.
▲
by
alerighi
6y ago
Probably we are following the Wikipedia standard, since most if not all the libraries that everyone uses to parse and produce ISO dates were written by people that read Wikipedia and not by people that bought the standard. The problem with
577.
▲
by
alerighi
6y ago
First, symlinks are not really portable, for example they don't work on Windows, or in ancient UNIX systems. Also, that way every command executes with the same privileges because it's the same binary. And at least in Linux capabi
578.
▲
by
alerighi
6y ago
Another thing to mention: there is not only the compatibility at the side of software (scripts), that to me is easy to maintain (just keep the old software with the new compatible one and you are done). The most important thing is compatibi
579.
▲
by
alerighi
6y ago
To me Telegram is better even from a privacy point. Sure, if someone breaks into the Telegram servers can read you messages, but to me that isn't the first privacy concern. I'm more concerned about every day privacy, and Telegram
580.
▲
by
alerighi
6y ago
dd has the advantage of specifying a larger buffer. I've seen for example that in MacOS writing an image to a SD card with the internal reader of my macbook is a lot faster with a block size of 1M in respect to the classical 4k. Also t
581.
▲
by
alerighi
6y ago
That is not an elegant solution. That way you would forever had 3 in the name, even for future version of Python (e.g. python4, that will not break compatibility with old source code and thus making a .py4 wouldn't make sense). In your
582.
▲
by
alerighi
6y ago
If you are developing a software that you run on your own servers, none. It works fine. If you are developing an open source software that people can install on their machines, is a terrible solution. In that case you should package it corr
583.
▲
by
alerighi
6y ago
Nobody thinks about it but the most professionally used communication medium is the email, and part if not all of its success if not all its success is that is decentralized. A company cannot afford to use a service that can be closed and l
584.
▲
by
alerighi
6y ago
Really, this. And this is the problem that I have also with WhatsApp: i lost all my messages when transitioning between Android to iOS since the backup of Android (that is just a dump of the database) is not compatible to the one of iOS. At
585.
▲
by
alerighi
6y ago
Well you are saying that even in C you can use the restrict keyword to tell the compiler that 2 memory locations can overlap. Of course is in the hand of the programmer to tell the compiler to do so. I don't think there is a fair compa
586.
▲
by
alerighi
6y ago
It didn't have bad IO performance. It had the same IO performance as Windows. The problem is software that is badly written and does bad assumptions, like that continuing opening/closing files is good just because in Linux is good
587.
▲
by
alerighi
6y ago
In my country (Italy) is kind of illegal. I mean, not carrying too much cash (but of course if they find you with a suitcase full of cash, they will ask you where you got all that cash from), but you can't pay in a shop more than 2.000
588.
▲
by
alerighi
6y ago
Despite the (horrible) name computer science, informatics is not science, is math. There is a big difference: in science you observe and try to understand something that already exists, the universe. In math (and informatics) you build your
589.
▲
by
alerighi
6y ago
Correct, but... this is not WSL. This is a VM. Let's see this from the opposite point of view: WSL1 is to WSL2 what WINE is to a VM running Windows. Two completely different approaches. The thing that would have allowed the WSL1 to do
590.
▲
by
alerighi
6y ago
> Say you have an int field and you want to change it to an int array field. Will you ever do that in real life? Seriously, why would someone change something from an int to an array... I see all these Java programmers say that you shoul
591.
▲
by
alerighi
6y ago
The impossible to replicate the production environment I think was referred to impossible to replicate locally, on your machine. At my job I use AWS serverless services and I get a lot of frustration not being able to test and debug code of
592.
▲
by
alerighi
6y ago
Not really, in a lot of sites even if you sign up with Google you then can do a simple 'reset password' with the email associated with your Google account and set a password. The real solution to the problem would be a standadized
593.
▲
by
alerighi
6y ago
If you don't do embedded programming (where you shouldn't do dynamic memory allocation anyway, being that with or without a GC) memory is often not a constraint at all. And in a lot of situation it cost you less to increase the RA
594.
▲
by
alerighi
6y ago
Because it highlights the same thing: failure of modern graphical UIs. The programmers that prefer VIM (or Emacs) to more modern fully features graphical IDEs are basically the same as the writer who prefers an old DOS program. It means tha
595.
▲
by
alerighi
6y ago
In fact hashing the password is better than encrypting them! If you encrypt a password, it means that somewhere you have a key that you use to decrypt it to check if it's valid on the user login. It means that there is a way that you (
596.
▲
by
alerighi
6y ago
I disagree. The error is to consider paths as a high level information, that the user has to know about, rather of what they really are, a low level information, that potentially the user never sees (for example consider mobile operating sy
597.
▲
by
alerighi
6y ago
You don't see the real problem: the device that you buy (paying a lot of money in case of an iPhone) is not really yours. You can install the apps that Apple approves. To me that is unacceptable and should be made illegal. When the use
598.
▲
by
alerighi
6y ago
It's not a great experience, and it doesn't work at all with everything that uses video acceleration (like a modern browser, and as a corollary all Electron applications). In contrast Windows RDP protocol works much better, even i
599.
▲
by
alerighi
6y ago
Why not use the web as the standard? I mean progressive web apps can do nearly everything that 95% of the apps do, they can present notifications, have a local persistent storage, there are even proposal to let them access bluetooth, USB an
600.
▲
by
alerighi
6y ago
JavaScript standard library was maybe bad in the past but nowadays they added a lot of features (yes, even left-pad). Sure, if you know that you have to support old and broken browsers you have to use these dependencies to ensure correct su
More ›