Better HN
topnewbestaskshowjobs
Log inSign up

Shakahs

651 karma · joined Jun 18, 2013 (13y ago) · 119 submissions

Submissions

comment 1w ago · link · parent

AWS already models all their services with Smithy, the specification language they created. Their API clients are all generated from Smithy, and the emulator seems to have been built using the Smithy specs and comprehensive integration testing against the real APIs. Using the spec ensures they hit every variant and optional field of every endpoint, unlike Floci and Ministack that only implement the more commonly used ones.

https://github.com/aws/api-models-aws

https://github.com/smithy-lang/smithy

comment 1mo ago · link · parent

I found it at: https://aws.amazon.com/blogs/compute/exploring-aws-lambda-we...

comment 2mo ago · link · parent

This was Google's big announcement at their last I/O conference: That Google would become the agent handling all forms of commerce on behalf of the average person worldwide.

comment 3mo ago · link · parent

Not familiar with this particular library, but similar libraries use S3 Express One Zone which has write latency <10ms, so you can use that for the WAL and compaction can move data onto other storage classes in the background.

Regular S3 has write latency 100-150ms, which might be fine depending on your workload anyway.

comment 3mo ago · link · parent

Frontier model providers (Anthropic et al.) gate new accounts to impractically low rate limits and spending caps until clients unlock higher limits with cumulative usage, make equivalent cash deposits up front, or talk to a Sales department to work out some other arrangement. They are handicapped by the postpaid billing model.

It's an administrative burden to sign up very every model provider, and there are many independent inference providers now that serve only open source models.

OpenRouter provides a useful service by allowing easy prepaid model access with much higher rate limits, and they also aggregate different model providers to route queries by price, latency, etc.

comment 3mo ago · link · parent

The full Claude Code system prompts are extracted every update and posted here, all 670 of them.

https://github.com/Piebald-AI/claude-code-system-prompts/tre...

comment 4mo ago · link · parent

JSON is okay most of the time, but I loath YAML.

How many Kubernetes administration headaches trace back to the need for automated systems to surgically edit YAML? It’s absurd and YAML may be the worst choice for this use case.

comment 7mo ago · link · parent

Enterprise adds IAM, logging, and analytics, all of which AWS provides for free or for metered usage without needing an enterprise plan.

comment 7mo ago · link · parent

If you are paying API rates (not using Max subscriptions) there's no reason to use Anthropic's API directly, the same models are hosted by both AWS and Google with better uptime than Anthropic.

comment 7mo ago · link · parent

Looks very neat.

You may want to optimize the content serving a bit, since it's currently hotlinking multiple large (30MB) videos at 2K resolution from https://svs.gsfc.nasa.gov.

comment 8mo ago · link · parent

AWS and GCP both have their own custom inference chips, so a better example for hosting Opus on commodity hardware would be Digital Ocean.

comment 10mo ago · link · parent

https://react-aria.adobe.com is the new Radix, it provides unstyled components with a heavy focus on accessibility and quality. https://github.com/heroui-inc/heroui is the new Shadcn.

comment 1y ago · link · parent

I use it via the Kilo Code extension for VSCode, which is invoking Qwen3-Coder via a Cerebras Code subscription.

https://github.com/Kilo-Org/kilocode https://www.cerebras.ai/blog/introducing-cerebras-code

comment 1y ago · link · parent

Sonnet/Claude Code may technically be "smarter", but Qwen3-Coder on Cerebras is often more productive for me because it's just so incredibly fast. Even if it takes more LLM calls to complete a task, those calls are all happening in a fraction of the time.

comment 1y ago · link · parent

SlateDB offers different durability levels for writes. By default writes are buffered locally and flushed to S3 when the buffer is full or the client invokes flush().

https://slatedb.io/docs/design/writes/

comment 1y ago · link · parent

While your technical analysis is excellent, making judgements about workload suitability based on a Preview release is premature. Preview services have historically had significantly lower performance quotas than GA releases. Lambda for example was limited to 50 concurrent executions during Preview, raised to 100 at GA, and now the default limit is 1,000.

comment 1y ago · link · parent

Grok are the first models I am boycotting on purely environmental grounds. They built their datacenter without sufficient local power supply and have been illegally powering it with unpermitted gas turbine generators until that capacity gets built, to the significant detriment of the local population.

https://www.datacenterdynamics.com/en/news/elon-musk-xai-gas...

comment 1y ago · link · parent

Reading about mainframes feels very much like reading science fiction. Truly awesome technology that exists on a completely different plane of computing than anything else.

comment 1y ago · link · parent

This thinly veiled advertisement claims it's a waste of time to understand the tradeoffs in the models you're using, and you should instead pay them to make those decisions for you. No thank you.

comment 1y ago · link · parent

Forcing Twitter to make public posts easily accessible is not at all the same as compelling Apple to hand over your private messages.

comment 1y ago · link · parent

Per the ongoing Freedesktop discussion, AWS offered to host but Freedesktop is leaning towards self-hosting on Hetzner so they can control their own destiny and sponsors can contribute cash towards the bill instead of donating hardware.

> https://gitlab.freedesktop.org/freedesktop/freedesktop/-/iss...

comment 1y ago · link · parent

Same for me, I use "ar <tab>" in Intellij all the time.

comment 1y ago · link · parent

Because they own the CDN and most of the bandwidth is from peering, so it essentially costs them nothing. Netlify on the other hand has to pay per GB to AWS.

comment 1y ago · link · parent

Note: This is type stripping only, no transpilation / code generation is done.

25.

Node.js enables TypeScript handling by default(nodejs.org ↗)

17 points · by Shakahs · 1y ago · 7 comments

comment 1y ago · link · parent

Both these issues can be resolved by adding some sample code to context to influence the LLM to do the desired thing.

As the op says, LLMs are going to be biased towards doing the "average" thing based on their training data. There's more old backend code on the internet than new backend code, and Tailwind is pretty dominant for frontend styling these days, so that's where the average lands.

comment 1y ago · link · parent

Counterpoint: I also used to fix Lexmark printers as a field tech servicing pharmacies. It was routine to see Lexmark MS711dn printers with page counts in the millions. They did not need more than basic maintenance.

comment 1y ago · link · parent

After years of Python and TypeScript, I've started using Java as my default for everything. It's just so much more productive. The ancient developer memes that Java is slow and clunky don't apply anymore.

Postgres also had a long-held reputation for being slow and difficult, but it made incremental improvements for decades and now it's the default choice for databases.

I see Java in the exact same position, as the Postgres of languages.

comment 1y ago · link · parent

See also: EDI / EDIFACT / ANSI X12. It was supposed to standardize the way businesses exchange data, but every company implements it differently so integrations take forever, and there's an entire of middlemen offering solutions to make it faster.
1234