721 karma · joined December 13, 2010
> When reading a configuration value, Git will strip any trailing carriage return (CR) and line feed (LF) characters. When writing a configuration value, however, Git does not quote trailing CR characters, causing them to be lost when they are read later on. When initializing a submodule whose path contains a trailing CR character, the stripped path is used, causing the submodule to be checked out in the wrong place.
> If a symlink already exists between the stripped path and the submodule’s hooks directory, an attacker can execute arbitrary code through the submodule’s post-checkout hook.
Along with a bunch of other git CVEs that are worth a look.
Huh? If a drive goes out in my home server, the entire thing is offline until amazon delivers a new one (don't tell me I now need to keep a stockpile of spares). If a drive goes out in S3, I never know about it because AWS takes care of it. You don't understand why someone would want to "preemptively" pay for that?
> It just all seems very opposed from the self-hosting spirit where you're self-reliant, which apparently you value since you were considering whether to self host?
My self hosting is not ideological at all. I couldn't care less about "self reliance." The reason I considered hosting locally was to save money, and I concluded I was actually getting a lot of value for the money I was spending on AWS.
I've even had luck simply dropping an entire OpenAPI spec into my repo and adding the file to the context window (also using the @ command).
We're creating high-fidelity virtual work environments, benchmarks, and datasets to enable AI agents to master real-world jobs—starting with full-stack software engineering. Our mission is to develop the infrastructure that will enable the full automation of the economy.
Unlike traditional AI approaches, we're focused on creating simulated environments that capture the full scope of what humans do at work: using computers, completing long-horizon tasks, coordinating with others, and adapting to obstacles and interruptions.
As our second full-stack engineer, you'll:
- Build our core simulation platform (containerized environments for AI agents)
- Design realistic evaluation scenarios for software engineering tasks
- Develop consumer web apps for our environment
- Establish engineering standards, and directly shape technical direction at an early-stage startup
You might be a fit if you:
- Have 5+ years building full-stack products
- Write fluent TypeScript (React) and Python
- Are comfortable with Docker and Kubernetes-based environments
- Enjoy close user collaboration and rapid iteration
Bonus: Container orchestration, developer tools, or ML/RL experience.
Learn more:
- Official job listing: https://www.mechanize.work/hiring
- Company website: https://www.mechanize.work
- Hear from two of our founders: https://www.dwarkesh.com/p/ege-tamay
Email CV/GitHub to hiring@mechanize.work (Subject: Full-Stack – Your Name)
$20K referral bonus available (https://www.mechanize.work/referral). Applications reviewed on a rolling basis.
Epoch AI is a research institute investigating artificial intelligence's trajectory and societal impact. We develop a comprehensive, publicly accessible knowledge base on AI that informs policymakers, industry leaders, and society. For examples of our work, see our recently released compute-centric model of AI automation and its economic effects (https://epoch.ai/blog/announcing-gate), the FrontierMath benchmark (https://epoch.ai/frontiermath/the-benchmark), our AI Benchmarking Hub (https://epoch.ai/data/ai-benchmarking-dashboard), and our weekly newsletter (https://epochai.substack.com/).
We're seeking a CTO to lead our engineering team (3-5 engineers) and align our tech stack with organizational goals. You'll oversee website development, databases, data collection systems, and AI evaluation infrastructure while working closely with leadership to translate goals into technical roadmaps.
Requirements:
- 4+ years management/leadership experience in technical roles
- Exceptional software engineering expertise
- Strong background in system architecture, cloud infrastructure, data engineering
- Ownership mindset
- Deep interest in AI's future and impact
We offer:
- $200K-$300K USD salary (can pay in local currencies)
- Fully remote with flexible hours (overlap with UTC and UTC-8 required)
- Comprehensive benefits (health insurance, life insurance, pension)
- 30+ days PTO, unlimited personal/sick leave, parental leave
- Visa sponsorship available (US/UK)
- Quarterly retreats and conference travel
Apply at: https://careers.epoch.ai/en/postings/f5f583f5-3b93-4de2-bf59...
Questions: careers@epoch.ai
CORS is a mechanism for servers to explicitly tell browsers which cross-origin requests can read responses. By default, browsers block cross-origin scripts from reading responses. Unless explicitly permitted, the response cannot be read by the requesting domain.
For example, a script on evil.com might send a request to bank.com/transactions to try and read the victim's transaction history. The browser allows the request to reach bank.com, but blocks evil.com from reading the response.
CSRF protection prevents malicious cross-origin requests from performing unauthorized actions on behalf of an authenticated user. If a script on evil.com sends a request to perform actions on bank.com (e.g., transferring money by requesting bank.com/transfer?from=victim&to=hacker), the server-side CSRF protection at bank.com rejects it (likely because the request because it doesn’t contains a secret CSRF token).
In other words, CSRF protection is about write protection, preventing unauthorized cross-origin actions, while CORS is about read protection, controlling who can read cross-origin responses.
To handle decoding and the overhead of moving bits around, it uses a dual-buffer DMA approach. It reads data from an SD card, running the decoding routine on the main CPU. The decoded samples are written into one of two buffers. While one buffer is being written to, the other is read via DMA and sent to the PWM buffer (more on PWM audio here: https://x.com/beala/status/1826147833168408738). Because DMA is used, data transfer can occur in parallel with decoding, without involving the main processor. When the bits have all been written to the PWM buffer, an interrupt triggers a buffer swap, and the process repeats.
I'm leaving out many details. Tuning the pwm speed to achieve correct playback speed was quite an adventure. And when I needed to increase the clock speed to play higher sample rates, this caused I/O errors with the SD card that I never managed to solve. Although I learned a lot from this process, I ultimately opted to use an MP3 module in my final build: https://store-usa.arduino.cc/products/dfplayer-a-mini-mp3-pl...
This is probably routine for an experienced embedded engineer, but it was quite a learning experience for me!
- A human produces about 40 watts of heat while sleeping.
- Thermoelectric coolers have a coefficient of performance (CoP) between 0.3-0.6. So for every watt consumed, they can move 0.3-0.6 watts of heat.
- The wattage consumed and moved all needs to be dissipated.
This random chiller [0] on amazon consumes 100 watts, so perhaps this could move 60 watts max. CoP drops as the temperature difference increases. And it's unclear if the unit can dissipate 160 watts steady state.
But it could plausibly keep you from heating up on a warm night. It doesn't seem like there's much margin for actually cooling you down tho. If someone wanted to experiment with this, I'd definitely read that post.
[0] https://www.amazon.com/MOQNISE-Aquarium-Circulation-Function...
I see at least one aquarium chiller on amazon that uses a compressor, but then you have to wonder if it's quiet enough to sleep next to.
Corn syrup is mostly glucose. HFCS is when you use enzymes to convert a lot of that glucose into fructose.
But I can't knock a man for having a hobby. Clearly they're optimizing for fun and nerd cred, not cost.