* Posts by Gerhard Mack

459 publicly visible posts • joined 4 Apr 2007

Page:

Soon the most popular 'real' desktop will be the Linux desktop

Gerhard Mack

Re: functionality

You would rather do it on a PC, which feeds data to the web app that in turn feeds data to the government? Unless you are doing it on paper, all you are doing is adding a layer on top of the web app. Strangely I trust the mail system even less than I trust the cloud.

Gerhard Mack

Re: functionality

"Will it run TurboTax?"

I use TurboTax to file my taxes and it works fine on Firefox/Linux. I have not installed anything in years.

Gerhard Mack

They didn't even try.

'A week later, I learned that they were still using Office - unregistered - because LibreOffice was "too complicated".'

I bet they didn't even try LibreOffice.

I have redirected more than a few people who come to me asking about either their trial office subscription expiring to Libre Office or where to find an affordable Office for their new PC. These people are not what I would refer to as "technical" and I have had no complaints.

Gerhard Mack

"I use Mega which is similar to OneDrive but which end-to-end encrypts your files"

Given how vocally pro Russian Kim Dotcom has been lately, I would be very worried about believing his security claims.

FCC calls for mega $300 million fine for massive US robocall campaign

Gerhard Mack

The scammers are starting to ban my number.

My trick is to always hit whatever button gets me a live operator and then tell them off. If everyone did that, it would throw the economics of the scam operations on it's head since they use the robocall to spam as many numbers as possible without having to expensive humans and that wouldn't be possible anymore.

Microsoft's Lennart Poettering proposes tightening up Linux boot process

Gerhard Mack

Re: ...using TPM 2.0 hardware

More likely at some point it will just fail to boot if it doesn't have the TPM enabled for it's boot. Anything else will generate too much of a backlash since Microsoft does not own most of the server market.

Gerhard Mack

Re: ...using TPM 2.0 hardware

I would not call that a Linux issue. What Pottering is working on will make the people who fund my paychecks very happy so I don't have complaints as long as I can turn it off.

Gerhard Mack

Re: ...using TPM 2.0 hardware

None of this is mandatory and the existing secure boot can be disabled in the BIOS settings. I already have all of this disabled since I like to run custom kernels.

USB-C to hit 80Gbps under updated USB4 v. 2.0 spec

Gerhard Mack

Re: EU will love this

That's easy. Micro USB cables in particular don't like being plugged and unplugged on a regular basis. I considered the cables I used to charge my phone as disposable and kept spares around since they rarely lasted more than two or thee months.

In one case, I stopped buying long cables and saved money by using a USB extension cable with a short micro USB on the end of it that I changed regularly.

Not just deprecated, but deleted: Google finally strips File Transfer Protocol code from Chrome browser

Gerhard Mack

Re: Overkill for many sites

You seem to be forgetting that one of the reasons behind the current push for encryption everywhere was that several ISPs were caught hijacking connections and adding stuff the user never asked for to the stream.

Compromise reached as Linux kernel community protests about treating compiler warnings as errors

Gerhard Mack

Re: To look at it another way

GCC won't know that. Copying a partial string is a common way people mess up and end up with a string minus the end of string NULL byte and end up with string parsing functions processing unintended parts of memory. That is why the warning.

Gerhard Mack

Re: To look at it another way

See now you've changed your error message. The previous message you added was almost exactly the one gcc gives when you cast between incompatible types.

At any rate, with that new message, I do hope you were manually adding the null at the end of the string after you copied it.

Gerhard Mack

Re: Not so simple

"So, I don't have -Werror, but I do have -Wall. And note that, annoyingly, -Wall with gcc does not enable *all* warnings. I haven't looked at them for a while, but mine are currently:"

I think the idea is that GCC doesn't break things with changes to the warnings. I have a script that gets the GCC version and enables all warnings for that version, passing that variable back to make.

I really wish GCC would have a -Warnings=GCC_version or something so I can just tell it to enable everything.

Gerhard Mack

Re: To look at it another way

I would be interested to see the code you used for your copy because usually that warning indicates you are casting something to an incompatible data type and GCC thinks information is being lost in the conversion. Nothing to do with how much of the string you care copying. You only think the warning is stupid because you misunderstand the nature of the warning.

Gerhard Mack

I don't blame him

Years ago I made this exact commit to one of my projects along with a set of annotations for all of the functions that used format strings. The other programmer threw a hissyfit and turned it all off again complaining about the fact that he didn't have time for all of that. A couple weeks later we try it on some nice new 64 bit servers and his code couldn't even last 30 seconds without a crash.

Years later, he quit/got fired (depending on which side you ask) and I got stuck maintaining his code. I ignored the large bug list while enabling a set of warnings/ fixing them, in a loop for a few weeks. When the code was retested, 95% of the bugs were gone. His logic was fine and he could have saved himself years of effort had he fixed the warnings in the first place.

Patch now? Why enterprise exploits are still partying like it's 1999

Gerhard Mack

Re: Big problem...

This is why IT needs to segregate devices they don't control from the rest of the network. Devices like that are why we have VLANs and firewalls.

Terraria dev cancels Stadia port after Google disabled his email account for three weeks

Gerhard Mack

Re: Stadia really seems to be in trouble

At least I got a free Chromecast out of it

Gerhard Mack

Re: Stadia really seems to be in trouble

The best part is that Google just had a massive campaign where they were sending people free Stadia hardware (chromecast + controller) So long as you opened a Stadia account.

Must 'completely free' mean 'hard to install'? Newbie gripe sparks some soul-searching among Debian community

Gerhard Mack

Re: I fail to see how systemd could be harder in your case

Here is a simple unit file I used to re enable rc.local on my PC.

The only other thing you could need is a "Requires=" under "[unit]" to load it after some needed dependency.

[Unit]

Description=/etc/rc.local

ConditionPathExists=/etc/rc.local

[Service]

Type=forking

ExecStart=/etc/rc.local

[Install]

WantedBy=multi-user.target

Gerhard Mack

Re: GNU's not Unix

Check out SMF on Solaris.

Gerhard Mack

Re: even then you could have disabled IPv6.

That's the odd thing for me, I have installed pretty much every version of Debian released in the past 18 years and I've never had it fail to ask me to setup a network interface with IPv4. Mind you, if you assign both IPv4 and IPV6 addresses it will prefer IPv6.

Gerhard Mack

Re: RE: doing things behind the curtain

I'm trying to remember the last time I've needed the command line to finish a Debian install. I can usually get networking with Wifi up and running without trouble.

Gerhard Mack

Re: "Hair Shirt"

That could only happen if something on your local network were handing out IPv6 address that don't route anywhere and even then you could have disabled IPv6.

Gerhard Mack

Re: GNU's not Unix

Didn't Solaris move to something similar to Systemd? I Seem to recall the Systemd folks using the Solaris boot system as a justification of their own at one point.

Gerhard Mack

Re: Systemd is not obscure or a blob

I fail to see how systemd could be harder in your case. The most familiar implementation would be to load a shell script from a minimal unit file that only specifies the dependencies and startup script. For me it has been the opposite, I have server and home network configs that I can get working more easily than before. Getting filesystems on FiberChannel or ISCSI is much easier now. Even in my home setup, I can have certain software not load until he CIFS mounts are in place with just a short unit file.

Six months after Oracle trumpeted Zoom as a cloud customer, AWS says it is Zoom’s ‘preferred’ cloud

Gerhard Mack

Re: Oracle cloud claims are questionable

We use it at work judging buy the regular "scheduled maintenance" messages, I'm not sure Oracle gets the whole "cloud" thing.

Linus Torvalds pines for header file fix but releases Linux 5.8 anyway

Gerhard Mack

What is wrong with Makefiles?

I don't understand what is so wrong with Makefiles? They are great when you want to build on a machine that isn't yours. For example, I code on my PC, but test on a sever (or other people compile onsite) Makefiles are great for dependency checking.

For example, My Makefiles let the user know each step of the process with short descriptive messages, combine the source from the src folder and the includes from that folder (and sub folders) it also only re compiles only the needed source files if I make a header change.

Admittedly there is some dark magic in the regex to make some of that happen but once written, it's done. I generally just reuse the Makefile with minor modifications on new projects.

Linus Torvalds banishes masters, slaves and blacklists from the Linux kernel, starting now

Gerhard Mack

Re: Lovely.

Denylist would be better

Linus Torvalds drops Intel and adopts 32-core AMD Ryzen Threadripper on personal PC

Gerhard Mack

Re: AMD Dreams

"The big gain in the move to x86_64 was the ability to directly address more than 4G of RAM."

A larger gain was in having more registers. A lot of time gets lost to swapping memory into registers and back again and X86_32 was notoriously short on registers.

Apple drops a bomb on long-life HTTPS certificates: Safari to snub new security certs valid for more than 13 months

Gerhard Mack

Re: I understand

You don't even need to flip it. Just provide public access to .well-known and restrict access for the actual website.

BSOD Burgerwatch latest: Do you want fries with that plaintext password?

Gerhard Mack

Re: Surprised they don't use *NIX

"I did ask about window managers, Gnome and the like rather than Linux itself. How do they take touch-screen inputs and translate them into HID inputs like key presses and mouse movements, click and drag etc.? Are they functional with touch out-of-the-box or does it require tweaks and configuration of the installation?"

Years ago I worked on POS systems and it was a huge pain. Every POS had to be calibrated and the Linux commands to get that working were annoying (it didn't help that the POS manufacturer couldn't even be bothered to orient the touchscreens the same way each time) so it was with much nervousness that I got a touchscreen laptop 2 years ago.

I hunted and hunted for documentation and couldn't find it, so I tried catting the input device and touched the screen to see what would happen. The mouse jumped to my finger position. It seems every Linux distro for the past few years just enables touch by default.

Gerhard Mack

Re: Surprised they don't use *NIX

"They are very insecure for the simple reason that nobody ever bothered securing them. Unless you consider a simple key lock on a street box that is accessible by anybody to be secure."

Indeed, and quite often all lights in a given region will have the same key. I had a friend in high school who found one of the keys in a "hidden" box and started handing out copies to all of his friends.

Whoa, whoa... Tesla slams brakes on allegations of 'unintended acceleration' bug: 'Completely false and was brought by a short-seller'

Gerhard Mack

Re: Sure, deny it and point to the evidence that supports your position...

"The thing is, Musk wails about "short sellers" all the frigging time. Anytime Tesla gets any kind of not-totally-rave press, it's malicious lies planted by short sellers. It's getting old."

To be fair, they tend not to let up for even a moment. Every possible bit of bad news and Tesla is doomed. Last year we had someone cry about a "demand cliff" in California, they turned out to be very wrong. Now this year the exact same person is claiming there is a demand cliff in California and he made sure he got quoted by all of the media. Never mind that Tesla is back ordered 5 weeks and prioritized deliveries to make sure customers in the Netherlands didn't lose out on rebates before they expired. Some of the other hit pieces from Dec/Jan: "excluding the Netherlands, Tesla sales are down."

So now we have a guy, who trolled the NHTSA database for things to complain about. Most of these were already investigated.. One of the highlighted complaints is something the car can't physically do for regulatory and safety reasons. Another case is where the data recovered from the car showed no break press and 45 degrees on the accelerator when the "unexpected acceleration" happened. And of course, he goes out and contacts the media and of course, he just happens to have a short position in Tesla. Why exactly should we take him at his word?

Somewhere short selling became a game to drive the stock down and it's not just Tesla that has suffered from this.

Gerhard Mack

Re: Sure, deny it and point to the evidence that supports your position...

The flaw in your reasoning, is that this petition was filed by Brian Sparks who has self identified as having a short position in Tesla. He claims to have heard about the problem but doesn't seem to own a Tesla himself. The petition covers 2013 - 2019 (6 years) and complains about 127 issues. That's 21 complaints a year, hardly a widespread problem even if all of the complaints turn out to be true.

To top it off, one of the complaints involves the Tesla not allowing the driver to override the steering wheel, which is something that the steering assist is designed to not be strong enough to do.

In my view, this short seller is being squeezed by the latest short burn and is trying to recover his losses.

It's a no to ZFS in the Linux kernel from me, says Torvalds, points finger of blame at Oracle licensing

Gerhard Mack

Re: To dual-license, wouldn't they need...

Unless Oracle was assigned the copyrights, that is correct. Relicencing is even less likely for Linux though, since there are far more contributors and some of them are no longer alive.

Y2K quick-fix crick? 1920s come roaring back after mystery blip at UK's vehicle licensing agency

Gerhard Mack

Re: 2038

"The simplest 'fix' for 32-bit is to treat the integer as unsigned (but possibly -1 as special error case)"

No! Negative values are for expressing dates before 1 January 1970. Your "fix" would break a lot of software.

A Notepad nightmare leaves sysadmin with something totally unprintable

Gerhard Mack
Coat

Re: Octal? You lucky bastard!

“Why do programmers always mix up Halloween and Christmas?”

“Because Oct 31 = Dec 25.”

Sorry, had to be done.

Huawei with you! FCC's American Pai proposes rip-and-replace of scary Chinese comms kit

Gerhard Mack

Re: Shop Local

The trouble is that the "compatible U.S. made components" are also made in China but have a much larger markup and cost 3x to 4x what the Chinese brands charge for a similar feature set.

Kiss my ASCII, Microsoft – we've got one million fewer daily active users than you, boasts Slack

Gerhard Mack

A quick viewing tells me that Teams is supported on Windows, Mac, IOS and Android.

Oracle demands $12K from network biz that doesn't use its software

Gerhard Mack

From my reading of the Oracle DB license: if you are virtualizing Oracle DB installs, Virtualbox is pretty much your only option if you want to have your Hyper-threads not count as full cores are far as licensing is concerned.

Mind you I went bare metal to avoid the trouble entirely.

Consumer campaign to keep receiving printed till receipts looks like a good move – on paper

Gerhard Mack

Re: Evil Thermal

"b) The thermal ones fade too quick."

Exactly this. I have thermal receipts I keep in my lockbox for warranty purposes that are unreadable after just a few months.

This major internet routing blunder took A WEEK to fix. Why so long? It was IPv6 – and no one really noticed

Gerhard Mack

Re: What transition?

"Well they **COULD** have dedicated one (1) IPv4 address for use as a flag that a 128 bit address will be found elsewhere in the header. That's probably not the best answer, but it's what pops immediately to mind. Truth is surely that the IPv6 designers thought (incorrectly) that they were dealing with a captive audience that had no choice but to follow the IPv6 game plan."

So adding a branch to the middle of packet hadling code forever. Congrats. Your plan slows down packet processing. A branch may not seem like much, but consider what happens with a device is used for routing and/or exists on a high speed interface. Those branches add up.

The IPv6 designers knew the transition was going to be painful and there was no other way around it (you can even read their logic if you bothered to look) so they went out of their way to make it only needed once. You could try looking it up yourself instead of assuming the worst possible motives for people you haven't met.

Gerhard Mack

Re: What transition?

"My suggestion. IPv6 people should recognize that they screwed up. Cancel the "transition" Come up with something serious and effective to tame IoT problem (which they didn't cause, but truly must not enable). Then design a new protocol compatible with both IPv4 and IPv6. And give a lot of thought to ease of implementation this time."

Please explain how to extend a fixed 32 bit header field without slowing down packet processing or introducing incompatibilities.

Bloody vultures! Cheeky Spanish paraglider firm pinched El Reg's mascot

Gerhard Mack

Cheap web designers

Years ago, the company I worked for at the time got a phone call: "look, we don't mind you ripping off our site design, but could you at least remove our name from the html comments?" Web dev thought no one would ever notice.

If servers go down but no one hears them, did they really fail? Think about it over lunch

Gerhard Mack

Re: "EU" plugs

Luxury! I stayed at a place in Spain 8 years ago that had a two prong euro style plug with two wires going to the exhaust fan kind of poked into the holes.

California's politicians rush to gut internet privacy law with pro-tech giant amendments

Gerhard Mack

Re: It's just more of the usual

Go one step further. Cap the maximum amount. Up here we banned Corporate and Union donations and put a cap on personal donations. The result is that the elections are annoying, but not anywhere near as bad as they used to be.

Bloke thrown in the cooler for eight years after 3D-printing gun to dodge weapon ban

Gerhard Mack

Re: But Background Checks Don't Work!

What crimes should she be charged with?

Oh Snapd! Gimme-root-now security bug lets miscreants sock it to your Ubuntu boxes

Gerhard Mack

Re: snapd and systemd

"I just had the displeasure of making a .service and .timer instead of a nice cron script to run a little python thingy, what a f_ckup the insidious systemd is."

What could you have possibly been doing where the cron script wasn't an option? I still create them all of the time regardless of whether the OS install has systemd or not.

Oregon can't stop people from calling themselves engineers, judge rules in Traffic-Light-Math-Gate

Gerhard Mack

Re: A lot of snobs in here today.

"Also, train drivers don't do the maintenance on the engines they drive (and probably never have done)."

When trains ran on steam, if they didn't run the boiler properly they could explode and kill people. The Engineer title is a throwback to the days when the day to day running of the train was a lot more complicated.

Error pop-up? Don't worry, let's just get this migration done... BTW it's my day off tomorrow

Gerhard Mack

Re: took the day off

The maintainers for the date function etc hacked in some weird Y2K compliance by allowing the 2 digit field to overflow to 3 digits. It makes for some amusing output, but it mostly worked.

Page: