Go to advanced search

by pica200
Thu Mar 26, 2020 4:23 pm
Forum: General discussion
Topic: Old SD (or microSD) cards
Replies: 14
Views: 428

Re: Old SD (or microSD) cards

Use them for archiving data like pictures. They should be able to hold the data at least 20 years.
by pica200
Thu Mar 19, 2020 9:42 am
Forum: General discussion
Topic: RPi4 external USB3 SSD Enable and Check Trim
Replies: 26
Views: 3137

Re: RPi4 external USB3 SSD Enable and Check Trim

Well of course. Erase takes time. But you can still enable weekly fstrim for SD cards to avoid that slowdown.

If you take into account that write operations (to pre-erased pages) in turn will be faster this slowdown may not look as bad as it seems.
by pica200
Wed Mar 18, 2020 12:22 pm
Forum: General discussion
Topic: Raspberry Native C and Speed Tests
Replies: 55
Views: 5468

Re: Raspberry Native C and Speed Tests

With assembly you have to write every single instruction yourself and keep the registers in mind. A professional Assembly programmer will soon create macros and the like to save themselves from having to write every instruction by hand and move from Assembly to Macro Assembly and, in that respect, ...
by pica200
Wed Mar 18, 2020 10:32 am
Forum: General discussion
Topic: Raspberry Native C and Speed Tests
Replies: 55
Views: 5468

Re: Raspberry Native C and Speed Tests

C has nothing to do with assembly languages. C is a high level language (and one of the lowest level of high level languages). With assembly you have to write every single instruction yourself and keep the registers in mind. You also have to know the ABI. It's a pain and should not be used unless th...
by pica200
Tue Mar 17, 2020 2:05 pm
Forum: General discussion
Topic: RPi4 external USB3 SSD Enable and Check Trim
Replies: 26
Views: 3137

Re: RPi4 external USB3 SSD Enable and Check Trim

Yes, it may still be slower than weekly fstrim even with native SATA (3.1) but the majority of the slowdown comes from command handling as i understand it. If you delete lots of files you will send a flood of TRIM commands to the SSD with discard. If the SSD can't take multiple commands at once (com...
by pica200
Tue Mar 17, 2020 1:49 pm
Forum: General discussion
Topic: Viruses on Linux
Replies: 22
Views: 1188

Re: Viruses on Linux

I will take 10 packs.

[/irony]
by pica200
Tue Mar 17, 2020 10:18 am
Forum: General discussion
Topic: Viruses on Linux
Replies: 22
Views: 1188

Re: Viruses on Linux

I will take any E-Mail offer from any price if he can supply toilet paper :mrgreen:
by pica200
Tue Mar 17, 2020 10:12 am
Forum: General discussion
Topic: RPi4 external USB3 SSD Enable and Check Trim
Replies: 26
Views: 3137

Re: RPi4 external USB3 SSD Enable and Check Trim

So what is the best option for a SSD : 1 - as suggested above by @HawaiianPi : create the udev rules file for your USB SSD (or adapter) and issue a sudo systemctl start fstrim.timer command. There are quuite a few dodgy SATA <--> USB 3 adapters where uasp doesn't work properly so the weekly fstrim ...
by pica200
Mon Mar 16, 2020 10:39 am
Forum: General discussion
Topic: Viruses on Linux
Replies: 22
Views: 1188

Re: Viruses on Linux

@Heater
Ransomware is extremely popular right now. But it doesn't really target Linux desktops.
by pica200
Mon Mar 16, 2020 9:49 am
Forum: General discussion
Topic: Viruses on Linux
Replies: 22
Views: 1188

Re: Viruses on Linux

Yes, but there are scripts/programs searching for these vulnerable devices. They infect them if found and the infected devices themselves will search and infect others again.These infected devices will usually either mine coins or DDoS or both. That is how some of the largest botnets could be create...
by pica200
Sun Mar 15, 2020 11:33 pm
Forum: General discussion
Topic: Viruses on Linux
Replies: 22
Views: 1188

Re: Viruses on Linux

Most Linux viruses probably only target servers and IoT (or IoS how i like to call it. The S is left to your imagination ;) ). Repositories should be relatively safe. Packages are normally signed and if a malicious package slips through it would not take long until someone notices. Chances are much ...
by pica200
Sun Mar 15, 2020 11:15 pm
Forum: General discussion
Topic: RPi4 external USB3 SSD Enable and Check Trim
Replies: 26
Views: 3137

Re: RPi4 external USB3 SSD Enable and Check Trim

Regarding weekly fstrim vs. discard: It depends. For SATA SSDs discard is fine if the SSD supports command queueing (SATA 3.1). If not stuff like deleting lots of files will be noticeably slower and weekly fstrim makes more sense. For SD cards discard doesn't seem to be noticeably slower so i just e...
by pica200
Sat Mar 14, 2020 8:29 pm
Forum: General discussion
Topic: How To Get Mousepad To Read Standard Text Files
Replies: 99
Views: 3768

Re: How To Get Mousepad To Read Standard Text Files

At least it has 1 good side: kaomojis

This guy will look terrible in some fonts.
( ͡° ͜ʖ ͡°)━☆゚.*・。゚
by pica200
Sat Mar 14, 2020 8:19 pm
Forum: General discussion
Topic: Why USB-C ?
Replies: 33
Views: 1397

Re: Why USB-C ?

Yeah, it's good the voltage levels are standardized and USB always starts at 5V unless power supply and device agree on something else. Being able to plug USB-C plugs in either way is more of a convenience feature but i can understand why people like it.
by pica200
Sat Mar 14, 2020 10:23 am
Forum: General discussion
Topic: How To Get Mousepad To Read Standard Text Files
Replies: 99
Views: 3768

Re: How To Get Mousepad To Read Standard Text Files

Maybe the default font in Raspbian just doesn't support this insanity?
by pica200
Sat Mar 14, 2020 10:06 am
Forum: General discussion
Topic: How To Get Mousepad To Read Standard Text Files
Replies: 99
Views: 3768

Re: How To Get Mousepad To Read Standard Text Files

Windows-1252 is a superset of ISO-8859-1 that includes the characters from ISO-8859-15 and popular punctuation such as curved quotation marks. It is common that web page tools for Windows use Windows-1252 but label the web page as using ISO-8859-1, this has been addressed in HTML 5, which mandates ...
by pica200
Sat Mar 14, 2020 9:48 am
Forum: General discussion
Topic: How To Get Mousepad To Read Standard Text Files
Replies: 99
Views: 3768

Re: How To Get Mousepad To Read Standard Text Files

The text editors can't know what encoding is used. At best they can try and guess but it never works out really. The way Notepad displays it is just as wrong as most other text editors because it is unprintable. This way you believe it's working but in reality it's broken. This is exactly why the en...
by pica200
Fri Mar 13, 2020 3:14 pm
Forum: General discussion
Topic: Why USB-C ?
Replies: 33
Views: 1397

Re: Why USB-C ?

USB-C is much more robust than microUSB can handle more current has standardized voltages supports the old USB 2.0 interface of the SoC On top of that everything is slowly switching to this new connector. microUSB will eventually disappear. Do you need any more reasons? edit: Most people just buy th...
by pica200
Thu Mar 12, 2020 3:00 pm
Forum: General discussion
Topic: 64-bit operating system
Replies: 356
Views: 116970

Re: 64-bit operating system

That was quite a necro bump.

You can now run 64 bit software with little effort under Raspbian:
viewtopic.php?f=63&t=232417&start=125#p1621085
by pica200
Thu Mar 12, 2020 10:54 am
Forum: General discussion
Topic: How To Get Mousepad To Read Standard Text Files
Replies: 99
Views: 3768

Re: How To Get Mousepad To Read Standard Text Files

I don't see the problem to be honest. It's just as easy to use as leafpad and even got basic features like syntax highlighting without overwhelming the useru. The encoding dialog is annoying, yes but it almost exclusively happens for stuff written in Notepad (which supports UTF-8 since many years bu...
by pica200
Wed Mar 11, 2020 4:20 pm
Forum: General discussion
Topic: How To Get Mousepad To Read Standard Text Files
Replies: 99
Views: 3768

Re: How To Get Mousepad To Read Standard Text Files

Also should mention that with only 120 megabytes left on most of my own card partitions size does matter. Avoid bloatware is high on the list. Mousepad is around 400 megabytes but it's built-in so essentially 0. Notably SEE is 43 kbytes and no DLL, DOTNET, JAVA or other dependencies. Ahhh... progre...
by pica200
Wed Mar 11, 2020 2:31 pm
Forum: General discussion
Topic: I am thinking my new 4GB Pi4 might be counterfeit
Replies: 7
Views: 764

Re: I am thinking my new 4GB Pi4 might be counterfeit

Counterfeits don't exist. They could not even get the SoC from Broadcom. And yeah, the USB-C port is a bit of a wiggly fit (with the official USB-C power supply) but it's fine in my opinion. The micro HDMI ports are both perfect fits here. But there are tolerances on both the ports and plugs so resu...
by pica200
Wed Mar 11, 2020 1:53 pm
Forum: General discussion
Topic: RPi Benchmarks: 32- Vs 64-bits article on HaD
Replies: 60
Views: 3082

Re: RPi Benchmarks: 32- Vs 64-bits article on HaD

It seems broadly pointless, and definitely not RISC. ARM doesn't have a strlen() instruction (unlike x86); I'm not sure why it needs to have an instruction to do something I've never needed to do. I've subsequently been advised that it has some significant uses in crypto, but it still seems niche t...
by pica200
Tue Mar 10, 2020 10:59 pm
Forum: General discussion
Topic: RPi Benchmarks: 32- Vs 64-bits article on HaD
Replies: 60
Views: 3082

Re: RPi Benchmarks: 32- Vs 64-bits article on HaD

Just saying. That was not an insult to the work of RPiT. Vanilla Debian repos are slow to get updates so it may not be as up -to-date as Raspbian and lacks some improvements as a result.
by pica200
Tue Mar 10, 2020 7:33 pm
Forum: General discussion
Topic: RPi Benchmarks: 32- Vs 64-bits article on HaD
Replies: 60
Views: 3082

Re: RPi Benchmarks: 32- Vs 64-bits article on HaD

Regarding x86_64/AMD64: Yes, i'm talking about the hardware here. The silicon. It needs silly amounts of transistors and still has the legacy bloat from the x86 days in silicon. They can't just remove anything like ARM does for compatibility reasons so they have to keep stacking the steaming piles o...

Go to advanced search