Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alerighi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
61.
▲
by
alerighi
1y ago
A lot of creators that started with a YouTube channel nowadays have moved a lot of content to social media platforms like TikTok or Instagram reels. To me YouTube risk to be replaced (or it has already been replaced) by short videos, becaus
62.
▲
by
alerighi
1y ago
Yes because inductive charging has a lot of losses, they are ~75% efficient, that means that you waste 1/4 of your battery capacity, and that is power that you also pay for in your electricity bill (for how it's small). While a ph
63.
▲
by
alerighi
1y ago
Honestly, the fact that to install software you have to go on a site, download an installer, and run it, is one of the reasons why I don't like Windows. Not only that thing is time consuming and cannot be easily automated, but it'
64.
▲
by
alerighi
1y ago
Because these day JS frameworks are used even for things where a website with a server side MVC framework like in the old days (in whatever language, PHP, Java, Python, etc) would be just fine. Maybe just to add some stuff like form validat
65.
▲
by
alerighi
1y ago
If the parents want they can restrict their usage. I prefer to monitor and teach my children how to use technology properly, and that also includes of course sex education because it's not by banning porn sites till they are 18+ that y
66.
▲
by
alerighi
1y ago
It's something trivial to write (~20 lines of code), there is no point for standard library to provide that kind of functions in my opinion. You do after the fork() (or clone, on Linux) a for loop that closes every FD except the one yo
67.
▲
by
alerighi
1y ago
You don't need mutex in async code, since there is no parallel execution whatsoever. In fact languages that use async programming as a first class citizen (JavaScript) don't even have a construct to do them. If you need to synchro
68.
▲
by
alerighi
1y ago
Maybe houses made out of paper that you have in the US would, since just after 100 years they have to be demolished and built again. But houses made of concrete, that we have in Europe, just increase in value. Yes, maybe you have to renovat
69.
▲
by
alerighi
1y ago
You can always get an used car for practically any amount of money. A lot of time an used car is even more reliable than a new shiny car full of useless electronic components. To me buying new cars is just throwing away money, simply becaus
70.
▲
by
alerighi
1y ago
Yes, if they would make a basic car like in the past I would buy it. Everyone has to sell you too much, I want a simple car, I don't want either the stereo, I will add my own later (I can put it one that is better than the factory one
71.
▲
by
alerighi
1y ago
Yes, of course for web applications you can't do full page reload (you weren't either back in the days, where web applications existed in form of java applets or flash content). Let's face it, most uses of JS frameworks are f
72.
▲
by
alerighi
1y ago
In the end the WYSIWYG would produce an XML file that you can put under version control. All depends on the UI of the thing your are building, if what you are building only needs to be functional and nobody cares about the UI (that is alway
73.
▲
by
alerighi
1y ago
It's not about security. Apple doesn't want to open on external applications, including the one run in VM/emulators, because it wants every software to pass from the AppStore. Not because security, but for the fee it has on a
74.
▲
by
alerighi
1y ago
Well, if it was for me I wouldn't even have a TV at home since I wouldn't use it (and thus I would also save the TV tax that we have to pay in our country if we own one). But my girlfriend watches a lot of TV, and I often watch it
75.
▲
by
alerighi
1y ago
True, but, the advantage of using 32 bit pointers to save a couple of RAM is not that important, since applications typically don't use that much pointers, thus if you half the size of them you will save probably a couple of kb of RAM.
76.
▲
by
alerighi
1y ago
I use pssh often (not this tool, but as I understand is similar). The reasons I find it over Ansible are: - takes the same syntax and options as plain SSH, just run over multiple hosts. So if you already know SSH, you know how to use pssh t
77.
▲
by
alerighi
1y ago
I don't either see a point of having 4K TV vs 1080p TV. To me is just marketing, I have at my house both a 4K and a 1080p and from a normal viewing distance (that is 3/4 meters) you don't see differences. Also in my country (
78.
▲
by
alerighi
1y ago
Fine, if they are company provided. But I will not buy a phone (and SIM card) myself for work usage. When I possibly can I make calls with the work landline phone, but it's not always possible (or I have to have customers send me messa
79.
▲
by
alerighi
2y ago
The vast majority of users neither have a password on their computer, or if they have it it's a stupid one (like their name, their birthday, etc) or they have it written on a post-it that is attached on the monitor itself. Why do they
80.
▲
by
alerighi
2y ago
Because you have to have and manage a Kubernetes cluster, that is not something easy. Moreover scaling is not always automatic, you don't tell Kubernetes "scale this application" and it works, if the application is a monolith
81.
▲
by
alerighi
2y ago
Does this still matters today? I mean, first registers are anyway saved on the stack when calling a function, and caches of modern processors are really nearly as fast (if not as fast!) as a register. Registers these days are merely labels,
82.
▲
by
alerighi
2y ago
Well even in C is not guaranteed to return anything other than 1, since oracle() may return the memory address of variable 1.
83.
▲
by
alerighi
2y ago
The complexity is the infrastructure you need to build an application with a JS framework, versus just including the libraries that you needed in script tags and done. Do we really need a build system for JS? Probably to make something as c
84.
▲
by
alerighi
2y ago
I think that the Firefox password manager is good, however, relying on the browser is a terrible form of vendor lock-in. You need to use another browser (for any reason), you also need to switch password manager. Also, Firefox on Android is
85.
▲
by
alerighi
2y ago
They use a third party domain just because that way they can track the user actions with cookies, for example Google can track your navigation across multiple websites, and thus propose to you more relevant ads. Also using a different domai
86.
▲
by
alerighi
2y ago
Well, available since a lot of time on Android: https://github.com/Genymobile/scrcpy And it works perfectly. Pair it with kdeconnect and you have even a better experience of integration between your phone and your PC t
87.
▲
by
alerighi
2y ago
> It's probably a good idea to not have it settable to other values by the invoking process, as is generally the case on Windows (ignoring its Posix subsystem here). Well there is an use case that I sometime use for setting argv[0].
88.
▲
by
alerighi
2y ago
So now to execute a program that could have been a direct run you have to fire up a shell, have it parse the file, and execute the instruction? Not really a great thing... Plus, you have to know the absolute path of the executable busybox,
89.
▲
by
alerighi
2y ago
And that makes a lot of sense, especially for binaries that are statically linked (as usually are Rust binaries), since that could save a lot of disk space!
90.
▲
by
alerighi
2y ago
Well, it could be for example that /proc is not mounted. A lot of software breaks for this, while really there is no need for it to be so. Also that approach only works on Linux, if you want to write a portable software what you do?
More ›