News for hackers. Stuff that matters.

csnweb

Re:The AI cost of JavaScript frameworks on Sunday November 01, 2026 @05:26AM (#50324258)
And then you just use your favorite js framework with Astro and it will still be good. I use Astro with react and heroui a lot. Since the latter does not need any js for many components anymore you still get zero js builds unless you actually need interactivity.
Re:GPT-6 Sol and Luna on Tuesday September 22, 2026 @04:07PM (#49807366)
But did you use ChatGPT chat or the work mode? Only the former is unmetered at least for me as well.
We do very much have credit rating in Germany, might be very different than the one in the US, don’t know theirs.
Re:GPT-5.4 on Thursday March 05, 2026 @01:40PM (#47265455)
Are you may be comparing the pro model to the non pro model with thinking? Granted it’s a bit confusing but the pro model is 10 times more expensive and probably much larger as well.
You can activate the uv venv from anywhere just fine, just do source path_to_sandbox/.venv/bin/activate. Probably makes sense to define a shortcut for that like activate sandbox. Your conda env is also linked to a directory, it’s just a hidden one, you can also create the uv obe somewhere hidden. But I get it to some extent conda has this large prefilled envs with a lot of stuff in it already that work together. Still if you then end up needing anything else you wait ages for the install. I find conda so unbearable by now that I voluntarily switch every conda thing I have left over to uv the second I need to touch the conda env.
Because the gp comment is not about grapheneos, but its creator and could be taken as insulting (considering none of them is likely to be actually schizophrene).
That might take a few days or weeks, it seems like they put in some decent effort into it this time. From skimming the supplement I wouldn’t be suprised if the speedup is only 100x though. That’s still significant, but clearly less than they claim. For example I am not entirely convinced that 20% flops efficiency is really the upper limit or that the slicing overhead of 5x is really needed here.
But if you happen to have n=2^c, then an algorithm with logarithmic complexity only needs c time. Thats why this is usually referred to as exponential speedup in complexity theory, just like from O(2^n) to O(n). More concretely if the first algorithm needs 1024 seconds, the second one will need only 10 seconds in both cases, so I think it makes sense.
If you replace an n^2 algorithm with a log(n) lookup you get an exponential speed up. Although a hashmap lookup is usually O(1), which is even faster.
Re:How to Run DeepSeek R1 671B Locally on a $2000 EPYC Server on Saturday February 01, 2025 @09:11AM (#42898397)
The knowledge is stored in the model, the one mentioned here is rather large, the full version needs over 700GB of disk space. Most people use compressed versions, but even those will often be 10-30GB in size.
Re:Common DB schema change mistakes in Postgres on Monday April 29, 2024 @07:41AM (#40197077)
I think you probably don’t want the application user to inherit from the superuser you may use for migrations since some migrations require a superuser.
It won’t answer questions that are not somehow related to code or computing, I usually don’t need anything else so I didn’t really test the limits of that so far.
The chat part (mostly) uses GPT-4, you can also see which model is called in the request logs. Here is the official announcement: https://github.blog/changelog/2023-11-30-github-copilot-nove...
Re:Apple Announces MM1: Multimodal LLM Pre-Trainig Report on Saturday March 16, 2024 @01:09PM (#39727617)
For me it really is extremely close to 100% for timers, I barely remember it being wrong and I use it several times per day. Finding my phone via the HomePod also works pretty much every time, may be 90% for me but it doesn’t recognize my wife so for her it basically never works. The others I don’t use enough. But timers and reminders work really well for me and it’s also what I need to most from an assistant.
Re:We built our customer data warehouse all on Postgres on Friday February 02, 2024 @02:42AM (#39226154)
There are tools for Postgres unit testing https://wiki.postgresql.org/wiki/Test_Frameworks. Which is not to say there isn’t any room for improving them.
It’s extremely hard to root, I think that’s why it got removed from the supported robot page. As for ios, just saving the page on the Home Screen really works fine, no need for a native app here imho.
Same here, I also don’t understand why the home app is rather lacking. The light switches in the control center are okay, but that quickly becomes too full. I mostly use voice commands to manage my lights and third party apps like the one from Eve for other accessories.
I agree, probably the biggest point Digitalocean is lacking. I think the only workaround is creating several projects? But that probably becomes annoying and hard to manage quite easily if you want a lot of separation.
Re:Digital Markets Act: Commission designates six gatekeepers on Wednesday September 06, 2023 @07:59PM (#37413060)
Many of my friends in Germany have Telegram as well and I think that it’s mainly because it has by far the best multi device (esp. Desktop / Notebook) UX. Switching devices with Telegram and using it on several devices concurrently has always been super easy.
Re:Can computing clean up its act? on Sunday August 20, 2023 @02:51PM (#37201909)
Hetzner (German data center provider) claims to achieve a PUE of 1.1 (https://www.golem.de/news/besuch-im-rechenzentrum-so-betreib...), admittedly their cloud offerings are quite limited but I think they are expanding on that front. So it doesn’t seem like only hyper scalers would fall into that limit.
Re:The Viterbi Algorithm at 50 (2017) on Monday May 15, 2023 @02:30AM (#35944504)
The short answer is very likely no, at least not without any other major breakthroughs. The reason why Viterbi is fast is because the underlying probabilistic model is rather simple, which does not hold for quantum situations in general.
Re:Type Constraints in 65 lines of SQL on Friday February 17, 2023 @01:57PM (#34838788)
While that might not fit your needs I map unions to Postgres with an enum encoding the type and then adding constraints on which additional columns must be set (and also must not be set) depending on the type. For your example the enum might be leaf or tree and then if it’s of type tree you have non nullable left_child and right_child columns and if it’s a leaf those must be null, and then you might have a value column that is non null in both cases or only for leaves.
Re:Kysely: TypeScript SQL Query Builder on Tuesday January 24, 2023 @02:13PM (#34508568)
For Postgres there is https://github.com/adelsz/pgtyped, sounds pretty much like what you describe?
Re:Setting the clock ahead to see what breaks on Tuesday January 24, 2023 @07:07AM (#34502574)
Your sql query example doesn’t seem to actually need timezones. If all orders are stored in the correct UTC regardless where they come from. An order is always made at a specific point in time that is the same globally.
Re:Samsung bets on MicroLED and 8K for its premium 2023 TVs on Thursday January 05, 2023 @04:03AM (#34257590)
If you have a 5k 27 inch screen directly next to it you will see a difference, but it’s not huge and I agree that 4k at 27 inches is sufficient from a pixel density perspective. But the scaling is not so nice, 5k at 27 inches allows integer scaling and getting a reasonable size out of it. Same for 6k at 32 inches or more for even bigger screens. I am waiting for the 6k dell mentioned above as well.
It seems to be priced relatively cheap already with 32GB Ram and a 512GB SSD. A Mac mini with only 16GB of memory already costs nearly twice as much and I really wish there were a 32 gb mini at all. I like my Mac mini, but I hit the memory limit from time to time.
Re:German digital signage ban prompts confusion on Friday August 26, 2022 @06:53AM (#32605692)
It definitely can scale much better, we are using around 1800 kWh (2 parents, 1 small child) and I think it’s safe to say going below 1300 for one of us would be hard, especially when working from home. But we live in a flat and there are many 2 or three persons households in a whole house, probably with several computers and may be even tvs and certainly more lights. May be you do save a bit on cooking and the fridge, but cleaning things should roughly scale linearily.
I never tried 1password, but I am using Bitwarden right now. What features are important to you that Bitwarden is missing? Just wondering if I should give 1password a try as well.
Re:TypeScript is terrible for library developers on Tuesday August 23, 2022 @11:15PM (#32574589)
I think it’s great that you publish and maintain this library and nobody can or should tell you to put more work into it. That said a package that did have explicit methods for every endpoint with documentation of what it does and what the parameters are would be awesome for me as a user. The docs will pop up when I write the code and make it easy to explore the different methods from my editor. No need to switch to the apple docs all the time (but probably still sometimes). And again I still think your library can stay as it is. I really don’t think this string parsing magic is the way to go. It can be useful in some simple cases, but specifying a whole API goes to far imho.
Re:GraphQL kinda sucks on Saturday August 06, 2022 @05:01PM (#32371562)
I think you may be should give a code first GraphQL a try, you can pretty much everything you want that way. You can write high level functions for pagination or whatever that way and have a base object that you can extend for all Types implementing the interface. I really don’t know why schema first seems to be the default, it’s really unflexible.

Older »