Go to advanced search

by hippy
Tue Oct 16, 2018 7:56 pm
Forum: Android
Topic: Finding any Android OS
Replies: 12
Views: 281

Re: Finding any Android OS

DarkPlatinum wrote:
Tue Oct 16, 2018 7:45 pm
Since you took his/her question this way i think I stand corrected. Sorry if i have been a nuisance to you. :?
No problem. If I do say things which are wrong I don't mind being corrected and being made better informed. That helps me and ultimately everyone else.
by hippy
Tue Oct 16, 2018 7:42 pm
Forum: Android
Topic: Finding any Android OS
Replies: 12
Views: 281

Re: Finding any Android OS

Please do tell me what "false information" I am supplying. Your statement: "Probably not." This may cause the OP to think differently about what Android platform we are discussing here. ;) I don't know what to say because what I wrote still seems reasonable to me. I took "Does this Emteria.OS, line...
by hippy
Tue Oct 16, 2018 5:49 pm
Forum: Python
Topic: BMP280 Python Script for Thingspeak
Replies: 1
Views: 26

Re: BMP280 Python Script for Thingspeak

This may help as it includes code which seems to do exactly that, albeit for a different sensor, and with a minor bug in the code -

https://www.raspberrypi.org/forums/view ... 2&t=224748
by hippy
Tue Oct 16, 2018 5:45 pm
Forum: General discussion
Topic: Cannot copy SD - no "copy to " selection.
Replies: 10
Views: 359

Re: Cannot copy SD - no "copy to " selection.

I MAY update / upgrade WHEN and IF there is an official note to solve this issue. It is annoying , but I cannot risk another failure ( recent upgrade wiped out my Internet access ) and there are workarounds to backup my RPi OS for now. As others have said; you seem to have a very broken and damaged...
by hippy
Tue Oct 16, 2018 5:20 pm
Forum: Android
Topic: Finding any Android OS
Replies: 12
Views: 281

Re: Finding any Android OS

Does this Emteria.OS, lineage OS work with any android apps? Probably not. But as long as you don't need to use something those versions of Android don't support you should be fine. Probably not. But as long as you don't need to use something those versions of Android don't support you should be fi...
by hippy
Tue Oct 16, 2018 3:28 pm
Forum: Python
Topic: Speed of indexing vs looping
Replies: 9
Views: 169

Re: Speed of indexing vs looping

Ah, forgotten Python was a bit pants with character manipulation. It can be. The moral is: If the Python interpreter can do it for you; let the Python interpreter do it. It will almost always do it quicker than you can do it yourself. Of course, in most cases it doesn't matter. Either that DIY will...
by hippy
Tue Oct 16, 2018 2:30 pm
Forum: Python
Topic: Speed of indexing vs looping
Replies: 9
Views: 169

Re: Speed of indexing vs looping

But again, that very inefficient. You are creating an entirely new string, one character at a time. All you want to do is compare. ... or something. Which will also be inefficient, creating two single character strings as it goes. That's all Python allows for. Underneath the hood it's different. Bu...
by hippy
Tue Oct 16, 2018 2:12 pm
Forum: General discussion
Topic: Raspi Zero W not showing up as an RNDIS gadget
Replies: 10
Views: 215

Re: Raspi Zero W not showing up as an RNDIS gadget

on windows 7, it is no longer working as it used to. It is giving me an error message when I try and establish a VNC connection to it. You need to go one level back; check Device Manager to see what that shows. Do you even get the familiar device detected 'be-bip' sound when the USB to the Pi is pl...
by hippy
Tue Oct 16, 2018 11:28 am
Forum: Mathematica
Topic: Matematica removed from raspbian image
Replies: 29
Views: 1484

Re: Matematica removed from raspbian image

The huge majority of people don't use Mathematica, and had to download it (700MB of the image was Mathematica!) anyway. And it could make a simple apt udpate take forever. On the whole, not having it distributed by default is a win for most people. Having it in the repo is a much better option, if ...
by hippy
Tue Oct 16, 2018 10:58 am
Forum: Android
Topic: Finding any Android OS
Replies: 12
Views: 281

Re: Finding any Android OS

Does this Emteria.OS, lineage OS work with any android apps? Probably not. But as long as you don't need to use something those versions of Android don't support you should be fine. Can you tell me a little about them and what makes then good to use? They are Android. Lineage OS works, is free and ...
by hippy
Tue Oct 16, 2018 10:46 am
Forum: Raspbian
Topic: vcgencmd get_throttled
Replies: 3
Views: 141

Re: vcgencmd get_throttled

My guess would be that the bits reflect the new throttling option the P3B+ has which kicks in at 60C before the usual throttling kicks in at 70C - https://www.raspberrypi.org/forums/viewtopic.php?t=217056 You could maybe setup a script which reports temperature and throttled values to see if there's...
by hippy
Tue Oct 16, 2018 9:26 am
Forum: Python
Topic: Speed of indexing vs looping
Replies: 9
Views: 169

Re: Speed of indexing vs looping

You really need to start at the level of simply reversing a string - def ReverseString(s): o = "" for c in s: o = c + o return o s = "Palindrome" print( ReverseString(s) ) print( s[::-1] ) The main reason the second print is much faster is that the string reversal is done in one hit with a simple ca...
by hippy
Mon Oct 15, 2018 6:24 pm
Forum: Raspbian
Topic: Is it Time to force Raspbian password change on initial login
Replies: 39
Views: 1032

Re: Is it Time to force Raspbian password change on initial login

Achtung!! Ve haf our vays to make you conform. Seig Heil! The primary purpose of government, local or national, is to act in the best interests of the people it represents and to keep them safe from harm. Enacting laws, imposing rules and regulations, is the way which governments have always done t...
by hippy
Mon Oct 15, 2018 12:53 pm
Forum: Advanced users
Topic: Diskless booting Zeroes from Windows
Replies: 73
Views: 2000

Re: Diskless booting Zeroes from Windows

Finally reached the Thirteenth Level. Tried to turn monitor blanking off and that has screwed everything. Backed that change out but it's now not generating any config.txt and booting hangs. So it's a choice of trying a 6 hour 'make clean' hoping that fixes thing with a potential 18 hour all-in effo...
by hippy
Mon Oct 15, 2018 10:37 am
Forum: Python
Topic: how to get a value from a local hosted web page in to a python program
Replies: 4
Views: 195

Re: how to get a value from a local hosted web page in to a python program

could you are please may be youn give sample as receive date from web page ? The following will receive a whole web page - import socket import urllib socket = urllib.urlopen( url ) html = socket.read() socket.close() You would then need to parse the text in the 'html' variable to extract the speci...
by hippy
Mon Oct 15, 2018 9:22 am
Forum: Raspbian
Topic: Is it Time to force Raspbian password change on initial login
Replies: 39
Views: 1032

Re: Is it Time to force Raspbian password change on initial login

I really don't see the problem with the new versions that ask you for a new password. The problem is that it doesn't force a new password to be chosen and allowing a common default can have adverse consequences for everyone else in the wider community. The proposed Californian law, and the recommen...
by hippy
Mon Oct 15, 2018 12:31 am
Forum: Advanced users
Topic: Diskless booting Zeroes from Windows
Replies: 73
Views: 2000

Re: Diskless booting Zeroes from Windows

This results in a Pi Zero without a SD card running Raspbian where the root filesystem is accessed over the USB Ethernet gadget from a Windows PC. That is excellent news. I'm not sure how Windows file sharing compares in reliability to iSCSI or a NBD I have not noticed any problems whenever I have ...
by hippy
Sun Oct 14, 2018 5:11 pm
Forum: Python
Topic: "Error decoding JSON string (invalid or too deeply nested)
Replies: 7
Views: 145

Re: "Error decoding JSON string (invalid or too deeply nested)

R-A wrote:
Sun Oct 14, 2018 5:02 pm
Thanx, I somehow missed that :roll:
It's always the way :D Enjoy the rest of your journey now you're going again.
by hippy
Sun Oct 14, 2018 5:06 pm
Forum: Off topic discussion
Topic: Design your own 8$-RISC-V (may work with your pi)
Replies: 12
Views: 442

Re: Design your own 8$-RISC-V (may work with your pi)

Your total Investment (beside your time) is 8 USD (UPDuinoBoard V1). Thats realy low cost. I have always wanted to get into FPGA's but boards have historically been quite expensive, even prohibitively expensive, for someone who just wants to earn the 'done that' T-shirt. I have crafted quite a few ...
by hippy
Sun Oct 14, 2018 4:19 pm
Forum: Python
Topic: "Error decoding JSON string (invalid or too deeply nested)
Replies: 7
Views: 145

Re: "Error decoding JSON string (invalid or too deeply nested)

When POST'ing data in the URL, the variables behind the '&' can be posted in any sequence, as long as it's in-tact. i.e. &fulljson={"power1":100,"power2":200,"power3":300}&apikey=xxxxxxxxxxxxxxxxxx But note the & are all outside the JSON {....} not within it. '{"field1":%s & "field2":%s}' % (temp, ...
by hippy
Sun Oct 14, 2018 4:17 pm
Forum: Python
Topic: "Error decoding JSON string (invalid or too deeply nested)
Replies: 7
Views: 145

Re: "Error decoding JSON string (invalid or too deeply nested)

File "post_data.py", line 31 print conn.read() ^ SyntaxError: invalid syntax You need a closing bracket at the end of the urllib.open line. I suspect that was my mistake, and you grabbed a copy of what I posted before I corrected that post. Python has a habit reporting an error after the line the e...
by hippy
Sun Oct 14, 2018 4:08 pm
Forum: Troubleshooting
Topic: R36 knocked off Pi3 PCB, One analog audio channel is missing since
Replies: 1
Views: 99

Re: R36 knocked off Pi3 PCB, One analog audio channel is missing since

From the 2B circuit diagrams there are resistor dividers before the op-amp not shown on the 3B circuit. I would guess you knocked one of the 'top of the divider' resistors off. Not sure if you could jumper that to the SoC but you might be able to remove the other channel's, jumper both via resistors...
by hippy
Sun Oct 14, 2018 3:40 pm
Forum: Raspbian
Topic: Is it Time to force Raspbian password change on initial login
Replies: 39
Views: 1032

Re: Is it Time to force Raspbian password change on initial login

What part do you disagree with? The part where you said "there simply is no need for a password on shipment". Though it appears you may not have meant what I thought you meant by "no password". To me that meant the complete absence of a password, that one doesn't need to provide a password to gain ...
by hippy
Sun Oct 14, 2018 3:21 pm
Forum: Python
Topic: "Error decoding JSON string (invalid or too deeply nested)
Replies: 7
Views: 145

Re: "Error decoding JSON string (invalid or too deeply nested)

conn = urllib2.urlopen(baseURL + '&fulljson={"field1":%s&"field2":%s}' % (temp, humi)) Perhaps move what you are creating into a variable then include that variable in what you are submitting. Print the variable's content to check it's right, or more likely to see what's wrong in this case. data = ...
by hippy
Sun Oct 14, 2018 3:00 pm
Forum: Compute Module
Topic: Problems with rpiboot after mounting external sd card
Replies: 5
Views: 112

Re: Problems with rpiboot after mounting external sd card

Any ideas how to solve this? Delete or rename "bootcode.bin" on the SD Card. Or perhaps remove the SD Card, power-up then insert the card -- I have no idea how safe hot-insertion is. When "bootcode.bin" is present the Pi will try to boot from the SD Card before trying other means of booting so neve...

Go to advanced search