[-] TehPers@beehaw.org 2 points 13 hours ago

Maybe a different kind of solution to what you're looking for, but JSON-LD does this in a distributed (multi-system) manner. Maybe a little more distributed than you want, though.

Essentially, you can use IRIs (and IRI references) to point to specific objects/subtrees. The thing is, IRIs are usually dereferenceable as URLs that point to the object's value, so you'd use a HTTP client to fetch it in order to dereference the data.

It's used by Lemmy of course (and ActivityPub in general), and it's mostly designed when you have different people publishing JSON documents that want to link to each other.


More along the lines of what you're probably looking for is any NoSQL document database. You want to be able to set an index within the document that the database can use for fast lookups. There's a ton out there, so not much point listing them here when you can find lists online very easily.

Personally, I'd rather just use a SQL database for this though. To begin with, you wouldn't design your database to be a single, large, ever-growing JSON document, but rather several JSON documents (one per "object" being stored, like one per user). This allows your distributed database to split the load on requests coming in via sharding as well as help it quickly find what you're looking for (assuming your query is on an indexed key). SQL databases let you better structure the data you actually intend to query on (IDs, names, whatever), and you can put whatever other attached data you want as a JSON field (Postgres JSONB for example).

[-] TehPers@beehaw.org 3 points 2 days ago

What I've noticed over time is that people have tended towards smaller gatherings, and I think it really has to do with how much easier it is to do small informal parties than large ones that require planning.

For example, my friends who live nearby are all in different countries right now for various trips, so my partner ordered some premade turkey for just us (only around 3lbs worth), and I went shopping on Thanksgiving for whatever we felt like eating with it. Interestingly, the store was not busy at all, and they were fully stocked. Whole dinner took 2 hours to prepare, and cleanup was fast. It was great, honestly. We had turkey, stuffing, green bean casserole, and garlic mashed potatoes.

Meanwhile, we have family that spent the whole day preparing, cooking, bickering about who does what or how cooked the turkey needs to be or whatever, all for them to actually tell us that our meal looked better when they saw some pictures. All that work, and from a distance, it really just seems like most of it was coordinating the event. Cooking also certainly took longer considering how much more food they needed for everyone.


In any case, I don't really like when people flake for no reason. If someone's not feeling well suddenly, then sure. I don't think people want to catch whatever illness you have (assuming it's contagious). If they agree to go and just don't show up? Well, the host already planned for you to be there, so it really is just rude to the host. At least have the courtesy of notifying them with enough advance notice to adjust for your absense.

Not really sure why that's so much of a problem now compared to before, but it hasn't been a thing around me fortunately.

[-] TehPers@beehaw.org 3 points 3 days ago

It's possible they get approved to build it, clear some land, then do nothing. This has happened in some other places, where they don't even begin the construction for a long time.

[-] TehPers@beehaw.org 15 points 3 days ago

What do you think? Can this help in slowing down the build-out of data-centers?

No. It misses the fundamental reasons why data centers are being built.

The demand for more data centers is artificial. That's not to say that people couldn't use the compute, but rather that the shovel vendors in charge are the ones manufacturing a large part of the demand. We already know this based on statements made by Nvidia themselves. They create their own demand through well-documented circular financing.

There will continue to be more and more data centers until the corruption and blatant market abuse ends. Keep in mind that we can't even power the data centers we already have and are building. They don't need more places to provide compute. They need more energy to power what already exists. The new data center projects are just part of the grift as they steal more and more money from people.

[-] TehPers@beehaw.org 5 points 3 days ago

From what I've seen, you can't just give a LLM a two sentence prompt and come back later to a nice polished project, despite all of the breathless hype telling you otherwise.

Honestly? The coworkers I've seen who are using it most effectively do exactly this. There's no reason to write out paragraphs of prose to need to correct it anyway when you're only accepting a small set of changes to begin with. If good code isn't self-evident in the codebase, it's an issue with the codebase that needs to be addressed, and no amount of do/don't lists or paragraphs of prose will stop an LLM from mirroring what it already sees.

It uses git commits as a memory store

This I haven't seen, unless you're referring to all the conventional-style commits it generates which end up as noise for reviewers. (We only review the final diff anyway so whatever)

Personally, I don't let LLMs commit anything for me. While committing everything myself, I go through and review all the changes. It's a practice I've been following for a long while now and has always proven useful to me to help with reinforcing my understanding of the changes, spotting any leftover changes from debugging, and so on.

But - if you treat it like a code generator tool that needs your input, supervision, and guidance to keep on track for modestly-sized chunks of code that you construct an entire codebase with, it can absolutely save you time.

This, I agree with to some extent. For small changes, I've seen it able to work somewhat well. Usually those changes are straightforward, obvious changes that are easy and quick to review.

That being the case, tell this to the people I work with. I've certainly tried. Shit, someone relatively high up the management chain did just a couple weeks ago and people retained it for all of 30 seconds.

And the last few years have seen a decent jump in performance. The frontier ones have decent context and reasoning skills, which is handy when you're sifting through someone's poorly documented business logic. But they are nowhere close to being able to manage a large codebase by themselves.

Agreed again, of course. I wasn't claiming there weren't improvements. What's being promised simply isn't what's being delivered, and they need to be viewed from a realistic lens. Unfortunately, I have limited control over anyone but myself, yet I am subjected regularly to slop that others produce.

[-] TehPers@beehaw.org 4 points 3 days ago

Seriously have you tried Opus 5.5?

Opus wrote all the code I've been deleting for the past few weeks at work. Nearly 100k lines of code for CI/CD on a couple simple services.

It comes with a full test suite too! Brilliant tests, like asserting that the README contains specific substrings and the sha1 checksums of the source files don't change. Naturally, should those checks fail, the CI generously informs the developer that they made the mistake of modifying the code. A LLM would at least have had the courtesy of updating the checksums.

But was it Opus 5.5?

No clue! Why should I care? Is it my job to mandate that everyone uses the newest model that exists? It was using Opus something-or-another, which was the revolutionary new model that would end software development before the next revolutionary new model that would end software development came out. Or maybe it was the newest version, no idea.

I've used Astra (which might end humanity or something?) and gotten the same level of unmitigated slop, though. It took me a while to get it to produce any code I'd accept at all, and most of it still needs to be rewritten.

If you genuinely are producing code that fast, then I don't see any way how anybody could keep up with what it all does.

[-] TehPers@beehaw.org 2 points 3 days ago

pcyop to distract from

This is a weird way to start a comment. By this logic, any news is a "pcyop" [sic] if it occurs at the same time as something else.

I'd recommend starting a new post if you're interested in discussion on that bill. Do you have a link to a summary about it, or why it's important? It'd make it a lot more digestible than reading through hundreds of pages to try to understand what it is (which I genuinely just don't have time to do). That would make it easier to engage in a discussion about it.

[-] TehPers@beehaw.org 3 points 4 days ago

Are bad people going to become good people if they can't get funding to do good things?

No. They rarely become good people from the funding either. The Ladybird dev in question sure is an example of that. Less funding does help deplatform them, though.

[-] TehPers@beehaw.org 5 points 4 days ago

Bad people getting funding to do good things still involves bad people getting funding.

With regards to Lemmy, outside of people providing personal donations, are they getting any major sources of funding? I haven't seen any $1m+ donations to the project, though I'll admit I haven't been following them either.

[-] TehPers@beehaw.org 2 points 5 days ago

Well yes, that's what my link explains.

Your statement explicitly used "implies" which is what → is. This is why I interpreted your comment as referencing the contrapositive form of a conditional statement, hence why I corrected that A → B iff !B → !A is actually a known property of contrapositives.

[-] TehPers@beehaw.org 3 points 5 days ago* (last edited 5 days ago)

This is incorrect. If the statement is true (A → B), then the contraposition is also true (!B → !A).

For example, suppose you have a bag of green balls. You make the statement "if I take a ball out of the bag of only green balls, it must be green". The contraposition would be "if the ball I remove from the bag is not green, the bag does not contain only green balls". We know the first statement to be true, so that means the second statement is true (and vice versa).

Edit: I should add that none of this has anything to do with the original comment in question, which was not stating a contrapositive.

[-] TehPers@beehaw.org 3 points 6 days ago

I usually just wait until my checked bags are in hand before letting my ride know I'm ready. Especially right now before Thanksgiving, baggage claims can be unpredictable. I'd rather wait outside for a little bit than make them take laps for no reason tbh.

24
submitted 1 week ago* (last edited 1 week ago) by TehPers@beehaw.org to c/usnews@beehaw.org

The US Army plans to move ahead with detonating five tonnes of degraded explosives in Iowa despite a ruling to halt it indefinitely, a new court filing shows.

"To protect its personnel and the surrounding communities, the Army needs to take swift action," the justice department notified the court on Saturday. "Protection of human health and the environment demand action now, not delay."

The court had ordered a pause after environmental groups sued to stop the detonation, arguing the army failed to consider safer alternatives.

The detonation was originally scheduled for Friday at the Iowa Army Ammunition Plant in Middletown. The army now plans to act by 24 November under an emergency exemption.

Lead dust is expected to spread pretty far from the site of the explosion, with one earlier estimate suggesting it'd reach all the way into northwestern Illinois. If you're in the midwest, it might be worth preparing even if you're not nearby.

view more: next ›

TehPers

0 post score
0 comment score
joined 3 years ago