* Posts by Daniel Pfeiffer

7 posts • joined 10 Jun 2012

Google AMP gets a shock to its system as advisor quits, lawsuit claims foul play

Daniel Pfeiffer

A page with actual content doesn't need JS to be amped up

I've challenged myself to implement 3 types of useful elements with CSS only, for perl1liner.sourceforge.io documentation.

The blue sidelines give tooltips on where you are (breadcrumbs) and allow deep bookmarking. While the hamburger menu and play button on the code examples use :hover for active functionality. I could even make the humourous post-its wiggle, but haven't implemented that yet.

There's just one regret: the menu doesn't pop back after clicking. You have to push the mouse out again :-(. I wish there was also :hover-unclicked, i.e. active when hovered but inactive again as soon as you click inside. If anybody knows a CSS solution, happy to hear it!

Though that's not the main audience, it's even okish on smart phones without extra effort. Mobile Firefox and Chrome emulate :hover on tap, so even that works. Safari's not so smart, tough luck.

COVID-19 tracing without an app? There's an iOS and Android update for that

Daniel Pfeiffer

Re: Wifi sniffing

I heard that glue sniffing can have an effect on your psyche and body. Not sure it can be directed at fighting a specific virus though. So I wonder if wifi sniffing would be any more successful...

Worried about the Andromeda galaxy crashing into our Milky Way in four billion years? Too bad, it's quite possibly already happening

Daniel Pfeiffer

Re: Or Gravity isn't a constant

1) Take a bunch of magnets, shake them together, they will align to clump together. Like-polls push each other apart, opposing-polls pull each other together

I see that in the campaign for the Brexit-poll, Farage told you not to like Poles. This has led to your being pushed apart from European like-poles. Meanwhile the hot gas halo drifting out of BoJo's mouth, is magnetically pulling you together into a chlorinated-chicken 51st state of Andromeda fantasy.

Google and IBM square off in Schrodinger’s catfight over quantum supremacy

Daniel Pfeiffer

Aren't quantum computers ideally suited to generate random numbers anyway? Just turn off the cooling and don't implement error correction. So what's the news here?

Cloudflare buys browser isolation biz S2 Systems in bid to realize Sun's network computing vision at long last

Daniel Pfeiffer

Which is hard on videos that render directly on the graphics card bypassing the X-protocol & remote capabilities. Same goes for vids in the browser, so at least that part needs a different solution. Either video streaming or passing the <video> tag to the browser after all. The latter maintains the risk of exploitable decoder bugs.

Dropbox would rather write code twice than try to make C++ work on both iOS and Android

Daniel Pfeiffer

Kotlin/Native targets iPhone

https://kotlinlang.org/docs/reference/native-overview.html says:

Kotlin/Native is primarily designed to allow compilation for platforms where virtual machines are not desirable or possible, for example, embedded devices or iOS.

the compiler creates: an Apple framework for Swift and Objective-C projects

It's currently in Beta stage.

Samsung 'to launch Galaxy S III in US', snubs Apple's ban bid

Daniel Pfeiffer

Apple's patent is void, Perl is Prior Art

The idea of extracting anything interesting out of a text goes back to Larry Wall (who in turn was inspired by various Unix tools, as well as by Kleene's theory of 1950, implemented by Thompson in the 60ies).

The elegant regular expressions which Wall created for Perl in 1988, do in Apple's patent with a trivial /(0\d+[-.\/ \d]+\d+)/ — if you want to recognize area codes in parenthesas, add just a little more, no rocket science!


Biting the hand that feeds IT © 1998–2021