Ubuntu patched this morning
For the record, the patches came through from Ubuntu this morning. I'm in western
Canada for timezone.
122 posts • joined 8 Jul 2009
For the record, the patches came through from Ubuntu this morning. I'm in western
Canada for timezone.
So, the good folks working on Ubuntu will have patches for my computer in a day or two.
My phone, however, will quite possibly never get a patch (over 2 years old).
Anyone know how patches for Ubuntu phones are handled?
Sorry, Stuart, you got the error handling wrong - you want it to return 0 if the substructure alloc worked. If it didn't, you want to free 's' and then return 'errno'.
In situations like this, 'return' is your friend. On the Amiga, the OS doesn't track your allocations, so in any error situations, you have to free allocated stuff yourself. The structure I tended to use was a big 'if' sequence, testing for success. Somewhere in the middle, everything is setup properly, and I 'return' from there. After the various levels of 'if' comes undo code for stuff successfully setup before that 'if'. Worked pretty good. I did cheat in one case and change the indentation to 2 instead of my default 4, though. The alternative is to just call an interior init function that is structured the same way.
Canada did this a few years ago. Works great, and I doubt anyone would want to go back. And no, I've seen no indication that sellers move their prices up. The way it works here is that if you pay by some means other than cash, the price is not rounded, so we still have prices marked as $.97, etc.
Many cash registers still show the non-rounded prices, but by now both store clerks and customers are quite used to doing the rounding in their heads.
I can't imagine mankind being a good steward of nature in the current setup. No way.
Interesting interview though, regardless of where you sit/stand.
To quote the article: "Apps designed for Android Marshmallow only ask for a permission at the time it's needed to use a feature,"
That's not what most people want. They want the new levels of permissions to be forced onto all apps, including old ones. So, Google has left it up to the app developer as to whether or not they want to be bound by new app permission restrictions. Sigh.
I guess it does leave open the possibility for Google to withdraw the old API's at some point in the future, so all apps will need to use the new Marshmallow+ API's.
As part of a job, I visited the Cray HQ once. I was impressed by the carpets - they were done in a Mandelbrot Set pattern - that must have cost a pretty penny!
I specifically looked for a Cray-1 through the windows in the hallway I walked past, but didn't see one - just lots of rectangular boxes. I was disappointed.
Later, in a successor job, I was doing work making a pthreads library to run on the Tera MTA (Tera later bought Cray, then renamed itself to Cray, if I recall correctly). I had a remote login for testing to the MTA machine in SDSC - great fun.
Small groups, working out of the mainstream, produce the most interesting things!
No-one has mentioned the story about a Cray machine that was shipped to an unnameable USA agency. The delivery instructions were something along the lines of "put it in a semi; leave the trailer here on this night; pick up the trailer two days later".
Hmmm. Seems to me that there are probably lots of technical folks inside Microsoft that don't like the "telemetry" and auto updates of Windows 10. What better way to sidetrack it all than "accidentally" pushing out an obviously bad update, just to show folks how bad uncontrollable auto updates are?
Sheesh! I would have thought it was obvious by now. All of these temporary outages of major services are *of course* due to having to install new hardware and software to support government capture of all the info, including down-to-the-microsecond datestamps on all header packets.
What else *could* it be?
(And you know, I'm not 100% sure this is wrong...)
This is part of the new Microsoft, I guess. Explicit support for Linux using gcc. Licensing is the MIT license - pretty much "do what you want".
Haven't tried compiling yet (my gcc is one version back from what they have tested, and my CPU only has AVX, not AVX2).
Still, looks like a good thing. Kudos to Microsoft!
I hope external crypto folks examine it with a fine tooth comb!
One of the local TV stations just finished broadcasting the one season of "Primeval: New World", which is a sort-of followon to the UK "Primeval".
The two-part season ender featured giant scorpions. I found this article very timely.
Now we just have to find out how to control the "anomolies".
OK, so if the count is in "bands of 250", any value 0 - 125 must be reported as 0. So, Automattic received 125 or less requests. Yeah, saying 0 is fairly misleading, I'd say.
I bought an A1000 in '85, but had to wait a while before I could get a colour monitor, so the agonizingly slow Mandelbrot written in BASIC was all in green. :-(
Eventually went through A2000, A2500, A3000 and bought an A4000 just after I heard that Commodore was shutting down. I had lots of software that I had written and was in the middle of a big project - I did *not* want to change systems at that time! I've put UAE on my Linux box just for the nostalgia of running my old software.
(And yes, I know this dates me badly!)
Haven't looked at the hi-res, but it looks to me like we have a *4* sided polar cloud pattern down south. Was it Jupiter that had a 6-sided storm system at its pole?
I used to wear a regular watch, but haven't for a decade or two. There are lots of clocks around. But then a friend demonstrated his Samsung Gear 2 Neo. Cool toy - I wanted one. I have no regrets. I use the pedometer quite a bit - it is telling me stuff about my daily walks. The ability to see texts (I mostly email on my desktop) and to reply to them is quite handy. I've even answered calls on it a couple of times. Downloaded a calculator app. Used the heart rate monitor to see how much climbing hills affects me. And, since my time sense can be almost 2 hours out, being able to tell time while out walking on the paths is handier than digging out my phone - especially in the winter, I hope.
I've had a Kindle Keyboard (old one with WiFi/3G) for years, and continue to be quite happy with it. Works great in full tropical sunlight and in Canadian winter indoors.
I would be happy to buy a colour device with similar characteristics. Maybe add a touch screen. It would be nice to see the book covers in the same full colour as you get on the physical books.
Think about this: the contents of books is black and white, mostly because it costs quite a bit more to do colour printing, I'd guess. What if there were a market for coloured book contents? Would publishers then start putting colour in? Many books used to have occasional pictures in them. It would be nice to have those in colour. What about colour in the chapter headers, etc.? I think it could change things, over time.
I also have a Win 8.1 laptop that I occasionally use (main system is KUbuntu desktop). I wanted a laptop to take to some meetings, and I wanted Windows to test some software on. I'm pretty sure I never setup any kind of account with Microsoft. I will be watching sites like El Reg carefully before any attempt to upgrade to Win 10, to make sure that silliness like being online or having accounts is not happening. If it is, no upgrade for me.
Off Topic: Heck, I haven't even created a Samsung account, which is needed to access the Tizen app store to get new watch faces for my Gear 2 Neo. (Lots of people disdain such things, but I think its a fun toy! If you do think about getting some kind of smartwatch, check carefully what it needs and what it can do. On my G2N I can read and reply to texts, read emails, receive and initiate phone calls, see appointment alerts, etc.)
Nicely timed article, for me.
There is a provincial election going on here in Alberta. I was watching the evening news yesterday, where they had an article about some of the female candidates. In one HQ shot, there was a whiteboard quite prominent in the background, with the note "Voicemail password" followed by something I couldn't catch.
I laughed, and thought briefly about calling the station to inform the reporter to inform the candidate's office,... but quickly forgot about it.
I wonder if there will be a news item this evening about that candidate having voicemail problems? Nah!
This sort of thing is getting uncomfortably close to the US government requiring that manufacturers put methods into all products that allow the US to remotely, and without control by the user, stop or alter the use of the product.
The products can be hardware, software, firmware, maybe even wetware!
> With all that coffee, the next upgrade will be to the station's toilet I expect...
Hopefully not the one that Howard Wolowitz designed...
So what can that integrated security chip do? More importantly, what can it *remember* for later playback to someone? Or am I reading too much into the words?
So Advtravel, from Egypt, hit mostly laptops in Egypt? Or is that a typo?
if not, then good targetting, that!
The title, the subtitle, and part of the quotes are misleading. This quote in the article is important:
"Putting the carbonate solution inside of the capsules allows it to be used for CO2 capture without making direct contact with the surface of equipment in the power plant, as well as being able to move it between absorption and release towers easily, even when it absorbs so much CO2 that it solidifies."
So, this technique helps some factories and power plants that have to deal with CO2, by having a CO2 handling system that is much easier to work with. In such factories, the CO2 "captured" in one part of the factory is then released in another part - a different "tower".
Absolutely nothing to do with reducing CO2 in the atmosphere.
We often play Acquire. Others include Power Grid, Ticket to Ride Europe (expansions arrived recently), and Carcassone. Occasionals include Rail Baron, Wizard's Quest (we call it "Orc Frenzy"), Bureaucracy and even simple Dungeon!
I'm happy to say that my router is not on the list.
Hmm. Custom treatments for person A can be harmful to person B. Perhaps there will end up being some that are *very* harmful specifically to person B. So, along comes a bad guy who gets a way to find out a lot of this information. He wants to badly harm person B. He searches for and finds person A. Bad guy obtains specific treatment for person A and arranges for it to be taken by person B. Success!
Anyone want to write a science fiction story while this is all still in the future?
(I'm not against the idea of custom treatments, I'm just pointing out a consequence.)
Here in Canada, like down in the USoA, we've had a few episodes of Flash and Gotham. I've been watching Arrow since it started, and likely will continue that with Flash. I usually don't remember such things, but when Barry Allen visited Starling City, I pretty soon realized he was the Flash (must be from having watched the previous Flash TV series).
I stopped watching Gotham after 2 episodes. It seemed that the Penguin character was going to be the main star in Gotham, and, since he is a slightly-deformed psychopathic killer, I really wasn't interested. The future CatWoman is really cute though. :-)
Why are there a bunch of low spots in the Iberian Peninsula? Are those the lairs of the Elder Gods?
OK, so the place could have been off and on habitable for 4 billion years. That's lots of time for civilizations to rise and fall. Maybe the galaxy is full of earth-origin "aliens"!
(Yes, I know, current belief is that there were lots of asteroid hits for a long time, etc. etc. but we need to come up with some good bases for science fiction stories here.)
If you have all of your purchased Kindle books on your Kindle (and any other devices you use to read them), you will not lose them if Amazon goes under and disappears. The books on my Kindle are in the flash memory of the Kindle - they do not depend on Amazon to continue to be there. And no, they don't go away if the device doesn't ping Amazon every now and then. My Kindle normally has its WiFi turned off to preserve battery - it has gone for months with no contact.
So, quit giving out false information on products/systems you don't happen to like.
I too will take this with lots of grains of salt until it is proved out a lot more. However, I would like to contribute another reactionless drive scheme for you all. :-)
Make a smallish particle accellerator. Accellerate particles from one end to about the half-way point. Then decellerate the particles. Reverse, and send the particles back. Keep them going back and forth. No resulting momentum is imparted to the structure of the chamber because it all cancels out. But, make the thing strong enough to accellerate the particles to close to the speed of light in the middle. Now you get a mass increase in the particles. Still no big deal.
Now use two different waveforms - one to accellerate and one to decellerate, such that the particles spend different amounts of time at different near-speed-of-light speeds. Do both phases contribute the same momentum to the the chamber's structure? We would assume so, but I'm not good enough at math to actually do the calculations to prove it.
If its not balanced, you have a reaction-less drive. If this actually works, some theory as to why it works would be needed, and this "quantum vacuum virtual plasma" stuff doesn't seem to be involved.
(I first had this thought in my undergrad days, which is a loooong time ago.)
A quick search on Google very strongly suggests that it is the keyboard itself that is being programmed, and not just OS keytables that are modified. For example, a Windows programming utility that uses a datafile to program the keyboard, and then you can be using a KVM switch to flip over to a Linux box and used the programmed keyboard.
I'm pretty sure that USB keyboards *can* be written to. I have small hands, so always switch CAPSLOCK and CTRL so I can readily reach CTRL. The LED for capslock is software controlled by the OS, and it toggles when I press the key physically labelled as "Ctrl". So, the OS is writing to the keyboard, if for no other reason than turning the LEDs on and off. Also, aren't there keyboards that allow you to program sequences into special keys?
Seems like the simple and sure-fire fix is to make the firmware not writeable. It can't be that hard to get the software right, and I've never heard of a need for in-the-field firmware upgrades on simple USB devices. Even if it is cheaper to use flash than a non-writeable ROM for the firmware, stick one of those tiny fuseable links in the write line, and blow that as the final step of soldering it all together. Might add a tiny bit to the cost.
Just bought some printer paper at the new local Target here. They have been equipped with Chip & Pin readers (which also do swipes, but not bonks) since they opened. They replaced most of the old Zellers stores.
@ DougS: My reading of the article is that the cover in question is one over the USB port - not the back cover of the phone itself.
The only time I took the back cover off my S4 is when I put the SD card in. I plug in the charger cable quite a bit more often than that. Sounds like S5 owners would want to try to get the wireless charging stuff - article doesn't mention that. As far as I've seen, I would have to insert some non-standard stuff (receiver coil) beside the battery to make it work for my S4.
Since I'm in a position to do so, I thought I would give a different perspective here. I've been a Linux user ever since moving up from my Amigas. I'm currently on KUbuntu because I didn't want to go with Unity. A few months ago, I decided to buy a laptop, to take to some meetings and to try to get my software running on (Cygwin made it trivial!). The machine (a low-end from HP) came with Windows 8, which I upgraded to 8.1 when it became available.
I curse whenever I use the machine. But, the main curse is for the laptop keyboard with its poor feel, changed layout and narrower spacing. I cannot type reliably on it. Now that I always plug in a USB mouse, I can avoid the detestable trackpad thingy. That leaves my next curse being for not being able to set it up so that windows select when the cursor is over them, but *do not raise*. Anyone know how to make Windows do that?
Going from 8.0 to 8.1 simply meant that I've told it to start in the usual desktop mode instead of the Start Screen mode. I never use the Start Screen mode, and I dislike the model of applications taking up the whole screen. I use LibreOffice on it (didn't come with MS Office), and I loaded FoxIt for PDF's to avoid the full-screen-only PDF reader app.
I have a horrible time finding settings, but I expect I would on any Windows machine. I also am quite frustrated by the lengthy update process (especially for HP stuff), compared to what I am used to on Linux. So, for me, the fact that it is a laptop and not a real computer is the biggest problem. The second is that it is the very unfamiliar Windows instead of Linux. The fact that it is Window 8.1 is actually fairly minor after those.
My Roomba doesn't get used anywhere near enough. Once every month or two isn't really enough, and I have 3 separate areas that I restrict it to with the "invisible walls". I don't run it in the area I'm in now unless I supervise, since there are too many loose wires around.
What I really need is something that can dust. Can't afford a French maid.
Hmm. Canada seems to be a bit ahead of the US in terms of this particular "investment". The local news said late last week that a company was putting a pair of Bitcoin ATMs into the west side of Edmonton, because there weren't any there yet - the others were in the east side. If I happened to see a machine, I might plunk a bit of money into it just for fun.
@ Anonymous first poster:
Have you noticed how the charge time and range have been steadily improving over the last few years? Do you have a reason to believe they will not continue to do that?
Have you also noticed that hydrogen storage is difficult/expensive/dangerous (pick 2)?
Yes, battieries can be difficult/expensive/dangerous as well, but why switch away from a technology that lots of people are working furiously on to a technology that not so many people are working on? Note also that typical hydrogen production is a less-than-perfect use of electricity, and so your hybrid is less efficient overall?
Only 500 cycles for a cell phone? Don't some folks use their smart-phones enough that they have to charge them every day? That means less than 2 years of life. Not so good if you want to get your money out of the thing.
Now that is the correct way to use a monitor!
Minor niggle: white text on a black background (gee, like this El Reg page!) is too hard on they eyes for long-term use. Go with something like a tan background.
I would be fine with DRM in browsers if I could be sure that the DRM code did nothing else but prevent me from viewing the video (or whatever) outside of the authorized context. What I don't like is secret code blobs running inside the browser, having access to all of the stuff I might choose to give to the browser. It's very similar to a smartphone, especially Android - I am fine with running magic stuff, but clearly Google has not, and never will, properly protect the information I have in the phone. So, I'm left with looking at the permissions an app wants, and don't download those that want more than I'm willing to give. (I'll ignore the fact that you can't use anything from Google unless you give it access to basically everything!)
"Pine" is retro? I use it for reading email, and sending anything with an attachment. If I send something without an attachment, I use /bin/mail. Way faster than messing around with a mouse and a GUI thing. When I got this system, I tried switching to a GUI email client to go "modern", but it wouldn't let me use an external editor (emacsclient), so I quickly reverted to the tools that work for me.
My home Wifi router blocks nearly everything inbound. That seems to be why this didn't work for me when WiFi was on in the phone. It worked when I tried again with WiFi off. It *might* also work if I had unplugged or turned off my router - I don't want to try that.
I've definitely had some good reading from Frederick Pohl over the years. I just went and checked, finding 15 Science Fiction Book Club hardcovers on my shelves. No easy way to tell how many paperpacks of his I used to have!
I'll go away now, feeling old. :-)
I downloaded Real Racer 3 to try out - I've done a number of racing games on my PS2 in the past. Keep in mind that I'm very very bad at all video games, and always have been. I have no memory for things like course structure and controls sequences. Anyway, I was put off by the horrible license, which didn't fit on my S4's screen any which way. I eventually waded through it and started the game.
My problem was that I couldn't manage to steer and glance at the course overhead section at the same time. I did badly, spending lots of time off-track.
On my next try just now I hooked up the cord(s) that throw the phone's picture onto my TV. That made a huge difference in visibility. I went from 8th place to 1st place (most people would have been in 1st place immediately.)
Because I'm a stubborn old fart, I had both WiFi and mobile data off while playing. Not sure how much further I can go - one mode left and it was complaining about no connection.
I mostly wanted to see what kind of graphics the phone could do. Seems very similar to what the PS2 does.
Having gone through style discussions and committees far too often, I know better than to try to say much that is specific. But,
1) do not use the capabilities of your editor to change the meaning of a TAB. A TAB goes to an 8 character position. Never change that. If you do, you will be looking at some awful messes in the future if you start working with people who do things a bit differently. If you want, say, 4 character indents, then just tell your editor that. It's easy in things like the various emacs's and in vi/vim. Do not use a text editor that cannot do it.
2) as others have said, if there is a house style, use it. You will save yourself and your co-workers a lot of pain.
3) you should only have to type a single key (if any!) to move to the correct column for the next line of code. If you find yourself having to manually space and/or TAB over to the proper column, then get yourself a proper programming editor. The abovementioned emacses and vi/vim are free for all platforms.
4) @ Hungry Sean: never, ever hide control constructs in macros. Never. Use macros almost entirely for constants (including properly parenthesized constant expressions). Beyond that, and you are asking for trouble. See below.
In general, things that you might decide to do as a self-taught one-person programmer will often not work out at all in a programming team. So, on your first move to a team, be prepared to accept changes. If you don't, you should be fired.