HNHacker News
TopNewBestAskShowJobs

snak

84 karma · joined July 8, 2019

submissionscomments
snak··on [dead]
Most of the time,

> between the keyboard and the chair

Is where the problem is.

snak··on Stable Diffusion Public Release
What's the difference between those 4 checkpoints?

From the GitHub's README:

    sd-v1-1.ckpt: 237k steps at resolution 256x256 on laion2B-en. 194k steps at resolution 512x512 on laion-high-resolution (170M examples from LAION-5B with resolution >= 1024x1024).

    sd-v1-2.ckpt: Resumed from sd-v1-1.ckpt. 515k steps at resolution 512x512 on laion-aesthetics v2 5+ (a subset of laion2B-en with estimated aesthetics score > 5.0, and additionally filtered to images with an original size >= 512x512, and an estimated watermark probability < 0.5. The watermark estimate is from the LAION-5B metadata, the aesthetics score is estimated using the LAION-Aesthetics Predictor V2).

    sd-v1-3.ckpt: Resumed from sd-v1-2.ckpt. 195k steps at resolution 512x512 on "laion-aesthetics v2 5+" and 10% dropping of the text-conditioning to improve classifier-free guidance sampling.

    sd-v1-4.ckpt: Resumed from sd-v1-2.ckpt. 225k steps at resolution 512x512 on "laion-aesthetics v2 5+" and 10% dropping of the text-conditioning to improve classifier-free guidance sampling.
Which one is the general use case checkpoint one should be using?
snak··on 6 Raspberry Pis, 6 SSDs on a Mini ITX Motherboard
Wow, just checked and Pi 3 is over 100€, and Pi 4 over 200€.

What happened? I remember buying a Pi 3B+ in 2019 for less than 50€.

snak··on Nikon releases bug fix firmware update for the 10 year-old D7100 DSLR camera
Apparently also known as the "Baader–Meinhof phenomenon".
snak··on Laddering a Chimney (1978) [video]
Great video, thanks for sharing. I had the same feeling of my palms sweating during some of the shots.

It also sparked my interest for climbing, I'll give it a try for sure (with rope).

snak··on I Avoid Async/Await
Agreed, I stopped reading after this sentence.
snak··on France to Build Six New Nuclear Reactors
Excellent explanation, thanks for sharing!
snak··on Proof of stake is incapable of producing a consensus
Is there a known limit for the energy to hash ratio ?
snak··on Cryptographers are not happy with how you’re using the word ‘crypto’
At least "cryptos" in plural is clearly for crypto currencies (I don't think anyone uses "cryptographies").
snak··on Blacksmith – Rowhammer bit flips on all DRAM devices today despite mitigations
Yes, the article mentions it:

> What if I have ECC-capable DIMMs?

> Previous work showed that due to the large number of bit flips in current DDR4 devices, ECC cannot provide complete protection against Rowhammer but makes exploitation harder.

snak··on Fixed Point Arithmetic
FP abbreviation is probably not a good idea here, while talking of Floating Point and Fixed Point, a little bit confusing.
snak··on My Logging Best Practices (2020)
Performance degradation is noticeable with DEBUG level in production.
snak··on A bit of math around Cloudflare's R2 pricing model
I'd say that comparison over-simplifies what Cloudflare does behind the scenes.

- Electricity costs

- 99.999999999% (eleven 9’s) of annual durability

- Speed of your HDD (around 200 MB/s?) vs speed of R2

...

snak··on Why can’t I go faster than the speed of light?
Nice one, thanks for sharing.
snak··on How Discord Stores Billions of Messages (2017)
Oh, just noticed the article is from 2017. Is there a newer one, related/similar to this one?
snak··on How Discord Stores Billions of Messages (2017)
The Casssandra cluster mentioned (12 nodes, 1TB each) only handles text, as far as the article goes.
snak··on Ask HN: I joined a FAANG and it is awful
I don't necessarily agree with your point of view, but these two concepts were new and interesting to me. Posting their meanings for others that haven't heard of them either:

> Phrenology

Pseudoscience which involves the measurement of bumps on the skull to predict mental traits.

The study of the conformation of the skull as indicative of mental faculties and traits of character.

> Chesterton's fence

Principle that reforms should not be made until the reasoning behind the existing state of affairs is understood.

snak··on AWS Identity service handles 400M API calls every second
Just for clarity:

3.456 × 10^13

34 560 000 000 000

~35 long-scale, european billions (10^12)

~35000 short-scale, american/english billions (10^9)

snak··on Programming Idioms
The problem is people abuse of "var", and use it everywhere even when the type is not obvious from the right-hand expression/assignment. This is especially bad when reading code outside of an IDE, like in a GitHub PR, git/cli tools, etc...

From msdn/dotnet documentation:

> The use of var helps simplify your code, but its use should be restricted to cases where it is required, or when it makes your code easier to read.

https://docs.microsoft.com/en-us/dotnet/csharp/programming-g...

Also, C# 9.0 introduces target-typed new expressions:

https://docs.microsoft.com/en-us/dotnet/csharp/language-refe...

snak··on The collapse of the IRON stable coin
> Aside from the amusing programming error, the main problem with much of the "smart contract" activity today is that doing anything remotely interesting requires an oracle. An oracle is basically a server that reports the outcome of an event. And servers can be attacked in ways that systems like Ethereum can't.

Thank you! I've tried to put it into words before but I think this is as close to perfection as one can get while describing why smart contracts are not what people believe them to be.

snak··on Google Docs will now use canvas based rendering
That's amazing, the IDE itself and the shader preview running on a WebGL canvas. Thanks for sharing!
snak··on Bitcoin is not a Battery – it is a Sink
Can you expand on why it isn't a fiat currency?
snak··on A Decentralized Dead Man’s Switch
I was wondering the same thing, there's nothing stopping the archaeologist from unwrap it it off-chain/offline/...?

Either we're missing something from the unwrapping process, or there's too much trust put into the archaeologist.

snak··on Ask HN: What websites do you visit every day?
Not daily, but weekly:

1. Cloudflare Radar https://radar.cloudflare.com/

2. Cloudflare Blog https://blog.cloudflare.com/

3. GitHub Trending https://github.com/trending

snak··on Nvidia announces mining GPUs, cuts the hash rate of RTX-3060 in half
I don't think that would benefit gamers at all.

Maybe it will offset the days it takes for a graphics card to pay itself by a few weeks? (e.g. previously RTX 3070 took x weeks to pay itself by mining 24/7, maybe it will change to x + 2 weeks?)

snak··on Nvidia announces mining GPUs, cuts the hash rate of RTX-3060 in half
Gaming needs more resources to solve a problem whose difficulty is increased to produce better and more accurate images.

Mining needs more resources to solve a brute force problem whose difficulty is increased just for the sake of making the problem even harder to solve.

snak··on A 1000-processor chip powered by an AA battery (2016)
Yes, I do agree C# does have many constructs (Parallel For/ForEach/Invoke...) but there's many things to consider that are not designed with thread safety in mind (e.g. generic collections, List<T>, Dictionary<T>, etc... must be replaced by their System.Collections.Concurrent respectives) and many other risks that parallel computing poses.

  int x = 0;
  Parallel.For(0, 99999, z => {
    x++;
  });
  Console.WriteLine(x);
Something as simple as an integer sum won't produce the expected output unless you're using Interlocked increments.

And that definetely does not match what oblio means with "have the programming language Do The Right Thing with no further hassle".

snak··on Mozilla Welcomes the Rust Foundation
Thanks for sharing, even though it's from 2017 it was an interesting read.
snak··on Github1s – One second to read GitHub code with VS Code
Looks great, I'll give it a try. Thanks for sharing!
snak··on Advice to my young self: forget side projects and focus on your job
Thanks for sharing that parable. It reminds me of the times I've discussed about Kubernetes with colleagues.
Page 1 of 3Next →