HN user

SerCe

5,230 karma

https://serce.me/

Posts356
Comments70
View on HN
www.canva.dev 17h ago

Session Revocations at Scale

SerCe
3pts0
arxiv.org 2mo ago

From Skills to Talent: Organising Heterogeneous Agents as a Company [pdf]

SerCe
2pts0
theconsensus.dev 2mo ago

Branimir Lambov from IBM on Cassandra

SerCe
2pts0
bmarti44.substack.com 3mo ago

I Put a Full JVM Inside a Browser Tab. It "Works". Technically. Eventually

SerCe
2pts0
stackoverflow.blog 4mo ago

Sneak peek at the redesigned Stack Overflow

SerCe
8pts1
terriblesoftware.org 4mo ago

Nobody gets promoted for simplicity

SerCe
240pts91
anders.unix.se 5mo ago

Screenshots from developers and Unix people (2002) (2015)

SerCe
1pts0
serce.me 5mo ago

We are QA Engineers now

SerCe
4pts0
www.brendangregg.com 5mo ago

Why I Joined OpenAI

SerCe
222pts194
serce.me 5mo ago

We are QA Engineers now

SerCe
4pts0
openai.com 5mo ago

Unlocking the Codex harness: how we built the App Server

SerCe
2pts0
calendar.perfplanet.com 7mo ago

A Short History of Performance Engineering

SerCe
1pts0
yeolj00.github.io 7mo ago

Vector Prism: Animating Vector Graphics by Stratifying Semantic Structure

SerCe
1pts0
www.atlasobscura.com 7mo ago

How the Bell Labs Holmdel Complex Inspired 'Severance'

SerCe
21pts4
serce.me 7mo ago

Join the on-call roster, it'll change your life

SerCe
11pts7
arxiv.org 7mo ago

Z-Image: An Efficient Image Generation Foundation Model [pdf]

SerCe
3pts0
tongyi-mai.github.io 7mo ago

Z-Image: Efficient Image Gen Model with Single-Stream Diffusion Transformer

SerCe
3pts0
www.smh.com.au 7mo ago

Total bill for Australian bureau of meteorology new website came in at $96M

SerCe
4pts0
www.wsj.com 8mo ago

Coinbase to Leave Delaware, Reincorporate in Texas

SerCe
4pts0
arxiv.org 8mo ago

Too Good to Be Bad: On the Failure of LLMs to Role-Play Villains [pdf]

SerCe
1pts0
mojo-lang.com 8mo ago

Mojo Miji – A Guide to Mojo Programming Language from a Pythonista's Perspective

SerCe
2pts0
amitzalcher.github.io 8mo ago

Brain-IT: Image Reconstruction from fMRI via Brain-Interaction Transformer

SerCe
50pts10
huggingface.co 9mo ago

GigaBrain-0: A World Model-Powered Vision-Language-Action Model

SerCe
2pts0
www.aboutamazon.com 9mo ago

Amazon's AI/robotics systems are speeding up delivery

SerCe
1pts0
arxiv.org 9mo ago

AutoPR: Let's Automate Your Academic Promotion [pdf]

SerCe
2pts1
www.investopedia.com 9mo ago

The Staggering Per-Employee Value of Nvidia

SerCe
1pts0
www.psypost.org 9mo ago

Scientists use AI to detect ADHD through unique visual rhythms

SerCe
10pts2
serce.me 9mo ago

Prototype-First Software Design with Agents

SerCe
1pts0
serce.me 9mo ago

Prototype-First Software Design with Agents

SerCe
1pts0
paulthompson.dev 9mo ago

Minesweeper

SerCe
3pts0

Or don't. I've done both, published OSS projects and sold some software. The level of entitlement in some comments I received on the OSS side was pretty crazy at times. While with the paid software, all of the interactions I had were so much more constructive. YMMV, but willingness to pay is a great filter.

Do you have any examples or resources that worked well for you?

Using this particular example, if you simply paste the exact code into the prompt, the model should able to reproduce it. Now, you can start removing the bits and see how much you can remove from the prompt, e.g. simplify it to pseudocode, etc. Then you can push it further and try to switch from the pseudocode to the architecture, etc.

That way, you'll start from something that's working and work backwards rather than trying to get there in the absence of a clear path.

If you've got some time, I highly recommend going through the exercise of trying to change the prompt in a way that would produce code similar to what you've achieved manually. Doing a similar exercise really helps to improve agent prompting skills, as it shows how changing parts of the prompt influences the result.

In Theory There Is No Difference Between Theory and Practice, While In Practice There Is.

In large projects, having a specific AGENTS.md makes the difference between the agent spending half of its context window searching for the right commands, navigating the repo, understanding what is what, etc., and being extremely useful. The larger the repository, the more things it needs to be aware of and the more important the AGENTS.md is. At least that's what I have observed in practice.

Great article! Just yesterday I watched a Devoxx talk by Andrei Pangin [1], the creator of async-profiler where I learned about the new heatmap support. To many folks it might not sound that exciting, until you realise that these heatmaps make it much easier to see patterns over time. If you’re interested there’s a solid blog post [2] from Netflix that walks through the format and why it can be incredibly useful.

[1] https://www.youtube.com/watch?v=u7-S-Hn-7Do

[2] https://netflixtechblog.com/netflix-flamescope-a57ca19d47bb

I believe there is no contradiction with the definition from the linked article?

A system is said to be real-time if the total correctness of an operation depends not only upon its logical correctness, but also upon the time in which it is performed. Real-time systems, as well as their deadlines, are classified by the consequence of missing a deadline:

Hard – missing a deadline is a total system failure.

Firm – infrequent deadline misses are tolerable, but may degrade the system's quality of service. The usefulness of a result is zero after its deadline.

Soft – the usefulness of a result degrades after its deadline, thereby degrading the system's quality of service.

From what I can tell, https://pocketbase.io/ attempts to be a soft-realtime system.

The highest level of cringe you can feel is when you see people you know well in real life post on LinkedIn. The contrast between the way they speak in real life and on LinkedIn is often immense, you don't feel that level of contrast with random internet strangers.

Isn’t not that they’re “not perfectly accurate”, it’s that you can find half an order of magnitude of performance after the profiler tells you everything is fine. That’s perfectly inaccurate.

That's a very strong claim, and it's not true in my experience as I've showed above.

Let me save you fifteen minutes, or the rest of your life: They aren’t.

Knowing that all profilers aren't perfectly accurate isn't a very useful piece of information. However, knowing which types of profilers are inaccurate and in which cases is indeed very useful information, and this is exactly what this article is about. Well worth 15 minutes.

And that often involves ignoring the fancy visualization and staring at the numbers.

Visualisations are incredibly important. I've debugged a large number [1] of performance issues and production incidents highlighted by the async profiler producing Brendan Gregg's flame graphs [2]. Sure, things could be presented as numbers, but what I really care about most of the time when I take a CPU profile from a production instance is – what part of the system was taking most of the CPU cycles.

[1] https://x.com/SerCeMan/status/1305783089608548354

[2] https://www.brendangregg.com/flamegraphs.html

So yeah, why expose it to those who are not the "main customer"?

How did modules affect you as a user? I'd guess that you had to add `--add-opens`/`--add-exports` during one of the JDK migrations at some point. And the reason you had to do it was that various libraries on your classpath used JDK internal APIs. So modules provided encapsulation and gave you an escape hatch for when you still have to use those libraries. How else would you do it while still achieving the desired goal?

My read is that it's easy to be quite negative on Java features when you're not the person they were designed for. For example, the main "customer" of the module system is the JDK itself. The main customer of NIO/2 is the low-level libraries like Netty.

I highly recommend the Growing the Java Language talk by Brian Goetz to anyone who's interested in the philosophy behind evolving the modern Java language [1]. And Don’t be misled by the title, it’s not just about Java, it’s about software design.

[1] https://www.youtube.com/watch?v=Gz7Or9C0TpM

What this post might be missing is that it’s not just Google that can block your website. A whole variety of actors can, and any service that can host user-generated content, not just html (a single image is enough), is at risk, but really, any service is at risk. I’ve had to deal with many such cases: ISPs mistakenly blocking large IP prefixes, DPI software killing the traffic, random antivirus software blocking your JS chunk because of a hash collision, even small single-town ISPs sinkholing your domain because of auto-reports, and many more.

In the author’s case, he was at least able to reproduce the issues. In many cases, though, the problem is scoped to a small geographic region, but for large internet services, even small towns still mean thousands of people reaching out to support while the issue can’t be seen on the overall traffic graph.

The easiest set of steps you can do to be able to react to those issues are: 1. Set up NEL logging [1] that goes to completely separate infrastructure, 2. Use RIPE Atlas and similar services in the hope of reproducing the issue and grabbing a traceroute.

I’ve even attempted to create a hosted service for collecting NEL logs, but it seemed to be far too niche.

[1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Net...

iPhone Air 11 months ago

I own a 12 mini, and I'm planning to upgrade my phone this year, it's time. If there were an iPhone 17 mini, I'd buy it, but because there isn't one, I'll probably go for the Pro to get a bigger battery. Apple knows that many folks like me would buy a cheaper mini if there were one, and not spend as much on Pro.

This reminds me of users getting blocked for asking an LLM how to kill a BSD daemon. I do hope that there'll be more and more model providers out there with state-of-the-art capabilities. Let capitalism work and let the user make a choice, I'd hate my hammer telling me that it's unethical to hit this nail. In many cases, getting a "this chat was ended" isn't any different.

Here are my reasons why this "upgrade" is, in experience, a huge downgrade for Plus users:

* The quality of responses from GPT-5 compared to O3 is lacking. It does very few rounds of thinking and doesn't use web search as O3 used to. I've tried selecting "thinking", instructing explicitly, nothing helps. For now, I have to use Gemini to get similar quality of outputs.

* Somehow, custom GPTs [1] are now broken as well. My custom grammar-checking GPT is ignoring all instructions, regardless of the selected model.

* Deep research (I'm well within the limit still) is broken. Selecting it as an option doesn't help, the model just keeps responding as usual, even if it's explicitly instructed to use deep research.

[1] https://openai.com/index/introducing-gpts/

Cursor 1.0 1 year ago

I use it pretty much daily and am pretty happy with it, especially its ability to do very targeted edits rather than leaving random changes everywhere.

I believe it’ll get much better as LLMs start editing code by invoking refactoring tools (rename, change signature, etc.) rather than rewriting the code line by line, as this will let them perform large-scale changes reliably in a way that's similar to how software engineers do them now using IDE tools

The previous JEP 450 [1] has a lot more implementation details for those who are interested.

They have been tested at Oracle by running the full JDK test suite. They have also been tested at Amazon by hundreds of services in production, most of them using backports of the feature to JDK 21 and JDK 17.

One of the underappreciated perks of working on platform teams in large (and very large in the case of Amazon) companies is that you've got a playground to see and quantify the impact of your performance work that few others have.

[1] https://openjdk.org/jeps/450

Why is that quote in the piece? I don't get the analogy.

I liked the quote because what it conveys is that you can't control everything. You can't control the way people freak out about things on Twitter. You can't control an influx of new tools. But what you can control is the way you react to them – not giving in to the chaos, but instead approaching the changes with a cool head. And the Netflix show it's from, Midnight Gospel, is pretty good. I do agree that the house analogy could be better though.

The author here. Yes, what you're saying is 100% on point. Putting a company's code into a random chatbot online would be a horrendous violation of any company's policy out there. I'm in a fortunate position where we've had a clearly defined policy for a long time now, outlining which tools can be used and which categories of data we are allowed to use with them.

I wrote about the way we handle WebSocket connections at Canva a while ago [1]. Even though some small things have changed here and there since the post was published, the overall approach has held up pretty well handling many millions of concurrent connections.

That said, even with great framework-level support, it's much, much harder to build a streaming functionality compared to plain request/response if you've got some notion of a "session".

[1] https://www.canva.dev/blog/engineering/enabling-real-time-co...

That's the point I was trying to highlight in the "Treating product engineers as customers" sin section – the duality goes both ways. Sometimes the best thing for the company is to make the lives of product engineers better, sometimes it's to make them worse. You do whatever is best for the company, not for the product engineers.

I see, thank you for clarifying. That's an interesting observation, I feel like there is a story behind it. :)

I definitely agree that as any small start-up grows, the security controls become very painful, especially for those folks who felt "the freedom" before the controls were established. That said, would the picture look better without platform teams? The security controls would need to be there anyway, and I'd personally prefer to use some self-serve, platform-ish solution built by a team of software engineers that would do call auditing, verification, etc., rather than raising a JIRA ticket with some ops folks who'd do the security-sensitive thing for you.