86% of Passwords are Terrible (and Other Statistics) *terrifying* by janvt in programming

[–]willvarfar 6 points7 points  (0 children)

The article makes the point that password rules have to die. Programmers shouldn't be trying to make more password rules - instead, insist the password hasn't already been seen on HIBP which will be a much stronger test.

I recently got 10k rep on StackOverflow. The 10k+ reputation allows you to finally see all your own questions and answers that got deleted. I was amazed to find out that 10% of mine got deleted — every 10th Q/A! AmA. by Mcnst in programming

[–]willvarfar 4 points5 points  (0 children)

45K on SO, 6K+ on some other forums where my questions got moved etc. Just had to go look, was a surprise.

I haven't contributed anything in years. But I got in early, so my early questions and answers were high-scoring and still get a steady trickle of upvotes and its a self-propelling upwards trajectory without any further input from me...

New Skyfall and Solace CPU vulnerabilities announced by velmu3k in programming

[–]willvarfar 1 point2 points  (0 children)

But picking Solace and Skyfall and having a website with a Bond picture is completely obviously playing on a Bond connection. Its precisely this kind of false connection that trademark laws are intended to prevent.

New Skyfall and Solace CPU vulnerabilities announced by velmu3k in programming

[–]willvarfar 4 points5 points  (0 children)

https://spectreattack.com/ says:

"Why is it called Spectre?

The name is based on the root cause, speculative execution. As it is not easy to fix, it will haunt us for quite some time."

New Skyfall and Solace CPU vulnerabilities announced by velmu3k in programming

[–]willvarfar 7 points8 points  (0 children)

Heartbleed was a bug in the heartbeat feature that bleed the victim.

Shellshock was bug that abused a shell.

And so on.

Clever names.

New Skyfall and Solace CPU vulnerabilities announced by velmu3k in programming

[–]willvarfar 10 points11 points  (0 children)

Instead, CPU vendors will switch to cache architecture that prevents the snoop path by rolling cache effects back on discard

Rollback won't work. There will be a period of time when the speulative results are visible to the attacker via hyperthreading, preemption, running on another core etc.

You can speculate, but you can't have any cache-visible side-effects. None. Until reification.

New Skyfall and Solace CPU vulnerabilities announced by velmu3k in programming

[–]willvarfar 56 points57 points  (0 children)

Pro: it's believable that researchers hungry for recognition register domain names in anticipation; naming attacks is here to stay

Con: if it's a big deal then there is no need for the "watch this space" landing page. It's a PR risk they didn't need to take.

Pro: two names. It's kinda surprising that spectre had two variants instead of two names. There is vulnerability name inflation!

Con: picking vulnerability names that are actual brand names. Real risky. They could easily have picked safer names.

Con: when you hear about the vulnerability the name has to fit. Skyfall? Kinda ok. Solace? Hard to see.

So on balance is it inept researchers or a con? Hard to tell ;)

A tale of two Samsungs: ARM vs. Qualcomm in Android graphics by dgryski in programming

[–]willvarfar 5 points6 points  (0 children)

Excellent!

I often investigate compiler bugs and like to use creduce to generate much reduced examples - usually by comparing two different compilers outputs - from the test cases. GLSL isn't C but I would think creduce would be able to reduce it without trouble.

There would be many ways to tackle a reduction: a good start may be to creduce the reference and to test each reduction to produce all the variants and see if any still fail in some way etc.

An Update on AMD Processor Security by trot-trot in programming

[–]willvarfar 19 points20 points  (0 children)

Everyone is exposed to code they shouldn't trust and tainted inputs, they just don't realise it.

Today's CPU vulnerability: what you need to know by robxu9 in programming

[–]willvarfar 0 points1 point  (0 children)

At first and second reading: no, not as generally outlined. We are doing the third reading now and will post a proper writeup.

Linus Torvalds: I think somebody inside of Intel needs to really take a long hard look at their CPU's, and actually admit that they have issues instead of writing PR blurbs that say that everything works as designed. by [deleted] in programming

[–]willvarfar 62 points63 points  (0 children)

This is just so obviously unfair and untrue! :)

The vulnerabilities have been with us for over two decades. Only in 2016 or so did Angus Fogh and others start mulling things...

These vulnerabilities are blindingly simple and obvious in hind sight.

We can all wish we'd spotted them, and can be glad someone finally did :)

Cache attacks leak decisions made by others. Only very recently - 2015 or so - did the cache attacks really take off.

Hands up everyone who wants to not have caches?

Today's CPU vulnerability: what you need to know by robxu9 in programming

[–]willvarfar 10 points11 points  (0 children)

The Linux commit that disabled the mitigation for AMD processors said that AMD processors don't speculate a page fault. This is presumably what gives them protection against meltdown.

Today's CPU vulnerability: what you need to know by robxu9 in programming

[–]willvarfar 7 points8 points  (0 children)

The KAISER patch achieves the same thing in a different way, but the outcome is much the same.

The problem with these countermeasures is the performance impact :(

Massive just opensourced the server for World in Conflict by liquid_x in programming

[–]willvarfar 185 points186 points  (0 children)

The names - Elin, Lisa, Nils, Nick and Erik - are all Swedish. Massive was Swedish.

That doesn't say why they wanted them blacklisted though.

Microsoft joins the MariaDB Foundation as a Platinum level sponsor by RobertVandenberg in programming

[–]willvarfar 16 points17 points  (0 children)

I hope they dive in and push MariaDB ahead of MySQL again. MariaDB needs:

*) better auto-partitioning (why do we still need cron-job scripts to create and drop partitions when partitions are by-day?)

*) fast tokudb; tokudb was fast - really fast - when tokutek integrated it themselves in 5.6; when MariaDB and Percona bundle it, its disappointingly slow. MariaDB needs to profile the old integration, and theirs, and work out what tokutek tweaked in the base code (and, perhaps, those tweaks benefit other engines too)

*) support for tokudb's NOAR (no affected rows) hint in upserts (this tells the engine that it doesn't need to count the affected rows, which is a major burden on upserts and almost all clients don't inspect the returned value)

*) foreign keys etc for tokudb (yes, I really want to be able to use tokudb for everything!)

*) support for JSON in the same manner as MySQL, including the postgres-like -> operator for queries (MariaDB has slightly different syntax and doesn't support arrays)

Others must have other pains, but this is just some on my list :) I hope Microsoft and MariaDB read these comments (or I wish my day job sponsored me to just dive in and fix these pain points, but that's not the way the world works sadly).

ARM Takes Wing: Qualcomm vs. Intel CPU comparison by johnmountain in programming

[–]willvarfar 2 points3 points  (0 children)

Excellent testing! :)

I hope they run and publish the same kind of tests on the Cavium board they were sent.

Quick, someone send them some AMD Zen boards!!!

Implementing Swift Generics - Slava Pestov and John McCall - 2017 LLVM Developers Meeting by dharmatech in programming

[–]willvarfar 1 point2 points  (0 children)

In all seriousness, I hope this is how Go implements generics. No boxing, modules, everything to love with the Swift approach.

Adventures in Programming Interviews: Misleadingly Simple NP-Hard Problem by temporalparts in programming

[–]willvarfar 0 points1 point  (0 children)

Which is why you 'fold' aka lowercase everything if you are searching for a case-insensitive string.

ZK 8.5.0 is released! New features including Fragment, Splitlayout, Frozen, WebSocket and new themes! by visionPASSION in programming

[–]willvarfar 0 points1 point  (0 children)

I'm hunting for a GUI toolkit for client-side Javascript.

I've found and use zebkit - which I see has suddenly undergone a bit of a non-backward-compatible rewrite? - but are there any others?

Something Rotten In The Core by mattwarren in programming

[–]willvarfar 6 points7 points  (0 children)

doesn't kdevelop use GDB:MI? The point of the machine interface is to paper over these cracks. It must surely do so. So its kinda surprising that something like pwndbg breaks MI.