Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alerighi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
211.
▲
by
alerighi
4y ago
Yes you can. It was the norm in the first days of the internet, before big corporation like Meta and Google made us believe that in order to show ADS you need to track the user. Before one says "but if you don't track the user you
212.
▲
by
alerighi
4y ago
Inheritance is nowadays almost considered a bad practice, in fact newer languages, such as Rust, doesn't support it, and in languages that has it (Java, C#, etc) nowadays they always tell you to prefer composition over inheritance. >
213.
▲
by
alerighi
4y ago
Well try in a nodejs server to put a `while(true);` in a request handler. Do you know the answer? The whole process blocks, since nodejs is single process. I trust more the code that I wrote than the code written from others... not because
214.
▲
by
alerighi
4y ago
To me PHP is still a great tool to do these sort of stuff. Not to do a whole application, it was not what it was designed for, but for simple stuff it's great! And it's improved a lot PHP, nowadays it's not that bad language.
215.
▲
by
alerighi
4y ago
Probably the amount of RAM available more than the CPU. Surely you can get a very stripped down version of Linux running, but I doubt a version of Linux that you can use to do something useful. Surely the day that even on these sort of low
216.
▲
by
alerighi
4y ago
> but suspend works well and the laptop starts extremely quickly. Well... no, since most new laptop manufacturers had removed the S3 state (classic suspend to RAM) because Microsoft said that today they have to go with "Modern stand
217.
▲
by
alerighi
4y ago
Of course yes, where I can I run Linux. Unfortunately you have often to deal with software that is only for Windows, mainly programs made to interact with very specific and custom hardware, often legacy software.
218.
▲
by
alerighi
4y ago
I do this for every Windows installation that is used for similar purposes, like embedded machines that has to run a single application, virtual machines, etc. For who says that this will break the system: it will not, provided that you onl
219.
▲
by
alerighi
4y ago
To me the year of Linux on a desktop arrived years ago. I'm waiting for the year of Linux on a laptop, because unfortunately, and I'm a free software supporter, I've to say that a Macbook works objectively better than a lapto
220.
▲
by
alerighi
4y ago
Finding a collision is very hard, not something you will do in minutes, it requires a tremendous amount of resources. For any practical use (like git) that doesn't require an extreme level of security SHA-1 is still fine, and it will b
221.
▲
by
alerighi
4y ago
To me the biggest limitation of Linux for the laptop world is the hardware. Apple hardware is superior, even if some choices to me are not great (for example having all type-C ports). Especially M1 architecture is great, consumes nothing of
222.
▲
by
alerighi
4y ago
Like any connector that is mass produced it tends to be cheap and with good cables at very small price and thus people tend to use it for other purposes like the 20V input. Well as RJ45 used for serial connections, passive PoE standards tha
223.
▲
by
alerighi
4y ago
FOSS software doesn't mean that it has to be free. We have to remember this. It's perfectly fine to ask for a payment to have the source code. Also the fact that the software is free it doesn't mean that it can't still b
224.
▲
by
alerighi
4y ago
Install Linux
225.
▲
by
alerighi
4y ago
Yes, the code of these devices should be 100% FOSS. Also the argument about defending intellectual property doesn't make sense: the software will probably do trivial things and be very simple, that is what you are selling is the hardwa
226.
▲
by
alerighi
4y ago
Well if you count Linux devices... probably one have 10 or more in their homes, just count the number of embedded devices that has Linux inside, routers, smart TV, set top boxes, NAS, IP security cameras, VOIP phones, hell this day you prob
227.
▲
by
alerighi
4y ago
To me all of this is a mess that make administering a system more complex. Personally, I use ArchLinux, and everything I have to do to update everything on my system is launch `pacman -Syu`. I can install extra software from the AUR, but th
228.
▲
by
alerighi
4y ago
If everything is managed by the package manager, there is a database of files that are installed, and assuming the package manager works correctly it shouldn't create any problems. I use installations made 10 years ago and they are per
229.
▲
by
alerighi
4y ago
I don't get the argument about the separation between /usr/bin and /usr/local that FreeBSD does: why there should be a separation of concerns about the core system and the rest of the packages? In Linux distribution
230.
▲
by
alerighi
4y ago
I think that the GPL philosophy is correct: if you modify an open source software you have to release the work you did back to the community. Without it Linux wouldn't be the thing that is today, rather there would be a ton of propriet
231.
▲
by
alerighi
4y ago
No, because I want to be elsewhere on a Sunday evening than in front of a computer modifying fstab to bring a production server back online.
232.
▲
by
alerighi
4y ago
I don't get why you need to do so. RAID is not a substitute of backups, and shouldn't used that way. Meaning that of course you have a backup of the data that you can recover from. RAID is used for two things: 1. improving the per
233.
▲
by
alerighi
4y ago
In a modern web framework you still have HTML and you still have CSS files. The problem is JavaScript and in particular the way that you interact with the DOM: browsers use an imperative API, that this day is obsolete, and makes writing web
234.
▲
by
alerighi
4y ago
Printers always had proprietary software. Not only that, but the reason why the Free Software movement was started was caused by a printer that Richard Stallman had in its MIT office and that the manufacturer refused to release the source c
235.
▲
by
alerighi
4y ago
Yes, it's able to write stuff that we all leaned to write in primary school. What is the advancement in technology? I could write that email in 2 minutes, and probably take less time than the one required in instructing an AI to do so.
236.
▲
by
alerighi
4y ago
Because we have to distinguish the two concepts. With timezones we already did it: computers save time (usually) in UTC format, and time is converted to the user time zone only when displaying it (at an higher level). This is obviously bett
237.
▲
by
alerighi
4y ago
I never really understood why we need leap seconds. Or better: why we need to bother with them in a computer system at lower level. If we decide that we absolutely need to keep our time in sync with the rotation of the earth, really what sh
238.
▲
by
alerighi
4y ago
I think that all this COVID stuff was everything opposite than using science, starting from the people, including government, taking of "trusting science". Science is not a religion, and we don't have to believe in it. Instea
239.
▲
by
alerighi
4y ago
Except you can get infected even if you get the vaccine. In fact it seems to me that people got it despite the fact that they were vaccinated or not, without a particular logic.
240.
▲
by
alerighi
4y ago
Imagine you have to initialize a big structure, that has a lot of members. If you don't zero-initialize it you have to manually initialize all the fields, one by one. Not only it takes a lot of lines of code that can be avoided, and it
More ›