Go to advanced search

by Heater
Mon Feb 18, 2019 11:23 am
Forum: Off topic discussion
Topic: Is ARM doomed?
Replies: 16
Views: 430

Re: Is ARM doomed?

From here: https://www.eetimes.com/document.asp?doc_id=1334330# “RISC-V is being received with open arms by the military and aerospace sectors,” said Tim Morin, director of strategic marketing in Microchip Technnology’s FPGA business unit. “They are very excited about it.” Microchip is already inves...
by Heater
Mon Feb 18, 2019 11:14 am
Forum: Java
Topic: How can I read a controllers input through I2C?
Replies: 3
Views: 75

Re: How can I read a controllers input through I2C?

How are we supposed to advise about connecting to 10 controllers that are home made and that we know nothing about?
by Heater
Mon Feb 18, 2019 10:14 am
Forum: User groups and events
Topic: Announce again: FOSDEM19 in Brussels
Replies: 2
Views: 195

Re: Announce again: FOSDEM19 in Brussels

masafumi_ohta's presentation was put up on YouTube a few days ago:

"Raspberry Pi history, tips and use case its history, how to use it and what is its good use case": https://www.youtube.com/watch?v=Y1_X29RLIEc
by Heater
Mon Feb 18, 2019 10:10 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1375
Views: 51146

Re: Why Avoid BASIC on RPi?

Ah, sorry, I was busy avoiding something else for a change... It's nice to see there is someone else in the world crazy enough to do this. One thing I learned from that link is that we are using Gauss' trick for complex multiplication algorithm. I had not really spotted that, even though I used it i...
by Heater
Sun Feb 17, 2019 10:32 am
Forum: Off topic discussion
Topic: Finally found out why SD cards were so unreliable on early Pi
Replies: 6
Views: 278

Re: Finally found out why SD cards were so unreliable on early Pi

6by9, ...the Pi controller is not over SPI. Ah well. It was an interesting theory. If I understand correctly his argument was that card detect was accessing the cards asynchronously without any locking, so it would trample over other read/write access of the card going on. Is it possible this is man...
by Heater
Sun Feb 17, 2019 8:31 am
Forum: C/C++
Topic: Finally kicked this one out the door
Replies: 2
Views: 90

Re: Finally kicked this one out the door

Cool.

If you made the colours vary with a sinusoidal function you would have some very nice interference patterns.
https://en.wikipedia.org/wiki/Wave_interference

There is all kinds of interesting things you can do with this.
by Heater
Sat Feb 16, 2019 8:22 pm
Forum: Off topic discussion
Topic: Is ARM doomed?
Replies: 16
Views: 430

Re: Is ARM doomed?

A RISC V HAT would be great.

The Pi Foundation is not big into HATS but any of us could get on the case I guess.

But, LowRISC is across the road in Cambridge and I'm sure there are connections...
by Heater
Sat Feb 16, 2019 8:04 pm
Forum: Off topic discussion
Topic: Finally found out why SD cards were so unreliable on early Pi
Replies: 6
Views: 278

Finally found out why SD cards were so unreliable on early Pi

In the early days I used to have a lot of trouble with SD card corruption on the Pi. Requiring a reinstall. Recently, nothing like so much. I often suspected there was some kernel problem back in that day but nobody ever hinted what that might have been. Now, I think I found it. A problem identified...
by Heater
Sat Feb 16, 2019 7:27 pm
Forum: Other programming languages
Topic: nodejs and npm error message
Replies: 8
Views: 154

Re: nodejs and npm error message

Sorry to say but you now have questions regarding the use of specific node modules and you actual application. I can't be much help with that.
by Heater
Sat Feb 16, 2019 7:25 pm
Forum: Off topic discussion
Topic: Should the Pi Forum switch to Discourse?
Replies: 23
Views: 602

Re: Should the Pi Forum switch to Discourse?

Yes, what is all this "freeloader" nonsense?

If you want to look at it like that we pay for what we get by contributing back here.

In actual dollars we are also customers who have purchased product. This is support for that product.
by Heater
Sat Feb 16, 2019 5:12 pm
Forum: Other programming languages
Topic: nodejs and npm error message
Replies: 8
Views: 154

Re: nodejs and npm error message

Install the module node-beacon-scanner. Instructions are here: https://github.com/futomi/node-beacon-scanner
See article here: https://www.thepolyglotdeveloper.com/20 ... n-devices/
by Heater
Sat Feb 16, 2019 4:28 pm
Forum: Other programming languages
Topic: nodejs and npm error message
Replies: 8
Views: 154

Re: nodejs and npm error message

You are missing the closing parenthesis around the parameters passed to "noble.on". Should be like so: noble.on('discover', function(peripheral) { ... ... ... }) Notice that last ")". I suggest you use an editor that does Javascript syntax highlighting and brace matching. My favorites are Visual Stu...
by Heater
Sat Feb 16, 2019 3:44 pm
Forum: Other programming languages
Topic: nodejs and npm error message
Replies: 8
Views: 154

Re: nodejs and npm error message

You "discover" has the wrong quotation marks around it. You can use: "discover" 'discover' `discover` Do check the Javascript documentation to see the differences between each of those. I generally us single quotes (the second case above). Those "back tick" quotes are for template literals: https://...
by Heater
Sat Feb 16, 2019 3:27 pm
Forum: Off topic discussion
Topic: Is ARM doomed?
Replies: 16
Views: 430

Re: Is ARM doomed?

Admittedly my post title is a little bit over dramatized, and admittedly RISC-V may be a speck on the horizon still but I think "dramatic" rise is appropriate. In what seems no time at all RISC-V is now used in all computer architecture classes around the world, has been very publicly adopted my Wes...
by Heater
Fri Feb 15, 2019 7:55 pm
Forum: Bare metal, Assembly language
Topic: Spider-OS a new operating system
Replies: 63
Views: 2229

Re: Spider-OS a new operating system

bzt, Both x^n and 2^n "algorithms" are basic enough to have hardware implementation. Sure, it may take different CPU cycles depending on the input, but you can always give an upper limit approximation on for how long a certain instruction could take. Yes, indeed... Provided the "n" and the results f...
by Heater
Fri Feb 15, 2019 6:40 am
Forum: Off topic discussion
Topic: Is ARM doomed?
Replies: 16
Views: 430

Is ARM doomed?

Probably not anytime soon for phones/tabs etc but it looks like with dramatic rise in the RISC V architecture ARM is going to have a hard time moving into the new evolving IoT/embedded spaces. https://www.eetimes.com/author.asp?section_id=36&doc_id=1334306# https://www.eetimes.com/document.asp?doc_i...
by Heater
Fri Feb 15, 2019 6:02 am
Forum: Off topic discussion
Topic: Should the Pi Forum switch to Discourse?
Replies: 23
Views: 602

Re: Should the Pi Forum switch to Discourse?

Discourse does that infinite scrolling of threads rather than chopping them into pages of 20 or so posts. That means: 1) When you are on a thread page you cannot search it in the browser for anything you might like to refer to or quote. It's likely not in the page. 3) You cannot keep track of where ...
by Heater
Thu Feb 14, 2019 11:31 pm
Forum: C/C++
Topic: GCC Shared Library Behaving Oddly
Replies: 3
Views: 87

Re: GCC Shared Library Behaving Oddly

You need -L/opt/vc/lib to specify a path to a library.
-I is for specifying include paths.

Probably better to put the -lbcm_host option last on the line.

I have no idea where "bcm_host.h" lives. Perhaps it's -I/opt/vc/include
by Heater
Thu Feb 14, 2019 9:07 pm
Forum: General discussion
Topic: [Suggestion]Don't quote long posts in your answers
Replies: 12
Views: 302

Re: [Suggestion]Don't quote long posts in your answers

How about you don't post from mobile phones? Wait till you get home to your PC/Pi and can do it properly. Then we don't all have to suffer mangled, unintelligible gibberish.

:)
by Heater
Thu Feb 14, 2019 4:18 pm
Forum: C/C++
Topic: [C] compatibility data types 32-64 bit?
Replies: 17
Views: 288

Re: [C] compatibility data types 32-64 bit?

swampdog, You assume too much sir! Seems I do. My apologies. Which leaves me wondering how we could come to different conclusions about the safety of C/C++ and pitfalls of cross-platform code. A lot of my experience has been moving embedded applications around different architectures/operating syste...
by Heater
Thu Feb 14, 2019 3:40 pm
Forum: General discussion
Topic: Weather station in freezing weather: questions
Replies: 17
Views: 417

Re: Weather station in freezing weather: questions

klricks, ...sonic with built in heaters...Not a cheap option however.... ~$3K USD. Ever since I first saw some sonic anemometers made by Vaisala a couple of decades ago I have wondered what it would take to build ones own I imagine buying a bunch of ultrasonic transmitters/receivers off ebay for a f...
by Heater
Thu Feb 14, 2019 3:25 pm
Forum: General discussion
Topic: [Suggestion]Don't quote long posts in your answers
Replies: 12
Views: 302

Re: [Suggestion]Don't quote long posts in your answers

I generally try to pick out a key phrase or a few keywords rather than quote a whole post or large chunk of. And use ellipsis to indicate That I have truncated it. Just so that subsequent readers have a "key" to find the original if they really want to. I expect they normally don't do that. Or if th...
by Heater
Thu Feb 14, 2019 7:42 am
Forum: General discussion
Topic: Basic HTML Q's...
Replies: 5
Views: 173

Re: Basic HTML Q's...

When editing almost anything on my PC now a days I use Microsofts Visual Studio Code. https://code.visualstudio.com/ which has higlighting for just about everything via it's plug-ins. On the Pi I use vim. You may need to enable syntax highlighting in vim's configuration. Often it is not enabled by d...
by Heater
Wed Feb 13, 2019 9:26 pm
Forum: C/C++
Topic: [C] compatibility data types 32-64 bit?
Replies: 17
Views: 288

Re: [C] compatibility data types 32-64 bit?

...not to worry about it unless it becomes a problem. It's that attitude that causes us to have endless problems where people have not thought these things through. C has a ton of undefined behaviors that perhaps don't matter and never show up for a developer on his machine, his OS, his compiler an...
by Heater
Wed Feb 13, 2019 7:06 pm
Forum: General discussion
Topic: Basic HTML Q's...
Replies: 5
Views: 173

Re: Basic HTML Q's...

Certainly. Use Javascript in the page to create and change you SVG. There are blog posts and turorials about this all over the net. For example: https://florianbrinkmann.com/en/4513/svg-use-element-javascript/ When what you are doing gets a bit complex writing the Javascript gets messy and tedious. ...

Go to advanced search