9,867 karma · joined Aug 20, 2015 (11y ago) · 5,528 submissions
comment 3y ago · link · parent
Humans train to recognize speech on much smaller datasets. If a small human is awake 16 hrs/day, that amounts to maximum 5840 hrs/year or 58400 hrs per 10 years. Why do mathematical models use more data and produce lower quality results? Is it because they don't understand the meaning of words?
comment 3y ago · link · parent
Apt should be used only for system software (like init system, system libraries) but not for applications.
Also apt allows to run scripts as root during installation and this is not secure.
comment 3y ago · link · parent
For comparison, to use a bank card you first need to provide all your details to bank which can share them with anyone they want, and then your application can be rejected for arbitrary reasons. And after this again the bank can share information about anything you bought with the card. There is even an official organization for sharing data about consumers loan history and this is totally not a crime in our weird society.
comment 3y ago · link · parent
Today if you pay with card you basically consent to collecting your data by corporations and following you offline and online, creating a detailed history of your activity. Corporations exchange data with each other, so using card on only one site or in one app can make your identity known to hundreds of other sites even when using incognito mode. With face recognition surveillance can be extended even to places where you don't use the card. And there is no way to opt out from it.
comment 3y ago · link · parent
comment 3y ago · link · parent
It surprises me especially that MacBooks seem to be targeted at professionals, like creators and creators always have lot of stuff with USB plugs - like MIDI keyboards, MIDI controllers, external audio interfaces, mouse, drawing tablet, external hard drives - but MacBook only has like 3 sockets, despite being super expensive.
comment 3y ago · link · parent
The only thing that comes to mind is killing time by watching videos on social networks sites.
comment 3y ago · link · parent
By the way the current trend is to install wide, but low height screens. What's the use of such screens? For coding, reading articles or working with documents height is more important than width, but manufacturers lower the height and extend the width.
Regarding keyboard layout, it is designed poorly: it has small Up/Down keys (easy to hit the wrong key) and it doesn't have Page Up/Down and End/Home keys which are necessary for coding or working with documents (but it has useless CapsLock key). What is the intended use of the keyboard? To post short messages on social network sites. They seem to copy the layout from toy laptops without much thinking about the target audience. They claim that "Whether you’re a gamer, developer, heavy Linux user, creator, or have other performance-demanding work, the Framework Laptop 16 is built to be customized to your needs.". No, your keyboard doesn't match the needs of those audiences (except for gamers and vi users who can program even on a calculator).
Also, many non-Latin based languages have more that 26 letters, but the keyboard doesn't offer additional keys for those letters, and two additional keys to switch to Latin and non-Latin layout. Nobody seems to care about this. Not Apple, not Framework, nor ordinary laptop vendors do not want to adapt keyboards to non-Latin languages and think that 26 keys should be enough for everyone.
comment 3y ago · link · parent
comment 3y ago · link · parent
Linux's security model would work well on multi-user mainframes in 80s but doesn't make much sense for an Internet-connected computer with a single user. The threats now are completely different.
For comparison, iOS and Android's security model would not allow a Python package to steal SSH keys. But the best solution would be to implement least privileges principle and do not grant unnecessary privileges to programs.
Another solution which could protect from such attacks would be to hire someone to inspect the packages. But it seems thatnobody is providing such services. Is it because people got used to everything being free?
comment 3y ago · link · parent
This shows how browser developers race to provide new features ignoring privacy impact.
I don't understand why features that allow fingerprinting (reading back canvas pixels or GPU buffers) are not hidden behind a permission.
comment 3y ago · link · parent
If you want lower-level stuff and program a synth manually, then you can try PureData, but it might be too low-level for you and require dealing with math equations and algorithms. Also, its GUI is a little outdated.
If you want to know how certain sounds are created, you can look for tutorials or Youtube videos. Or you can take any virtual synthesizer, choose the preset you like and see how it's made. You can disable units one by one and see how it changes the sound. For example, you can take Dexed or Surge, both of which are free.
Of course, beforehands you have to learn the basics (what kind of waves are there, what is a spectrum, an envelope, how filters work and so on).
Regarding music theory, I think that tracker or 8-bit music uses standard notes and chords and you don't need any special music theory for it. Also if you can hear the notes then it will help you a lot. A good ear is important because it helps you to hear what is wrong with the sound and how to fix it.
Also, a desktop DAW like Ableton (which is recommended by neighbour comment) might be easier to use than a tracker.
Also, you can listen to the melodies you like and reverse-engineer them, if they are available in a tracker or MIDI format.
comment 3y ago · link · parent
Judging by demo videos, I think that the UI is not very efficient. For example, let's count how many gestures an user has to make to add an oscillator and connect it to a speaker:
- click "+"
- carefully read the menu, locate and click "oscillator"
- maybe drag the oscillator to a desired location
- click "+"
- carefully read the menu, locate and click "cable"
- drag the cable to the oscillator
- catch another end of the cable, which is swinging and trying to escape from your mouse cursor
- drag it to a tiny speaker's socket
This takes too much time. I believe the UI can be significantly improved. Or maybe this can be turned into a game where the devices are playing against you, jump and crawl trying to escape from you (but you can bind them with cables), and so on.
Also, "+" button is too close to a trash button, and it is easy to accidentally click it.
comment 3y ago · link · parent
This article [1] contains benchmark results for several SSDs and a good HDD. You can compare sequential read speed in fastest mode (SEQ1M) and random read speed in slowest mode (RND4K) and see that there is a huge difference for both HDD and SSD on order of 50x (for SSD) and 300x (for HDD).
HDD is very slow for random read/write access because it needs to wait until the desired sector will spin underneath the head, one spin takes approximately 10 ms, and on average you need to wait half of that time.
> For your HDD to reach that speed in sequential write, the free space should be contiguous.
If the file system is smart enough to allocate large chunks of free sectors then the write will be sequential. If there are no large contiguos chunks then maybe you need to defragment your drive using standard Windows tools (don't know if there are similar tools for Linux) otherwise write speed will be very low.
> SSDs actually can take advantage of parallelization
This doesn't matter when you need to swap pages in because you retrieve one page after other and cannot parallelize this (as pages are swapped in only when they are accessed by the program).
But I can agree that buying $30 SSD is probably the cheapest way to speed up an old computer.
[1] https://glennsqlperformance.com/2020/12/13/some-quick-compar...
comment 3y ago · link · parent
I don't think so. HDD can do approximately 100 IOPS, and with 4kB pages that gives you speed of 400Kb/s.
I had different cases when system worked poorly when there was not enough RAM. All of these happened to me on 4Gb Linux system:
- when a heavy page is opened in Firefox and it tries to allocate more than 500 Mb of RAM (for example, Google Street View that leaks RAM), the system swaps out Gnome desktop compsitor, and everything freezes for several minutes, you cannot even move a mouse or switch to a text console. Often the only solution is reboot. Why cannot Linux protect Wayland compositor from being swapped out I don't understand.
- when the system turns off the screen, it can swap out desktop compositor because it is not used, and there is a freeze for 20-30 seconds when you try to wake up the system. Why cannot it swap out something less important I don't understand.
So in practice swapping can produce long freezes when the system becomes completely unresponsive. I cannot agree with your statement that getting a page from swap is faster than loading from Internet.
If instead of swapping separate pages the system swapped out and in whole processes, the situation might be better.
By the way, out of curiosity I tried to investigate who uses so much memory that 4Gb becomes not enough by summing PSS (proportional set size) of processes, and I never got 4Gb used, it always was about 2.6-2.8 Gb used after which the system becomes prone to sudden freezes. "free" command also never showed number of "used" RAM above 3Gb. I guess Linux has not only issues with swapping, but also with counting used memory as well.
comment 3y ago · link · parent
comment 3y ago · link · parent
For comparison, a cheap removable DDR4 module at 3200MT/s can provide theoretical bandwith around 25 Gb/s and two of them can provide 50 Gb/s which is also very fast (for me) and good enough for many tasks. More expensive DDR5 modules can provide up to 50 Gb/s bandwidth per module, and four of them give you 200 Gb/s of theoretical throughput.
So I don't see problems with using removable DDR5 modules. They are good enough, and being able to expand RAM cheaply is more important, than getting 2x bandwidth, that you cannot utilize, at a premium price.
comment 3y ago · link · parent
For HDD, sequential write speed can be 50 Mb/s and random write speed for 4Kb chunks can be as low as 400 Kb/s. For SSD, there is also a difference in speed on order of 50x.
Swapping uses 4Kb chunks and therefore uses the drive in the most inefficient mode. Alternative mechanism can employ faster and effective sequential access.