⚠️ One of Python's most annoying surprises: Mutable default arguments.
The behavior of a simple function like the one below will surprise you:
def func (a, my_list = []):
my_list.append(a)
return my_list
print(func(12)) # [12]
print(func(12)) # [12, 12]
print(func(12)) # [12, 12, 12]
At definition time (when Python executes the def statement), the default expression (empty list []) is evaluated once, and that resulting list object is stored on the function.
On each call, if no argument is passed for my_list, Python binds that same stored object to the parameter. It does not re-evaluate the default[].
Inside the call, 'my_list.append(a)' mutates that shared object.
On the next call, the default is still the same object , but now already containing 12 , so it keeps accumulating.
How to fix it?
Use an immutable object as a default:
def func(a, my_list=None):
if my_list is None:
my_list = []
my_list.append(a)
return my_list
print(func.__defaults__) # (None,)
print(func(12)) # [12]
print(func(12)) # [12]
print(func.__defaults__) # (None,)
Decoupling collision detection from generation via a frozen DiT head is what makes physics a learned constraint, not a post-hoc filter.
↪️ @singularityhack https://t.co/Xo8FB8xYZK
Totally agree.
People seem to forget we already put plenty of "deadly" knowledge into every high schooler’s hands—from toxic gas reactions in chem to nuclear fission in physics and pathogens in bio.
There is no "kill switch" on a science textbook. Free societies manage risk by holding individuals accountable for how they use knowledge—not by letting a handful of gatekeepers decide who is "safe" enough to hold it.
You don't need a huge GPU setup to fine-tune your own LLM.
Take an existing model, train a small adapter on your own data, and turn it into something much more specific to your use case.
Here's how to do the whole thing locally.
Timestamps:
00:00 | Overview
00:29 | Fine-Tuning Basics
01:24 | Unsloth Studio
02:36 | Fine-Tuning Details & Architecture
04:08 | QLoRA vs LoRA
05:40 | HeyGen
07:03 | Fine-Tuning vs RAG
07:51 | Hardware Requirements
09:10 | Unsloth Setup/Install
09:50 | Unsloth UI
11:45 | Model Selection
14:25 | Chatting with Models
15:05 | Training Data Overview
17:20 | Generating Training Data
18:50 | Unsloth Recipe Setup (Custom Dataset)
32:11 | Dataset Selection/Setup
34:24 | Training the Model
38:34 | Model Comparison
40:22 | Exporting the Model
existing 3D crop datasets were too narrow and too simple for a perception model to handle a real field.
Crops3D has 1,180 point clouds of 8 crop types, from maize (225) to tomato (83), captured in agricultural research fields in China with multi-view stereo and structured light.
i parsed it into FiftyOne so you can filter by crop type and inspect each plant in the 3D viewer.
https://t.co/2vv4hQMdLq
#PhysicalAI #ComputerVision
To a large extent, pixel RGB information is available at the end of the image encoder! So (x,y) -> RGB failures may be due to the LLM not bringing it to the output, perhaps due to lack of training or usefulness. Fig: best decoder among MLP, linear, transformer, and small convnet
if you want to actually understand how a production backend works, i put together a free learning path for it
backend engineering fundamentals, 9 articles in order:
- HTTP & routing
- serialization, auth & authz
- validation, controllers, middlewares
- REST API design
- Databases in depth (3 parts)
- Caching, task queues, logging
- Security, scaling & concurrency
Long form, no fluff, no signup. You can mark articles as done as you go
https://t.co/tSbhsvdodk
(bookmark it for your next interview prep)
Not sure if people are still doing human pose estimation nowadays. But when I distilled SAM 3D Body's hand model to build FAH (https://t.co/UDCkHLZWFu) for hand pose estimation, I actually distilled the body model as well --- FAB: Fast and Accurate Body Estimation.
I built FAB and FAH a few months ago as fun side projects. But looking back at such computer vision research and the hand-written code, it already feels like a decade ago
FAB: https://t.co/fPBqYbM99d
Spicy helps, and stories help even more. The founders I remember after a podcast are the ones who tell one honest story with the real details, like the week payroll almost didn't clear. Founders, go share the hard parts too. People love it, and it makes them root for you.
Copy these 4 lines into your next agent task:
1. Goal: [one sentence, one outcome]
2. Touch only: [files/folders]
3. Done means: [the command that must pass]
4. If something outside this list looks broken, report it. Don't fix it.
Line 4 saves more review time than the other three.
3D Gaussian segmentation trains on rendered views, so occluded Gaussians get zero supervision. VODA fixes that: volumetric depth clustering supervises every Gaussian, not just the visible ones 🔍
📄 https://t.co/T9c0Ah6NEp
🌐 https://t.co/SDvds4PdqZ
@crashlikeh2o@Nick_Stovall@thesomalibrief Was he specifically talking about that one individual? no, he was talking about the community as a whole, and that community as a whole has not been doing a good job at integrating into america, not scamming people, and co-existing. In fact many refuse to be anything but somalian
@ArchiveExplorer Running an uncensored model offline to see what your apps send about you is the actual point of local inference. The 'more than every leak combined' line is doing a lot of heavy lifting though.
@LetsStopC9 Bridgetown Agenda has been making this case since 2022. Expensive money means no transition. What's it actually going to take for this to move?
@Nick_Stovall@thesomalibrief@Nick_Stovall He was on shift when someone beat him and ran him over with his own car. That's the 'action'. What exactly did you think he did?
@SynthPotato Rockstar naming a building after a bloke called Jonny Tung is exactly the energy I expect from Los Santos. Honestly, Jonny WHO? is the best mystery GTA's written in years.