skysight-inc/HackerNews huggingface dataset:
Show HN: Full system prompt from Claude Code agent as a clean Markdown file
I Extracted and cleaned it from from the minified javascript file in the node_modules foldecreated on installing the npm package @anthropic-ai/claude-code.The sections are: Here’s the content converted into a numbered bullet list with an indented hierarchy for the level headers:

1. Code Bash command prefix detection
1.1. Command prefix extraction examples
1.2. Command Validation and Security
1.3. File and Code Handling
1.4. Path Management and Workspace Detection
1.5. Jupyter Notebook Handling
1.6. File Viewing Capabilities
1.7. Directory Listing
1.8. Content Searching
1.9. Security Considerations
1.10. UI Rendering
1.11. Constants and Configuration

2. Committing changes with git

3. Creating pull requests
3.1. Summary
3.2. Test plan
3.3. Overview
3.4. Key Requirements
3.5. Implementation Notes

4. Memory

5. Tone and style

6. Proactiveness

7. Following conventions

8. Code style

9. Doing tasks

10. Tool usage
10.1. Available Tools
10.2. Security Mechanisms
10.3. Technical Constraints
10.4. Best Practices
10.5. Tool Usage Policies
Steelmanning is the opposite of strawmanning.

In other words, it's making the strongest version of an argument for the opposing side of the argument. The author doesn't like enums but is talking about their best attributes.
"people often link their self-worth to being busy and completing tasks, making it difficult to transition to higher-level thinking. People use busyness as a way to feel important and avoid existential questions about what truly matters. Being visibly busy is more socially rewarded than quiet effectiveness, even when the latter might be more valuable."
Highly speculative. Last I looked they had drilled inches in a lab.
Most men won't do it because of the stigma of men willing to work with Children. Men are seen as predators.

https://slate.com/human-interest/2017/10/a-male-preschool-te...
I don't think that it depends on desktop or mobile, but if you are connected or not and your map setting.

But curious that the path pattern does not appear in the map view
You miss listing so many alternatives:

1. Building better/more transmission lines interconnecting carbon-intense grids with low-carbon ones. This is cheaper than ramping up nuclear, and will needed regardless of the technology.

2. Batteries are becoming more and more efficient. One can even mine with electric excavators.

3. Wind and solar not necessarily need to be connected to the grid initially. Look at ERCOT. This incentivizes demanding moving where electricity is generated, specially in small countries. Look at the UK.

You still do not solve the issues with nuclear waste (10k year problem) and its high prices (LCOE). Also, you cannot build nuclear everywhere, specially in the emerging world. We need a mix of solutions, there is no silver bullet in this situation.
I think you're being overly dismissive of the argument. Admittedly my recollection is hazy but here goes:

Computers are symbol manipulating machines and moreover are restricted to a finite set of symbols (states) and a finite set of rules for their transformation (programs).

When we attempt to formalize even a relatively basic branch of human thinking, simple whole-number arithmetic, as a system of finite symbols and rules, then Goedel's theorem kicks in. Such a system can never be complete - i.e. there will always be holes or gaps where true statements about whole-number arithmetic cannot be reached using our symbols and rules, no matter how we design the system.

We can of course plug any holes we find by adding more rules but full coverage will always evade us.

The argument is that computers are subject to this same limitation. I.e. no matter how we attempt to formalize human thinking using a computer - i.e. as a system of symbols and rules, there will be truths that the computer can simply never reach.
> In order to keep things simple for our users, we try to use the same set of legal terms (our Universal Terms of Service) for many of our products. Sometimes, as in the case of Google Chrome, this means that the legal terms for a specific product may include terms that don’t apply well to the use of that product.

Ok, so what other Google products do want rights to the things I do?

Smells fishy, to say the least.
Former YouTube CEO, Susan Wojcicki, was a non smoker and died from lung cancer. see https://blog.youtube/inside-youtube/from-susan/

Dana Reeves, wife of actor Christopher Reeves, a non-smoker, also died from lung cancer.
It feels like companies care a lot less about delivering quality.
The rich own real estate around the office buildings. They want their REITs to go up not down. It’s a company town even if they did away with scrip.
Women go further in school in the west because they are better able to keep track of and incorporate the miscellaneous social dogma one must peddle to advance in the academic world. Men are more “cocky” perhaps being the appropriate word, and are more repulsed by the idea of having to parrot certain things in order to gain social or academic capital. Hence you have literal geniuses working in blue collar jobs, maintaining farms or whatever. This, while high academia has huge amounts of people worried about something called “imposter syndrome” because they actually are imposters. This is part of the etiology of western decline in technology and innovation going back to the 80s and reaching crisis points now.

The main issue is that schools don’t serve nonconformists well, and many geniuses and high IQ people are nonconformist, or simply don’t feel rewarded to have to lie to please social norms that they disagree with. This is generally what leads to the cyclical revolution. At a certain point, the most productive and innovative members of society are disincentivized thoroughly so that the economy collapses, because this occurs alongside the incentivization of compliance and anti-risk behavior which is stagnation.

Those boys who aren’t geniuses, but just disengage from academia because they feel that there is no place for them in society also fuels this crisis because you are left with generations of young men who have no stake in the establishment. The conspiracy alarm in me suggests that the establishment is pushing this outcome by creating a system thoroughly repulsive that mobilizes the prerequisite sentiments for an anti egalitarian revolution in the future because such a system is very profitable (e.g. you can’t invade the third world and plunder their resources under the current regime, but sure can in a more “fascist” regime, and generally fascism is the penultimate phase of a socialist system that needs to coerce sufficient productivity to keep the system going before final collapse/revolution (this cycle has repeated itself countless times in the last 300 years since socialism became the primary organization of people as nations)).
Hah, I’m currently enrolled in machinist classes and one of the big NOs is no ties! Funny to see one at the top of the article.
That's right, sometimes it's the children who are wrong.
I wrote similar code in emacs for harmonia-mode in the past. Let me find and share the source code. We don't need font-lock. We can just borrow the styles it uses.

*Update:* I found the code. Instead of using font-lock, we simply draw our own overlays over the text and color them, which is what font-lock does. Font-lock IIRC is specifically designed to use regexps to parse the text. We don't need that. So throw font-lock away. Tree-Sitter itself knows how the parse tree maps to text regions. Just use that information to draw the overlays directly. It's way simpler that way.

Lemme know if anyone wants the code.
A lot of ISPs used to do that, but it seems pointless when you can get a shared hosting account relatively cheaply.

The problem isn't access to hosting - that's ubiquitous - it's visibility. Most people aren't going to see the point of setting up a website that no one will probably ever visit, and that will probably never even show up in search engines.
Well, programming is a tool, right? There are clearly incorrect ways to program, but that doesn't mean there's one correct way to program - because it depends on what you're trying to make.

It's incorrect to make a bookshelf that can't hold the weight of books, but IKEA isn't incorrect to make a crappy-but-adequate bookshelf that will get given away when you move, and a master carpenter isn't incorrect to make an expensive-but-beautiful bookshelf that will be used for many decades.

A seed-stage startup trying to see if anyone cares about their product at all should probably accept it being 100x slower than it theoretically could be. And the Linux maintainers should be working hard to shave milliseconds.
I think the Otaniemi project didn't pan out too great and that was proper geothermal. Ground source heatpumps are great. But those are often just capturing heat that comes from sunlight and get stored if I have understood right.
Do note that LW deletes all cookies upon exit. This default setting can be changed of course, but it tripped me up.
I mean the US electoral college disagrees with you.
Hallucinations themselves are not even the greatest risk posed by LLMs. A much greater risk (in simple terms of probability times severity) I'd say is that chat bots can talk humans into harming themselves or others. Both of which have already happened, btw [0,1]. Still not sure if I'd call that the greatest overall risk, but my ideas for what could be even more dangerous I don't even want to share here.

[0] https://www.qut.edu.au/news/realfocus/deaths-linked-to-chatb...

[1] https://www.theguardian.com/uk-news/2023/jul/06/ai-chatbot-e...
...since the set of all possible behaviour, that is not specified, it much greater, and densier, than one would initially feel and assume, one might cause lot's of possible bad outcomes and success-breaking-points if use "Other" type in their API. Because "Other" if the 1st thing to look for vulnerabilities, for attack vectors. Because the spirit of UB the Terrible lurks there! The spirit of UB feeds upon thee juices of "Other" omnimorphic (fel) type! скверный бесформенный "ЛЮБОЙ" тип! разврат и дисгармоничность! разложение и редуцирующие гетероморфизмы! decomposition, descriptive semantic matrix rank reduction, richness degradation, devolution...empoorness...scarcity pressure increase...

</shutting_the_fuck_up_my_wetware_machine_whispering_kek>
You've never used a movie screenshot to make a joke image or to discuss part of a movie?
Yes - this isn’t some new or controversial phenomenon, DoD has funded all kinds of academic research for a long time through organizations like the Office of Naval Research, Air Force Office of Scientific Research, etc.

The article says one of the programs that was cut studied how drug cartels operate, organize, and recruit, which seems quite in line with global security and US priorities on fighting narcotics trafficking
Like I mentioned, I prefer using SQL directly. I just want some type safety on the result of my query. Is it going to be a list of rows, is it going to be a single row, what will the columns be named exactly, will I have to convert the resulting column value to my specified type.

Those are just a lot of steps
> My thoughts are serialized and obviously countable.

You might want to consider doing a bit of meditation...anyone who describes their thoughts as 'serialized' and 'obviously countable' has not much time actually looking at their thoughts.
What funds should government research (classified or otherwise), use?
Enumerations are open-ended in C and C++. They are just integer types with some extra support for defining constants (although later C++ versions give more control over the available operations).
My company uses Perforce, and while it's not perfect, it's more intuitive and has a comprehensive graphical user interface. Most importantly, once I learn how to do something with Perforce, I never forget it. That's not the case for me with git.

The merge tool works pretty well.

Also, my company has large repositories.
If anyone thinks the human mind is computable, tell me the location of even one particle.
I considered and rejected gift because it's disingenuous to say it was a gift given without compensation, when compensation or consideration is is expected.
They should also revive or create classes that teach other important, basic, life skills - budgeting, banking, getting a loan, investing, hiring a contractor, buying appliances, tiling, roofing, drywalling, etc, etc.
Something FSX-based, probably Prepar3D.
It wasn't just doubling (and more) of CEO pay for Mozilla.

They also layed off tons of engineers.
While giving the CEO the pay increase the same year.

Absolute trash of a human being and org.
Scrolling around Russia, this seems to be a convenient map of high value targets.
I don’t know. When you are living in a Chinese owned factory dormitory you don’t need lots.
All sorts of algorithms for processing data useful in high-load scenarios: checksum calculation, text searching/analysis/transformation, data compression, networking (request analysis, routing, filtering), interop with other C ABI dependencies, etc.
Can Starlink type phased array technology be used to achieve wireless power transmission?
I think you are wrong there. The USSR wasn't a strategic threat to the US in that there was a danger of them sending tanks to New York, it was a threat in taking over countries the US wanted to get on with like Vietnam and Korea. Russia is still merrily attacking or taking over countries that the US would rather it didn't.
Ban on nukes is an infringement but not as egregious as the ones in Europe. In another comment I admit for instance Yemen and Idlib have a stronger right to bear arms than the US. I absolutely acknowledge this.

US also has free speech issues. For instance, libel has civil penalties I disagree with. However not being able to post a photo I took of someone in public for me is completely intolerable and barbaric, and a harassment against people exercising right to free speech. Opinions differ so I'm pretty pleased with Germany doing their thing and me doing mine and never stepping foot on their soil.
I don't think it's practical to eliminate wealth inequality. But we can certainly limit it. I would also be less concerned about wealth inequality if we had more robust legal frameworks to prevent wealthy people and institutions from having an outsized influence--for example, campaign finance limits and public campaign financing, elimination of super-pacs and dark money, lobbying regulations, and bans on government officials becoming lobbyists, etc. Instead, these guardrails are steadily eroding. Citizens United devestated campaign finance regulations. Last year in Snyder v. United States, the Supreme Court ruled that federal bribery law does not prohibit gifts or gratuities given to state and local officials after an official act. Of course these are just the kinds of rulings the Federalist Society has hoped to see, financed by the Mercers, Kochs, and other wealthy families. Six of the nine current justices have ties to the Federalist Society.
One of the tactics I end up using in Verilog, for better or worse, is to define enums with a'0 value (repeat 0s for the size of the variable), and '1 value (repeat 1s for the size of the value)

'0 stays as "null"-like (e.g INVALID), and '1 (which would be 0xFF in an 8 bit byte for instance) becomes "something, but I'm not sure what" (e.g. UNKNOWN).

Definitely has the same issues as referenced when needing to grow the variable, and the times where it's useful aren't super common, but I do feel like the general concept of an unknown-but-not-invalid value can help with tracking down errors in processing chains
Definitely do run into the need to "beware" though with enums for sure.
see information about sql queries from shell command line. aka nosql - oci cli [1]

database schema data can be queried to find the table(s) field name & table(s) type. That is an additional separate sql query though & would potentially be different for different databases & database versions.

ODBC protocol was designed to address the 'different database schema formats' issues via a 'universal database access' interface. (vs. jdbc, java language equivalent of odbc)[2].

The command line program, usql[3] provides support for sql querying different databases.

Setting sql query to output query results in json format would provide relevant information such as field name & data type within the sql output data. note: sql allows for renaming table names within the sql query. aka select tablea.first_name as surname

----

[1] : http://docs.oracle.com/en-us/iaas/tools/oci-cli/3.51.9/oci_c...

[2] : https://en.wikipedia.org/wiki/Open_Database_Connectivity

[3] : https://github.com/xo/usql
An LLM Prompt, not ChatGPT specific. But yeah pretty much that is the core of everything.
I spent so much time hacking on scripts from here in the those early internet days... ahh memories.
The pro-crypto world is entirely, 99% speculative investors and bagholders at this point. They literally give no shit about use cases. They just want it to go up. They don't even grasp what they are buying really. They vomit what they heard before.
> Waterfox: Fast and Private Web Browser

Does it connects to e100.net as librefox and firefox do ?
The speed of software bloat matching hardware improvement is known as Wirth's law: https://en.wikipedia.org/wiki/Wirth%27s_law

I think software bloat is growing faster, though.
> and counteract this dysfunction

correction: and facilitate this dysfunction
A long time ago on the 6502 I was trying to figure out how to quickly multiply by 3 in assembly and I came up with:

1. Shift-left

2. Add original value

For multibyte values use rotate left which carries, and do the rotates from LSB to MSB. Then clear carry, then do the adds from LSB to MSB with carries. Should work for any word size.

Ofc I was a teenager but this seemed clever and simple to me.

Was (am) I just missing something?
> I’m saying I did not receive services as I thought promised.

You made a tax-deductible donation to a nonprofit. What goods and services did Mozilla agree to deliver to you for that exactly?

> I don’t need to prove a crime to force a chargeback.

No, but you need a valid chargeback reason, or the bank will lose the dispute process. They might or might not cover that loss out of their own pocket if you're a valuable customer.

> If I donate to a fraud, I’m allowed to charge it back.

Fraud is a completely different chargeback reason than "goods or services not provided", with different standards of evidence, different default liability etc.

> I’ve returned products by leaving them on the counter and issuing a chargeback. [...] And it’s not like the card issuer is going to pick the merchant in a dispute with a valued cardholder.

And your issuing bank has almost certainly written off the loss (to make you happy and maintain your business), or potentially recouped it out of a separate product return insurance that's part of many credit cards.

You're not sending the message you think you do with entitled/petty behavior like that, or at least not to the right recipient.
When I worked at a defense contractor, we were told to remove our badges when leaving the office, lest they be seen (and somehow copied) by spies hanging out at nearby restaurants. I would have thought any federal agency concerned about security would have the same policy.

Perhaps the policy was a little paranoid, but I also can't think of any reason to wear a badge beyond the area where it's required.
That already happened. The Biden/Harris admin quietly did not renew their TPS status while the "eating the pets" nonsense was in the news.

https://www.cnn.com/2024/10/05/politics/biden-administration...
Aha, so "2nm" really means 20nm. Good to know.
> this is almost like you would talk to your employees to make things for you

It is, except that the result is almost immediate and almost for free.
There is no deception, those numbers are what they say they are, if you click through the link you can see the source document.

More people voted for a candidate other than Trump.
Which GUI?
WWWBoard is such a nostalgia hit. My local music venue's forum was where my early internet persona originated. Sometimes I nostalgic and use Wayback machine to see what all my fellow teenagers were talking about 25 years ago.
I typically like 7 point scales (like this[1] post from jgc outlines), but your classification also seems pretty good.

[1]: https://blog.jgc.org/2007/12/seven-point-scale.html
Well the question was "Iceland has profitable geothermal, no?" and your answer appears to be yes. Which is important because it means the upshot is that there are viable applications, which contrasts against the argument that lack of generalized solution means we need to reject it wholesale.
Building features and fixing problems should both be about solving problems. Work on whichever one gives the right balance of effort and benefit.
It seems that the biomedical field is hit a lot harder both in that article and in the Stats News article linked: https://www.statnews.com/2025/02/19/trump-funding-freeze-gra.... For STEM the big question is whether how NSF overhead reduction and likely even DOE and DOD grants will be impacted. As these funds are needed for promised tax cuts its like those cuts to those grant programs will happen too IMO.
Garys Economics: What Does Elon Musk Want?
https://www.thestorygraph.com/ is another alternative to Goodreads - it's a one-person software project.
It costs someone something, but no one their freedom.
Mass ignorance is the opposite.

As for degrees with no use, pretty sure these are the byproducts of education for profit, with heavy marketing passing as administrative expense.

Maybe you could divide the system in two halves: 1) Of national interest, 2) Discretionary.

As for earning potential, it has nothing to do with free education, as so many high-earners in the US were educated by such systems.
It's not carbon free. Iceland's geothermal fields have carbon emissions because gasses trapped beneath the surface are released along with the steam when they're extracted. It's still low-carbon compared to a natural gas power plant, of course, but not compared to wind/hydro/nuclear.

And aluminium production is certainly not carbon free: the smelting process reduces aluminium oxide to aluminium metal using carbon electrodes, producing around 14 tonnes of CO2 per tonne of aluminium.
I'd love to get some examples of Rust's best-practice shared-mutable-state code. So far when I ask around here I get answers equivalent to "Rust guarantees that you aren't doing that."
How many other programs were studying the same subject? That's what we don't know. Insiders have reported for decades about redundant research, programs, etc.
Yes, I was talking about the risk from the perspective of the including page. From the perspective of the risk to remote it makes even less sense from the 90ies point of view. Data isn't supposed to be in javascript anyway, it should be in XML. It's again on you (the remote) if you expose your secrets in the javascript that is dynamically generated per user.

With a hindsight from this year -- of course you have a point.
You can still find some of these boards online. It's like seeing a thylacene crossing the street.