Go to advanced search

by ab1jx
Wed Jan 02, 2019 8:40 pm
Forum: General discussion
Topic: Why didn't we go with Mali?
Replies: 157
Views: 26764

Re: Why didn't we go with Mali?

The answer in my case https://stackoverflow.com/questions/298 ... -mfpu-neon

And
cpuminer currently has no specialized code for AArch64.
https://github.com/pooler/cpuminer/issues/177
by ab1jx
Wed Jan 02, 2019 7:17 pm
Forum: General discussion
Topic: Why didn't we go with Mali?
Replies: 157
Views: 26764

Re: Why didn't we go with Mali?

I didn't examine configure but the error message was that the compiler couldn't create executables, meaning compiling some test program in configure failed. Without the neon part it does work. It may not be the right way to test it, and interesting that it works on a Pi at 32 bits but not on a Rock6...
by ab1jx
Wed Jan 02, 2019 5:20 pm
Forum: General discussion
Topic: Why didn't we go with Mali?
Replies: 157
Views: 26764

Re: Why didn't we go with Mali?

My Rock64 surprised me last night though, it doesn't have Neon (the processor type). I had built Pooler's cpuminer https://github.com/pooler/cpuminer on a couple Pis and had it work nicely. I hadn't looked at it since he wrote assembly language for ARM , which does require compiling with "-mfpu=neon...
by ab1jx
Sun Dec 30, 2018 1:31 am
Forum: General discussion
Topic: Password storage idea
Replies: 16
Views: 1517

Password storage idea

I'm just passing this along because it seems to work for me, I've been doing it a year and a half or so and don't see any drawbacks. No, I'm not going to tell you how to arrange your socks too. In a secure place, I use /root/pwd, I have lots of files with names like 2017-07.txt, 2018-11.txt. Each fi...
by ab1jx
Fri Dec 28, 2018 5:56 pm
Forum: General discussion
Topic: An LXDE Bitcoin ticker?
Replies: 13
Views: 2615

Re: An LXDE Bitcoin ticker?

I figured out that: When the timing on the old setting is up it refreshes. It isn't until that refresh that you actually see something. So it takes 2 timer cycles. After the first refresh I see "btc-0" which is the blank default. When it refreshes again I see a reading. Just let it sit is the lazy w...
by ab1jx
Wed Dec 26, 2018 9:54 pm
Forum: General discussion
Topic: An LXDE Bitcoin ticker?
Replies: 13
Views: 2615

Re: An LXDE Bitcoin ticker?

If you set the width to 60 (pixels I guess) like: gtk_widget_set_size_request(p, 60, 25); it looks like this. btc_width60.png Of course we want the the price to go soaring back into 5 digit values so that'll need another adjustment. Or not, it seems to be left-justified in that space. I'm learning G...
by ab1jx
Wed Dec 26, 2018 3:56 pm
Forum: General discussion
Topic: An LXDE Bitcoin ticker?
Replies: 13
Views: 2615

Re: An LXDE Bitcoin ticker?

Consider this an Alpha release. In particular you should have a shortcut to your terminal emulator on your desktop and probably mc installed as well. Configuration is manual, and if you botch it your taskbar, pager, menu, all that goes away. If you can edit ~/.config/lxpanel/LXDE-pi/panels/panel you...
by ab1jx
Tue Dec 25, 2018 1:58 am
Forum: General discussion
Topic: An LXDE Bitcoin ticker?
Replies: 13
Views: 2615

Re: An LXDE Bitcoin ticker?

Working (maybe), far from pretty and polished. But that 3936 got in there from somewhere. woohoo btc1.png It should update every 10 minutes. Nothing happened until the first 10 minutes had gone by, I can fix that. No currency symbol, it's US $. There are different json files for different currencies...
by ab1jx
Sun Dec 23, 2018 11:40 pm
Forum: Troubleshooting
Topic: In LXDE, saving Weather Preferences?
Replies: 23
Views: 2273

Re: In LXDE, saving Weather Preferences?

OK, I found a workaround. As the pi user, type sudo lxpanelctl config Add the weather panel applet, configure it using the Preferences button, click OK. The dialog stays open, so close it with the X in the upper right. As soon as your location is entered you should see the result by a temperature an...
by ab1jx
Sun Dec 23, 2018 9:52 pm
Forum: Troubleshooting
Topic: In LXDE, saving Weather Preferences?
Replies: 23
Views: 2273

Re: In LXDE, saving Weather Preferences?

The original LXDE isn't this one by any chance? https://github.com/raspberrypi-ui/lxpanel I was looking for examples of how to insert user data into my Bitcoin ticker and found it. /usr/include/lxpanel/plugin.h is the best documentation I've found so far. I've never worked on a library before I don'...
by ab1jx
Sat Dec 22, 2018 6:54 pm
Forum: General discussion
Topic: An LXDE Bitcoin ticker?
Replies: 13
Views: 2615

Re: An LXDE Bitcoin ticker?

I couldn't resist plotting some historical price data I found at http://api.bitcoincharts.com/v1/csv/ Most of the time I don't care about the price but when it's low like now I'm buying but sometimes it goes lower so waiting would have gotten a better deal. Recent low has been around $4000 and high ...
by ab1jx
Sat Dec 22, 2018 3:27 am
Forum: General discussion
Topic: An LXDE Bitcoin ticker?
Replies: 13
Views: 2615

Re: An LXDE Bitcoin ticker?

It's not much to look at, but I don't seem to be able to put 2 images into one post. It's just the "TP-1" in my tray here between the clock and pager. Nothing happens on mouseover, there's a greyed-out settings on right-click because I don't have a settings subroutine yet so it's a null pointer lead...
by ab1jx
Sat Dec 22, 2018 3:23 am
Forum: General discussion
Topic: An LXDE Bitcoin ticker?
Replies: 13
Views: 2615

Re: An LXDE Bitcoin ticker?

OK, this was more fun than the paperwork I should have been doing so I built the example. I installed lxpanel-dev, which also installed libfm-dev, libfm-extra-dev, libfm-gtk-dev My makefile was CC = gcc lxt1: lxtest1.c $(CC) -Wall `pkg-config --cflags gtk+-2.0 lxpanel` -shared -fPIC \ lxtest1.c -o t...
by ab1jx
Fri Dec 21, 2018 11:55 pm
Forum: General discussion
Topic: An LXDE Bitcoin ticker?
Replies: 13
Views: 2615

Re: An LXDE Bitcoin ticker?

If you look at https://wiki.lxde.org/en/How_to_write_plugins_for_LXPanel supposedly you can write an LXDE plugin with 10 lines of code. I haven't tried it yet. Many of the major bitcoin sites like bitfinex and bitcoinwisdom have APIs so you could write something to pull a current price. You'd probab...
by ab1jx
Fri Dec 21, 2018 11:39 pm
Forum: General discussion
Topic: Can I use a 5 Volt 3 Amp power supply for my RPi2?
Replies: 13
Views: 2147

Re: Can I use a 5 Volt 3 Amp power supply for my RPi2?

Voltage drop in a cable is a bear. OTOH normal desktop computers have power supplies good for 30 amps or more on the 5 volt bus. If the USB current limit isn't too strictly enforced plugging a USB-microusb cable into a spare USB port on the desktop then plugging that into a Pi's power connector shou...
by ab1jx
Thu Dec 20, 2018 5:08 pm
Forum: General discussion
Topic: An LXDE Bitcoin ticker?
Replies: 13
Views: 2615

Re: An LXDE Bitcoin ticker?

I just looked again and found this: https://github.com/schnogz/razpi-electron-btc-ticker https://cloud.githubusercontent.com/assets/6364918/23106313/0fc85ab0-f6b1-11e6-850f-0c27e75b044c.png I haven't tried it yet. All I wanted was a single number, the current price. This has boatloads of dependencie...
by ab1jx
Tue Dec 11, 2018 10:36 pm
Forum: Troubleshooting
Topic: In LXDE, saving Weather Preferences?
Replies: 23
Views: 2273

Re: In LXDE, saving Weather Preferences?

Only 1 image allowed per post I guess. Anyway I could take the displayed coordinates and plug them into Google Maps (standard Android app) and see that this weather station is in fact the one I wanted, by the map. It's in the same building with the local post office. Screenshot_2018-12-11-17-08-13.p...
by ab1jx
Tue Dec 11, 2018 8:38 pm
Forum: Troubleshooting
Topic: In LXDE, saving Weather Preferences?
Replies: 23
Views: 2273

Re: In LXDE, saving Weather Preferences?

Just comparing Meteo-qt with the default LXDE weather, Meteo on the left. wxcompare.jpg There's a "Launch at Startup" checkbox in the Meteo settings, and of course you can turn the LXDE one back off from "Add/remove Panel Items" so this can effectively replace the LXDE one. I think it's a bit of ext...
by ab1jx
Tue Dec 11, 2018 12:05 am
Forum: Troubleshooting
Topic: In LXDE, saving Weather Preferences?
Replies: 23
Views: 2273

Re: In LXDE, saving Weather Preferences?

OK, what he did was tweak it so it pulls lat & long from the Openweathermap data base along with the city name. So at least it's possible to match a weather station against your location. matching.png The selected line in the top list is the closest match to my /var/www/myloc.json file in blue (mc v...
by ab1jx
Mon Dec 10, 2018 2:15 pm
Forum: Troubleshooting
Topic: In LXDE, saving Weather Preferences?
Replies: 23
Views: 2273

Re: In LXDE, saving Weather Preferences?

I'm not sure whether to take him seriously or not: Great i will add this feature to search by geographic coordinates Wait and see what happen I guess. The conversation: https://github.com/dglent/meteo-qt/issues/78 It's nicer (has more features) than the LXDE weather. Written in Python evidently, sit...
by ab1jx
Sat Dec 08, 2018 2:47 am
Forum: Troubleshooting
Topic: In LXDE, saving Weather Preferences?
Replies: 23
Views: 2273

Re: In LXDE, saving Weather Preferences?

That's a shortcoming in meteo-qt (only cities), openweathermap.org lets you pick by city, lat and long, or zip code. And you can get XML or JSON. https://openweathermap.org/current You can even request up to 20 locations at once. Sounds like it's worth working with. A single user just reading is fre...
by ab1jx
Fri Dec 07, 2018 11:55 pm
Forum: Troubleshooting
Topic: In LXDE, saving Weather Preferences?
Replies: 23
Views: 2273

Re: In LXDE, saving Weather Preferences?

This board software keeps jumbling images and dropping some. This is the second time I've seen it. Expanded Meteo looks like
meteo_expanded.png
meteo_expanded.png (57.88 KiB) Viewed 2031 times
Except I don't know which location (search by city only) to pick, or where this is.
by ab1jx
Fri Dec 07, 2018 11:52 pm
Forum: Troubleshooting
Topic: In LXDE, saving Weather Preferences?
Replies: 23
Views: 2273

Re: In LXDE, saving Weather Preferences?

I have Meteo-qt https://github.com/dglent/meteo-qt running in addition to the LXDE at the moment. It uses a feed from openweathermap.org that you have to register and get an API key for. But it's from Europe somewhere I guess, they think a city and country are enough to specify a location. Latitude ...
by ab1jx
Fri Dec 07, 2018 2:37 pm
Forum: Troubleshooting
Topic: In LXDE, saving Weather Preferences?
Replies: 23
Views: 2273

Re: In LXDE, saving Weather Preferences?

I also don't like being limited to Yahoo weather which is never right in my case. As it turns out there are plenty of alternative formats. http://michaelwelburn.com/2011/11/02/comparing-weather-apis/ A couple years ago my internet access was dial-up late at night so as not to tie the phone line up. ...
by ab1jx
Thu Dec 06, 2018 6:52 pm
Forum: General discussion
Topic: Could somebody update Bitcoin Electrum in the debs?
Replies: 5
Views: 576

Re: Could somebody update Bitcoin Electrum in the debs?

I couple years ago I hopelessly trashed a Debian installation by messing with stuff in unstable, I don't want to go there again. I uninstalled the Electrum debs I had. Downloaded https://download.electrum.org/3.2.3/Electrum-3.2.3.tar.gz, untarred it. Then the recommended sudo apt-get install python3...

Go to advanced search