Go to advanced search

by Heater
Wed Jan 23, 2019 2:27 pm
Forum: Raspbian
Topic: No WhatsApp Web in Chromium
Replies: 2
Views: 61

Re: No WhatsApp Web in Chromium

WhatsApp does not work on Raspbian?

I guess we should grateful for small mercies.
by Heater
Wed Jan 23, 2019 1:11 pm
Forum: Off topic discussion
Topic: Things that make you go.... Hmmm...
Replies: 15
Views: 788

Re: Things that make you go.... Hmmm...

hippy,
If Farnell/Newark/Element 14 post on the forum about their Special Deals; is that considered spamming ?
Has Farnell/Newark/Element 14 ever done that?

If not, why are we considering it?
by Heater
Tue Jan 22, 2019 7:20 pm
Forum: Raspbian
Topic: autostart a 'npm start'
Replies: 6
Views: 90

Re: autostart a 'npm start'

I have an example systemd service file for a node.js server application here: https://www.raspberrypi.org/forums/view ... 61#p921354 together with some instructions you may find useful.
by Heater
Tue Jan 22, 2019 5:21 pm
Forum: Raspbian
Topic: autostart a 'npm start'
Replies: 6
Views: 90

Re: autostart a 'npm start'

Your ExecStartPre does not name any command to execute. It's only a directory path.

You may need to set WorkingDirectory.
by Heater
Tue Jan 22, 2019 3:12 pm
Forum: C/C++
Topic: C++ IDE
Replies: 40
Views: 4614

Re: C++ IDE

I remembered something... On Linux there is a thing called "Wine". Wine allows one to run Windows software on Linux computers. Which works very well for quite a few Windows applications. I use it to run the LTSpice circuit simulator from Analog Devices on Debian Linux. Wine is Not an Emulator. Wine ...
by Heater
Tue Jan 22, 2019 11:20 am
Forum: Python
Topic: Learn Python 2 or 3 and how?
Replies: 15
Views: 315

Re: Learn Python 2 or 3 and how?

Sure they will. Users will continue with Python 3...

Oh, you meant the Python developers :)
by Heater
Tue Jan 22, 2019 6:57 am
Forum: Python
Topic: Learn Python 2 or 3 and how?
Replies: 15
Views: 315

Re: Learn Python 2 or 3 and how?

Yes, if it's not green and fury or otherwise objectionable whatever is in the fridge is still good for me. Python 2 is green an fury. If "The intention is to stop supporting and maintaining Python 2" then I certainly don't want to be wasting my time creating things with it unless I really have to. B...
by Heater
Mon Jan 21, 2019 10:29 pm
Forum: C/C++
Topic: Coding (C++) KeDei displays?
Replies: 5
Views: 115

Re: Coding (C++) KeDei displays?

Your question is what exactly?

If you have hardware then you need the hardware vendor to disclose how your software can use it.

Else you are lost in the dark and depending on people to reverse engineer it to make it work.
by Heater
Mon Jan 21, 2019 3:24 pm
Forum: General discussion
Topic: copyright/patent
Replies: 7
Views: 265

Re: copyright/patent

opbhatia, Is/Are there any copyright/patent issues that I need to be aware of using the raspberry pi for this application .and if any, how same can be streamlined If you are going to use Raspbian or similar Linux based operating system then yes. Loaded with copy right licenses for every package it i...
by Heater
Mon Jan 21, 2019 10:52 am
Forum: Networking and servers
Topic: Mirroring mysql
Replies: 4
Views: 85

Re: Mirroring mysql

mysqldump might be what you are looking for:
https://mariadb.com/kb/en/library/mysqldump/

You will have to arrange some means to copy the dump file from your Pi to you other server.

I presume when you say "synchronize" you mean one way not both ways.
by Heater
Mon Jan 21, 2019 6:39 am
Forum: General discussion
Topic: DIY Webcam in Finland
Replies: 17
Views: 358

Re: DIY Webcam in Finland

You might be interested to know... It's 8:30am here in Helsinki and has just become light enough for the street lights to switch off a couple of minutes ago.
by Heater
Mon Jan 21, 2019 6:22 am
Forum: General discussion
Topic: DIY Webcam in Finland
Replies: 17
Views: 358

Re: DIY Webcam in Finland

I guess if mobile bandwidth crowding became a problem one could arrange to snap the pictures during the day and post them to the net in the middle of the night or whatever quite time. I'm surprised you found such a poor coverage area. Aside: This worst mobile connectivity I ever saw was in San Jose,...
by Heater
Mon Jan 21, 2019 6:15 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1291
Views: 41179

Re: Why Avoid BASIC on RPi?

ejolson, Oh boy, Mariani-Silver algorithm... When us young guys came across the Mandlebrot set and all things fractally in the early 1980's productivity of the whole software project team dropped to zero for a month as we got absorbed in writing our own codes for it. Fractals were all the rage for s...
by Heater
Mon Jan 21, 2019 5:48 am
Forum: General discussion
Topic: DIY Webcam in Finland
Replies: 17
Views: 358

Re: DIY Webcam in Finland

80mA from a typical car battery is already almost 40 days of run time. Let's say one amp for the whole thing, inc modem. Powered up for one hour per day is about 60 days. Powered up for one minute per day, 3600 days ! All off the top of my head, check the figures and math yourself, but I believe sho...
by Heater
Mon Jan 21, 2019 5:10 am
Forum: C/C++
Topic: C++ IDE
Replies: 40
Views: 4614

Re: C++ IDE

OK then, how about creating the GUI in a web page, with all the advantages that brings, but use C++ at the server end. Some suggestions here: https://www.reddit.com/r/cpp/comments/4945z3/what_is_the_best_c_webserver_framework/ Or: https://github.com/eidheim/Simple-Web-Server Interesting that same gu...
by Heater
Mon Jan 21, 2019 5:03 am
Forum: General discussion
Topic: DIY Webcam in Finland
Replies: 17
Views: 358

Re: DIY Webcam in Finland

Just now dawn is at 8.08am, dusk is 16.55. Temperature this morning: -12C On the shortest day, Dec 21st, dawn was at 9.23am dusk at 15:12pm. You can check from here: https://www.timeanddate.com/sun/finland/helsinki?month=12&year=2018 Powering up for a few minutes once per should give you plenty of b...
by Heater
Mon Jan 21, 2019 4:51 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1291
Views: 41179

Re: Why Avoid BASIC on RPi?

ejolson, I'm not sure what's going on in California and a web search didn't help me. I'm not a great one for following the news but as far as I can tell large parts of California have been on fire all last summer, every one is blaming it on the power company, Pacific Gas and Electric Company, has de...
by Heater
Sun Jan 20, 2019 7:35 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1291
Views: 41179

Re: Why Avoid BASIC on RPi?

There is one thing I think I can be sure of: I wrote an FFT for the Parallax Propeller multi-core micro-controller. To my amazement I could get a usable speed up when using OpenMP to spread that over two or four cores. Not anything like linear but useful. Given the Propeller only has 32K Bytes of RA...
by Heater
Sun Jan 20, 2019 7:23 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1291
Views: 41179

Re: Why Avoid BASIC on RPi?

Ah, but, I don't believe that HPX does create the entire directed graph of execution first, before it actually does any work. Even if I may have implied as such above. Rather it is spawning threads, growing graph, executing threads, which "prunes" the graph, all dynamically as it runs. Either way, s...
by Heater
Sun Jan 20, 2019 6:44 pm
Forum: C/C++
Topic: C++ IDE
Replies: 40
Views: 4614

Re: C++ IDE

That's a shame. learning new languages can be fun. Assuming they have something different to offer. Getting them to jump on Pi projects that interact with real things in the real world is even more fun.

By the way, what is it you actually want to make with this C++ GUI, if you don't mind me asking?
by Heater
Sun Jan 20, 2019 6:40 pm
Forum: General discussion
Topic: DIY Webcam in Finland
Replies: 17
Views: 358

Re: DIY Webcam in Finland

Oh yeah, just now the sun skims the roof tops of the buildings on the other side of the road a blasts very brightly, horizontally, into here for a couple of hours each day. It's glorious, 30cm of new white snow, blue sky and blinding light! Only down to -12C so far... So apart from the lack of power...
by Heater
Sun Jan 20, 2019 3:17 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1291
Views: 41179

Re: Why Avoid BASIC on RPi?

ejolson, I don't think async futures are any better for the kind of recursive parallelism being exploited in the Karatsuba algorithm... TL;DR The following is my rambling on HPX parallel processing as I try to understand what they are up to with it.... I think I have realized what the HPX guys are t...
by Heater
Sun Jan 20, 2019 3:08 pm
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1291
Views: 41179

Re: Why Avoid BASIC on RPi?

ejolson, Scrolling a million digits through a GUI is likely to take some time. That is what I surmise. I guess I'm a little bit surprised that it does not dump the entire output into buffers, including the final output of "time" and then the buffers get scrolled to the screen more leisurely pace. Si...
by Heater
Sun Jan 20, 2019 11:58 am
Forum: C/C++
Topic: C++ IDE
Replies: 40
Views: 4614

Re: C++ IDE

Ah the infamous TIOBE index. An index ranking languages in terms of complexity, difficulty and confusion. After all, these are the languages with the most tutorials, books, courses, stack overflow questions. If they were easy those would not be needed and the language would rank very low down. Anywa...
by Heater
Sun Jan 20, 2019 11:27 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 1291
Views: 41179

Re: Why Avoid BASIC on RPi?

Possibly, maybe... $ g++ -O2 -march=native -mtune=native -DUSE_OMP -fopenmp -std=c++17 -o fibo_karatomp fibo_4784969/c++/fibo_karatsuba.cpp fibo_4784969/c++/fibo.cpp $ time ./fibo_karatomp > /dev/null real 0m0.244s user 0m1.219s sys 0m0.109s $ g++ -O3 -march=native -mtune=native -DUSE_OMP -fopenmp -...

Go to advanced search