Readit News logoReadit News
DougBTX commented on Claude's new constitution   anthropic.com/news/claude... · Posted by u/meetpateltech
aroman · 24 days ago
Right, I'm saying "model training" is vague enough that I have no idea what Claude actually does with this document.

Edit: This helps: https://arxiv.org/abs/2212.08073

DougBTX · 24 days ago
The train/test split is one of the fundamental building blocks of current generation models, so they’re assuming familiarity with that.

At a high level, training takes in training data and produces model weights, and “test time” takes model weights and a prompt to produce output. Every end user has the same model weights, but different prompts. They’re saying that the constitution goes into the training data, while CLAUDE.md goes into the prompt.

DougBTX commented on The Overcomplexity of the Shadcn Radio Button   paulmakeswebsites.com/wri... · Posted by u/dbushell
dchest · 25 days ago
How do you implement this keyboard navigation with SSR (if you use buttons)?

https://www.radix-ui.com/primitives/docs/components/radio-gr...

DougBTX · 25 days ago
I can’t tell if this is sarcasm or not! Radio buttons support keyboard navigation without JS.
DougBTX commented on Apple picks Gemini to power Siri   cnbc.com/2026/01/12/apple... · Posted by u/stygiansonic
bombcar · a month ago
I have no idea what AI involves, but "training" sounds like a one-and-done - but how is the result "stored"? If you have trained up a Gemini, can you "clone" it and if so, what is needed?

I was under the impression that all these GPUs and such were needed to run the AI, not only ingest the data.

DougBTX · a month ago
> but how is the result "stored"

Like this: https://huggingface.co/docs/safetensors/index

DougBTX commented on Testing shows automotive glassbreakers can't break modern automotive glass   core77.com/posts/138925/T... · Posted by u/surprisetalk
QuiEgo · 3 months ago
The front ones seem easy enough, the rear ones are a lot harder

https://www.tesla.com/ownersmanual/2020_2024_modely/en_us/GU...

DougBTX · 2 months ago
Spicy:

> Use caution when using the manual door release; the window will not automatically lower when the door is opened and damage to the window or vehicle trim may occur.

Manually opening the rear doors is a destructive operation!

DougBTX commented on Building the largest known Kubernetes cluster   cloud.google.com/blog/pro... · Posted by u/TangerineDream
ZeroCool2u · 3 months ago
But, and I'm honestly asking, you as a GKE user don't have to manage that spanner instance, right? So, you should in theory be able to just throw higher loads at it and spanner should be autoscaling?
DougBTX · 3 months ago
Yes, from the article:

> To support the cluster’s massive scale, we relied on a proprietary key-value store based on Google’s Spanner distributed database... We didn’t witness any bottlenecks with respect to the new storage system and it showed no signs of it not being able to support higher scales.

DougBTX commented on AI is a front for consolidation of resources and power   chrbutler.com/what-ai-is-... · Posted by u/delaugust
adrian_b · 3 months ago
There are many years since I have switched to cooking only with microwaves, due to minimum wasted time and perfect reproducibility. And I normally eat only food that I cook myself from raw ingredients.

Attempting to roast a full chicken or turkey is not the correct way to use microwaves. You must first remove the bones from the bird, then cut the meat into bite-sized chunks. After using a boning knife for the former operation, I prefer to do the latter operation with some good Japanese kitchen scissors, as it is simpler and faster than with a knife.

If you buy turkey/chicken breasts or thighs without bones, then you have to do only the latter operation and cut them into bite-sized pieces.

Then you can roast the meat pieces in a closed glass vessel, without adding anything to the meat, except salt and spices (i.e. no added water or oil). The microwave oven must be set to a relatively low power and long time, e.g. for turkey meat to 30 minutes @ 440 W and for chicken to less time than that, e.g. 20 to 25 minutes. The exact values depend on the oven and on the amount of cooked meat, but once determined by experiment, they remain valid forever.

The meat cooked like this is practically identical to meat cooked on a covered grill (the kind with indirect heating, through hot air), but it is done faster and without needing any supervision. In my opinion this results in the tastiest meat in comparison with any other cooking method. However, I do not care about a roasted crust on the meat, which is also unhealthy, so I do not use the infrared lamp that the microwave oven has for making such a crust.

Vegetable garnishes, e.g. potatoes, must be cooked at microwaves separate from the meat, as they typically need much less time than meat, usually less than 10 minutes (but higher power). Everything must be mixed into the final dish after cooking, including things like added oil, which should better not be heated at great temperatures.

Even without the constraints of a microwave oven, preparing meat like this makes much more sense than cooking whole birds or fish or whatever. Removing all the bones and any other inedible parts and also cutting the meat into bite-sized pieces before cooking wastes much less time than when everybody must repeat all these operations every time during eating, so I consider that serving whole animals at a meal is just stupid, even if they may look appetizing for some people.

DougBTX · 3 months ago
> Then you can roast the meat pieces in a closed glass vessel

It sounds like this is steamed meat, as opposed to roasted. Your cooking time seems to match a quick search for steamed chicken recipes: https://tiffycooks.com/20-minutes-chinese-steamed-chicken/

DougBTX commented on FAA to restrict commercial rocket launches to overnight hours   space.com/space-explorati... · Posted by u/bookmtn
roncesvalles · 3 months ago
But the stakes are much higher.

On a side note, I will use this thread to air out my biggest pet peeve - air travel isn't in fact safer than car travel. Well, it is, per mile, but that's cheating because planes travel so fast. Obviously a 3 hour commercial flight is safer than 40 hours of driving. But cars are still safer per journey.

So, if you drive to the airport and get on a flight, your car ride wasn't actually more dangerous than your flight as the saying goes. The only road-based transportion more dangerous than a plane is the bicycle.

DougBTX · 3 months ago
From https://usafacts.org/articles/is-flying-safer-than-driving/

> In 2022, the fatality rate for people traveling by air was .003 deaths per 100 million miles traveled. The death rate people in passenger cars and trucks on US highways was 0.57 per 100 million miles.

Planes travel about 10x-20x faster than cars, but that’s still 0.06 vs 0.57. Seems like quite a difference. Which numbers are you using?

DougBTX commented on John Carmack on mutable variables   twitter.com/id_aa_carmack... · Posted by u/azhenley
hackthemack · 3 months ago
One area that I like to have immutability is in function argument passing. In javascript (and many other languages), I find it weird that arguments in function act differently depending on if they are simple (strings, numbers) versus if they are complex (objects, arrays).

I want everything that passes through a function to be a copy unless I put in a symbol or keyword that it suppose to be passed by reference.

I made a little function to do deep copies but am still experimenting with it.

  function deepCopy(value) {
    if (typeof structuredClone === 'function') {
      try { return structuredClone(value); } catch (_) {}
    }
    try {
      return JSON.parse(JSON.stringify(value));
    } catch (_) {
      // Last fallback: return original (shallow)
      return value;
    }
  }

DougBTX · 3 months ago
> I want everything that passes through a function to be a copy unless I put in a symbol or keyword that it suppose to be passed by reference.

JavaScript doesn’t have references, it is clearer to only use “passed by reference” terminology when writing about code in a language which does have them, like C++ [0].

In JavaScript, if a mutable object is passed to a function, then the function can change the properties on the object, but it is always the same object. When an object is passed by reference, the function can replace the initial object with a completely different one, that isn’t possible in JS.

Better is to distinguish between immutable objects (ints, strings in JS) and mutable ones. A mutable object can be made immutable in JS using Object.freeze [1].

[0] https://en.wikipedia.org/wiki/Reference_(C%2B%2B)

[1] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

DougBTX commented on Formal Reasoning [pdf]   cs.ru.nl/~freek/courses/f... · Posted by u/Thom2503
griffzhowl · 4 months ago
Use of the word "mechanical" to describe formal reasoning predates computers.

Here's the first sentence of Godel's 1931 On formally undecidable propositions...

"The development of mathematics in the direction of greater exactness has—as is well known—led to large tracts of it becoming formalized, so that proofs can be carried out according to a few mechanical rules."

Leibniz had discussed calculating machines (and even thought about binary arithmetic being the most appropriate implementation), so the general idea probably goes back quite far

Edit: Oh, I guess by "late 1930s" you're referring to Turing's 1936 paper where he defines Turing machines, rather than actual electronic computers. Still, understanding "formal" as "mechanical" predates it.

DougBTX · 4 months ago
Perhaps it has to be that way, the motivation to build a mechanical computer is based on the belief that computation can be mechanised.
DougBTX commented on Everything that's wrong with Google Search in one image   bitbytebit.substack.com/p... · Posted by u/recroad
hwc · 5 months ago
How did they make any money at all without ads?

u/DougBTX

KarmaCake day4593August 3, 2007View Original