Go to advanced search

by Heater
Mon Sep 16, 2019 10:20 pm
Forum: General discussion
Topic: Python 2 or Python 3 ...?
Replies: 6
Views: 207

Re: Python 2 or Python 3 ...?

Just consider Python 2 and Python 3 as different languages and you will be fine. Like not confusing C with C++ or Scheme with Lisp.
by Heater
Mon Sep 16, 2019 10:18 pm
Forum: General discussion
Topic: root password for Raspbian
Replies: 7
Views: 55322

Re: root password for Raspbian

You don't need a root password.

Just long in as Pi or whatever other user you have set up, then:

Code: Select all

$ sudo su
root@pi3-buster-1:/home/pi# whoami
root
root@pi3-buster-1:/home/pi#
Bingo! You are logged in as root.

Mostly for one off commands using "sudo" for the command in the TUI is sufficient.
by Heater
Mon Sep 16, 2019 10:13 pm
Forum: General programming discussion
Topic: Local App vs Web App
Replies: 7
Views: 181

Re: Local App vs Web App

"Frameworks are offsprings of the web evolution." No, they are not. Please do read some definitions and history of "framework" in computer science: for example. https://en.wikipedia.org/wiki/Software_framework Things like Borland IDE's for Pascal and C++ provided frameworks, they were certainly not ...
by Heater
Mon Sep 16, 2019 6:27 pm
Forum: Raspbian
Topic: Random freezes Buster (wifi related?)
Replies: 2
Views: 44

Re: Random freezes Buster (wifi related?)

Is the first part of that post even true? I don't recall any such complaints coming up here.

The second part certainly is not. You have root permissions, you can do what you like.
by Heater
Mon Sep 16, 2019 6:14 pm
Forum: C/C++
Topic: qtcreator: how to "save (duplicate) project as..."?
Replies: 10
Views: 174

Re: qtcreator: how to "save (duplicate) project as..."?

I think I like "a sea of plagues" better. It's a nice blend of biblical floods and plagues. What can I say? When I was a young teenager we were taught programming using BASIC through a teletype connection to a mainframe. Programs stored on paper tape. Later it was Algol on punch cards and an all nig...
by Heater
Mon Sep 16, 2019 4:54 pm
Forum: Java
Topic: Configuration JDK for CMAKE
Replies: 2
Views: 50

Re: Configuration JDK for CMAKE

All of those things are available as packages for Raspian that can be installed with apt. Have a play with: $ apt-cache search java $ apt-cache search javac $ apt-cache search ant $ apt-cache search ant | less $ apt-cache search jdk $ apt-cache search opencv I would certainly never dream of trying t...
by Heater
Mon Sep 16, 2019 4:49 pm
Forum: C/C++
Topic: qtcreator: how to "save (duplicate) project as..."?
Replies: 10
Views: 174

Re: qtcreator: how to "save (duplicate) project as..."?

I'm afraid you have been spoiled by the speed and simplicity of Borland.

I do all my C++, and most other coding in MS Visual Studio Code now a days.

As long as I can always easily fall back to Vim and a simple build command I'm happy.
by Heater
Mon Sep 16, 2019 4:45 pm
Forum: General programming discussion
Topic: Local App vs Web App
Replies: 7
Views: 181

Re: Local App vs Web App

Might be. If Gtk is, or Qt, or XLib or ... I don't want to get into a quibble over the definition of "framework".

There is a lot to be said for such event driven systems though. Of which JS and node.js is one.
by Heater
Mon Sep 16, 2019 3:41 pm
Forum: C/C++
Topic: qtcreator: how to "save (duplicate) project as..."?
Replies: 10
Views: 174

Re: qtcreator: how to "save (duplicate) project as..."?

"sea of plagues" ?

That bad huh? Seems simple enough.
by Heater
Mon Sep 16, 2019 3:10 pm
Forum: C/C++
Topic: qtcreator: how to "save (duplicate) project as..."?
Replies: 10
Views: 174

Re: qtcreator: how to "save (duplicate) project as..."?

Well, there is a procedure for making clones of Qt projects that goes like this: 1) Copy the directory structure. 2) Delete the .pro.user file in the new directory 3) Change the build directory in Projects->Build 4) Modify the name of the .pro file if desired (or edit the TARGET tag in the .pro file...
by Heater
Mon Sep 16, 2019 12:42 pm
Forum: C/C++
Topic: qtcreator: how to "save (duplicate) project as..."?
Replies: 10
Views: 174

Re: qtcreator: how to "save (duplicate) project as..."?

Sounds like you are wanting to create multiple versions of the same project as you hack on it and test different ideas, If so you owe it to your self to learn about git. Keep your project in a git repository and make branches. Or of course the good old school way copy the directories: $ cp -a myProj...
by Heater
Mon Sep 16, 2019 12:38 pm
Forum: General programming discussion
Topic: Local App vs Web App
Replies: 7
Views: 181

Re: Local App vs Web App

No idea. I don''t use frameworks. What is a node.js "frame work" any way?

Well, except Express for creating web servers in the cloud. But I think you will find yourself using a "framework" to do that in pretty much any language. I believe even ScriptBasic has one.
by Heater
Mon Sep 16, 2019 12:26 pm
Forum: General discussion
Topic: speedtest difference Windows-RPi4
Replies: 12
Views: 446

Re: speedtest difference Windows-RPi4

And the Debian maintainers might bump the bug report to the upstream authors of the project to fix. Eventually it gets fixed and the fix trickles back down to Debian and hence to Raspbian. Other wise the Debian/Raspbian package maintainers would have to be maintaining thousands of forks of upstream ...
by Heater
Mon Sep 16, 2019 10:29 am
Forum: Off topic discussion
Topic: Pi graphics board - needs a microscope
Replies: 2
Views: 117

Re: Pi graphics board - needs a microscope

You have to ask why? Because that is what geeks/hacker/nerds do. Because, possibly, maybe, it's possible. For the challenge. Some people watch telly or play soduku for fun. Or all manner of other pointless things. Why? What do you do? It helps that he works with the chip designers at AMD so so proba...
by Heater
Mon Sep 16, 2019 8:35 am
Forum: Off topic discussion
Topic: Pioneers.
Replies: 1
Views: 90

Re: Pioneers.

That's awesome. Wish I had been there.
by Heater
Mon Sep 16, 2019 8:33 am
Forum: General discussion
Topic: Python 2 or Python 3 ...?
Replies: 6
Views: 207

Re: Python 2 or Python 3 ...?

Because a lot of Debian package still depend on Python 2. The authors of those projects have not upgraded them to Python 3. If Debian were to install only Python 3 or use it by default a lot of things would break. The Debian package maintainers no doubt don't have the time to modify and test all ups...
by Heater
Mon Sep 16, 2019 6:09 am
Forum: General discussion
Topic: Installing Movidius Neural Computer Stack on Raspberry Pi
Replies: 4
Views: 122

Re: Installing Movidius Neural Computer Stack on Raspberry Pi

First of all get the latest Debian Buster release (10.1) installed on your Pi as per the instructions on the Pi website.

cmake can be installed with:

Code: Select all

$ sudo apt-get install cmake
Not "camke" as the error message you showed says you typed.
by Heater
Mon Sep 16, 2019 4:15 am
Forum: General discussion
Topic: Installing Movidius Neural Computer Stack on Raspberry Pi
Replies: 4
Views: 122

Re: Installing Movidius Neural Computer Stack on Raspberry Pi

It might help if you told us what you have tried and how it failed. We have no idea what you are doing. This description of using the Movidius with the Pi has no mention of CMake for example: https://www.pyimagesearch.com/2018/02/19/real-time-object-detection-on-the-raspberry-pi-with-the-movidius-nc...
by Heater
Sun Sep 15, 2019 2:30 pm
Forum: Other projects
Topic: Electronic Sleep inducer
Replies: 11
Views: 3395

Re: Electronic Sleep inducer

As if such a ridiculous gadget would work anyway.

If you want to get to sleep with electronics I recommend Horowitz and Hill: The Art of Electronics
https://artofelectronics.net/
by Heater
Sun Sep 15, 2019 11:40 am
Forum: General discussion
Topic: Laptop speakers with Raspberry PI
Replies: 25
Views: 520

Re: Laptop speakers with Raspberry PI

Hey, roll your sleeves up, be a man, learn to solder. It's not hard. I regard it as an essential life skill. Opens up all kind of hacking possibilities.
by Heater
Sun Sep 15, 2019 11:33 am
Forum: General discussion
Topic: Can´t access through SSH or HDMI
Replies: 14
Views: 287

Re: Can´t access through SSH or HDMI

Strangely enough I had a similar problem recently. One day I could not SSH into my headless Pi from Win 10. It would connect, it would offer the password prompt, on entering the correct password.... nothing. Tried it many times. Never seen such a situation before. After checking my networking and su...
by Heater
Sun Sep 15, 2019 11:25 am
Forum: Bare metal, Assembly language
Topic: Announce: RusPiRo - a kernel the Rust way ;)
Replies: 51
Views: 3333

Re: Announce: RusPiRo - a kernel the Rust way ;)

Gavinmc42, Are you a "nightly build" Rust tester? Not in any official way. It's just that I wanted to use some features that are only available in nightly builds just now. I have reported a couple of bugs in Rust crates, not in Rust itself, and not in any mainstream crates. Hmm... However I now find...
by Heater
Sun Sep 15, 2019 6:07 am
Forum: Bare metal, Assembly language
Topic: Announce: RusPiRo - a kernel the Rust way ;)
Replies: 51
Views: 3333

Re: Announce: RusPiRo - a kernel the Rust way ;)

Gentoo is great. I used it exclusively for some years in 200x. Then Daniel Robbins quite the project and went to work for Microsoft. I got disillusioned and switched to Debian. Last I heard Daniel has not been at MS for a long time, he had some other ideas and started yet another Linux distro... It'...
by Heater
Sat Sep 14, 2019 5:05 pm
Forum: General discussion
Topic: Is the new Raspberry Pi 4 vulnerable to Meltdown and Spectre attacks?
Replies: 27
Views: 2309

Re: Is the new Raspberry Pi 4 vulnerable to Meltdown and Spectre attacks?

It may require a fair amount of knowledge and effort to exploit but such exploits when created are traded on the "dark web". I'm sure there are plenty of criminals who can get by without a mouse.

Go to advanced search