HackerTrans
TopNewTrendsCommentsPastAskShowJobs

gregwebs

4,423 karmajoined قبل 19 سنة
Software engineer.

Interests in security, startups, health, sustainability, productivity, community.

Side projects:

* eatnutrients.com * docjumper.com

github: gregwebs

gregwebs.at.hn

Submissions

[untitled]

1 points·by gregwebs·قبل 5 أشهر·0 comments

comments

gregwebs
·أمس·discuss
I run my AI agent as a different user (in addition to using the sandbox functionality provided by cc/codex). It does not seem possible to run the Codex GUI as a different user. I can run the TUI (/Applications/Codex.app/Contents/Resources/codex) but it has the shortcoming that remote control is only available in the GUI.

I installed the Claude Code Codex skill provided by Anthropic and I am having Claude invoke it automatically to review all plans and changes. The nice thing about this is that for an additional $20/month pro plan I can extend the runway for Claude rate limiting and compare frontier model responses. I am looking for more ways now to work in Codex as a subagent that gets used automatically from Claude Code.
gregwebs
·قبل 5 أيام·discuss
I’m trying out foldkit.dev now. It lacks Elms elegance but you have access to ecosystem: it’s just Typescript. Here’s their Elm comparison: https://foldkit.dev/elm/foldkit-vs-elm-side-by-side
gregwebs
·قبل 23 يومًا·discuss
There’s also typed fp on Go: https://lisette.run/

The Go runtime, toolchain, and ecosystem are great- it makes sense to target it.
gregwebs
·قبل 25 يومًا·discuss
All these conversations seem like they are missing talking about planning vs execution. I want the best possible frontier model to plan out my changes. I also have a 2nd agent that is a frontier model check the plan. Then at that point the implementation can be done by a lesser and possibly local model. The frontier model can still do a final code review on the implementation of the changes.

Claude code supports this by setting the model to "opusplan"- it will automatically use Opus for planning and sonnet for implementation. This was completely necessary with the fable release. I was able to do this with fable and it was necessary to avoid getting quickly rate limited. In settings.json:

"env": { "ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-fable-5" },

Obviously have that set to "claude-opus-4-8" now.
gregwebs
·قبل 27 يومًا·discuss
This seems like it has potential to create a lot of load on a site- are there settings to set how fast it clones or avoid images/videos? Is there a way to only get a subset of a website?
gregwebs
·الشهر الماضي·discuss
This is fascinating after learning about and rading Peter Turchin's concept of Eelite overproduction [1]. The theory is that much of society's conflicts are actually fights between the elite and that this happens when the elite start fighting for the same resources.

From that point of view they seemed to have created a system that stopped the elites from starting wars with each other by imprisoning their families. And although they levered high taxes they did force many elites to accept a small amount of resources per elite to the point that some in elite status were effectively poor. Instead of money they got status and a title.

[1] https://en.wikipedia.org/wiki/Elite_overproduction
gregwebs
·الشهر الماضي·discuss
Is this the same Portal device that they disabled every feature on other than Messenger and WhatsApp calls that I can now only use as a bluetooth speaker?
gregwebs
·قبل شهرين·discuss
I see these claims pop up occasionally and I have found them both very overstated but potentially insightful.

With a perspective that goes farther back in time and a wider geography the sleep patterns promoted here as universal simply stated are not.

However, humans have always been flexible in their sleep patterns, and a lot of modern sleep pattern promotion is overly inflexible.

There are studies of hunter gatherers that lived close to the equator. Most of them did not nap most of the time, but in the summer they might nap during the day 20% of the time. They usually slept 6-7 hours in one stretch. [1]

But sleep was very flexible. In some cultures people would go to sleep at different times so there was always someone around the campfire. Mothers would nurse babies. Some cultures might for example once a month during a full moon stay up and party at night and then nap a lot the next day. And the sleep patterns mentioned in the submitted article show further flexibility.

Your sleep quality is likely a lot lower than a hunter gather due to modern light pollution, ability to use devices and have entertainment at night, and a lot of other factors. Unless you are monitoring your sleep with tracking devices there is a good chance you are probably getting a lot less (like an hour) than you might think. So committing to a 9 hour sleep window is still a good idea even if it might be natural in ideal settings to sleep for just 7 hours. Ultimately though you want to feel well rested with energy for your day rather than satisfying a belief system about sleep.

My approach with young children is to go to bed early so that if I get woken up I can deal with that and have time to go back to sleep. I might end up in the biphasic pattern of northern Europe sometimes with that. There was a time where I more intentionally tried to take a short nap during the day. But now I just take a nap if I feel tired.

References

  * [1] Hunter Gather Sleep study: https://www.cell.com/current-biology/fulltext/S0960-9822(15)01157-4
  * Why We Nap
  * The Old Way
  * Keep the River on Your Right
gregwebs
·قبل شهرين·discuss
I think Spain is showing that majority renewables can work, if you are willing to work through the pain. Someone needs to lead the way and figure out how to make it work, so I am glad they are doing it. I do think this article and most information is focused on cheer-leading rather than telling it like it is.

This title of the article is misleading. Spain is one of the cheapest power generation markets, but In the article it states "Spanish households pay above the EU average". Then the reason is stated "Other system costs are rising. The flip side of getting energy cheap is paying more elsewhere to keep the system stable.".

Spain of course also had a blackout and the article states "every country in Europe needs to modernise how it handles voltage stability". I believe that's code for "its harder to manager power transmission grids with renewables". I have been told by a power engineer that read the report on the blackout that the authors are going out of their way not to explicitly blame renewables, but these things that caused the blackout are bigger issues now due to the switch to renewables.

But it makes sense for Spain to continue down this path and not pollute with coal or rely on other countries for gas imports.
gregwebs
·قبل 3 أشهر·discuss
I think 2) is a lot more complicated to the point statements like that are misleading.

Take a look Graph of energy consumption of China which is about double the US: https://ourworldindata.org/profile/energy/china

The energy consumption of the United States has flat lined: https://ourworldindata.org/profile/energy/united-states

One can argue that the US and Europe have maintained a low energy consumption by de-indusrializing and having China produce all the energy (largely with coal!) to manufacture their goods instead of manufacturing it themselves.

1) Is a lot more complicated as well. A simple ICE vs EV comparison ignores electric grid generation efficiency and transmission losses as well as the massive energy cost of manufacturing the battery.
gregwebs
·قبل 3 أشهر·discuss
These reports are inferring a lot from 1 year trends that are often changing only around 1%. Certainly it is great if new energy is coming mostly from cleaner sources, but the idea that we are actually getting rid of the non clean sources is something we should be skeptical of.

This graph shows all energy usage over time: https://ourworldindata.org/grapher/global-primary-energy

New energy sources have always been additive. We have never gotten rid of an energy source unless we exhausted the resource or it got prohibitively expensive (whale blubber having a population collapse). Coal is far more polluting then any other fuel source and globally we aren't reducing its usage. This graph is not updated for 2026, but I doubt the message will change much.

As we now undergo a worldwide population decline things might change. But at the same time we are also introducing energy intensive technologies: AI and robots, so there is no clear end in sight to increased energy consumption yet.
gregwebs
·قبل 5 أشهر·discuss
The difference is that Go has its own linker rather than using a system linker. Another article could explain the benefits of tighter integration and the drawbacks of this approach. Having its own toolchain I assume is part of what enables the easy cross compilation of Go.
gregwebs
·قبل 8 أشهر·discuss
Functional programming is immutable by default. TypeScript and many other typed languages don't really stop you from clobbering things, particularly with concurrency. Rust does. But immutability with GC is a lot easier to use than Rust if you don't need the performance of Rust.
gregwebs
·قبل 9 أشهر·discuss
The recent move away from phonics has been disastrous, and states that are using phonics now are seeing better results.

> Some have called it the “Mississippi miracle” ...

> A clear policy story is behind these improvements: imposing high standards while also giving schools the resources they needed to meet them. In 2013, Mississippi enacted a law requiring that third graders pass a literacy exam to be promoted to the next grade. It didn’t just issue a mandate, though; it began screening kids for reading deficiencies, training instructors in how to teach reading better (by, among other things, emphasizing phonics), and hiring literacy coaches to work in the lowest-performing schools. Louisiana’s improvements came about after a similar policy cocktail was administered, starting in 2021.

I would be interested to know more about the approach with literacy coaches. I donate to a charity that does 1 on 1 reading tutoring: https://readingpowerinc.org/

If we cannot as a society teach our children how to read, something is very wrong and we need to invest heavily in fixing it.
gregwebs
·قبل 10 أشهر·discuss
Is there a way to just use this as a computer monitor? That’s what the Viture glasses are and it’s great to have a portable monitor that focuses at a longer distance.
gregwebs
·قبل 10 أشهر·discuss
Navidrome looks nice but it looks like it is Desktop only. I am using Plexamp as well. I tried some alternatives but couldn't get them to work reliably. People miss Plexamp as an option because they try the regular Plex app and not the simplified Plexamp.
gregwebs
·قبل سنتين·discuss
Warp has been meeting all my needs other than tab switching behavior. It's not open source but the UX is great.

Switched from WezTerm which was working cross platform but not quite as good.

Both are low latency and written in Rust.
gregwebs
·قبل 3 سنوات·discuss
TLDR there's a claim that Altman was among other things distracted by OpenAI by the end of his tenure at YC and PG flew back to SF to deal with the situation. It's possible that PG didn't fire him but instead continued to play the role of mentor and told him things weren't going as well as they had before and that his advise was to choose between OpenAI and YC.
gregwebs
·قبل 3 سنوات·discuss
formulas are a big part of coda and so much easier and safer than excel. I don’t know what layouts and access rules are in grist, but there are similar sounding features in Coda as well.
gregwebs
·قبل 3 سنوات·discuss
This is almost exactly the same as coda.io, which is much more polished, and I highly recommend for small data. Just looking at grist for the first time now it seems like it might not have commenting, which I find very useful sometimes for collaboration. Grist though is open source and seems to have an embeddable version.