HNHacker News
TopNewBestAskShowJobs

TkTech

1,328 karma · joined November 12, 2012

submissionscomments
TkTech··on Show HN: Hatchet v1 – A task orchestration platform built on Postgres
Chancy dev here.

I've intentionally chosen simple over performance when the choice is there. Chancy still happily handles millions of jobs and workflows a day with dynamic concurrency and global rate limits, even in low-resource environments. But it would never scale horizontally to the same level you could achieve with RabbitMQ, and it's not meant for massive multi-tenant cloud hosting. It's just not the project's goal.

Chancy's aim is to be the low dependency, low infrastructure option that's "good enough" for the vast majority of projects. It has 1 required package dependency (the postgres driver) and 1 required infrastructure dependency (postgres) while bundling everything inside a single ASGI-embeddable process (no need for separate processes like flower or beat). It's used in many of my self-hosted projects, and in a couple of commercial projects to add ETL workflows, rate limiting, and observability to projects that were previously on Celery. Going from Celery to Chancy is typically just replacing your `delay()/apply_async()` with `push()` and swapping `@shared_task()` with `@job()`.

If you have hundreds of employees and need to run hundreds of millions of jobs a day, it's never going to be the right choice - go with something like Hatchet. Chancy's for teams of one to dozens that need a simple option while still getting things like global rate limits and workflows.

TkTech··on Mruby/C and picoruby: high level langs in low-level devices?
If this kind of stuff interests you, you may also like micropython[1], which is currently overwhelmingly dominate in this niche.

1: https://github.com/micropython/micropython

TkTech··on Show HN: Program Explorer, a container playground
Neat! One small bug - In dark mode, the text on the banner at the top is unreadable.
TkTech··on Seagate: 'new' hard drives used for tens of thousands of hours
I'm not 100% sure you can out of the box, the default driver on macOS is very restrictive in what commands can be passed through to the device.
TkTech··on Seagate: 'new' hard drives used for tens of thousands of hours
Hm, FARM is Seagate-specific but the standard is open, neat. I'll add support for this to https://github.com/TkTech/smartie/. Introduction here, https://www.snia.org/educational-library/introduction-hdd-fi... and the Mozilla v2 licensed libraries from seagate under https://github.com/Seagate all seem to support FARM now.
TkTech··on Blogs rot. Wikis wait
There's an ongoing mini-revolution against Fandom, with the wikis that have the manpower moving away to other platforms like wiki.gg, WeirdGloop, or just self-hosted. Minecraft, WoW, Runescape, LoL, etc.
TkTech··on New LLM optimization technique slashes memory costs
Lossy doesn't necessarily imply that it is non-deterministic, just irreversible.
TkTech··on New LLM optimization technique slashes memory costs up to 75%
No, not really. AWS getting more power and space efficient chips didn't reduce total power demand, they just added more cores.

Even if the data centers didn't keep up with available capacity, energy demanding industry move to and expand with sources of power, like aluminum production.

TkTech··on How to use Postgres for everything
Also https://github.com/TkTech/chancy for another (early) Python option that goes the other way and aims to have bells and whistles included like a dashboard, workflows, mixed-mode workers, etc...

Check out the Similar Projects section in the docs for a whole bunch of Postgres-backed task queues. Haven't heard of pgqueuer before, another one to add!

TkTech··on The Engagement Is Better on Bluesky
I do, it constantly shows ads and posts I do not follow. Hell it had a half-page Trump ad on election day and I'm not even American. It also periodically resets back to the For You tab.
TkTech··on The Engagement Is Better on Bluesky
I'm on the latest Firefox myself and they all worked fine.
TkTech··on The Engagement Is Better on Bluesky
Personally, it has nothing to do with Musk. My Twitter feed is all things I haven't followed, constantly block similar posts, and am completely uninterested in.

My bsky feed is _explicitly_, 100%, only posts I've asked to see.

TkTech··on The Engagement Is Better on Bluesky
Starter packs! They're a great community managed way to find (and share) a bunch of feeds of common interest. You can browse them from within bsky.
TkTech··on The Engagement Is Better on Bluesky
And hot replies was only added two days ago, and is simply giving newer comments a temporary boost so they don't end up unnoticed in long threads. Choice is nice!

https://bsky.app/profile/bsky.app/post/3lbxfx4nfkk2z

TkTech··on The Engagement Is Better on Bluesky
The simple fact of the matter, IMO, is simply that my feed is mine. It's 100% only posts from OSS developers right now, with no garbage mixed in.

I'm not American. I do not care about American elections. I blocked every lunatic right-wing post that showed up on my Twitter feed from people I don't follow, and yet still almost every post in my feed is about American politics or a half-page Trump ad on election day.

So, almost every post that ends up on my bsky timeline is something I am _explicitly_ interested in, without having to ignore the feed and search for specific users or projects. Of course my engagement is going to be higher! It's basically an RSS feed with an article length limit.

TkTech··on Voyager 1 breaks its silence with NASA via radio transmitter not used since 1981
Both Canada and the US have restarted production specifically to produce RTGs for NASA, but the process takes time to scale up and automate. It's gone up 4x in 4 years and continues to increase, so this is a problem that will eventually be "fixed".
TkTech··on py_yyjson – Fast, flexible and practical JSON parser for Python
[py]yyjson is built around the fantastic yyjson library by Ibireme to offer a JSON parser that manages to be among the fastest out there while also offering flexible parsing for non-standard JSON and high portability (ANSI C89) without SIMD instructions.

Unique among Python JSON projects, you can also manipulate documents without de-serializing them into Python objects with fast JSON Patch (RFC 6902) and JSON Merge-Patch (RFC 7386) support.

This is the first release that's out of alpha with a stable API and ready for feedback and day-to-day usage.

TkTech··on Bitcoin has made a new all-time high price
Speculators buying from speculators and hoping today isn't the day the hot potato explodes.
TkTech··on Do you need Redis? PostgreSQL does queuing, locking, and pub/sub (2021)
This is a fairly old article, but this has become a very common pattern. For 90% of projects that just need a task queue for sending email or generating reports, you're not going to be doing millions of messages a second and anything that simplifies your stack is worth looking at. I've used these patterns so often to work around issues encountered with Celery that I've split them into their own framework, https://github.com/TkTech/chancy (feedback appreciated ;)

There are lots of these, several of which are commercial ventures so there's definite interest behind it:

    https://worker.graphile.org/ (Node.js)
    https://riverqueue.com/ (Go)
    https://github.com/acaloiaro/neoq (Go)
    https://github.com/contribsys/faktory (Go)
    https://github.com/sorentwo/oban (Elixir)
    https://github.com/procrastinate-org/procrastinate (Python)
TkTech··on JSON Patch
For anyone who wants to try this in Python, `yyjson`[1] supports both JSON Patch (RFC 6902) and JSON Merge-Patch (RFC 7386)[2]

[1]: https://github.com/tktech/py_yyjson [2]: https://tkte.ch/py_yyjson/api.html#yyjson.Document.patch

TkTech··on K1 Buys MariaDB
> Maria supports partitioning, Postgres (as of my last knowledge) does not.

Modern versions of postgres have all the partioning features you'd expect (except automatic ranged partion creation)

TkTech··on xAI's Colossus: Most Powerful AI Cluster Online in 122 Days
Is there a reputable source for these claims? Given source has been proven to lie about scale, delivery, and functionality, especially for topics that might boost share prices. https://elonmusk.today/
TkTech··on Show HN: PgQueuer – Transform PostgreSQL into a Job Queue
https://github.com/tktech/chancy is a very early-stage pet project to work around specific issues I keep running into with Celery that has all of this, including a simple plugin-extendable UI with DAG workflow visualization.
TkTech··on I found a 1-click exploit in South Korea's biggest mobile chat app
While you're right, in the specific case of navigation apps (Google maps) or apps that need navigation data (uber), it's typically because of the Geospatial Information Management Act. High-quality mapping data isn't allowed to leave the physical borders of Korea so most foreign companies just stop trying. Nowadays it's just protectionism, but the original justification was to make it harder for north korea to aim artillery.
TkTech··on Super Heavy has splashed down in The Gulf of Mexico
The (unproven) target cost per kg of a re-usable starship, from even the most conservative source I could find, was under $300/kg[2]. The next cheapest, the Falcon Heavy, is around $2.3k/kg[1]. The cost difference is astronomical, and so low that it becomes viable send less payload and more orbital adjustment fuel, not to mention its (again, unproven) designed to be refueled in orbit. At that price, you could fly multiple refueling flights and still be under the cost of any other life provider.

[1]: https://en.wikipedia.org/wiki/Falcon_Heavy [2]: https://en.wikipedia.org/wiki/SpaceX_Starship

TkTech··on Super Heavy has splashed down in The Gulf of Mexico
Yes, there won't be as many customers purchasing 150-200 tons of lift, but that's the point of "rideshares". All that really matters with space launches is the cost per kg and if it's capable of lifting multiple payloads into multiple orbits, it'll have 10-15 customers per lift, not one. The current model has a kind of pez-dispenser but for chucking out multiple payloads.

There are purchasers for the full lift capacity too, like ISS modules and major telescopes.

TkTech··on OpenProject – open-source project management software
It's been a long time, but looking at my email invoices it was Abacus[1] for modernizing the frontend and a bunch of plugins from redmineup[2] like Agile and Resource, which appear to be default OpenProject features ("Board" & "Planner").

[1] https://www.abacusthemes.com/ [2] https://www.redmineup.com/pages/plugins

TkTech··on OpenProject – open-source project management software
TIL, thanks for the informative reply.
TkTech··on OpenProject – open-source project management software
Reading this, I had a little laugh after reading the entire spiel about increasing intuitivness and the first point is renaming issues (universally understood) to "work packages" (what?).

Maybe it's just me :) overall it looks like quite the overhaul from its redmine roots. A lot of what I had to hunt for in paid redmine plug-ins years ago is just a core feature in OpenProject.

TkTech··on Show HN: gpudeploy.com – "Airbnb" for GPUs
It was a fairly unique architecture that had some pros and cons. In reality what made it a winner was the steep subsidy by Sony (units were sold at a loss, making the assumption you would buy a few games) and the availability (later removed) of an official Linux distribution.
← PreviousPage 3 of 11Next →