Better HN
topnewbestaskshowjobs
Log inSign up

wolfwyrd

168 karma · joined Jan 21, 2014 (12y ago) · 58 submissions

Submissions

comment 1mo ago · link · parent

There is a series of blog posts[0] by Eric Lippert called "Fixing Random"[1] that starts at random and covers distributions, weights, noise and so much more. It's a fantastic deep dive into the subject.

[0] https://ericlippert.com/2019/01/31/fixing-random-part-1/

[1] https://ericlippert.com/tag/fixing_random/

comment 6mo ago · link · parent

https://en.wikipedia.org/wiki/The_Thing_(listening_device)

3.

Tree-me: Because Git worktrees shouldn't be a chore(haacked.com ↗)

1 points · by wolfwyrd · 11mo ago · discuss

comment 11mo ago · link · parent

Phil Haack has a neat script called tree-me[0] that takes a lot of the pain out of this in vanilla Git

[0] https://haacked.com/archive/2025/11/21/tree-me/

5.

DeepSeek Exposed Unsecured Clickhouse Database Leaks Sensitive Data(infosecurity-magazine.com ↗)

2 points · by wolfwyrd · 1y ago · discuss

comment 2y ago · link · parent

Whatever I want because —amend is a thing?

comment 2y ago · link · parent

It's fiber interconnect between sites that is not actively visible to other people who are routing data around the world. Think of it as being pre-layed but not yet turned on/made available.

See: https://en.wikipedia.org/wiki/Dark_fibre

comment 2y ago · link · parent

The way it's written means this just isn't the case. They _MAY_ use it for what you have mentioned above. They explicitly say "...here are a few examples of improvements..." and "How Slack may use Customer Data" (emph mine). They also... may not? And use it for completely different things that can expose who knows what via prompt hacking.

comment 3y ago · link · parent

Shouldn’t[0] be able to. It’s all still fallible software written by humans.

[0] https://www.theregister.com/AMP/2022/06/02/conti_rasomware_i...

comment 3y ago · link · parent

This is a timing attack or timing oracle. Lets assume a mac represented in an array of 32 bytes. If we had a pseudocode method like:

    byte [32] (actualMac, expectedMac)
    for int x = 0..31
        if (actualMac[x] != expectedMac[x])
            return false;
        fi
    end
    return true;
We return false as soon as we hit an invalid byte in our calculated mac. If the time taken to execute one iteration of the loop is Y and the attacker is able to time this method accurately they will be able to tell what the value of actualMac is by feeding known inputs. They will know because the return time will be 2Y when they have bailed after the first byte. 3Y after the second, 4Y after the third etc.

This is why we should check the arrays in constant time - compare every byte in both arrays before returning. We do not return early so we can’t leak information

comment 4y ago · link · parent

If they're modular then they'll be intended to run more than one. You get the land, grid tie-in, permits and staff and then... stack 4 of these instead of 1. You use the same benefits from economies of scale to have as many of these as can be safely crammed into your building and go from there.

12.

Salesforce Release Platform to Mint NFTs(salesforce.com ↗)

3 points · by wolfwyrd · 4y ago · discuss

13.

How the Big Short DAO bet against Crypto and won(coindesk.com ↗)

1 points · by wolfwyrd · 4y ago · discuss

comment 4y ago · link · parent

Star Citizen

15.

Fans spend millions on football club crypto tokens(bbc.co.uk ↗)

9 points · by wolfwyrd · 4y ago · 1 comment

comment 5y ago · link · parent

I wrote a BDD style testing library. It builds on top of NUnit to make unit testing classes with dependencies super simple.

https://github.com/LeapingGorillaLTD/Testing

I was fed up of having to substitute every dependency manually whenever I wanted to write a test, finding it hard to apply clean software design principals to test suites.

comment 9y ago · link · parent

It's laid out further in the thread [1]. The key quote comes from Thorsten:

> All that afaics doesn't matter. If a new kernel breaks things for people > (that especially includes people that do not update their userland) > then it's a kernel regression, even if the root of the problem is in > usersland. Linus (CCed) said that often enough

[1] http://lkml.iu.edu/hypermail/linux/kernel/1710.3/02487.html

comment 9y ago · link · parent

This came from the Zero Energy Project[1] which also has floor plans.

[1] http://zeroenergyproject.org/2017/07/24/simple-techniques-lo...

comment 9y ago · link · parent

https://news.ycombinator.com/item?id=14057955

20.

Maths zeroes in on perfect cup of coffee(bbc.co.uk ↗)

1 points · by wolfwyrd · 10y ago · discuss

21.

Clinton Emails: FBI Recommends 'No Charges'(news.sky.com ↗)

46 points · by wolfwyrd · 10y ago · 14 comments

comment 10y ago · link · parent

It's ok - it's made with <3

comment 10y ago · link · parent

They'll still get hit hardest. Weak pound means more expensive imports. UK imports ~40% of it's food [1]. That food will now cost more to import raising prices at the supermarkets. Poorer people spend a larger %'age of their income on essentials like food.

The weak pound means importing oil (priced in USD) will be more expensive. This will affect Petrol prices (we're already seeing a 2-3p rise at the pumps). Poorer people spend a larger %'age of their income on essentials like fuel.

There are a number of knock-on effects from the weak pound. Yes it's good for exports but overall it's going to be a rough couple of years for the already disadvantaged.

Speaking to your point on competition as well - if the UK wishes to join the EU free market they will most likely need to accept freedom of movement. No treaty has ever been agreed with any country without this caveat (that covers the Swiss, Norway etc). It's possible that the UK may be an exception but it's unlikely.

[1] http://www.foodsecurity.ac.uk/issue/uk.html

24.

Resilience Is About How You Recharge, Not How You Endure(hbr.org ↗)

7 points · by wolfwyrd · 10y ago · discuss

25.

My pointless quest to achieve perfect retro console fidelity(engadget.com ↗)

2 points · by wolfwyrd · 10y ago · discuss

26.

Computer-Assisted Embarrassment(nngroup.com ↗)

1 points · by wolfwyrd · 10y ago · discuss

27.

Some Ring Doorbell Users Could See Other Peoples Houses(androidcentral.com ↗)

1 points · by wolfwyrd · 10y ago · discuss

comment 10y ago · link · parent

hmac.compare_digest is constant time whereas == will return as soon as a mismatch is found. The difference in return time can be measured. The key phrase is a Timing Attack[0].

[0]https://en.wikipedia.org/wiki/Timing_attack

comment 10y ago · link · parent

ALT+3. Dead easy right~
12