HN user

zazaulola

40 karma
Posts0
Comments47
View on HN
No posts found.

I'm not a lawyer, and I don't live in the EU. Sorry for the silly question.

Is there any EU law that prohibits minors from encrypting their messages or using, for example, PGP keys?

How can they protect children if the children deliberately encrypt their messages?

What do you mean by “terminal”? Perhaps you are referring to something like a VT100.

https://commons.wikimedia.org/wiki/File:DEC_VT100_terminal.j...

I may disappoint you with the fact that IBM PC-compatible computers have replaced devices of that class. We can only observe certain terminal emulators in some operating systems. There have been many attempts to expand the functionality of these emulators. However, most features beyond the capabilities of VT100 have not caught on (except UTF-8 support). I do not believe that anything will change in the foreseeable future.

What other algorithms have you used? I'm really interested in big data streams. I would like to hear not only successful solutions, but also failed ones. Have you tried using Bloom filters? Is it possible to merge shards using the Min-Heap algorithm?

Explain to me what tasks can be solved in the approach with flows? I used Node-Red in some automation processes. I managed to solve only simple problems that are easy to solve without AI. But how do you program in this style? What does the flow style look like, for example, a program to find the shortest solution of a sokoban or game 15?

PS. Usually, when I need to make all photos in the folder black and white, I use imagemagick.

WebSocket solves a very different problem. It may be only partially related to organizing two-way communication, but it has nothing to do with data complexity. Moreover, WS are not good enough at transmitting binary data.

If you are using SSE and SW and you need to transfer some binary data from client to server or from server to client, the easiest solution is to use the Fetch API. `fetch()` handles binary data perfectly well without transformations or additional protocols.

If the data in SW is large enough to require displaying the progress of the data transfer to the server, you will probably be more suited to `XMLHttpRequest`.

I'm confirming. Often, when you run a script on more than just your own computer, bash is located in unexpected places.

For me, for example: `/data/data/com.termux/files/usr/bin/bash`

In such cases, scripts containing the absolute path to bash in shebang do not run correctly.

ESP32 has 18 ADC input channels. But if you are using Wifi, you can only use 8 of the 18 for ADC conversion: GPIO pins 32-39.

Other 10 pins, on which ADC2 channels are possible, can only accept pulse data if you are using Wifi.

This is probably due to firmware limitations.

You need 4 colors 2 years ago

I've never understood how generating dozens of variables containing the same color with a change in the value of one of the channels helps.

Can't you just write everything you need in simple CSS?

It would be better, really come up with a template in which you enter 2 colors, and it gives a unique full-color design for the site. CSS has all the possibilities for this! But most web-masters use CSS variables only to store the results of each iteration of cycles.

I'm not a mathematician. It works like magic for me.

Simply put. Suppose you have 64 bits (8 bytes) of regular RAM. For ECC-enabled memory, a similar block of memory will occupy 72 bits (9 bytes). The first 64 bits will be identical. What would need to be stored in the remaining 8 bits so that any of the 72 bits could be detected and recovered, assuming only one bit was corrupted?

ECC algorithms can be used to find errors in read data:

https://en.wikipedia.org/wiki/Error_correction_code

I was introduced to the first ECC algorithm in high school: the Reed-Solomon Code:

https://en.wikipedia.org/wiki/Reed%E2%80%93Solomon_error_cor...

This algorithm remains mysterious to me to this day. It allows you not only to indicate the presence of an error, but also to recover any data with a small redundancy (e.g. 5%).

Reed-Solomon Code principles are embedded in the workings of WinRAR. When creating RAR-archive, you can add redundant data to restore the archive in case of storage interference: https://thuthuattienich.com/wp-content/uploads/2015/05/cach-...

It's probably been written about a lot of places already.

For me, increasing the number of icons in the launcher grid was very useful.

After running these three commands, the size of the Launcher will be set to 13x8 apps:

    defaults write com.apple.dock springboard-columns -int 13
    defaults write com.apple.dock springboard-rows -int 8
    defaults write com.apple.dock ResetLaunchPad -bool TRUE; killall Dock
In general, a lot of parameters of different applications can be changed via command `defaults`

https://macos-defaults.com/

To get a complete list of parameters, you can execute

    defaults read

There are pros and cons to using JS. GJS has only collected the negative features of JS. If there is some guarantee for JS applications that it will work in a few years, then each new GNOME release breaks half of the extensions. Enabling and disabling an extension freezes the system for 8-10 seconds.

And it would be fine if GNOME extensions were too functional... But in fact, the functionality of GNOME extensions lags behind conky or XFCE in capabilities by at least 10 years.

SSH Remoting 2 years ago

VSCode does not necessarily require Electron.

Unlike Zed, VSCode can actually run on a server, and Google Chrome can be used as a client.

You can even take advantage of all VSCode features and plugins using Google Chrome Mobile.

No LLM suggested to first build a table of primes for faster factorization. 108 is too small a number for the test. How long will each program hang to give results for, say, the prime number 1599999983: [1,1599999983,1]