Go to advanced search

by Heater
Tue Jul 28, 2020 4:36 pm
Forum: General discussion
Topic: Actual memory bandwidth of raspberry pi4?
Replies: 75
Views: 3372

Re: Actual memory bandwidth of raspberry pi4?

That is true. But some workloads are simply hunger for bandwidth even well tuned such as depression and encryption workloads which is useful for NAS and VPN. OK. Now we are talking. Of course one can bend a little micro-benchmark around to prove almost anything. It does not mean much. Do you have a...
by Heater
Tue Jul 28, 2020 2:56 pm
Forum: General discussion
Topic: Actual memory bandwidth of raspberry pi4?
Replies: 75
Views: 3372

Re: Actual memory bandwidth of raspberry pi4?

Again, I don't think this memory performance for an LPDDR4 memory is satisfying. Jetson utilizes much stronger GPU and its performance scales just fine. I can see why you are not satisfied, you have not done the tests. My measurements show that for compute intensive work on the CPU's the Pi 4 is fa...
by Heater
Tue Jul 28, 2020 1:35 pm
Forum: General discussion
Topic: Raspberry PI 4 and wifi pineapple
Replies: 17
Views: 576

Re: Raspberry PI 4 and wifi pineapple

What's wrong with pen testing and network cracking when there is a contract signed with a customer ? we, security professionals test this things every day and this is totally legal. Perhaps nothing. My feeling is that if you were actually a security professional with any experience of pen testing o...
by Heater
Tue Jul 28, 2020 12:48 pm
Forum: Off topic discussion
Topic: Need an opinion - Do I need added HW?
Replies: 8
Views: 626

Re: Need an opinion - Do I need added HW?

Does Raspberry Pi need external hardware? Can it perform/function to its fullest without external hardware support? This is a bizarre question. What do you mean "to its fullest"? Of course a Pi needs power as every computer does. If we want to count that as "external hardware support". And of cours...
by Heater
Mon Jul 27, 2020 7:56 pm
Forum: General discussion
Topic: Actual memory bandwidth of raspberry pi4?
Replies: 75
Views: 3372

Re: Actual memory bandwidth of raspberry pi4?

The main reason for the L2 cache -- or L3 on some architectures -- is not to be faster than RAM, but to reduce latency and hence pipeline stalls. In other words, the reason for the cache is exactly to appear to be faster RAM so as to reduce latency and hence pipeline stalls. Of course a key word th...
by Heater
Mon Jul 27, 2020 6:04 pm
Forum: Other programming languages
Topic: Anyone using Rust on a PI ?
Replies: 107
Views: 20452

Re: Anyone using Rust on a PI ?

Speaking of Rust deciding what it want's to be I think this quote from it's creator Graydon Hoare when talking about our software universe says a lot about that: Software-wise I really wish we'd done almost everything differently. The focus has been on eyeballs and engagement, not like "does it work...
by Heater
Mon Jul 27, 2020 5:41 pm
Forum: Other programming languages
Topic: Anyone using Rust on a PI ?
Replies: 107
Views: 20452

Re: Anyone using Rust on a PI ?

I have always understood rust's goal to be creation of a superior replacement for C++. That is not my impression. For a long time Rust was just a hobby project of Graydon Hoare. Later adopted as a Mozilla research project with the specific aim of being able to implement big chunks of Firefox using ...
by Heater
Mon Jul 27, 2020 5:30 pm
Forum: Other programming languages
Topic: Anyone using Rust on a PI ?
Replies: 107
Views: 20452

Re: Anyone using Rust on a PI ?

Maybe Rust should decide what type of language it really wants to be. I think the Rust devs and community decided what they want the language to be many years ago. One aspect of that is Rust as a systems programming language. As much a C is. They have been tenacious about that, to the extent of exp...
by Heater
Mon Jul 27, 2020 4:59 pm
Forum: General discussion
Topic: Does Raspberry PI 4 have problems in 2020?
Replies: 45
Views: 2870

Re: Does Raspberry PI 4 have problems in 2020?

I don't recall any of my Pi 4 having problems in 2019. They just worked as expected!
by Heater
Mon Jul 27, 2020 4:20 pm
Forum: General discussion
Topic: 2 Raspberry pi (Different location ) to SQL database
Replies: 4
Views: 234

Re: 2 Raspberry pi (Different location ) to SQL database

One should never expose a database directly to the internet. Better to communicate with an web server or MQTT server or such on the database machine and have a process there that receives the messages and stores them in the database. You are going to need at least a fixed public IP address and prefe...
by Heater
Mon Jul 27, 2020 4:16 pm
Forum: General discussion
Topic: Price and size of a Raspberry Pi 3 or 4
Replies: 25
Views: 904

Re: Price and size of a Raspberry Pi 3 or 4

emma1997 wrote:
Mon Jul 27, 2020 4:08 pm
Bottom line: CC fits into an Altoids box, Pi don't.
Sounds like a challenge.

I bet if you attacked a Pi with a file you could get one to fit.

Where do I get an Altoids box around here?...
by Heater
Mon Jul 27, 2020 4:12 pm
Forum: General discussion
Topic: Price and size of a Raspberry Pi 3 or 4
Replies: 25
Views: 904

Re: Price and size of a Raspberry Pi 3 or 4

... while my newest Pi is 70mm x 94mm. ... It is sad because it make RPT look bad and it has nothing to do with them. It's sad because whatever you are measuring there is not a Raspberry Pi and yes, it has nothing to do with them [Raspberry Pi Foundation / Trading] Are you measuring a case for a Ra...
by Heater
Mon Jul 27, 2020 2:40 pm
Forum: Other programming languages
Topic: Anyone using Rust on a PI ?
Replies: 107
Views: 20452

Re: Anyone using Rust on a PI ?

I can understand the motivation for size_t and usize having widths that depend on the machine architecture. To my mind usize sticks out like a sore thumb in Rust for me because all the other integer and float types have a strictly defined sizes and ranges no matter what platform (that is size as in ...
by Heater
Mon Jul 27, 2020 12:51 pm
Forum: Other programming languages
Topic: Anyone using Rust on a PI ?
Replies: 107
Views: 20452

Re: Anyone using Rust on a PI ?

Is the debate because some people think the conversion to usize should be implicit? Oh no, much worse. It's about almost anything but that. In fact months back I started a whole thread about it on the Rust user forum: '“as” considered harmful?' : https://users.rust-lang.org/t/as-considered-harmful/...
by Heater
Mon Jul 27, 2020 11:18 am
Forum: Other programming languages
Topic: Anyone using Rust on a PI ?
Replies: 107
Views: 20452

Re: Anyone using Rust on a PI ?

It's a funny thing about that (size_t)bytes ) thing. In Rust one can only index arrays with a "usize". Basically a size_t kind of type that is guaranteed to be able to address all of memory as bytes. Of course often the thing one is using to index an array may actually be a value in it's own right u...
by Heater
Mon Jul 27, 2020 9:04 am
Forum: Other programming languages
Topic: Anyone using Rust on a PI ?
Replies: 107
Views: 20452

Re: Anyone using Rust on a PI ?

I agree, I always strive to eliminate all warnings. Even if they are "false positives" as it were. Keeping ones builds free of hundreds of warnings means it more likely one will spot that important warning when it turns up. I cannot agree that the cast documents anything in the code. If someone snea...
by Heater
Mon Jul 27, 2020 7:29 am
Forum: General discussion
Topic: course on C/C++ for raspbian
Replies: 5
Views: 253

Re: course on C/C++ for raspbian

First: why not Python? Why not indeed? I'm curious as to the reason for "It is not possible to use python or some other interpreted language." It is a common misunderstanding that interpreted languages are slow. Well, that is a misunderstanding. It is not a misunderstanding. Python is in fact slow....
by Heater
Mon Jul 27, 2020 7:07 am
Forum: Other programming languages
Topic: Anyone using Rust on a PI ?
Replies: 107
Views: 20452

Re: Anyone using Rust on a PI ?

...which declares that "messupvalue" is a misnomer and the function cannot in fact alter anything that "s" points to :) Almost. 'const' is a wonderful thing in C/C++ but it does not stop one from doing anything: $ cat junk.c #include "stdio.h" void messupvalue(const char* s) { ((char*)s)[2] = '*'; ...
by Heater
Sun Jul 26, 2020 7:10 pm
Forum: General discussion
Topic: Does Raspberry PI 4 have problems in 2020?
Replies: 45
Views: 2870

Re: Does Raspberry PI 4 have problems in 2020?

There is the thing. When you switch your CPU to 64 bit mode and use a 64 bit OS you are dealing with a completely different architecture. Different instructions, more/different registers, more address space, etc.

That is as much true of ARM as it is Intel.
by Heater
Sun Jul 26, 2020 7:01 pm
Forum: Other programming languages
Topic: Anyone using Rust on a PI ?
Replies: 107
Views: 20452

Re: Anyone using Rust on a PI ?

... and was pleased that its not directly possibly in Python like it is in Rust. I'm not sure what you are talking about there. Are we talking about the same thing? Rust will not let you pass anything anywhere that can mutate it without explicitly allowing for it. Languages like C are "call by valu...
by Heater
Sun Jul 26, 2020 6:17 pm
Forum: General discussion
Topic: Can you recommend a 1TB SSD USB Drive for RPi4?
Replies: 5
Views: 425

Re: Can you recommend a 1TB SSD USB Drive for RPi4?

Not really. If I wanted such a thing I would look for a brand name that at least anyone has ever heard of and has a reputation. And by it from some place that offers some kind of guarantee. For example: https://www.verkkokauppa.com/fi/product/68238/jjgtf/Samsung-SSD-T5-ulkoinen-SSD-levy-1-Tt-musta?l...
by Heater
Sun Jul 26, 2020 10:28 am
Forum: Other programming languages
Topic: Anyone using Rust on a PI ?
Replies: 107
Views: 20452

Re: Anyone using Rust on a PI ?

Ha, thanks for that. Now that you mention numpy I guess I have done this when toying around with some OpenCV a while back. Not a standard part of the language then. It's the "sometimes unwittingly" which bothers me. And is part of the motivation to use Rust and it's memory usage correctness checking.
by Heater
Sun Jul 26, 2020 4:07 am
Forum: General discussion
Topic: Can I use a free VPN service for Raspberry Pi?
Replies: 7
Views: 418

Re: Can I use a free VPN service for Raspberry Pi?

Do not trust a VPN. Especially free ones that belong to God knows who. They are a security disaster. For example see recent news of the UFO VPN and others. https://www.techradar.com/news/these-no-log-vpns-actually-collect-plenty-of-logs-and-the-data-has-been-exposed. Perhaps fittingly all of UFO VPN...
by Heater
Fri Jul 24, 2020 6:38 pm
Forum: General discussion
Topic: Windows on ARM
Replies: 36
Views: 1259

Re: Windows on ARM

And one of the more straightforward ones like CumulusMX requires the installation of Mono which again isn't totally trivial in the unfamiliar - to many - Linux environment. Now I'm not familiar with that program in particular or .Net/Mono in general but I have read here from many people that these ...
by Heater
Fri Jul 24, 2020 6:28 pm
Forum: General discussion
Topic: Windows on ARM
Replies: 36
Views: 1259

Re: Windows on ARM

There are a LOT of programs that will only ever be released for Windows. More specifically I think is that they are compiled for Intel x86 and Windows. So called "wintel". So yes, it's kind of hopeless. To act as if there are Linux equivalents for "most things" is, at best, painfully naive. Oddly e...

Go to advanced search