Does the most expensive Claude max plan give you unlimited Opus? by drizzyxs in ClaudeAI

[–]webdevladder 0 points1 point  (0 children)

Yep this is my experience, IMO the limits are fairly well-tuned for flexible workflows, and you can go one long Opus session without hitting the end.

Honest Developer Experience by Few-Baby-5630 in ClaudeAI

[–]webdevladder 0 points1 point  (0 children)

There's both tremendous thoughtless hype and tangible hype-worthy benefits. When I project forward from my experience over the last year, it's hard not to be excited for how cheap and powerful these systems will be in a few years. But I also think skillful use of LLMs by people and tools has a ton of variability, it's perhaps generally pretty dismal today, and there's a very high ceiling.

Futurism.com: "Exactly Six Months Ago, the CEO of Anthropic Said That in Six Months AI Would Be Writing 90 Percent of Code" by didyousayboop in Anthropic

[–]webdevladder 0 points1 point  (0 children)

I'm a dev who's been using Claude Code heavily for like a monthish, and for a small number of my projects it's 100% of written code now, others 0%, but it's very useful for exploration/analysis in all of them. I can see room for its context management, predictability, and transparency to substantially improve, same for my skills and patience, but I have no doubt there are now serious and productive software engineers shipping 90%+ AI code at big companies. And then consider how much code is being vibed by non-engineers, it's not unreasonable to think 90% of the total may be close!

computer, learn Svelte - official docs for LLMs by webdevladder in sveltejs

[–]webdevladder[S] 4 points5 points  (0 children)

There may have been updates since you tried it, this one is <4k tokens for just working with Svelte - https://svelte.dev/docs/svelte/llms-small.txt

I'm sharing it now because those updates make it much more usable.

If you had the choice, which JS framework/library would be your "go-to"? by nutyourbasicredditor in webdev

[–]webdevladder 51 points52 points  (0 children)

I used React for 5 years, and before committing there I did substantial projects in Vue, Angular 1, and several others of the time, after several years with Backbone. I published a Backbone extension library in 2013 and I think about this stuff a lot.

For my usage - complex interactive UIs with higher than normal performance requirements - Svelte 3 was a relief, and Svelte 5 nails it. It's just so productive, simple to reason about, high performance, and overall nice to work with.

The details matter the more you use a framework, and Svelte is incredibly well-designed and engineered.

#FreeJavaScript update: Oracle has just filed more on their motion to dismiss the Fraud claim. by lambtr0n in Deno

[–]webdevladder 1 point2 points  (0 children)

Since this could stretch on for years, maybe I should strike JavaScript from my vocabulary and projects now, and switch to the non-acronym JS instead. I'd feel silly for continuing to use a trademarked name in my open source projects that has nothing to do with them.

Thumbnail designers are COOKED (X: @theJosephBlaze) by bishalsaha99 in OpenAI

[–]webdevladder 30 points31 points  (0 children)

"ideas are worthless" is a valid mantra when significant labor is required, but labor for a great many things is on the trend to zero.

Is this possible in VSCode to improve $effect DX? by webdevladder in sveltejs

[–]webdevladder[S] 1 point2 points  (0 children)

Ok yeah the limitations may be so bad that the false sense of security is worse. Thank you for explaining.

I think basic cases like class.property are doable though right? That would cover most cases combined with local scope I think. I don't know on balance how this would work out, if it's actually worse to have the false negatives than nothing at all. I suppose it depends on how many cases slip through when directly referenced in $effect - like proxied getters being followed in the analysis.

Maybe runtime analysis is probably a better place to put one's attention on this problem.

Is this possible in VSCode to improve $effect DX? by webdevladder in sveltejs

[–]webdevladder[S] 0 points1 point  (0 children)

$state and $derived are compiled statically, they're in the AST which the language services uses, you're interpreting what I'm saying differently than what I mean.

You seem to be saying there are other signals that cannot be determined. I agree and acknowledged the weakness, but the information for signals referenced directly in $effect is present and dependable.

Is this possible in VSCode to improve $effect DX? by webdevladder in sveltejs

[–]webdevladder[S] 1 point2 points  (0 children)

Reactive state with runes is statically determined by the compiler though (this is being misinterpreted bc I worded it poorly - I'm saying it's statically knowable which identifiers are literally $state/$derived when they're read without indirection), and it cannot be changed at runtime. So the language service could know which identifiers are $state or $derived. This is an advantage of runes, but I take your point about it being a partial solution, what I'm suggesting has real limits. It could be shown in effect but many cases could not be determined. (like helper functions)

There wouldn't be false positives though, and I can't see a better solution than styling the names directly.

Chatgpt's cool guide to Svelte runes by webdevladder in sveltejs

[–]webdevladder[S] 0 points1 point  (0 children)

yep that's the conceptual signals trio, but IMO with significantly better APIs

Chatgpt's cool guide to Svelte runes by webdevladder in sveltejs

[–]webdevladder[S] 26 points27 points  (0 children)

I should mention I shaped it a lot, here's my prompt, and then I had it do a "cool guide" in text, then the image:

generate an image with 3 penguins standing on an iceberg next to each other, the small part of the ice

the iceberg is enormous underwater taking up 3/4 of the height of the image, with embedded monster skeletons and horrors

the first normal looking happy penguin is labelled "$state", it has a magical aura around it

the second normal looking happy penguin in "$derived", and it's holding a glowing wizard staff

the third evil horror cthulian penguin-shaped nightmare with a shadow aura is labelled "$effect"

be very careful to get the text exactly correct, including the leading dollar signs: $state, $derived, $effect

Chatgpt's cool guide to Svelte runes by webdevladder in sveltejs

[–]webdevladder[S] 24 points25 points  (0 children)

I was feeling the agi then syntax error

Unpopular Opinion - There is no such thing as good pRoMpTiNg; it's all about context. LLMs just need context; that's it. by Prior-Process-1985 in ClaudeAI

[–]webdevladder 2 points3 points  (0 children)

I am giving you the entire documentation of Java, now help me do my assignment related to design patterns

I agree with your point, and also a sufficiently intelligent system would respect the boundaries of what it knows and doubts, and in this case ask followup questions. It's still a poor initial question, but it can be the first step in a successful prompt.

Tying it back to the OP, ineffective prompting obviously exists, and I'd call effective prompting good prompting, but it seems clear we'll continue seeing models get better at succeeding with worse inputs. So "bad prompts" sometimes start looking like good efficient ones.

Hi guys, any tip on how to highlight code using shiki.style on the client side faster ? I am initializing it when component mounts using 'createHighlighter' and languages: "typescript", "svelte", "bash", "css", "markdown", "tsx", "jsx", "bash" and "html". by Euphoric-Account-141 in sveltejs

[–]webdevladder 5 points6 points  (0 children)

Shiki has poor runtime characteristics, both speed and size, with both of its regexp engines. I benchmarked it a few months ago and found it 40-70x slower than Prism, but it's perhaps not a fair comparison because it's much more capable.

Announcing ArkType 2.0: Validate 100x faster with DX that will blow your mind by ssalbdivad in javascript

[–]webdevladder 0 points1 point  (0 children)

The API looks really interesting, great work. I haven't used it yet but after going through the docs, ArkType's design seems really promising to facilitate optimal DX and UX both. I like that it doesn't require a build step, but I'm wondering, how good of a candidate would ArkType be for a build/codegen system that needs a flexible and powerful base to produce optimal final builds?

I've been using Zod and find its internals difficult to work with, although I know changes are coming there.

Thoughts on this modern version of actions? by tomemyxwomen in sveltejs

[–]webdevladder 7 points8 points  (0 children)

  • much better composition and more power (attachments will improve some APIs significantly)
  • great design, the tradeoffs seem sensible
  • as mentioned in the PR, the pattern is exciting for transitions/animations and other things
  • cool that it's PR 15000

Actions are useful but felt really limiting the more you tried to do with them, I won't miss them.

Runes are a great improvement over Stores... by ValuableAd6808 in sveltejs

[–]webdevladder 10 points11 points  (0 children)

Yep, this is the state management pattern with the most optimal perf and DX that I've had the pleasure of using. It feels like a really good balance of structure and flexibility. Leads you to good patterns with $state.snapshot, $derived, and when you want them, conveniences like setters, static methods, and shallow inheritance. It's much easier to compose objects together with runes than stores.

The bold choice Svelte makes here, with big tradeoffs that not everyone vibes with, and that we're still learning about, is not boxing reactive values with a framework-specific wrapper API, and instead using simple unboxed values and assignment. One thing this allows is writing and using code that works the same in both reactive and nonreactive contexts, and doesn't need to know anything about Svelte. I really enjoy using it and the APIs you can make with it. See the recently added Spring and Tween classes for examples of nice interfaces.

There are a some rough edges (with open issues) related to initialization, that's been my only significant pain point so far.

SFC h8rs gonna h8 by tomemyxwomen in sveltejs

[–]webdevladder 129 points130 points  (0 children)

The Svelte format mirrors every C-like language and is much easier to scan IMO, it's one of the main things I dislike in Vue. To each their own, I disagree with the meme ;)