Better HN
topnewbestaskshowjobs
Log inSign up

spacetime_cmplx

80 karma · joined Feb 5, 2023 (3y ago) · 30 submissions

Submissions

comment 3y ago · link · parent

Negative income tax is an alternative to UBI, but it's discussed less often. Does anyone know why? I feel it should be easier to implement (plugs right into the existing tax system), should be cheaper (the more you earn, the less you get), and feels more in line with the progressive tax system, whereas UBI feels like an extremely coarse first approximation.

Essentially, the tax curve starts at 0 and goes up. Why not shift it down? There's nothing special about 0.

comment 3y ago · link · parent

Ironic. Every time a company measures its employee output with number of lines of code or commits, devs are the first to point out that management is dumb for using a surface-level metric. But you're doing the same thing here, except with execs and powerpoint.

Powerpoints are just the final output you see. The real work execs do is in the decisions that went into the powerpoint.

No sane board will give decision-making power to an AI they can't blame. Besides, there are probably 100 devs for every exec, so it makes no financial sense to automate execs.

comment 3y ago · link · parent

As a serious security person, this is why I use 999999 as my passcode

comment 3y ago · link · parent

What's stopping someone from placing the silicon under ab electron microscope and reading the data visually? I mean, the circuit that encrypts data has to have some way to load the key (the circuit might not be in the CPU, but it exists somewhere).

comment 3y ago · link · parent

That's concerning. Could you elaborate on how you identified the traffic as cloudflare workers? Also, what sorts of HTTP attacks? wp-admin probes? Plain DDoS?

Cloudflare has (had?) a murky history with not taking down DDoS for hire services ironically hosted behind cloudflare. But while you could argue they had an incentive to do that (sell protection), I can't think of any incentive to let Workers be abused.

comment 3y ago · link · parent

While OP's reply answers your question, it's important to not apply current costs to predict the future of AI. Hardware for LLMs is one step function away from unimaginable capabilities. That breakthrough could be in performance, cost, or more likely, both.

Imagine GPT-4 at 1/1000th the cost. That's where we're going. And you can bet your ass Nvidia is working on it as we speak. Or maybe someone else will leapfrog them like ARM did to Intel.

comment 3y ago · link · parent

For starters, Spotify exists

comment 3y ago · link · parent

Sure, in which case the real prompt is as useless as a hallucinated one, so what's the difference?

comment 3y ago · link · parent

Why is everyone so confused about this? Isn't verifying the easy part? You put it into the GPT-3.5/4 API as a system prompt and see it answers like the actual chatbot. If it does, you've either extracted the actual prompt (congrats!) or something else that works just as well (congrats!). If it doesn't, it's a hallucination. If you're worried about temperature setting throwing you off, keep trying new questions until you find one that the original chatbot gives the same answer consistently.

It's like a trapdoor function.

Am I missing something?

comment 3y ago · link · parent

If 't be true thou art so 'gainst w'rds changing meaning, then wherefore aren't thee speaking liketh this

comment 3y ago · link · parent

It's far easier to do productive, useful things with AI if you just treat it as a tool, like a chainsaw or a pulley.

Everyone agrees there's a lot of hype right now but no one thinks _they're_ a part of it. You know why? It's because we're told we're on an exponential growth (we are), so everyone is trying to force it. So each time there's a breakthrough, we're desperate for it to be rocketship that takes us there.

It's time to step back and let the exponential thing happen on its own. We didn't get here because people in the 20th century sat down and plotted a way to achieve exponential growth; it just sorta happened.

comment 3y ago · link · parent

Yes, it's called Psilocybin

comment 3y ago · link · parent

Sure! https://pastebin.com/xm7D1c30

I didn't bother cleaning it so it's just a code dump, but it's fairly straightforward. Not included are a Python script to parse and clean the raw documents into JSON files (used in `summarize` to output results), code to read these files and get the embeddings from OpenAI for use in `newEmbeddingJSON `, and a bunch of random parallelization shell scripts that I didn't save.

To use it, I call newDBFromJSON from a directory of JSON embedding vectors and serialize the binary representation. This takes a few minutes mostly because parsing JSON is slow, but you I only needed to do this once. When I need to search for the top 10 documents most similar to document X, I call `search` with the embedding vector for that doc. Alternatively if I need to do semantic search with natural language, I'll call the OpenAI API to get the embedding vector for the query and call `search` with that vector. It's pretty fast thanks to Go concurrency maxing out my CPU. It's super accurate with the search results thanks to OpenAI's embeddings.

It's nowhere close to production-ready (it's littered with panics), but it was good enough for me.

Hope this helps!

Edit: oh and don't use float64 (OpenAI's vectors are float16)

comment 3y ago · link · parent

>Richard: Now you're being an asshole.

>Erlich: You say that like it's a bad thing. Richard, if you're not an asshole, it creates this kind of asshole vacuum and that void is filled by other assholes, like Jared.

(Note: I don't necessarily entirely agree with all of it.)

comment 3y ago · link · parent

Unless you have several hundred million documents, just write a simple encoder that serializes the embedding vectors to a flat binary file.

Writing code from scratch to process and search 200k unstructured documents -- parsing, cleaning, chunking, OpenAI embedding API, serialization code, linear search with cosine similarity, and the actual time to debug, test and run all this -- took me less than 3 hours in Go. The flat binary representation of all vectors is under 500 MB. I even went ahead and made it mmap-friendly for the fun of it even though I could read it into all into memory.

Even the dumb linear search I wrote takes just 20-30ms per query on my Macbook for the 200k documents. The search results are fantastic.

comment 3y ago · link · parent

You could apply the same logic to anyone ringing the alarm bells about climate change (or alarm bells in general). Just because snake oil is usually unfalsifiable doesn't mean everything _currently_ unfalsified is snake oil.

comment 3y ago · link · parent

>fetch weather

>get capital

>control volume

>oh btw, it's also a self-replicating AI

https://tvtropes.org/pmwiki/pmwiki.php/Main/ArsonMurderAndJa...

comment 3y ago · link · parent

>I'm still waiting to see a QI charger than just pumps 100W of power straight through any piece of metal above it

A charger so good it's the last time you'll need to charge

comment 3y ago · link · parent

>People already know what needs to be done to solve a lot of these problems we have, it’s called sharing and compassion

Broke: Making the world a better place through the power of friendship

Woke: matmul go brrrrr

Also: https://www.youtube.com/watch?v=B8C5sjjhsso

comment 3y ago · link · parent

>Expand where?

Think of the ocean bed as a trampoline. Obviously much more rigid, but that's the image in my head.

>It can't go down because there is already other stuff there.

Why not? Rocks and sand can be compressed with sufficient pressure.

comment 3y ago · link · parent

I know, did I say otherwise anywhere?

comment 3y ago · link · parent

No, water is most dense at 4°C. If you take water at 2°C and increase its temperature by a degree, it will _compress_, not expand. But if you take water at 10°C and heat it by a degree it will expand. My question is what percentage of the expansion is offset by the compression.

(Note that the 4°C number is only for pure water.)

> water still weights the same

Weight has nothing to do with my first point. It's the increase in volume that spills into land.

comment 3y ago · link · parent

I have two related questions:

1. Global temperature is rising. Any water that used to be above 4°C (or the equivalent for salt water) now takes more volume. But what about water that's below 4°C? Wouldn't that water compress? What portion of the ocean is colder than 4°C? I'd imagine all of the Arctic zone and near Antarctica is, which is an awful lot of water to offset the tropical water. An even more nuanced perspective would be to look at the actual temperature distribution and use it to weight the dV/dT of water at different temperatures.

2. Global temperature is rising. Ice is melting into water. This is new mass entering the ocean. Why can't the sea bed, which is under more pressure due to extra mass, expand? The sea bed isn't a steel utensil, it's sand and rocks. And it's constantly shifting. And it's composition is different in different regions.

Has anyone done a detailed computer simulation of the whole earth's geology under rising temperatures? There might be feedback loops that might amplify or negate some effects so it's quite important to account for all variables. And obviously there's a lot of variables to account for.

(It's sometimes scary how little we know about our own planet. I'm not talking about the things in my comment because I'm sure it's just my ignorance.)

comment 3y ago · link · parent

Thanks, I just wasted (?) 3 hours on this when I have so much work lol

comment 3y ago · link · parent

Storing (UTC, latitude, longitude, altitude) is the holy grail, I guess. Everything else is too leaky.

I mean, that's literally the four dimensions of space-time.

comment 3y ago · link · parent

After using https://github.com/casey/just in a medium sized project, I wholly recommend anyone even slightly frustrated with Makefiles to switch to this.

C++ : C :: Just : Make

More sensible defaults, fewer footguns, just as expressive (pardon the pun), but still nearly the same syntax and paradigms so you don't have to learn a completely new scripting language.

The biggest downside, however, is that it's not installed by default on many systems and it's not in the official repos of some major distros. If that's a dealbreaker, stick with Make.

comment 3y ago · link · parent

When it comes to how sluggish a system feels due to its disk, it's much more useful to measure the read latency and throughput of random reads because that's what the system is doing: you read a lot of sectors randomly when you boot or start chromium.

https://raspberrytips.com/raspberry-pi-usb-vs-sd/ says their SD card latency was 1.15x the USB disk.

Note that the sample size is just 1, so I wouldn't place value on any single benchmark (it could just be that they chose their USB disk and SD card poorly or it was too cloudy that day). This is evident in my URL's hdparm result being wildly different from yours.

comment 3y ago · link · parent

Reddit search is somehow worse than a simple `WHERE markdown LIKE '%query%' ORDER BY upvotes DESC` so you can understand where that sentiment comes from.