Better HN
topnewbestaskshowjobs
Log inSign up

xd

6,409 karma · joined Nov 26, 2010 (16y ago) · 873 submissions

mrxdhn@gmail.com
Submissions

comment 1mo ago · link · parent

I took my services offline last night, wouldn't have been able to sleep otherwise. There has been core PHP members that have outright said the mitigation's currently doing the rounds won't help and even cloudflare can only mitigate against known attack payloads.

2.

Security advisory: Critical remote code execution vulnerabilities, update now(php.net ↗)

1561 points · by xd · 1mo ago · 659 comments

3.

AWS key exposed in JavaScript may have lit way to Beacon's charity data(theregister.com ↗)

2 points · by xd · 3mo ago · discuss

4.

Experience the Complete Codemasters Legacy(thecodemastersarchive.co.uk ↗)

1 points · by xd · 1y ago · discuss

comment 1y ago · link · parent

Bit of context. Deleting after import is unlikely to have zero'd out the data on the SD - so using photorec would have allowed them to quickly and easily recover their pictures from the SD card.

comment 1y ago · link · parent

The new legislation likely won't apply to you: https://commonslibrary.parliament.uk/research-briefings/cdp-... - the section "Threshold conditions for categorisation of services".

comment 1y ago · link · parent

A very relevant recent story: https://news.ycombinator.com/item?id=43692677, the top comment especially.

I'm not American, I'm from the UK, but it's the same in regard to putting value in to people.

comment 1y ago · link · parent

From a quick skim of the repo it looks to be injecting phptop_hook.php into any call to a php file with auto_prepend_file in php.ini. phptop_hook.php generates some stats on how long it took the php file to process and stores this via error_log() which can then be queried with the perl script phptop.

9.

Defold: cross-platform game engine(defold.com ↗)

391 points · by xd · 1y ago · 172 comments

10.

Public domain technical books published before 1964(tubebooks.org ↗)

95 points · by xd · 1y ago · 6 comments

comment 1y ago · link · parent

The thing with programming, to do it well, you need to fully understand the problem and then you implement the solution expressing it in code. AI will be used to create code based on a deficit of clear understanding and we will end up with a hell of a lot of garbage code. I foresee the industry demand for programmers sky rocketing in the future, as companies scramble to unfuck the mountains of shit code they lash up over the coming years. It's just a new age of copy paste coders.

comment 1y ago · link · parent

To me, "Unknown" almost implies the possiblity of a value, whereas I've always thought of NULL as being an absence of a value.

edit: an empty string, false, 0 are all values.

comment 1y ago · link · parent

I'm not sure where you've got this idea from. Even "new builds" in the UK, with there questionable building methods (which you may be referring to?) are mostly insulation and incredibly efficient to heat.

comment 1y ago · link · parent

I used https://wiki.osdev.org/Resources back it the day and it looks like it's still alive and well!

comment 2y ago · link · parent

The way the JSON filters work would be directly coupled to the JSON fix notation and SQL infix notation so it's directly coupled to SQL and doesn't really require a standard, imho.

comment 2y ago · link · parent

It's "prefix" notation .. if you search something like "prefix vs infix vs postfix programming languages" it should return a decent explanation. For my case it's personal choice more than anything.. also easier for me to write a VM for.

comment 2y ago · link · parent

I've a similar way of interacting with the API of my product but instead keep everything prefix notation (lispy) so for example;

"and": [ { "property": "material", "operator": "equals", "value": "carbon" },

Would be;

["and", ["=", "material", "carbon"], ...]

comment 3y ago · link · parent

He ditched a plane on purpose for youtube likes and you think he paid the price through ridicule - but I'm not making any sense, OK.

comment 3y ago · link · parent

My empathy is with the people who have their lives destroyed by reckless idiots pulling these "stupid prank"s for likes.. common sense says society doesn't appreciate this nonsense so deterrent is the only way to deal with it - but if you have as better idea I'm sure myself and the world are listening.

comment 3y ago · link · parent

Only terrorism if his intention was to cause a fire for some pollical influence.

comment 3y ago · link · parent

Someone crashing a plane on purpose doesn't amount to terrorism - there would need to be a political motivation as well.

Edit: Also the post says up to 20 years .. not sure why you've become fixated on it being simply 20. People dropping planes out of the sky for likes need to be made an example of imo, and I personally would be happy to see him locked up for life as a deterrent to others. The lengths people are going to for likes is frightening.

22.

Elon Musk among experts urging a halt to AI training(bbc.co.uk ↗)

4 points · by xd · 3y ago · 3 comments

comment 3y ago · link · parent

A lot of the inflation on food is increasingly feeling like businesses cashing in. For instance my old go to brand of breed increased by over 50% months ago.

comment 3y ago · link · parent

It's a good point you have .. I've looked up Io over the years and funnily it did use to show the code on the homepage: https://web.archive.org/web/20100923042106/http://www.iolang...

25.

How Does a Motor Work?(marty-green.blogspot.com ↗)

1 points · by xd · 3y ago · discuss

comment 3y ago · link · parent

Biggest worry would be smashing your knuckles on something when it gives up not the thing exploding.
12345
30