HNHacker News
TopNewBestAskShowJobs

Demiurge

2,176 karma · joined March 18, 2013

[ my public key: https://keybase.io/demiurge; my proof: https://keybase.io/demiurge/sigs/PC80TXjKuT_opeUzYSzo3OTGtO1y0JK4BBGdTy8PDvk ]
submissionscomments
Demiurge··on Understanding UMAP (2019)
really confused by this
Demiurge··on S3 is files, but not a filesystem
Right, the NFS/CIFS support writing blocks, but S3 basically does HTTP get and post verbs. I would say that these concepts are the defining difference. To call S3 a filesystem is not wrong in abstract, but it’s not different than calling Wordpress a filesystem, or DNS, or anything that stores something for you. Of course, it will be inefficient to implement a block write on top of any of these, that’s because you have to literally do it yourself. As in, download the file, edit it, upload again.
Demiurge··on S3 is files, but not a filesystem
Let’s start with the fact that you’re talking to an HTTP api… Even if S3 had web3.0 inodes, the querying semantics would not make sense. It’s a higher level API, because you don’t deal with blocks of magnetic storage and binary buffers. Of course s3 is not a filesystem, that is part of its definition, and reason to be…
Demiurge··on Gem12 Pro Mini PC: Ryzen 7 8845HS, Mini Screen, and OCuLink eGPU
I've also been using a Ryzen7 mini-pc, it spins up the fans when maxes out, but doesn't sound or behave any different than any laptop, except its a box. It's actually very quiet most of the time, until I have to process a photo in Lightroom or play a game.
Demiurge··on Majority of workers at Mercedes plant in Alabama sign UAW authorization cards
Do you also believe that monopolies are great, by any chance?
Demiurge··on PEP 701 – Syntactic formalization of f-strings
I just don't understand why everyone loves f-string so much. I do understand they might be better than + op? Perhaps. I've always liked .format method. You separate your template from your input data, and you can choose when the interpolation or execution takes place. You can re-use your template. It's a few more letters to type, but does not require complicated grammar extensions.

I would continue to use .format, but all my teammates are converting everything to fstrings, and I think my cognitive load is much higher because of it.

Demiurge··on Tell HN: Bash.org is no more
Yeah, I am getting prompted to subscribe and pay to even participte. Perhaps it's part of the larger theme of capitalism and monetization consuming all parts of human existence, including those that come from a purely artistic or communicative self expression. It's supposed to be part of the technological progress that builds us up, as a society, but I am strugging to fill the bash.org void.
Demiurge··on Tell HN: Bash.org is no more
One of my all time favorite sites on the interenet, I am glad there is an archive version.

IRC and being ASCII only had their benefits. These days, Discord displacing IRC, for most people who even have PCs, there is a much different vibe of re-posting meme pics and gifs, or even youtube videos.

Yet, I don't know if this is because of the higher production requirements, or not, but there isn't a database of spontaneous funny moments.

Demiurge··on ChatGPT for Teams
Thanks!
Demiurge··on ChatGPT for Teams
I appreciate it, will check it out :)
Demiurge··on ChatGPT for Teams
I have heard of LLMs, and understand most everything posted on HN, except quantum computing stuff.
Demiurge··on ChatGPT for Teams
That gave me an idea, here is what I got from Copilot:

You have set up your system to run different AI models and compare their performance using a text editor. You are using Mixtral-8x7, a high-quality open-source model developed by Mistral AI, Dolphin, an emulator for Nintendo video games, 3.5-Turbo, a customized version of GPT-3.5, a powerful natural language model, and 4-Series Preview, a new version of the BMW sports coupe. You have noticed that the 4.5-Preview, an upcoming update of GPT-3.5, is slightly better than Mixtral-8x7, which used to be a close match. You are still waiting to access Mistral-Medium, a prototype model that is even better than Mixtral-8x7, but only available to a limited number of users.

You have discovered that Perplexity, an AI company that provides information discovery and sharing services, offers free access to Mistral-Medium through their partnership with Mistral AI. You think that Perplexity is making a mistake by giving away such a valuable model, and that they are underestimating the superiority of Mistral-Medium over the 4.5-Preview. You also think that Mistral AI is the new leader in the AI industry, and that their techniques, such as DPO (Data Processing Optimization), Alibi (a library for algorithmic accountability), sliding window (a method for analyzing time series data), and modern mixtures (a way of combining different models), are well-known and effective. You believe that the advantage of Mistral AI lies in the gap between their innovation and the ability of other developers to replicate it on cheaper and more accessible hardware. You also think that the enterprise market is not fond of the complex structure of GPT-3.5 and its variants, and that they prefer to use Mistral AI's models, which are more affordable and operable on their own premises.

You end your text with a quote from the movie Armageddon, which implies that you are leaving a situation that you dislike, but also admire.

Demiurge··on ChatGPT for Teams
I have 20 years of software development experience, and I couldn’t understand anything you said. Is there a dictionary for this new lingo, or am I just too mid?
Demiurge··on AWS cancels serverless Postgres service that scales to zero
Of course you can run half a CPU at home. With Ubuntu LXD, you can easily run actual, hardware 50% cpu time, or .5 priority container. Why wouldn't you be able to have complete control over what "microscale" tasks you run on your own hardware, and own OS, that you control?

On the contrary, vCPU a completely cloud-centric product oriented concept, intended to abstract away what CPU you're actually running on, and how fast. These abstracts make orchestration and availability easier, but I think the key is a stable, public internet access. If you get a static IP, I don't see what wonders this does for "microscale". In fact, you probably have 90% unused "microcapacity" on all the personal hardware that's often idling, that is a lot less micro than any cloud provider will give you for free.

Demiurge··on Thoughts on PostgreSQL in 2024
Right, the local internet can always be an issue too. I think you have a good example of something with high uptime requirements. I get that, but I was kind of wondering specifically why Postgres's downtime would have any significant impact, if it was 1 second. That's hard for me to imagine. I also work in some high resiliency environments but I handle it with queues. No system I ever worked with had a requirement on the DB to have such availability.
Demiurge··on Thoughts on PostgreSQL in 2024
I think I understand the use case, and effectively you're sharding the data with SQLite. This approach is applicable with multiple databases/datastores.

However, would you really change your approach if PostgreSQL could be upgraded by a minor version without any downtime?

> One second of downtime will absolutely cause a measurable, and large, cost to your company profits.

I want to believe, but I really am not conviced that 1 second downtime to restart PostgreSQL out of 24/7/365 would make more of a dent on your companys profits, as dedicating two weeks of developers time on optimizing query performance and mobile app performance to potentially improve average response time of your apps by multiple percentage points.

Demiurge··on Thoughts on PostgreSQL in 2024
> I’ve even talked to users who have workloads that can only be unavailable for 1s – and while I was initially skeptical, when I heard what the workloads were for, I did agree that 1s was a reasonable requirement for them!

What could this be? Some crypto exchange is based on PostgreSQL?

I generally don't understand this kind of a requirement. Downtime, to me, is inability to have an end to end transaction. During downtime, to me, it is possible to queue writes and cache reads, to some extent.

I can understand if there is something in the middle, in the database layer, that needs to happen, but what would it be, that requires sub 1s latency, at that level?

Demiurge··on NY Times copyright suit wants OpenAI to delete all GPT instances
I’d be pretty delighted. I’m paid for getting projects done, not for keeping hold on some copyrighted code. I want all my code to be open sourced, and reused.
Demiurge··on Unveiling the big leap in Ruby 3.3's IRB
I wouldn’t be so harsh, as to call it gross, but I also much prefer Python, because Ruby reminds me of Perl. It feels clever, but not in a way that I expect to shorten its BNF. It still bugs me a bit, that ruby has pascals ‘end’, and Python uses whitespace, but it worked out in the real world.

Given just the syntax, I would always recommend Python as a first language to scientists in a lab, rather than ruby. The code just reads and writes itself better, without special characters.

But, I think it’s not fair to call Ruby gross, given some people love C++, php, bash, JavaScript… I’d take ruby over many languages, given a choice.

Demiurge··on Show HN: The Tomb of Ramesses I in the Valley of the Kings
Can this be made to work in Oculus VR?
Demiurge··on John Carmack and Rich Sutton partner to accelerate development of AGI
Where is this comment coming from? Can anyone give some context?
Demiurge··on Infrastructure Manager: Provision Google Cloud Resources with Terraform
> Python version of CDK second-tier after Typescript

What? It's not second-tier at all, every single feature in Python is in sync with TypeScript, the library versions are in sync, and the docs for all the languages are auto-generated. They're not second-tier, they're 100% single tier.

Demiurge··on An easy way to concurrency and parallelism with Python stdlib
If it's the worst, how is it not the only language in this category?

How do you rank C, Perl, JavaScript, PHP, ... parallelism compared to execution pool + futures here? The absolute MAX WORST?

Demiurge··on An easy way to concurrency and parallelism with Python stdlib
What “much research” are you talking about?

The amusing part is that the article calls out two groups of people into which your advice falls.

It’s not that much code, it’s about 4 lines of code, creating a “pool” and calling a wait on future objects.

This is a perfect solution for Python developers who have been perfectly happy using Django for years, and just need to scrape some API or download multiple files.

No, they shouldn’t switch to a different language the moment they need to optimize something embarrassingly parallel, they can see whether a simple solution in stdlib is enough, and probably move on.

Demiurge··on macOS updates for Apple Silicon Macs are larger than reported
I wonder, how many engineers with hands on experience on the PowerPC to intel transition are still around? I suspect Apple is benefitting from software layers and testing infrastructure, rather than institutional knowledge in this ARM transition. It’s just a guess though, I’d love to be corrected by someone with direct knowledge.
Demiurge··on My frugal indie dev startup stack (2022)
Should anything trial be considered "frugal"? The moment you run out of free tokens, you have to shut down or actually get frugal, which is the difficult part... Would you ever include "Photoshop trial" in a list of "frugal software I use for design"?

Why spend $300 in AWS credits to begin with, when you can use Hetzner, and switch to cloud when absolutely need to? (or shut down)

Demiurge··on Podman Desktop 1.2 Released: Compose and Kubernetes Support
Yes, but 50% of the projects the parent poster sees, and 90% of the projects that I see, do not require any of that.
Demiurge··on Microtiming in Metallica's “Master of Puppets” (2014)
If this this just Lars fault, and the band is not tight, how do you explain the consistency of the delay each time the riff is played? How likely do you think this is, statistically speaking?
Demiurge··on UUIDs are obsolete in the age of Docker
I've never thought UUIDv1 was useful in any virtualized context, and I hope it should be obvious, but maybe it's worth stating in the UUID generation docs. It is already explained somewhat well what the versions are in Python docs.

However, with all the things already supporting UUID, I also don't see any reason to switch from UUIDv4 to anything else. I don't see how UUID, in general is obsolete, with the support it has from different libraries, and databases.

Demiurge··on Farewell to the Era of Cheap EC2 Spot Instances
If you're writing your processing code, you can also write it with capability to stop and resume more efficiently.
← PreviousPage 8 of 33Next →