Better HN
topnewbestaskshowjobs
Log inSign up

skinner927

422 karma · joined Sep 2, 2020 (6y ago) · 188 submissions

Submissions

comment 2mo ago · link · parent

You can ask an LLM to write in lowercase.

comment 2mo ago · link · parent

This was 2004-2006

comment 6mo ago · link · parent

Claude does well if you can provide all dimensions. It fails at guessing though. The real magic is when you can provide one dimension or photograph with a ruler in it and the AI will figure the rest out. Right now, Claude anyways, is pretty bad at guessing.

comment 6mo ago · link · parent

Do you care about uptime and security?

comment 7mo ago · link · parent

You can use “Hide Distracting Items” feature on iOS Safari to delete the box.

comment 7mo ago · link · parent

- fix - fix fr - fix frfr - plz - omg why - never gonna give you up - never gonna let you down - add missing curly braces

comment 7mo ago · link · parent

Edit: egg on my face. The article’s author suggested the same service. Heh. Anyways…

I highly recommend a service like SimpleLogin. It allows for dynamic wildcards:

- store1@my.domain - whatever@my.domain - @my.domain

All gets fwd to my real email and I can kill any address from my email client by unsubscribing (or login to the SimpleLogin interface)

You can go further and use subdomains or pattern matching to send things to different addresses like your spouse and friends. e.g.

-

@friend.my.domain -> friend@gmail.com - *@spouse.my.domain -> babe@example.com

Not affiliated, just really happy with the service

comment 7mo ago · link · parent

You don’t need a VM. Do what Netbird does. Compile wireguard-go to WASM and you’re g2g

https://docs.netbird.io/about-netbird/browser-client-archite...

comment 9mo ago · link · parent

BIND 9, for starters

https://datatracker.ietf.org/doc/html/rfc2136

comment 9mo ago · link · parent

tinc is cool. Keep using it.

comment 10mo ago · link · parent

Eagerly awaiting a demo video

comment 10mo ago · link · parent

Look up Ralph

comment 10mo ago · link · parent

The Form is $199, not $300. So, smaller gamble but it sure looks like a gamble.

comment 10mo ago · link · parent

Children ages 4-7.

They also believe a fat man dressed in red zips around the earth one night to give everyone presents.

They’re children. They don’t need to know where bacon and hot dogs come from.

I doubt those children care about anything outside their bubble.

comment 10mo ago · link · parent

We still playing Pokémon go?

comment 12mo ago · link · parent

Thankfully k8s is not overengineered or you’d have pie on your face.

comment 12mo ago · link · parent

You’ll never learn it by reading something. You have to experience it. Get your hands dirty.

Write a simple single-threaded http server that takes strings and hashes them with something slow like bcrypt with a high cost value (or, just sleep before returning).

Write some integration tests (doesn’t have to be fancy) that hammer the server with 10, 100, 1000 requests.

Time how performant (or not performant) the bank of requests are.

Now try to write a threaded server where every request spins up a new thread.

What’s the performance like? (Hint: learn about the global interpreter lock (GIL))

Hmm, maybe you’re creating too many threads? Learn about thread pools and why they’re better for constraining resources.

Is performance better? Try a multiprocessing.Pool instead to defeat the GIL.

Want to try async? Do the same thing! But because the whole point of async is to do as much work on one thread with no idle time, and something like bcrypt is designed to hog the CPU, you’ll want to replace bcrypt with an await asyncio.sleep() to simulate something like a slow network request. If you wanted to use bcrypt in an async function, you’ll definitely want to delegate that work to a multiprocessing.Pool. Try that next.

Learning can be that simple. Read the docs for Thread, multiprocessing, and asyncio. Python docs are usually not very long winded and most importantly they’re more correct than some random person vibe blogging.

comment 12mo ago · link · parent

I think this is a better example of what, I imagine, the author was trying to illustrate.

comment 1y ago · link · parent

I appreciate the reply. It does feel like most resources online are just the summary of 3 web searches and boom they’re an expert. Thanks for the links and info.

comment 1y ago · link · parent

Is that webapp shared anywhere? I can’t find a link in the article.

comment 1y ago · link · parent

You seem to know what you’re talking about. Could you recommend any devices that fit the requirements you outlined?

comment 1y ago · link · parent

You’re about to run an untrusted python script. The script can do whatever it wants to your system. Dependencies are the least of your worries.

comment 1y ago · link · parent

1. Assuming IEC refers to cables we plug a desktop PSU into mains/wall: IEC can carry up to 1800w vs 100w PoE++

2. Powerline networking is considerably slower and less reliable than CAT5/6. Additionally, building code for running power lines is much more strict than low voltage CAT5/6

comment 1y ago · link · parent

You’ll want to protect yourself against bit rot too. Don’t go copying bad files every year.

comment 1y ago · link · parent

Haha. My ISP barely gives me an Internet connection

comment 1y ago · link · parent

Entry level is $12/year. Bring your own domain.

comment 1y ago · link · parent

Also been using zoho for at least 6 years. Cheap and reliable.

comment 1y ago · link · parent

The point of linters is so the code looks the same regardless of who wrote it. This way it’s easier to read. Some people have horrible style and linters really help.

I find linters make me faster. Sometimes I’m feeling lazy and I just want to pump out a bunch of lines of ugly code with mappings poorly formatted, bad indents, and just have it all synched up when I save.

comment 1y ago · link · parent

I still prefer 80. I won’t (publicly) scoff at 100 though. IMO 120 is reasonable for HTML and Java, but that’s about it.

Sent from my 49” G9 Ultrawide.

1234567