We ate at @oleegousa twice this weekend -- it's that good. My new No. 1 at @WestfieldFS #ShermanOaks
Our 13-year-old can't wrap her head around life without the Internet and smartphones. How can I blame her?
I've been thinking about the pre-web, pre-smartphone days. That is all.
It feels like a month since I took the Twitter and Google News apps off of my phone. Still have them on the tablet, but not the phone.
The great people at @laptopkeys got me typing 'n' once again
Can you call a business a "web site" if they try to force you to use an app to access their content on a mobile device?
I guess everything these days is a "social network," "e-commerce platform," "content provider," or some other phrase or three that escape me at this particular moment.
There are two social networks -- one is an employment-based network, the other a dining-reviews network -- that won't let me see content at various times without downloading their mobile application.
Bet you can guess who I'm talking about.
The first is LinkedIn. I don't remember having much trouble accessing LinkedIn on my phone or tablet, but I get these emails from them that say, "So and So has an update." I click for the update, and it sends me to a come-on for the LinkedIn app.
I'm not getting that app. So I don't get the content.
The other one -- the dining-review app -- is worse.
That's Yelp, in case you didn't figure it out.
Every time you go to their site on a phone or tablet, the top of the page is a massive plea to download and run their app.
And then the web site wastes no time in telling you that you'll only get a few dining reviews from real people in the browser. If you want more, you'll have to get the app.
I don't want the app. So I lose out on your content -- and any ad impressions you might be offering to monetize my experience.
Why don't I want these two apps?
1) Not everybody has a 128GB iPhone. My el-cheapo Android phone is limping along with 8GB of storage, and that is double my previous phone's 4GB. Even though I have a 32GB SD card on board, there's only so much that can go on it in terms of apps (thanks for that, Android). Some apps won't go on the SD card, and most store data on the phone's memory regardless of where they are installed. So I have to be very selective in what I do have on the phone.
2) I don't need an app for a site or service I use infrequently. It's just clutter, and I'd rather use the browser. Even if I had a 64GB phone, I don't want a dozen pages of apps to swipe through.
The craziest one these days is Amazon.
Amazon will pay you $5 just to use their app.
Because, for Android anyway, their app is not in the Google Play store, and you have to download it and allow your phone to run non-Play Store apps.
Most users find this daunting and don't want to do it. But maybe $5 will change their minds.
I just discovered that the Amazon is preloaded on my Android phone, so maybe if I launch it I'll get the $5? Probably not.
But do I even need this app? It will alert me if crap I want to buy is available, on sale, or who knows what.
I use Amazon enough that maybe the app is worth it.
But most of the apps out there for things that can be taken care of with a web site? No, I don't want your app. I don't have room on the phone for it.
I sort of understand that you feel you need an app. That it's part of your business plan. But at least give me a choice. If you push to hard on making me download and run your app just to sample your service, chances are I never will. And you lose a potential customer. Or hundreds (or thousands) of them.
I installed the OpenShot 1.4.3 package, and in my next run of the
yumex-dnf package manager, it cheerfully offered to upgrade to 2.0.7.
So how do you keep
yumex-dnf and regular ol'
dnf from bugging you about this every time?
Just like on the laptop before this one, if you bang on it and take it enough places, you end up with a busted key.
Where do you get a new one?
HP won't sell you one key.
Enter third-party individual-key sellers like ReplacementLaptopKeys.com, which attempt -- usually very well -- to send you any individual key to replace a broken one.
Yelp, thank you for withholding your content because I'm using a tablet and don't want your stupid app.
Will Fedora 22 OpenShot run on Fedora 24 and solve the "OpenShot 2.x is horrible" issue? Only one way to find out.
You think you can do what you do on a laptop with a tablet if you add a keyboard and mouse. But you can't. Creating content remains a "real" computer's game.
I hadn't edited a video in a long time, and when I opened the OpenShot video editor in Fedora 24 yesterday, I found a completely updated user interface in version 2.0.7 that made the app harder to use. I could barely see the tracks at the bottom, and there appeared to be no way to make that window big enough to remedy the problem.
I could no longer change the "properties" of an item and modify the time it occupied on the video.
It wasn't recognizing linefeeds on my Inkscape-generated titles.
And then it crashed all the time.
In short, a decent, workhorse app has become totally useless.
I then tried to edit some audio. Again, I haven't done it in awhile. Audacity is very stable, so how could there be a problem?
There was. The play/pause buttons kept disappearing, as did the icons for switching modes. I was able to do a quick audio edit, but it was neither easy nor pleasant.
I think the OpenShot issues are systematic to the project and its one-man-band development situation. (I know -- I really should figure out KDEnlive and be done with it.)
Audacity's problem lies elsewhere in the system, as this Fedora bug report details.
I have a test Ubuntu 16.04 system on another drive. I loaded it up and installed Audacity (same version, 2.1.2). It worked perfectly.
I installed OpenShot, which RPM Fusion distributes for Fedora users in version 2.0.7). Ubuntu provides version 1.4.3. Which is old. But it works.
So I'm wondering if I should just make the leap and dump Fedora 24 for Ubuntu 16.04. It would do wonders for my video- and audio-editing productivity, for one thing.
And I thought that Ubuntu's HUD (heads-up display) was roughly equal to what GNOME 3 offers in its "hot corner" search. Nope. In GNOME, you can search for applications but not files. Ubuntu's HUD allows you to find applications and files. This is no deal-breaker because you can search for files in the Nautilus/Files file manager in both Ubuntu's Unity and any system running GNOME. Still, the HUD (love or hate what it CAN search for) is better than anything else out there for Linux.
So will I do it? I hate replacing systems and moving my files over. But I'm thinking.
Audacity is having a screen-rendering issue in Fedora 24. Bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1347053
I've probably edited 100 videos with the "old" OpenShot, but I can say without reservation that the new OpenShot has gone to hell
So how do you get comfortable with the math before tackling CLRS itself?
Others suggest that the appendix in CLRS serves as a guide to the mathematics needed to understand the rest of the book.
The Saguache Crescent is the last newspaper in America to use "hot" metal type produced with a Linotype machine. Take a look at the pictures from the Baltimore Sun web site. Amazing.
I'm finally getting to the Fedora 23-to-24 upgrade on my laptop, which has been running Fedora on the same installation since the F18 release. (That means the upgrade has never failed.)
The upgrade process is getting smoother and smoother. This time the upgrade uses
dnf instead of
I think that there will be a graphical upgrade for Fedora Workstation (i.e. GNOME) systems in this current release. But since I'm in Xfce right now, it's still a command-line process.
I used this guide from the Fedora Magazine site, and all is going great so far.
Dnf has 4,033 items to download and 7,870 tasks to perform in the course of the upgrade, so it'll take a while to finish.
Update: As expected, the upgrade is taking a long time. That's normal. I managed to start early, and I have a whole day ahead of me. Plus I have use of another computer, so I'm able to continue working while the laptop is unavailable.
No 'n': When I finally resolve the issue, I'll recount my tale of the broken 'n' key on the HP Pavilion g6-2210us. With a barely working 'n' key, it's a great time to do an upgrade since typing words with the letter 'n' is not my favorite activity (though at home I have an external keyboard to get around the problem).
After the upgrade: I don't use GNOME very often, but I can confirm that the default Catarell font does display better (as promised). A better-looking display definitely makes me want to use GNOME more.
GNOME Shell itself seems more responsive. But again, I don't use it enough to know for sure.
I just found out that I'll soon be able to leave Citrix Receiver behind, and that will mean that I can use just about any desktop environment. For the past year and then some, only Xfce has played well with the Citrix apps that I use, which stretch across multiple screens and pose problems when it comes to switching from one screen to another.
I found out through Reddit, where Packt has its own subreddit in which it announces a new title every Monday through Friday.
And they're not the "sponsored" books that other publishers often hand out.
But I've gotten a few books that really interest me over the past week. And you can manage them through your online account, downloading the formats you need.
Just like with O'Reilly (and with the Pragmatic bookshelf, Manning Publications and Leanpub), ordering through their websites instead of Amazon gets you a lot more flexibility (PDFs, epub, mobi) and often a better price. For me, it's worth it to get both the PDF and the Kindle version of the books, even if the indie publisher is charging a few bucks more than Amazon.
Some publishers, including PragProg and Manning, only sell their print books through Amazon. To get the ebooks, you have to go through them (and I am happy to do so).
Older versions of Citrix Receiver, aka ICAClient, are available. I'm thinking my particular apps like 13.0 better than 13.3.
Update: This issue went away in a normal install. I presume that the added firmware during installation took care of the WiFi issues.
Original entry begins here:
I was just saying how compatible my now-3-year-old HP Pavilion g6-2210us laptop is with Linux at its advanced age. Everything in Fedora works with no tweaking, no modifications.
So I wanted to try Ubuntu 16.04 (with Unity even). First I used Unetbootin to put the ISO on a USB key. That didn't seem to work, though I had enough trouble getting the display to work that the problem could very well lie elsewhere.
So I used
dd to put the ISO on the USB:
sudo dd if=/path/to/ISO of=/dev/sdb bs=8M
That worked. I booted into Ubuntu 16.04. Then I still had a blank screen. I tried to switch to a virtual terminal with
ctrl-alt-F2, and eventually hit all the
ctrl-alt-number combinations, after which
ctrl-alt-F7 got me the graphical desktop.
That very well could have worked with my Unetbootin-created bootable USB stick.
Meanwhile, once I had Ubuntu running, I could connect to my older Netgear router running WEP but not to my newer Time Warner modem/router (I can't remember the brand or model) with WPA.
My laptop uses the Qualcomm Atheros AR9485 WiFi module, and that was where I looked first for ideas.
I found something pretty quickly.
In a terminal, enter this line:
echo "options asus_nb_wmi wapf=1" | sudo tee /etc/modprobe.d/asus.conf
After that, I was able to connect to my WPA-enabled router, and all was well.
I didn't think I needed to resort to this kind of filthy hack in 2016 and on a laptop that has been in the wild for three full years.
But I did.
I'm not sure what I think of Ubuntu 16.04 just yet. I'll need to do a Citrix test. Running the big Citrix-enabled application that I use for my day job is pretty good in Xfce but horrible in GNOME Shell in Fedora. If it is in any way better in Unity, that will carry a lot of weight.
OMG, the @railstutorial by @mhartl https://www.railstutorial.org/book
While it calls itself out as old and out of date, I really like The Bastards Book of Ruby.
I recognize that Ruby is no longer the new hotness, but it's still so useful and, dare I say, user-friendly. For those reasons, I'd love to see updated versions of just about every book out there.
I'm using the old (as the hills) "Learning Ruby" by Michael Fitzgerald (2007, O'Reilly), The Pickaxe book ("Programming Ruby") from Ruby version 1.9.2 (2010/11, Pragmatic Programmers, though do I realize there is a 2013 edition).
The beginners books seem to be the oldest. At my level, everything seems to be working, so I will maybe complain a little less.
I do have a Rails book, "Rails Crash Course," by Anthony Lewis, that's much newer, but I'm not there quite yet. And there's always Michael Hartl's "The Ruby on Rails Tutorial", of which the more I see, the more I like.
I tend to learn things in programming when I have a problem to solve. This is just such a case.
I was working with a huge XML file, and I needed to trim elements out of it that begin with
<generic tag> and end with
</generic tag>, and include a random amount of text and other tags, across multiple lines, in between.
At first I tried using the Nokogiri gem, but it just wasn't happening. I was working on my Election Results script, and ... the election -- they hold it on a certain date, you know.
I would have to brute-force it. Like I always do.
My whole idea this cycle was to dump my giant
sed hack from elections past and use mostly (if not all) Ruby to parse the XML I get from the state of California and provide the JSON output my fellow dev needed for the front end. (I also have a ton of fixed-width ASCII from Los Angeles County to deal with, as well as scraped HTML from San Bernardino County, but those are other tales for other times.)
With the state data, I had the XML-to-JSON conversion covered with Ruby's Crack gem. But I just couldn't pare down the XML to make the JSON a manageable size.
A company called Prograils offers a great tutorial, Loops in Ruby - all possible approaches.
It looks like a good reference for when you're writing a Ruby program and need to figure out which kind of loop will work best in a particular situation.
I've been using Firefox version 47 for the past couple of days. And it's been working well. This isn't for my day job, where I beat the hell out of the browser, but for "research" (aka looking things up) while learning programming.
Nothing cost $ .
I should probably give it a try for my real work and see how it holds up.
Update: Firefox did better than I thought but not good enough.
Slow rendering in Google Maps was annoying.
I want Firefox to be competitive. I'd rather have fewer eggs in Google's basket. But my web production workflow is just too many windows of pain.
Coding Horror: It's a UNIX system, I know this https://discourse.codinghorror.com/t/its-a-unix-system-i-know-this/4378
This entry shows what I'm doing when I practice programming. I find it helpful to write little programs that use the concepts I'm trying to learn.
Why Ruby? you might ask. No particular reason. I've spend a semester learning C++, and I was pleasantly surprised to find out that the things I learned are applicable in many other programming languages. Ruby is one of them.
Writing scripting-type programs is one of the things I do. I have "practiced" recently with Bash (and all the little Unixy utilities that go along with it) and Perl (for the add-on that does the statistics for this blog).
Ruby just happens to interest me. I'm also interested in Elixir, but for the kind of things I'm interested in doing right now, Ruby with its many, many Gems and "make programmers happy" philosophy looks like a good fit.
I could say the same thing about Perl (or Python, or Java), but for now I'm playing around with Ruby.
Here is the program I wrote to practice using Ruby loops and arrays. I also worked with strings (and converting arrays to strings and back again) and outputting results to the terminal.
What is an array? Here's what it is (in my mind anyway): A collection of pieces of data that can be manipulated as a whole. You can mix numbers and strings. In Ruby, arrays can even contain other arrays. I read that somewhere.
Here is the program:
#!/usr/bin/env ruby =begin The purpose of this program is to experiment with Ruby loops, arrays, strings, integers and output. The program creates an array, uses loops to *push* numbers into that array, shows what the array looks like at every stage using *puts* and *inspect*, then uses *shift* to remove numbers from the array, also showing what it looks like at every stage. There are two more loops in this script. One prints out numbers ascending, the other descending. =end # Create an array number_array = Array.new # loop uses *push* to add a number, # *puts and *inspect* to print it (1..10).each do |i| number_array.push(i) puts number_array.inspect end # loop uses *shift* to remove # an array element # 1...10 with three dots runs # the loop until 9, not 10 (1...10).each do |i| number_array.shift puts number_array.inspect end # *puts* on its own adds a blank line puts # *print* prints the output without adding # a newline character (aka \n) like *puts* for i in 1..10 print i print " " end puts 10.downto(1).each do |i| print i print " " end
There's a great book available on the web, "Ruby for Admins."
Grammatically it's a little rough -- I would love to contribute via GitHub if that was available -- but the information seems solid.
I set up Ruby on a CentOS 6 server. It was Ruby 1.8.7. Makes my 1.9 Pickaxe book seem timely.
Finished my first CS class - programming in C++ - and did another Election Night results script that was supposed to be mostly Ruby but ended up mostly Bash. This time I had help and mostly worked on the back end. Things I did: used git and GitLab, generated JSON from XML, used Ruby Gems. Time constraints drove me back to Bash, but I would like to re-write it using MUCH more Ruby.
.@fkarlitschek already left @owncloud, and now he forks the project and starts Nextcloud http://karlitschek.de/2016/06/nextcloud
yumex-dnf has been broken for about a week. The issue is with
dnfdaemon, and a fix is on the way https://bugzilla.redhat.com/show_bug.cgi?id=1338564#c18
Update: The fix is in.
Yumex-dnf is working again.
As I do occasionally, I used GNOME 3 instead of Xfce 4.12 today to start my work. It all fell apart when the GNOME screenshot utility barely worked.
Update: I mapped GNOME Screenshot to
alt-P instead of PrintScreen, and that works, but it's hard to choose the type of image I want, which is JPG, and the only way to make it work is to take the PNG offered and convert it later.
In contrast, the Xfce screenshot tool works with the PrintScreen key and makes any kind of image I want with no complaining.
The lovely people at Xfce and downstream at Fedora moved a new version of the Thunar file manager to fix a bug causing crashes when files are cut from one folder and pasted into another -- something I tend to do quite often.
The crash didn't happen every time but did often enough to be a little annoying.
Thanks to all who were involved, from reporting the bug to making the fix and then pushing new code.
I'm still undecided how I will convert XML to JSON in the election results app/script I am working on.
To those ends, I am looking for libraries that can do the heavy lifting for me.
Among the things I've stumbled upon are x2js.
Just putting this here so I don't forget about it.
Also, I don't want to forget my previous entry on xml2json.
Update: I am currently using the Crack gem with Ruby. I'm shelling out to Bash for some file-based operations that I hope to eventually replace with native Ruby code.
Acousticmusic.org has a large archive of old guitar catalogs, best I've seen http://acousticmusic.org/research/history/catalogs #gibson #fender #martin #epiphone
How to get a developer job in less than a year (Free Code Camp blog) https://medium.freecodecamp.com/how-to-get-a-developer-job-in-less-than-a-year-c27bbfe71645
United RPMs is a new repo for Fedora https://unitedrpms.github.io
I'm working on my election script, which has been Bash on the server to produce HTML with custom display on nine different websites controlled via CSS. Hacky as shit, but it works.
And here is one of many solutions to the XML-to-JSON problem: https://github.com/enkidootech/xml2json.
Since LA County sends fixed-width ASCII, this plan goes out the window, but I vaguely remember another ancient data format that I might be able to hack into JSON. Or the LA County data will be mangled the old-fashioned way.
That's the best way for me to learn: Have an annoying problem and make it go away through code.
Along these very same lines, since I'm collaborating with others on this project, I decided that we needed a way to share the code.
And since I wanted to work out of a private repository, Gitlab ($0/month) beat Github ($7/month). And we are all learning git.
The Firehose Project - A hands-on intro to building modern web applications with Elixir and Phoenix http://phoenix.thefirehoseproject.com/
What @gitlab has to say about @github's pricing changes https://about.gitlab.com/2016/05/11/git-repository-pricing/
Mebe – The Minimalistic Elixir Blog Engine https://blog.nytsoi.net/mebe
Elixir and Phoenix: The Future of Web APIs and Apps? http://blog.carbonfive.com/2016/04/19/elixir-and-phoenix-the-future-of-web-apis-and-apps/
Evan Miller: Elixir RAM and the Template of Doom http://www.evanmiller.org/elixir-ram-and-the-template-of-doom.html
Termux brings a Linux command line, apt-like package manager and Debian-like repo to Android http://termux.com
Perl is a DevOps power tool http://www.i-programmer.info/programming/perl/9649-with-the-rise-of-devops-perl-shows-its-muscle.html
Building a reading queue in Ember and Phoenix, Part 1: getting started with Phoenix https://medium.com/@diamondgfx/building-a-reading-queue-in-ember-and-phoenix-part-1-getting-started-with-phoenix-521a19814ae5#.l77gs8eh8
In San Francisco, a call to 'Build, baby build!' http://www.nytimes.com/2016/04/17/business/economy/san-francisco-housing-tech-boom-sf-barf.html
Multiple transactions are what killed old #StarbucksRewards. App meltdown is killing new one.
I think @starbucks had to change #StarbucksRewards, but a lot of people are not going to like it
jQuery Bootstrap-style dropdowns http://labs.abeautifulsite.net/jquery-dropdown
HTML 5 Tutorials: Dropdown lists http://www.html5-tutorials.org/forms/dropdown-lists
Inspirational Pixels: Creating a Dropdown Menu with HTML & CSS http://inspirationalpixels.com/tutorials/creating-a-dropdown-menu-with-html-css
Stack Overflow: How to make a pure css based dropdown menu http://stackoverflow.com/questions/9953482/how-to-make-a-pure-css-based-dropdown-menu
Ilene told me about her co-worker, a guitar collector, who bought an old Fender Super Reverb amp that might have been in a fire, but definitely didn't come with any of its four speakers.
He was taking the amp, or what was left of it, to Blankenship Amp Repair, where Roy Blankenship will fix your amp or make you a new one that's just like the old ones, only better (and with better parts). His clients include just about everybody in rock 'n' roll. To learn more about what Blankenship Amp Repair does, check out its Facebook page.
If you're more the do-it-yourself type, and need electronic tubes for anything from guitar amplifiers and vintage radios to broadcast transmitters, radar and x-ray machines and military equipment, ARS Electronics on De Celis Place near the Van Nuys Airport probably has it. They also sell connectors, speakers, capacitors (if it's old, the capacitors are probably bad, and you need new ones) and transformers.
Round-up of #elixirlang books and resources http://blog.jordan-dimov.com/round-up-of-elixir-books-and-resources/
The business case for switching to #elixirlang http://blog.jordan-dimov.com/10-reasons-to-switch-to-elixir-from-python/
After 25 years, Linus Torvalds still wants Linux to take over the desktop http://www.cio.com/article/3053507/linux/linus-torvalds-still-wants-linux-to-take-over-the-desktop.html
Ubuntu Bash for Windows 10 not quite ready http://www.theregister.co.uk/2016/04/07/windows_10_with_ubuntu_now_in_public_preview/
When to choose #Elixir over #Ruby https://www.amberbit.com/blog/2015/12/22/when-choose-elixir-over-ruby-for-2016-projects
Elm with #Elixir and #Phoenix http://www.cultivatehq.com/posts/phoenix-elm-1 #elmlang
Elm for the front end, right now https://bendyworks.com/elm-frontend-right-now #elmlang
The Radio Boulevard web site looks like hell, but the vintage-radio content is very, very golden http://www.radioblvd.com/
Great page on rebuilding an R-390A, the holy grail of surplus military receivers http://www.radioblvd.com/R-390A%20Rebuild.htm
Key to getting dlvr.it to work well with Ode: don't upload without setting Indexette timestamps locally (and staggering by at least a minute)
I have been 'wet shaving' with a safety razor and one of those brushes (no badger!) That is all.
I have been running the same Fedora installation, upgraded from F18 to 23, for nearly 3 years on this HP Pavilion g6 laptop
K8IQY's #QRP Rigs: "Hardware Defined Radios" http://www.k8iqy.com/qrprigs/QRPRigs.htm
I've been having trouble with my Ode Counter add-in.
I have been using
File::Find to gather filesystem information and make it available to Ode, and I learned two things.
1) The Ode add-in framework allows the passing of scalar variable data from add-in to non-post areas of the site, but it doesn't allow passing of arrays. This is easy enough to work around. You just convert the array to a scalar. There is more than one way to do this, but I chose this one:
directory_list = join('', @directory_list_array);
2) Producing acceptable HTML out of the add-in is one thing, but for it to transfer properly to the Ode site, all the usual characters must be "escaped" on the server side:
<li><a href="/blog/programming/perl/">Programming > Perl</a></li>
It must be:
<li><a href=\"\/blog\/programming\/perl\/\">Programming > Perl<\/a><\/li>
Once I fix my regex, I'll be in business.
I've been working on and off on the next version of the Counter addin for Ode sites.
The last update added counts of photos in the blog's filesystem to the original counts of entries with breakouts for traditional blog entries and social updates (basically counting everything in the whole
documents directory and the
updates directory, then using a little math.
I used the
File::Find CPAN module as the backbone of the addin.
The next thing I wanted to do, also using
File::Find, was to crawl the blog's filesystem and generate a categories list that can be displayed on the site.
So I've been playing with
File::Find, Perl regular expressions and arrays.
I am able to generate an array made up of every directory that contains Ode posts, and I'm working on the regex to make the HTML and display text look exactly the way I want.
At this point I have a pretty good looking array, and I'm ready to move the
Categories code (which I'm developing in a local directory with a "dummy" filesystem) into the main
Counter addin code.
There are still some issues to work out, but as soon as I get the next version of the Counter addin ready, I will make it available for download and also hopefully have it on Github.
That's how it is with @fedora -- something breaks every once in awhile, but it's almost always fixed rather quickly.
Fedora 23 has been suffering from a
sqlite updating issue for the past week or so, but it looks like a fix is on the way.
.@Linux_Mint dammed, no faint praise in sight, for security, packaging and professionalism issues https://lwn.net/Articles/676664
The @reddit community responds to @Linux_Mint's security (and other) issues https://www.reddit.com/r/linux/comments/470pvo/to_conclude_i_do_not_think_that_the_mint
Can't the feds just image an iPhone, reimplement it in software and crack it at their leisure?
How #UbuCon brings a new element to LA's #SCALE show https://daniel.holba.ch/blog/2016/02/trip-report-ubucon-summit-scale14x #Ubuntu @Mark_SABDFL
VCs who miss the point of open source shouldn't fund it http://www.infoworld.com/article/3032120/open-source-tools/vcs-who-miss-the-point-of-open-source-shouldnt-fund-it.html by @webmink
What is @standstormIO? An open-source, easy-to-use server platform for web apps featuring sandbox-based security https://sandstorm.io/
I learn better, or should I say I only learn how to program when I have an actual problem to solve.
My current "problem" is figuring out how to generate more data out of my Ode blog's filesystem for my Ode Counter add-in.
I already report on the number of blog entries, how many are "real" entries and how many are Ode-generated social-media updates, plus how many images are in the filesystem and how many of those appear in actual blog posts.
Another thing I have wanted to do since I began using Ode was have the system generate a Categories/directories list in HTML for both a dedicated "site map" page as well as a sidebar display.
I might as well come right out with it.
I'm going back to school. Community college. For computer science.
I was ready to do it all on my own: find a language and a framework and a reason to learn them and go. (A few months ago, I even learned a little Go.)
The @brave browser is going to be big if it can meld the speed of Chrome with a users-first mentality
I answered this question on Quora and figured that I might as well put the answer here, too:
The question: Are there any good resources (Books) to get started on a Linux (Debian) web server?
Here is my answer:
You should definitely get The Debian Administrator's Handbook.
Then there is everything on the Debian documentation page.
And the good thing about Debian is that most posts and other references that explain how to do something in Ubuntu will also work for Debian.
With that in mind, just about any book or site that helps you run any kind of Linux web server will help you with Debian.
O'Reilly is releasing a new version of The Apache Cookbook in two months. I highly recommend it.
This part is not on Quora:
I've been thinking for years that the technical publishing industry has thought of Linux as "done," and would continue to wind down their previously robust book schedules.
That pretty much happened, but seeing a new "Apache Cookbook," plus these two excellent titles from No Starch as well as a third, The Linux Programming Interface: A Linux and Unix System Programming Handbook, I see four very compelling Linux books that aren't woefully out of date.
They may not be focused on individual distros, but that is a strength, not a weakness.
The year ahead in C++ http://meetingcpp.com/index.php/br/items/cpp-in-2016.html
Today I'm enjoying GNOME 3 in Fedora 23.
The GNOME desktop, at this stage in the 3.x series, is definitely in the iteration stage after a long time in the "sorry about the lack of functionality but not sorry" stage.
If my Citrix apps didn't suffer a bit more in GNOME than in Xfce (mainly because Citrix doesn't care all that much and my apps' developers don't care at all), I could see myself in this environment more of the time.
The dark theming helps. I do the same in Xfce, and in some ways dark theming (aka Adiwata Dark) is maybe a little bit further along in GNOME because it meets with the project's minimalist goals.
Or that's how I'd like to think about it.
In related dark-theming news, Fedora did fix
yumex-dnf to work with dark themes (no more dark blue type on black). Now it has to fix the trouble with kernel updates (in which old kernels are NOT deleted, while they are in regular ol' console
One unfortunate thing: The Eclipse IDE looks like HELL with dark theming. Eclipse developers, you wound me.
As I ease in to learning how to code in C++, I have a couple of "real" IDEs at my disposal (chiefly Netbeans and Microsoft Visual Studio), I was pleased to find out that my favorite not-quite-an-IDE Geany will build and run both Java and C++ code.
And Geany can do this on Linux/Unix, Windows and Macintosh computers. (It uses the Unixy
g++ even in Windows for C++ code.
I even tested a Perl script in Windows, where I'm using Strawberry Perl. Geany will automatically run a Perl script (on a Perl-equipped Windows computer) when I click on the "Execute" button. It opens Perl in the Windows terminal and runs the script without needing to leave the "IDE."
One thing I'm learning about C++ as I dip the very tips of my toes into its vast waters: Like Perl but more so, there is definitely more than one way to do it.
Both today and yesterday, Twitter has been less than healthy
Go has been updated to 1.5.3 in #Fedora http://koji.fedoraproject.org/koji/buildinfo?buildID=711203 #golang
Right now, this is the current Go release. That makes Fedora a great platform for Go programmers.
I dislike 'listicle' articles that are just clunky photo galleries -- I'm looking at you, @zdnet
I found this very long list of things wrong with Linux http://itvision.altervista.org/why.linux.is.not.ready.for.the.desktop.current.html
The Unix/Linux desktop environment GNOME's many components include a full web browser that used to be called Epiphany and now goes by the very non-Googlable name Web. Yes. it's a Web browser called Web.
Back in the GNOME 2 days, I used it a lot. That wasn't just the GNOME 2 days but the Gecko days, when Epiphany was based on Mozilla's Gecko engine rather than Apple/Google's WebKit.
In the early WebKit days, I think Epiphany/Web went downhill a bit.
Now I use Google Chrome much of the time, though I know in my heart that I shouldn't. I'm usually logged into Google Services for my job, and Google is getting into everything I do.
These days Firefox is just frustrating. Once I get 10 tabs open, it tends to hang when Chrome doesn't.
Maybe a basic browser like Epiphany/Web can help me. Maybe not.
I'll give it a try and let you know how it goes.
Update: Epiphany/Web works very well. I can't say for sure that it's "lighter" than Google Chrome, especially since it uses the same Webkit engine.
What I can say is that for general-purpose web-browsing, it is very fast and stable. And I bet Google is tracking me a whole lot less.
Epiphany is a simple browser. Like Firefox was in its early days.
It's well-integrated as a GTK3 application, so it'll look good either in GNOME 3, or (in my case) among all the other GTK3 apps I'm using in the Xfce desktop environment.
For search, Epiphany defaults to Duck Duck Go which bills itself as "the search engine that doesn't track you," and so far I'm happy with it. It's nice to have an alternative to Google, even in a Web browser using the same engine as a browser that is most definitely tracking you.
I'm not saying I will give up on Google Chrome, especially for my , but when it comes to personal browsing, I can see myself in Epiphany much of that time.
I've been meaning to get back into the Counter addin that I wrote for Ode with Rob's help, and over the past few days I added some functionality to the code and deployed it on my site, where you can see the results in the right rail.
The original Counter addin only counted posts, which in my case are files in the
documents directory with
Since I now create many of my social-media updates with Ode, I added some code to count those entries and report how many of the overall entries are "full" posts and how many are social updates.
While I was in there, I wanted to play around with regular expressions, so I also added a count for the number of
png images both in the entire
documents directory (which includes themes) as well as in my
images directory (where I try to keep all images that go into posts).
It's definitely fun to write a very little bit of Perl and have something happen on my live site. It's a nice feeling, for sure.
The addin uses the
File::Find CPAN module to crawl your filesystem and count the files.
The way the Counter addin works is that you download it (for now I'm hosting it here) and unzip it, stash the addin's directory/folder in your addins directory (mine is under
/data/addins), add some HTML with calls to the addin to your theme (generally in the sidebar area), and it should just work.
Once again, thanks to Rob Reed for creating Ode and helping me get off the ground with this addin.
If you missed the link above, download the new Counter addin from my site.
I still have some code cleanup to do, and I will probably add some documentation, licensing information and acknowledgments. But this version does work.
In the future, I can see this addin, or something like it, creating even more dynamic (or even static) content for the sidebar of an Ode site. It could help build a list of directories and certainly could provide more statistics on how many posts you have under any given directory.
But for now I can instantly see how many posts and social updates I have written (and you can, too).
Every now and again I try to run my Citrix apps with GNOME. Xfce still does it better. Probably Citrix's fault, but it is what it is
I am not saying @LAReviewofBooks is the city's most important web site. Not saying it isn't, either https://lareviewofbooks.org
From http://ruby2elixir.github.io: What makes Elixir so attractive for some developers? http://ruby2elixir.github.io/posts/2015/12-29-what-makes-elixir-so-attractive-for-some-developers.html
I just found this great list of free C++ books from @TFETimes
I picked up about five.
Back to reading books (and couldn't agree more with @hughmcguire) https://medium.com/@hughmcguire/why-can-t-we-read-anymore-503c38c131fe
I've got plenty of IDEs on my laptop. At least one has been here a while (Padre, focused on Perl). A few have been here a short time (Eclipse, Netbeans, whatever incarnation of IntelliJ comes with Android Studio).
I've barely used any of them. There is a learning curve.
I like Netbeans, and I am able to create, compile and run simple Java programs with it.
I tried to create a C++ program in Netbeans after adding C and C++ support but got held up at the make/configure script portion.
That was after I created a script in
gedit and used
g++ on the command line to compile it. That works.
So I turned to Geany, the "IDE" (heavy quotation marks) I've been using not just for my rudimentary Java programs but also for most of my general text editing (I need
cr/lf line endings for my company's main CMS, and
gedit is kind of broken in this regard).
Since I have OpenJDK and all the C build tools installed on my Fedora system,
Geany happily builds and runs my Java programs and my now-sole C++ program (see it above). Not much of a learning curve. Click the
build brick, then click the "run" gears.
There will be a time in the near future when I will need to run a "real" IDE. I will need training wheels.