* Posts by Marco Fontani

148 posts • joined 3 Dec 2012

Page:

Stern Vint Cerf blasts techies for lackluster worldwide IPv6 adoption

Marco Fontani

Re: They are just being frugal

The Reg make no efforts that way. Not even tokens. Not even tests.

The hostname used for most images, regmedia.co.uk, has been returning an AAAA record, and has been usable over IPv6, since at least (let me check the changelog) three years ago.

My last comment on the matter of IPv6 still stands: https://forums.theregister.co.uk/forum/1/2018/05/21/ipv6_growth_is_slowing_and_no_one_knows_why/#c_3521098

Soon®

I'd much rather read a good article on the systems behind the Reg

See the https://www.theregister.co.uk/about/company/website/ ("under the hood") page; you can always fire off an email to webmaster@ and I'll be happy to answer any questions you might have.

As to your question about project management and "technical embarrassment" - you might be right; after all, it's a very small team and we're bound to get things wrong, or done slowly :)

Specifically about IPv6 on thereg, the main reason progress has been slow on the matter for the past few months (couple years now actually) is that I've not been able to secure a "proper" IPv6 connection for testing things properly with. This obstacle has now been stepped over, and as soon as my schedule frees up to allow me to do such tests, fix bugs and enliven things - there'll be IPv6 on thereg.

Mind you that adding IPv6 to ElReg is a little bit like adding icing to the cake. I can work on that icing once the cake's actually looking and tasting good, but if it looks like somebody stomped on it, I can't work on the icing and need to hold it off.

3
0

Presto chango, crypto buyo: You're travelling like El Reg's gang of nerds

Marco Fontani

Re: Why????

https://forms.theregister.co.uk/gg2b/

Click the "Paperback" tab.

0
0
Marco Fontani

Have you tried clicking on the "paperback" tab?

6
0

Finally: Historic Eudora email code goes open source

Marco Fontani

Oh, the memories.

Right before the turn of the century my email was, for all intents and purposes, "on" a floppy disk I carried around (as space on the server was at a premium), which contained the "data" folder for Eudora, which was installed on all available Windows 3.11 for Workgroup computers at the ISP I physically *visited* to read it (I didn't have a home internet connection then).

It wasn't much after that I ended up moving my old 486 box at the ISP, and "just" started using Linux instead.

/sniff

7
0

IPv6 growth is slowing and no one knows why. Let's see if El Reg can address what's going on

Marco Fontani

Especially when Reg is behind Cloudflare. Cloudflare make it as simple as ticking a box to enable IPv6.

You're half right. Enabling IPv6 on Cloudflare is indeed a flick of a button. Unfortunately there are still a few internal systems which wouldn't work when clients start sending them requests using an IPv6 address. In fact, we _had_ it enabled "for testing" on the old channelregister.co.uk site, and that showed us we had a lot of things to fix before we could enable it on thereg also.

We have a branch which purportedly fixes everything IPv6 related on our systems, and I'm now in a position to properly test it.

So, Soon®

19
0

Time to ditch the Facebook login: If customers' data should be protected, why hand it over to Zuckerberg?

Marco Fontani

Re: @Wiltshire

Wrong... go to the FB link on the article page for this any other story... and then click the FB link. You'll see this:

Log in to use your Facebook account with TheRegister.

Yes, you'll have to be logged on to Facebook if you want to use the button to share the story on Facebook, same as the other "share with …" buttons next to it.

The OP was talking about the footer Facebook button, which along the others are mere links to The Register's presence on those platforms.

0
0

Amazon: Intel Meltdown patch will slow down your AWS EC2 server

Marco Fontani

You might want to consider the Rules Of Optimization Club. They've been written for Perl in mind, but I'm sure they apply in most cases. Repeated / amended below:

  • Don't optimize.
  • Don't optimize without measuring.
  • If your app is running faster than the underlying transport protocol, the optimization is over.
  • One factor at a time.

Or, in other words, "make it work, make it correct, and only then make it fast". I much rather have slow code which is correct, than very fast code which gives the wrong answer, performs the wrong calculation, or wreaks havoc.

As to the language of choice, I'm biased as this site's mainly Perl-based… but one surely has to consider the speed and ease at which things can be developed, and not only whether a few milliseconds can be shaved here and there. If gaining speed means having harder to read code, it might not be the best trade-off. It's not always best to optimize for development, rather than for runtime – but it can often be.

Just my 2c.

32
0

"pre" tag not working as expected

Marco Fontani

Forums has always had automatic paragraphs for HTML comments, and when we started allowing HTML in comments we wanted to preserve that behaviour despite it maybe not doing the "right thing" in some contexts; this is one of them; a blockquote with multiple paragraphs is another.

In fact, a simple pre tag with two lines inside it looks "weird enough". Thanks for the test case. I'll look into whether and how to disable auto-paragraphs inside the pre block, as that should likely do the trick.

2
0

page not loading

Marco Fontani

I'm not sure what you mean by that, sorry – is the page not displaying at all? Which browser, and which addons do you have installed?

In order to help you, it'd be advantageous if you could read https://www.theregister.co.uk/Page/problem.html and report back to webmaster@ with your details.

I wonder, though, if this is simply an ad blocker blocking the article as it contains "advertising" in the URL.

0
0

'Gimme Gimme Gimme' Easter egg in man breaks automated tests at 00:30

Marco Fontani

why would an automated test want to run 'man' without any parameters

It didn't. The automated process mentioned in the article needed to run man -w to get the "man path".

As per the article,

When you run man without specifying the page or with -w, it outputs 'gimme gimme gimme' to stderr, but only at 00:30."

So, running man -w (a perfectly sensible thing to do to get the man path) triggered it, which led to the problem.

IMHO, if it outputed the easter egg only on a man invocation, it wouldn't have caused any such problem, and removing the easter egg altogether is unwarranted. Just don't make it work on man -w and make it work on man alone. My $0.02.

35
1

New Forum Wishlist - but read roadmap first

Marco Fontani

Re: Idea for hiding/changing the look of certain commentards posts

You can easily do that today using JS – instead of CSS, as CSS doesn't support styling of a parent div based on properties of a child element.

$('.post .author a[href*="/53495/"]').parent().parent().css('background-color', 'pink')

That's all your posts on any forum page (but not on your own user's page) styled with a pink background.

Any "user scripts" addon should allow you to add the above and have it work.

If you don't like using jQuery (although we load it on all forums pages, so it will currently always be available) you can always Just Use Plain JS, provided your browser supports querySelectorAll:

(function(){ var posts = document.querySelectorAll('.post .author a[href*="/53495/"]');for(var i=0;i<posts.length;i++){posts[i].parentNode.parentNode.style.backgroundColor = 'pink'} })()

... or whatever floats your boat.

0
0

What's with the blasted captchas?

Marco Fontani

Why, when I'm ALREADY logged in to the Reg, have I suddenly started getting bloody irritating, crappy captchas?

We've had CAPTCHAs for various things since at least 2013, and they're usually only shown when "something triggers".

This "something" ranges from what you were doing at that time, your browser signature, your country, your ISP, your IP address, etc.

If it "started this morning" for you, the reason may range from having changed some of your browser settings or having switched to a different VPN than usual, to simply having posted some "trigger words" which make the web application firewall show the CAPTCHA, to err on the safe side before allowing the request through.

If you'd like to discuss this in detail, could you follow our problem reporting page and send us an email at webmaster@?

0
0

Commentards booted off m.register?

Marco Fontani

Re: m redirecting to www?

Then you seem to have a bug, because it's not working like that.

We hear you.

We've now tuned our edition setting functionality a little bit further as to not disrupt the navigation flow on mobile devices.

So, if you're on a mobile device and visit – say – the homepage, then go on a story and click the comments links, you'll be shown the mobile site. If on that same story you click the masthead logo or a section index page, you'll get the mobile version.

To have the same happen on your desktop size device, you'll have to opt in and click the "Mobile website" link at the bottom of most pages (not article pages, as those only exist on www now, and they're responsive).

1
0
Marco Fontani

Re: Commentards booted off m.register?

Nope, the link to comments should display fine so long as the article allows them.

The AMP page comments link isn't styled, though - as we're pretty restricted when it comes to style on AMP pages… and the AMP pages kinda mimic the mobile page layout.

Are you sure you're looking at an article page on the mobile site, and not at an AMP page?

1
0

Ye Bug List

Marco Fontani

Yes. I even closed the browser session and re-opened. I know that posts don't immediately turn up in the threads, but they also weren't showing when I clicked on the "my posts" link.

Your request to post… well, a "post" on a forum… is "done" (shows up on the forum, shows up on "my posts", etc) only when it's been completely processed by our backend.

Until then, it's just a JSON file on a disk, nothing more.

0
0
Marco Fontani

The posts don't update immediately like they used to.. Some server side caching I suspect

Your "requests" to post a comment, or edit a comment, are placed into a "FIFO queue" along with other things.

If the queue is not empty, your post may take a little while to show up on the site - depending on how many requests there are before yours, their type, and how long they take to be processed.

As the message shown after your post has been sent says, "be patient".

On top of that, if we're making sweeping changes to our backends, we may temporarily stop the processing of new forum posts. You're still able to post, and your posts will be recorded - they'll just not appear on the site until maintenance is complete.

1
0
Marco Fontani

Re: Odd HTML error.

I've tracked this down. Your original submitted text contained newlines at the end of the href, just before the ending double quote… which in turn later made the auto-paragraphs feature spit out horribly invalid HTML.

I've "fixed" your original post, and I've made it so that newlines found within those hrefs now constitute an error.

1
0
Marco Fontani

Re: @Drew Spurious Blank lines at end of comments

Could you email us at webmaster@ this domain?

See https://www.theregister.co.uk/Page/problem.html for the kind of information we'll likely need, i.e. the exact url you're seeing this on, the browser, IP, etc. etc.

Look forward to hearing from you!

The Webmaster ;)

0
0
Marco Fontani

Re: Website unusable at the moment

Specifically the NetApp animation, that takes about 3 minutes to load.

I've alerted our ad/ops team to this, thanks for your report!

0
0
Marco Fontani

Re: Smartphone app

Who messed with the CSS. The font sizes seem to be too big especially on comments.

We did.

The font size for article and comments body was quite a bit too small, and it's been set to ~16px, which is a good legible size for them.

0
0
Marco Fontani

Re: Anti-Ddos and missing images

On frequent occasions I'm missing images all over the website and I've now got a 5 second block when trying to load anything. What gives?!

Could you please email at webmaster@ with the contents of https://www.theregister.co.uk/cdn-cgi/trace please? Unless you're connecting from a bad reputation IP, that shouldn't happen.

Might it be you're connecting via tor? In that case, you might want to load at least once https://regmedia.co.uk/ so that Cloudflare can check your browser, and set a cookie which will allow your browser to load everything fine. Of course, if you then go and delete your cookies every time you close the browser, you might have to go through this again…

0
0

Official: Perl the most hated programming language, say devs

Marco Fontani

Re: Python whitespace

There's tremendous value (for any language) to get something that can really lint your code, preferably inline in your editor. It looks like lack of that is one of the complaints against PERL?

Dunno what to say, I use (neo)vim and ale is perfectly capable of linting both my and ElReg's Perl (not "PERL") modules and scripts using both perl -c to check the syntax, and perlcritic (with per-projects overrides in .perlcriticrc) to ensure nothing too unwieldy is being typed. Coupled with a simple pre-commit hook to, again, check syntax and ensure we're not committing too much crap, it seems like kinda what you'd have with any other language, unfortunately sans "completion hints" as it's an interpreted language, and omnicompletion really only seems to work for the most basic of classes.

I've got something similar setup for HTML, JS, CSS and SASS using the exact same system, so Perl isn't an outlier here.

Rather, I feel that there's not enough options in perltidy to match my or ElReg's "house style", unfortunately. I'd love for Perl to have something as pleasant to use, and read, as gofmt, but unfortunately perltidy doesn't seem to be enough for me. I might just have weird syntax preferences!

And I am keenly aware it's super hard for most people to read and understand a PERL program of any real complexity.

IMVHO, you can write maintainable or unmaintainable code in any language. I've seen scary stuff in C, C++, Perl, ASM, and I've seen maintainable code in ASM, Perl, C++, C. /shrug

3
1
Marco Fontani

Re: Perl.... Arrggh

I started to learn perl - from books - and it was the worst experience ever. (in regards to what i was learning from a book, that is).

I'd recommend you read Moden Perl, then. Good book to read if you already know how to program and don't need your hand held.

12
1
Marco Fontani

Re: common::sense

Now if only I didn't have to open files with 'open FILE, "&lt;:encoding(UTF-8)", $fn' every time ...

You might want to look into utf8:all, then :)

7
0
Marco Fontani

Re: common::sense

$ perl -le 'use utf8; my $a = { 私 => "あな た"}; print $a->{"私"};'

Wide character in print at -e line 1.

あなた

That "use utf8" only told Perl that your _program_ is encoded thusly, and did nothing to say that your standard output or standard error should output utf8.

$ perl -le'use utf8; binmode *STDOUT, ":encoding(UTF-8)"; my $a = { 私 => "あな た"}; print $a->{"私"};'

あな た

There you go, no warning.

Oh, you wanted to warn instead of print? There we go again…

$ perl -le'use utf8; binmode *STDOUT, ":encoding(UTF-8)"; my $a = { 私 => "あな た"}; warn $a->{"私"};'

Wide character in warn at -e line 1.

あな た at -e line 1.

So, you've got to set STDERR to also encode stuff as utf-8:

$ perl -le'use utf8; binmode *STDERR, ":encoding(UTF-8)"; my $a = { 私 => "あな た"}; warn $a->{"私"};'

あな た at -e line 1.

… or just do what we do, and create a module which does the above for you, as unfortunately common::sense removes a little too many warnings that we want to instead keep enabled... and we don't always want or need to have the utf8 encoding layer enabled on either stdout or stderr.

8
1

Computers4Christians miraculously appears on Ubuntu wiki

Marco Fontani
Joke

It has enough problems with the daemons it has

thought they renamed SystemD to SystemG in that distro :/

6
1

El Reg is hiring an intern. Apply now before it closes

Marco Fontani

let's be honest that's only because you're using CloudFlare

The CMS, whitepapers, and other subdomains have been on TLS way before Cloudflare. Neither is on cloudflare currently, either.

"Real" IPv6 is a clusterfuck I'll delay for as long as I can.

If you want to ask more, or discuss etc there's always webmaster@ :)

0
0

Login screen messages

Marco Fontani

This is not current Best Practice™.

I tend to agree, but "El Reg isn't your bank" (or Equifax *cough*) - so we opted to make it easier for users to gauge whether they had already registered with an address or not, or whether they simply placed in the wrong password - rather than giving the exact same confusing message "either email or password was wrong, use a magic eight ball to guess which".

Current Bestest Practice® would likely be to generate a unique email and password per service, so there's that ;)

1
0

CBS's Showtime caught mining crypto-coins in viewers' web browsers

Marco Fontani

Re: BOFH?

If I were to wager a guess, I'd say a marketing plod with the ability to push JS changes (via analytics, tag manager, you-name-it) to production without proper review.

2
0

Stack Overflow + Salary Calculator = your worth

Marco Fontani

Re: No server side development, no Unix

No server side development

Well, there's Javascript which can be used as a server-side development language

/sigh

5
2

What happened to my Silver Badge

Marco Fontani

Re: You've dropped below 100 posts in the last year.

Yup, you have ~76 live posts this year, only a few more for the bronze badge!

2
0

El Reg Topic Forum Layout Problem

Marco Fontani

And fixed :)

1
0
Marco Fontani

Sorry, not seeing on the page you linked to, nor on the actual index page for articles ( https://forums.theregister.co.uk/section/article/ )

Could you please submit a screenshot, and a little information about your browser (the contents of https://www.theregister.co.uk/cdn-cgi/trace would help) to webmaster@ please?

Thanks!

0
0

FREE wildcard HTTPS certs from Let's Encrypt for every Reg reader*

Marco Fontani

Re: Oh, I wish it was just as simple as that

yet the browsers are starting to complain that the site is insecure when logging in. Do I really need HTTPS?

Do you value giving all eavesdroppers on the connection between your computer and your server (both included) the ability to log into that site as yourself and do as they please with it?

… because that's effectively what's happening when you're logging in over HTTP.

It's even worse if you used a password you've re-used elsewhere… as now they also have access to that other thing. Or, worse, things.

Use https, use a password manager and create long, secure passwords… and don't use a password on more than one site.

3
0
Marco Fontani

Re: An admirable effort.

It's nothing more than a generic cert from CloudFlare

Well, not quite "a generic cert"… the certificate contains another couple second-level subdomains in the cert – a "generic wildcard cert" wouldn't be able to secure "m.forums" or "m.search".

Once another CA will make it as frictionless and cost-effective to have the same, I'll reconsider… We already use another wildcard cert on whitepapers, for example – and that's not under cloudflare, it's RapidSSL.

Unfortunately, the above situation means while we probably could also enable HSTS, we'd be doing that using Cloudflare's certs (something I'm neither strongly for or against, but I'd rather those were "our" certs)… and having two different CAs means we can't yet implement HPKP.

I guess once LetsEncrypt starts giving wildcard certs we'd be able to… so long as they offer one cert for all (?:sub)?domains we require ;)

4
0
Marco Fontani

Re: An admirable effort.

Complaining that you hadn't adopted HTTPS on every article in which you tell people to adopt HTTPS was one of the few pleasures I had left in this world!

The most common complaint du jour is lack of IPv6 support, you can jump right in!

14
0

Shiny AJAX up/downvoting

Marco Fontani

Re: Please don't

I've got the gold badger and everything

You're welcome to install NetBSD on it ;)

3
0
Marco Fontani

Re: Please don't

ElReg's current methodology behind thumbing people is all but useless.

… as it's always been :)

up/downvotes "just" serve as an indication of whether commentards are liking or not a given comment.

I just need the tool to see who's downvoted me

Ain't gonna happen.

3
0
Marco Fontani

This is going to be addressed Soon®: we'll be showing a slightly different icon depending on which way you up/downvoted a post

The time has come ;)

6
0
Marco Fontani

I just upvoted everyone. Then logged out and back in again. And was allowed to upvote everyone again. Hooray!

You've always been allowed to "do" that.

I say "do" as our forums code simply "records your vote preference", and then kicks off a separate task to actually "make it so".

In the end, the last vote wins and gets recorded – as each "per forum post, per user" vote can be expressed only once, but you can change your mind anytime.

Unfortunately, the front-end code isn't currently showing which way you voted, so by tricking things a little you can make it appear as if you managed to (up- or) down-vote somebody into oblivion… but in reality, so long as you're using the same user account to make your "tests", all you've accomplished in the end is to choose whether to upvote or downvote a post.

This is going to be addressed Soon®: we'll be showing a slightly different icon depending on which way you up/downvoted a post (even with JS disabled, obviously), and (while still allowing you to re-cast your vote anytime) the numbers should be quite a bit more clear in the end – as the JS will also be able to take into consideration whether you had or hadn't already up/downvoted a post – and it not being currently able to do so is the source of the "visual bug".

The other "bug" is that we don't currently have a way for you to reverse your vote choice, i.e. if you upvote somebody then you decided that you actually didn't want to either upvote nor downvote the post, you can't go back to "no vote preference given": once up- or down-voted a post, you can only pick which way to vote. We're unlikely to fix this anytime soon, to be honest. Little to gain for a very small corner case.

3
0
Marco Fontani

But you can't upvote, downvote, then upvote again

Well spotted! You now can ;)

Re the feature request – yes, it's been something we've had on the back burner for a while, along with showing which way you voted – if you did – on posts.

It'll come soon®

5
0

Software dev bombshell: Programmers who use spaces earn MORE than those who use tabs

Marco Fontani

Re: My code won't run but the spaces are great

Whilst tabs or spaces makes no difference to the compiler/interpreter

*cough* Makefiles *cough*

6
1

Kill Google AMP before it kills the web

Marco Fontani

Re: Oh, meant to say - the Reg site is really slow on mobile

The thing that annoys me about El Reg comments pages, much as I love the content, is the Web 1.54382 design of voting…

Yup, that's coming Soon®

0
0

China launches aircraft carrier the length of 2.1 brontosaurs

Marco Fontani

Re: Bollocks

There seems to be a bug in El Reg's unit conversion page : It clocks the brontosausus at 138 m instead of the more reasonnable 22 m.

Thanks for pointing this out! It looks like this specific unit conversion has been wrong for quite a long time.

I've just now updated it to have a more meaningful value, i.e. exactly 157 linguine.

0
0

Y'know CSS was to kill off HTML table layout? Well, second time's a charm: Meet CSS Grid

Marco Fontani

Re: <table>

Hopefully El Reg will keep it 90s by still using the default HTML 4.0 table style...

I don't get it, sorry – HTML tables are still valid in HTML5, and are/should be used when presenting tabular data.

Granted, the table in that article looks like crap and it uses attributes which shouldn't really be used in HTML5 – but that's the default rendering of a table in a browser, mind you…

IMVHO, using tables for tabular data like in that article is totally fine, but using it to lay stuff out is not. What are your thoughts?

2
0

I need an ISP that offers IPv6. Virgin Media: Whatevs, nerd

Marco Fontani

Re: Smartphone app

A better goal would be to deploy it and not have people notice. It should just work.

Precisely why I wrote he will notice. Not "everybody" ;)

4
0
Marco Fontani
Trollface

Re: Smartphone app

El Reg still only seems to be IPv4

If you're that sharp-eyed, I'm sure you'll have noticed that the images domain, regmedia.co.uk, is available over IPv6 ;)

IPv6 will be coming to ElReg in the not-too-distant future (read: soon®)… likely as soon as I get a new, "shiny round tuit" to do the deployment of it as painlessly as possible. We've had a Git branch for it since ~2015 or so… but it's not ready yet. When it is, you'll notice.

9
0

Can you...

Marco Fontani

You can go on your account page, and click the big "Delete Account" button, or go to https://account.theregister.co.uk/delete/

You'll need to be logged in and provide your password to do that, of course.

0
0

504 Gateway Time-out

Marco Fontani

Looks like Cloudflare, our CDN, made a boo-boo at that time :|

0
0

Is it me?????

Marco Fontani

Sorry for the trouble, it looks a SNAFU happened somewhere :|

The apps should've been displaying a message in the app in the last few _weeks_of January, mentioning that the API (and the apps with it) would cease to work at the end of January. Here is the message:

Apps users, a short note to announce that The Register is shutting down all apps with effect from January 31. We appreciate your eyeballs and owe you an explanation.

Our iOS app is serviceable but our Windows and Android apps are not fit for purpose - and have not been for a long time. it is not a good use of our money to rectify this.

Traffic via apps is low - a typical experience for news publishers - and effectively impossible to monetise unless we charge for downloads.

That’s not happening.

We have a small dev team and we need to focus resources. That means we are not futzing around, for instance to ensure that our apps are https compliant. The team’s next big project is to make The Register fully responsive.

In the meantime recommend that you read us on the mobile web at https://m.theregister.co.uk/.

Drew Cullen,

El Reg®

As it's now February, it has indeed ceased to work.

AFAICT all the apps have since also been pulled from the respective app stores. You will likely want to uninstall the app from your mobile phone, as it's not going to work anymore.

You'll likely want to continue to read The Register on our mobile site; see above for the link.

I suggest you go to https://www.theregister.co.uk/ and click on the "mobile website" button at the bottom, as that'll ensure that any The Register URLs you open will then always be displayed on the mobile site - without having to manually switch between "www" and "m".

Apologies for the inconvenience caused,

The Webmaster ;)

0
0

Page:

Forums

Biting the hand that feeds IT © 1998–2018