i am eagerly awaiting the day when people learn to look things up again
comments
i just write the critical parts in c and glue them together with python, because if it's one thing it's good at it's ffi.
Bash and Python are very different. Bash uses your system as programming language, while Python offers a lot more. Python is in many cases a good solution that does not need extra work for programming languages to compile. If you don't think that Python is a grown up language, then you seem to be misinformed.
Oh that's sad. I was hoping for that the title of the post was misleading, and it just meant that the "experimental" flag was removed. Well, sadly no.
Little rant: My eyes hurt from reading 100% white on 100% black background... Wish sites stopped doing it. Thank god Firefox has this builtin reader view functionality.
My rule of thumb: If I wouldn't write it in bash, I won't write it in Python. Anything more serious gets a grown up language
Just rewrite it in Rust
I am eagerly waiting for someone to vibe code a version of Python that isn't shit. Probably not far off I expect.
yeah that matches what I see, most of what we run at work is one app and one database, so the slow query log plus looking at the plan gets you like 90% of the way. I never really had the multi service case where otel pays off, I guess at some point it does, but for a small team it felt like a lot of plumbing to end up finding the same n+1 query lol
I actually have ported the pre Lemire version to Java!
This should work for you, and I can probably port my most recent version to Java as well.
What I've realized is that because of the hype, you've virtually always got investors willing to offer a service for free, in hopes of attracting users.
Which means, if that service then tries to make that money back, users will quickly find another free offering and switch to that instead.
Obviously, in theory, you might manage to offer such a unique service that folks won't find a competing service, but:
- a lot of these AI services do the same shit, because it is just language models and image models at the end of the day, and
- if you can quickly build that service then others can quickly build it, too, so if people are willing to spend money on your offering, you won't need to wait for competitors.
This is a very different situation than a gold rush, and yet it feels ever more appropriate when folks say only those who sell shovels earn money from it...
Fun read.
Java. I could certainly use a lot of what you wrote, but I don't know nearly enough about the JVM to take it as far as you did.
How interesting! What language are you using? I've ported a couple of these ilog10 methods to different languages so perhaps I could be of some help! Thank you though! It was a long process to get it this fast and lean!
We're still searching for those...
Ofc!! Thank you for reading!
Now, with all that telemetry in place and a coding agent I can finally engage with production properly: not reactively when something goes wrong, but every day I can chat with the production, ask it about its concerns, about what is going on lately, if something feels wrong.
Good luck
No, the author is not confusing them. It's everyone else that has been confused insofar as they use "REST" to describe APIs that are not actually REST. True REST is a way of architecting networked applications according to a set of constraints, as defined by Roy Fielding in his original dissertation. Here's an excerpt that sums it up:
In order to obtain a uniform interface, multiple architectural constraints are needed to guide the behavior of components. REST is defined by four interface constraints: identification of resources; manipulation of resources through representations; self-descriptive messages; and, hypermedia as the engine of application state.
Many "REST" APIs do not adhere to these constraints, especially self-descriptive messages and hypermedia as the engine of application state (also known as HATEOAS). Note that this says nothing about HTML: HTML is but one representation of hypermedia, but far from the only one. Hypermedia is something that allows discovery of additional, related resources by way of links between resources. There are a number of ways of doing this, such as RFC 8288 Link Headers or embedding links within one of a resource's representations (such as a JSON representation).
It's a much larger topic than I can fully explain here, but I highly recommend reading Roy Fielding's dissertation, especially Chapter 5 which talks about REST and what it is.
I also highly recommend this blog post from Google Cloud's engineering team, which talks about why you should use links instead of keys to represent relationships in API design: https://cloud.google.com/blog/products/application-development/api-design-why-you-should-use-links-not-keys-to-represent-relationships-in-apis.
A lot of people are leaving software engineering because agent-based workflows killed their joy. I don't have that problem; I never liked the job in the first place.
The repeated division trick has a quicker counterpart, which is to create a separate variable and repeatedly multiply that by 10, comparing to the original as it goes. Probably not as fast as anything beyond the repeated division trick, but I mention it because its rediscovery was likely missed by jumping right to clzl tricks.
It also generalises a lot more readily to numbers in other bases. Kind of a "jack of all trades, master of none" solution.
Is he confusing REST with AJAX? AJAX was supposed to return HTML but is nowadays often used to return JSON, yes mostly from a REST API.
But I would expect to get well structured data from a REST API. If you return HTML you might as well return it directly suited for presentation which may not be very well suited for data parsing by a computer.
Edit: No, he's not confusing them. The first guy coining the REST term defined them as explicitly returning hypertext. Sounds like every webserver ever to me.
Fun read, thanks for sharing ♥️
So there is a faster one in Africa or Asia? Then why not use that?
Amazing. It's so weird, I was just needing to do this same operation and was looking into some of the bithacks. Although I don't have the ability in the language to fully utilize this, I am astounded by how lean you made it.
Wrote my first real blog post. Let me know what you guys think!