Author Archives: ccoupe

Moved the repo.

Due to almost popular demand I’ve moved the shoes3 repo from github:///Shoes3/shoes3 to github://shoes/shoes3 Back to the mothership! That means any bookmark you might have needs to be changed to https://github.com/shoes/shoes3

Shoes 3.3.4

Yup, another Shoes release. What’s New? systray. Moving and resizing windows. You can disable the image cache for the whole app or per image. Other than that there’s some bug fixes and some Shoes developer love. We also don’t support 32 bit linux anymore (it still builds if you really need it and are willing to do the work) We added FreesBSD 11.3 (64 bit) as a native port if you have the proper ports installed.

ChangeLog:

=== New with 3.3.4
  * Uses Ruby 2.3.4 (2.3.3 on Windows) and Rubygems 2.6.12+
    https://github.com/Shoes3/shoes3/issues/361 and
    https://github.com/Shoes3/shoes3/issues/270
  * New widget! - systray sends tiny status messages to the 
    host OS desktop.
    https://github.com/Shoes3/shoes3/issues/363
  * New platform - freebsd 11.1 (64). Can build, run, install and package for.
    https://github.com/Shoes3/shoes3/issues/365
  * Dead platform - 32 bit i686 (Linux intel) target is no longer supported
  * libcurl.dll/dylib/so and new gems are included with Shoes. require 'typhoeus'
    to use it. When net/http and open_uri is too confusing, arcane and limiting. 
    On Windows it's not faster (or slower) - just better in other ways. 
    see https://github.com/typhoeus/typhoeus
  * Method app.resize can programaticly expand the window.
    see https://github.com/Shoes3/shoes3/issues/370
  * Windows can be positioned 
    https://github.com/Shoes3/shoes3/issues/28
  * can enable/disable image cache
    https://github.com/Shoes3/shoes3/issues/323
    https://github.com/Shoes3/shoes3/issues/377
    See Advanced->appmethods in Manual.
    
=== Fixed with 3.3.4
  * When Shoes is installed on a system with existing rvm/rbenv it
    might use the wrong set of gems. 
  * Fixed some SSL issues for download and image (Windows).
    Ruby/Windows (net/http) ssl problems remain unfixed.
  * Improved Windows downloading speed - still sub-par but better than
    before. 
  * some downloaded images don't have an etag (cough, manual Image example)

=== Developer issues with 3.3.4
  * rake does a better job of dealing with changes in lib/shoes/*.rb, static/manual-en.txt
    and changes in samples/*/*.rb. You can change these without a full rebuild.
    https://github.com/Shoes3/shoes3/issues/362
  * new freebsd target (loose and tight shoes)

Other than that, nothing new. 🙂

3.3.4 beta – systray and

I’ve got a set of betas for 3.3.4 for windows, osx, pi and x86_64 linux. Here

You might notice that there is no 32 bit linux – why bother? It’s pain to support and nobody uses it. OSX Mavericks (10.9) is also likely to disowned in Shoes 3.3.4. It’s a real pain in the ass. That will not happen soon. But, it will happen.

What’s in Shoes 3.3.4 beta this month?

  • Systray
  • Typheous
  • A hack to get https urls working for Windows and OSX image and download methods.
  • Windows GUI speed improvements in general, most certainly for network things. Still too slow but a whole lot better that 3.3.3. Moves the meter from ‘really sucks’ to ‘almost doesn’t suck’

It’s highly likely that Typheous will be the recommended replacement for the use of net/http and open_uri when Shoes download is insufficient for networking needs. It’s a lot more understandable to programmers who need more than what Shoes download can do. See the README.md. Improvement? I think so.

The download performance and general friskiness of 3.3.4 on Windows is noteworthy. Sucks less and I think we could do better. There are SSL reasons and ruby-bugs why you don’t want to dig into net/http and open-uri

Quick look Shoes 3.3.4 – systray

Shoes 3.3.4 will probably have a systray pseudo widget. Beta for Windows for feedback. You can read the manual which has this test program

Shoes.app do
stack do
para "Press button and look in your systems notification area"
ctr = 0;
button "Notify" do
ctr += 1
icp = ''
if ctr % 3 != 0
icp = "#{DIR}/static/shoes-icon.png"
else
icp = "#{DIR}/static/shoes-icon-red.png"
end
systray title: "Notify Test", message: "message ##{ctr}", icon: icp
end
end
end

Please comment here.

Closing in on 3.3.3

There are Shoes 3.3.3 beta’s to download from and the Change Log is here.

What you don’t know, behind the scenes. It was a lot of work from core contributers and myself. And then some core panties got twisted too tight to work together and now it’s just me working on the C side of Shoes. I miss them. I’ll work through their bugs reports and suggestions as best I can because they are good things to do.

The New AI

I’m old enough to have experienced the AI dreams of the 1990’s – Lisp machines and Prolog and Neural Nets. I also remember
Hype cycle.
The curve is also valid for politics and social/cultural changes and even investing. I digress.

So, that said, my old AI crashed and burned to be resurrected as “deep learning” which appears to be on the slope of enlightenment section. Google amd Amazon and others used it to predict what you want next. What role could Shoes and Ruby add? Consider this presentation of tensor flow:

What role for Shoes? Easy dialogs and quick charts, perhaps?

Cleanup can be endless

After @backorder moved the Shoes C code into a more logical configuration and I changed the rakefile mess to leverage that – It’s quite developer friendly now if you are of the C persuasion. Most Shoes folk will never see those changes and that’s OK with me. It was something that just needed to be done.

Turns out there is another task that ‘just needs to be done’ – cleaning up my computers by removing all the useless junk I have gathered over many years. Some junk was shoes related and some were just grand ideas I got involed with Shoes. I have a soft spot in my heart for the Raspberri Pi so I ordered an SSD and that board didn’t work, I ordered some more parts to make the ssd work in the main box because good money needs more good money and and then some more parts and then some head scratching on making all these Chinese adapters work and I was pushing GB’s of data around which is kind of slow.

I’m not done yet but I can see the light at end of the tunnel. It just needed to be done.

Fear not, there will be a Shoes 3.3.3!

Shoes 3.3.3 is being worked on. “What’s the hold up?”, You might ask.

Well known secret: Shoes is hard to build from source and if you happen to be a C willing developer it’s a big mess of grok until you can get started. We’d like to make more approachable. The cool kids call this refactoring. This takes a lot of effort (imagine your testing load X 40 and the errors are hard to track down and the fixes break other builds) . But It’s the right thing to do and the right time to do it. Sometimes you have to do the correct thing.

There’s a couple of bug fixes of course. Some smallish new things.

Is Shoes weird?

More than you know! I get annoyed too, just like you do. Thinking about changing languages? I do. At a very recent Linux conference was this gem of a presentation about quirks in various languages. It’s about javascript behavior but she beats up all the popular kids along the way so that’s fun. 40 minutes of light hearted humor will be good for all of us. Recommended.