Saturday, February 10, 2018

pstate-frequency new stuff

pstate-frequency now supports a new option syntax for --min and --max!

Instead of having to specify a hardcoded number value for min and max, you can now also specify values in the format '+number' which pstate-frequency will interpret as 'SYSTEM_CPU_MIN + number'.

This is especially beneficial for the powersave plan which will now set the cpu min frequency to the system minimum, and the max frequency to the system minimum + 30. This number may be adjusted in future releases.

The syntax should work on both command line invocations as well as via power plan configuration files.

Have fun!

========================
Follow pyamsoft around the Web for updates and announcements about the newest applications!
Like what I do?

Send me an email at: pyam.soft@gmail.com
Or find me online at: https://pyamsoft.blogspot.com

Follow my FaceBook Page
Follow my Google+ Page
=========================

Wednesday, February 7, 2018

More Licensing

I discovered this morning that in a normal state, the Apache2 license is not compatible with the GPLv2.

Since so many of the library dependencies used in pyamsoft applications are Apache2, this was not good. I have decided, as sole contributor to all pyamsoft projects, to relicense all Android pyamsoft projects under the Apache2 license.

Any releases going forward will be under this new license, the older releases which were under the GPLv2 will still respect that license at least in respect to my original code.

Please let me know if there are any other license issues noticed, I do not want to breach the terms of any licenses, and they are very confusing.

 Releases going out later today, stay tuned!

========================
Follow pyamsoft around the Web for updates and announcements about the newest applications!
Like what I do?

Send me an email at: pyam.soft@gmail.com
Or find me online at: https://pyamsoft.blogspot.com

Follow my FaceBook Page
Follow my Google+ Page
=========================

Saturday, January 13, 2018

scripts tools and things

I like things. I like new things. I like learning about these new things.

For about the past month now or so, I've been using bubblewrap to jail the launching of applications on my Linux box. By itself, bubblewrap is very plain and kind of weird to configure, but with a little massaging it can actually end up being very nice to use. I have it configured to create private directories for each application that launches under bubblewrap, and I have aliased many applications in my environment. Some require a bit of extra special care, but most launch painlessly. It's pretty neat, but still can't do some of the things that firejail used to do.

One of the things that I bubblewrapped as an excercise in configuring the system was Lollypop which is basically one of my favorite applications ever. Its just so good at its job. It launches a file portal to work with flatpak, but for some reason, it never played quite nice on my system, so I had to work around it with some scripting voodoo. But its still awesome, and its one of the few applications on my machine that is always open, along with Firefox, and Android Studio (and Steam but shh).

The last nugget I have for today is this thing called paprefs which is a preference frontend for PulseAudio (which I'm sure most all of you are using). It has this neat little checkbox for "Simultaneous Output" which will allow you to play the same application audio stream to all the things at once. I use it to play audio to a pair of headphones as well as a speaker so that I can have directional audio, but the other people with me will still be able to hear. It's neat, check it out.

Now to figure out JACK server and how to use MIDI, and then figure out VGA passthrough - or SPICE - depending on if I will ever be able to buy another graphics card.

Keep on keeping on.

========================
Follow pyamsoft around the Web for updates and announcements about the newest applications!
Like what I do?

Send me an email at: pyam.soft@gmail.com
Or find me online at: https://pyamsoft.blogspot.com

Follow my FaceBook Page
Follow my Google+ Page
=========================

ipwaiter

I made a thing.

The ipwaiter is a script which is meant to help client machines (not really for servers, but it can work) handle the accepting and blocking of packets on specific ports.

ipwaiter is like an extremely simplified firewalld, if firewalld was written by a single person in a couple of hours using only shell script with the only goal of serving the author's specific use cases. Yeah.

ipwaiter handles the firewall as if it were a collection of services - or in keeping with our restaurant related theme - orders. Orders are simple configuration files that use iptables syntax - but do not include the chain name - and can do anything that iptables can do. The difference is that these orders are injected into three special chains -  input_orders, forward_orders, and output_orders. The ipwaiter can dynamically add and remove orders from these chains, meaning that you can - for example - only support SSH connections when you are ready to launch an SSH server, or only accept KDEConnect connections when you are on specific wifi networks.

Of course, since the tool is currently extremely KISS, you would have to script many of these situations on your own. But please, feel free to contribute new orders if you think they are neat or helpful for a client machine.

The tool is very hands off, meaning it will not add these new order chains to your iptables rules anywhere, you are welcome to incorporate them wherever you want to in your packet rules. The only caveat, is that the ipwaiter expects it has exclusive control over these order chains, and will not hesistate to completely remove all rules in them when told to.

For some inspiration, I currently use the script to open up input ports for Steam to host local games when I have a game client open, and then automatically close up these ports when the game closes. I launch the KDEconnect services only when I am connected to my home wifi, and remove the order once I leave or drop connection.

I think it's neat, and maybe you will too.
GitHub
AUR package

========================
Follow pyamsoft around the Web for updates and announcements about the newest applications!
Like what I do?

Send me an email at: pyam.soft@gmail.com
Or find me online at: https://pyamsoft.blogspot.com

Follow my FaceBook Page
Follow my Google+ Page
=========================

Whats up

Buncha cruncha stuff.

Everything uses ConstraintLayout now since it's the new hotness.

Better shadows, better perception of depth and liveliness on views and all that good stuff.

Screenie is a new screenshot cropping tool I'm working on. It's ugly currently, but it works to take cropped screenshots and then save, share, whatever them.

PadLock bugfixes, ZapTorch bugfixes, better support when in the smallest flavor of multi-window mode, all that good stuff.

Hoping for later this week or next week, we'll see. Stay tuned.

========================
Follow pyamsoft around the Web for updates and announcements about the newest applications!
Like what I do?

Send me an email at: pyam.soft@gmail.com
Or find me online at: https://pyamsoft.blogspot.com

Follow my FaceBook Page
Follow my Google+ Page
=========================

Tuesday, November 21, 2017

Accessibility Services and You

PadLock, Pasterino, and ZapTorch all rely on Accessibility Services to function.

Recently, the big G began sending take down notices for apps that are using Accessibility without targeting people with disabilities, and PadLock was flagged as not complying with the big G's terms of service.

As such, PadLock is being re-written to not use the Accessibility framework. While the behavior of the application should largely remain the same, the performance may suffer slightly and the app may be less reliable since it does not have access to the same powerful tools that it once did. As an unfortunate side effect, any users below Lollipop 5.1 (API 22) will be unable to use the updated version of the app. If you are stuck on an older version of Android such as KitKat or Lollipop, the final released update to PadLock will be version 2.3.3, and you will no longer receive any more updates to the application, as it is using an unsupported Accessibility service.

For the time being, it seems that Pasterino and ZapTorch are not being targeted, which is nice since for these applications there is literally no alternative to replace their functionalities.

Updates coming most likely tomorrow.

========================
Follow pyamsoft around the Web for updates and announcements about the newest applications!
Like what I do?

Send me an email at: pyam.soft@gmail.com
Or find me online at: https://pyamsoft.blogspot.com

Follow my FaceBook Page
Follow my Google+ Page
=========================

Monday, October 30, 2017

AAPT2 and PYDroid

AAPT2 has a strange issue it seems.

Let me explain how the PYDroid library is structured:

There is a core library, pydroid, which handles some extremely basic stuff that is common to all pyamsoft apps. Building off of this basic library is pydroid-util, which as the name suggests, includes utility functions that are not always needed. Building off of the pydroid-util library is the pydroid-ui and pydroid-loader libraries, which power much of the UI commonality you observe in pyamsoft Android applications.

When building Home Button today using the new Android Studio 3 goodies, I found that it was unable to fully build the project due to some resource errors, where application dependency's dependencies were not pulled into the main application. This meant that if pydroid relied on RxJava for example, it would not actually be pulled in to an application which relied on PYDroid, and so the application would either fail to build or crash when it finally did run.

It seems that changing the pydroid library's build.gradle file from using the new api and implementation syntax back to the old compile syntax fixed this issue. It's unfortunate though, since Android Studio 3 builds a lot faster with its new syntax, but it is fundamentally broken. I hope to port over the rest of the pyamsoft Android applications to the Android Studio 3 syntax now that this library issues has been resolved, and release an update later this week.

Stay tuned.

========================
Follow pyamsoft around the Web for updates and announcements about the newest applications!
Like what I do?

Send me an email at: pyam.soft@gmail.com
Or find me online at: https://pyamsoft.blogspot.com

Follow my FaceBook Page
Follow my Google+ Page
=========================

Tuesday, October 17, 2017

Updates rolling out

Updates to all Android applications have been submitted to the store and should be live soon.

pstate-frequency was recently updated to 3.8.0 which cleans up the code base and removes support for the confusing x86_energy_perf_policy tool.

update-hosts was updated recently to include other blocklists such as cliqz tracking as well as admiral tracking.

Stay tuned.

========================
Follow pyamsoft around the Web for updates and announcements about the newest applications!
Like what I do?

Send me an email at: pyam.soft@gmail.com
Or find me online at: https://pyamsoft.blogspot.com

Follow my FaceBook Page
Follow my Google+ Page
=========================

Sunday, October 1, 2017

License updates

Hey, so just a heads up.

All pyamsoft projects have been, or intend to be updated to use the GPLv2 license.

While this software license is perhaps slightly invasive with its "every derivate must also be GPL compatible" kind of virulent behavior, I do this for a couple of reasons.

1. I highly doubt anyone has actually taken the time to fork the projects, so this should not disrupt other projects. If your project was a fork of the original however, older versions are still licensed under Apache2 or MIT, and you are welcome to continue off from those older versions.

2. The GPL encourages the release of source code, which aside from software freedom (which is not really the main goal here) allows for any improvements made to the project by forks to be contributed back to the main project. This helps foster learning and new knowledge.

The projects were originally open sourced with the idea that because I had learned so much from reading open source projects to see their structure, others should be able to learn from me.

3. This will hopefully also discourage malicious knock off applications which simply copy the source code of the original application and then change the icons or text around a bit - effectively software plagiarism.

By making these licensing changes, I do not do so with the intent to harm other projects or prevent the growth of new softwares. I simply wish to create a positive feedback loop, wher new improvements to forks of the projects are given back to the community in an open and knowledge-encouraging way.

Thanks, and stay tuned for some actual Android updates, as well as some stuff from pstate-frequency, and thoughts about a next project.

========================
Follow pyamsoft around the Web for updates and announcements about the newest applications!
Like what I do?

Send me an email at: pyam.soft@gmail.com
Or find me online at: https://pyamsoft.blogspot.com

Follow my FaceBook Page
Follow my Google+ Page
=========================

Tuesday, September 26, 2017

Delays

So I was supposed to update a while back.

But then I bought a new computer.

Then I returned said computer to buy a different one.

Now, with a working build inside of the tiny Metis Plus, I've found the time to prepare and upload the updates to all pyamsoft applications. They are currently sitting on the Play Store in open Beta, just waiting to be released.

Stay tuned.

========================
Follow pyamsoft around the Web for updates and announcements about the newest applications!
Like what I do?

Send me an email at: pyam.soft@gmail.com
Or find me online at: https://pyamsoft.blogspot.com

Follow my FaceBook Page
Follow my Google+ Page
=========================