Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alerighi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
alerighi
2y ago
Well of course it's not only a matter of interactive usage (even because the busybox itself shell could do the conversion). The problem are script, or worse programs that invokes commands as subprocesses (programs that maybe you don&#x
92.
▲
by
alerighi
2y ago
Well that would be inefficient. For each command you run the kernel has to read the file, detect that it has a shebang, parse the shebang line, and then finally load the actual executable in memory. That could be a performance problem, sinc
93.
▲
by
alerighi
2y ago
I mean, if wine is a problem they did basically the same thing with the WSL, especially version 1 (version 2 is just a VM, but the concept of running unmodified Linux binaries on Windows like they are native application is the same). I thin
94.
▲
by
alerighi
2y ago
It's not e2e encrypted, so what? It's something the majority of users does not need, and that doesn't increase security that much given their downsides. Of course for Telegram is much more convenient to not have end2end encry
95.
▲
by
alerighi
2y ago
Not only that. If they want to intercept e2e chats it's possible with a MITM attack, that if you control the server it's not a difficult thing to do. Of course the users if they check the keys they see they are different, but prac
96.
▲
by
alerighi
2y ago
Well of course, but this is a feature of Telegram. It's the only messaging app where messages are stored on the cloud. This of course has security implications, but also allows you to have a big number of chats without wasting your dev
97.
▲
by
alerighi
2y ago
> The UNIX philosophy is also build on the idea of small programs, just like micro-libraries, of doing one thing and one thing well, and composing those things to make larger things. They have small programs, but that are not of differen
98.
▲
by
alerighi
2y ago
It would be far easier to add as builtins the features that are missing to GCC than change the language, that would involve rewriting a ton of code (even switching from C to C++ they are not 100% compatible, also, they may introduce bugs di
99.
▲
by
alerighi
2y ago
Yes but if you work professionally as a software engineer, chances are that you don't only use your PC. Being that a server that you connect remotely to develop on, or a production system where you connect to investigate a bug, or the
100.
▲
by
alerighi
2y ago
I wonder why putting software on every machine, instead of relying on a good firewall and network separation. Granted, you are still vulnerable of physical attacks (i.e. the person coming with an USB stick) but I would say much more difficu
101.
▲
by
alerighi
2y ago
I often find out that SSH is blocked in a lot of networks. This is frustrating, since I usually clone git repositories trough SSH (and I'm considering for this reason switching to HTTPS), since I find stupid having to use a VPN just to
102.
▲
by
alerighi
2y ago
It's something you can do since a lot of years. I used to do so 10 years ago, when I've got the first motherboard with UEFI. But is it useful? It saves a minimal time in the boot sequence, but at what cost? The bootloader (being i
103.
▲
by
alerighi
2y ago
> Yes fixing stuff is good for the planet. But big brands could offer customer service just fine if people wanted it. They could but they won't. Because they realized (and probably all agreed) that it's far more profitable to s
104.
▲
by
alerighi
2y ago
They should. The only way to make these platform disappear is to ignore them for open source project. To me the mistake of open source software is to make programs compatible with proprietary operating systems, this way people that use thes
105.
▲
by
alerighi
2y ago
You could have just extended the IPv4 header in such a way that the routers in between you and the server didn't need to understand the extended protocol, and could continue to route IPv4 packets as-is, since they only see the upper 32
106.
▲
by
alerighi
2y ago
I also used this mechanism more than one time on embedded project. Define a static variable with some metadata of the firmware and markers, such that tools (e.g. tools to perform an update) can, by simply using a regex on the binary file (t
107.
▲
by
alerighi
2y ago
The thing that makes me crazy is that the thing that we do on computers are basically the same each year, yet software are more and more heavy. For example just in 2010 a Linux distribution with a DE just started did consume 100Mb of RAM, a
108.
▲
by
alerighi
2y ago
I think the problem here is not only related to cloud environments. Is having an SQL command that writes the configuration file a good idea to start with? It's probably something dangerous, I prefer to SSH into the machine and edit the
109.
▲
by
alerighi
2y ago
Plain text is more easy to reason about, because we are used to process text. A good textual output, that is records delimited by spaces, tabs or a delimiter, to me is all it's needed, for most applications. An object structure it'
110.
▲
by
alerighi
2y ago
What I don't like about Android is that you need root to have full access to your filesystem. That to me is a shame, let me have a privileges that allows me to get access to app data. The current Android permission model doesn't a
111.
▲
by
alerighi
2y ago
> At present nobody is getting updates. Giving updates to everyone >=31 is an improvement to the status quo. Well for who already has the app installed, but if one is on API <30 and wants to install VLC from the Play Store, it can&
112.
▲
by
alerighi
2y ago
Here in Italy is still used, time to time I see my dad using it. It's also available online: https://www.televideo.rai.it/televideo/pub/index.jsp
113.
▲
by
alerighi
2y ago
The problem is that the TCP/IP model stops at level 4, and if we consider TCP a protocol of transport, it shouldn't do that. In the OSI model what you talk about is level 5, that is session, but in TCP/IP there is no such lev
114.
▲
by
alerighi
3y ago
At that point why using Redis entirely? You can use any DBMS you want, either relational or NoSQL. The advantage of Redis is that it is a memory cache, if you take out the memory from it, just use Postgres or whatever DBMS you are using (I
115.
▲
by
alerighi
3y ago
I mean if you need to do performance analysis on a software just recompile it. Why it's such a big deal? In the end a 2% of performance of every application it's a big deal. On a single computer may not be that significant, think
116.
▲
by
alerighi
3y ago
It's basically saying the same thing. One thing other apps can't do on iOS is... installing packages on the system. This is only a thing that the App Store app can do. So Apple has to open up to third party the possibility to inst
117.
▲
by
alerighi
3y ago
Well, not really. Usually people have all their personal data on their PC, rather than mobile phone. Maybe this is changing for young people, but on my parents hard drive (for example) there is 30+ years of all sort of personal data, docume
118.
▲
by
alerighi
3y ago
I think the reason is that "a good trackpad" as well as "a good keyboard" is not something that can be measured. Let's say that the cost of a good trackpad is equivalent to the cost of, let's say, 16 more Gb of
119.
▲
by
alerighi
3y ago
I think that Windows was kind of usable till Windows 7. Windows 10 was not that bad from a performance point of view, an improvement over Windows 7, but it had a ton of bloatware that you had to clean up with third party applications, after
120.
▲
by
alerighi
3y ago
To me the popularity of vim is also due that it's a small and fast editor to be used in the cli with more featires than nano, while emacs mostly is a gui application. This makes it ideal to edit configuration files or small scripts on
More ›