Hacker Newsnew | past | comments | ask | show | jobs | submit | winwang's commentslogin

Awesome stuff. I have a 'root' cli that i namespace stuff into so to remove the need to pass around paths, e.g: `./cli <cmd> ...`

For manual prompting, I use a "macro"-like system where I can just add `[@mymacro]` in the prompt itself and Claude will know to `./lookup.sh mymacro` to load its definition. Can easily chain multiple together. `[@code-review:3][@pycode]` -> 3x parallel code review, initialize subagents with python-code-guide.md or something. ...Also wrote a parser so it gets reminded by additionalContext in hooks.

Interestingly, I've seen Claude do `./lookup.sh relevant-macro` without any prompting by me. Probably due it being mentioned in the compaction summary.


Compaction includes all user prompts from the most recent session verbatim, so that's likely what's happening!

Fun fact, it can miss! I've seen it miss almost half my messages, including some which were actually important, haha.

Apparently LLM quality is sensitive to emotional stimuli?

"Large Language Models Understand and Can be Enhanced by Emotional Stimuli": https://arxiv.org/abs/2307.11760


Is it the performance benefits? Or being able to write concurrent code much more expressively? Though I suppose the latter might imply the former.

Performance.

Our code looks like pure pandas (fancier SQL) wrapped as HTTP service (arrow instead of json), so the expressivity is more of a step backwards. We already did the work of turning awkward irregular code into relational pipelines that GPUs love.

Our problems are:

- Multi-tenancy. Our users get to time share GPUs, so when getting many GPU tasks big & small, we want them co-scheduled across the many GPUs & their many cores. GPUs are already more cost effective per Watt than CPUs, but we think we can 2x+ here, which is significant.

- Constant overheads. One job can be deep, with many operations, so round-tripping each step of the control plane, think each SQL subexpression, CPU<>GPU is silly and adds up. Small jobs are dominated by embarrassing overheads that are precluding certain use cases. We are thinking of doing CPU hot paths to avoid this, but rather just fix the GPU path.


Forgot exactly when, but at least ~4 days ago. Or maybe I'm tweaking...

In any case, this is likely the next computing revolution.


(in addition to other replies) I believe there was a study on brainrot where, acrosss a few different platforms, TikTok was significantly worse than e.g. Youtube. (sry, on mobile or I'd ref. hopefully later...)


Honestly, I was hoping to take a nap sometime soon, lmao! As good a time as ever (was working on some claude code scaffolding anyway.)


Dang... it's back...


Yeah shit


I think it depends on what you mean by "is a function". You can think of a constant, `x` as `x_: () -> {x}` (i.e. everything can be indirected). It could be argued that this is "philosophically" "useful" since getting (using) the value of `x`, even as an actual constant, requires at the least loading it as an immediate into the ALU (or whatever execution unit).

Even non-functional relations can be turned into functions (domain has to change). Like a circle, which is not a function of the x-axis, can be parameterized by an angle theta (... `0 <= theta < 2pi`)


I think in this context, it is function as in a lambda in LC.

The answer is pretty much, yes, everything can be a function. e.g. A KV Map can be a function "K -> Maybe V"

P.S. If this style of thinking appeals to you, go read Algebra Driven Design! https://leanpub.com/algebra-driven-design


I thought I was going to see something crazy like using RT cores in parallel with tensor cores. Like compiling matmul into triangle intersections.


I don’t think datacenter GPUs have many of those.


I'm not too caught up with politics, but a (presumably) political shooting has the issue of being disruptive to the government and therefore the nation as a whole, since the USA is built on democratic ideals. And since it's a(/the) global superpower, its issues result in serious international problems as well.


He was a Youtuber, not a politician though.


Martin Luther King Jr. was just a preacher, I don't understand the the big deal about him getting shot. /s


Charlie Kirk is more analogous to Jerry Springer than Martin Luther King Jr.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: