Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
senfiaj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
31.
▲
by
senfiaj
3mo ago
I downloaded the message video, renamed it to test.mp4 Still could read https://chatgpt.com/share/6a5221f0-e3fc-83eb-bc15-74420002b6...
32.
▲
by
senfiaj
3mo ago
I gave him this video file https://streamable.com/1bxxyf
33.
▲
by
senfiaj
3mo ago
No, it can https://chatgpt.com/share/6a521e9b-c754-83ed-9d8e-cf653894eb...
34.
▲
by
senfiaj
3mo ago
Yeah, I'm so sick of hearing "it's way faster to install app on linux by using terminal than using that bloated gui softare center".
35.
▲
by
senfiaj
3mo ago
What happens if I cover the camera?
36.
▲
by
senfiaj
3mo ago
>> For example, kernel or compilers are very complicated in certain way, too, but whichever company makes those products probably is way more stringent about the quality comparing to other companies that are happy to move forward with
37.
▲
by
senfiaj
3mo ago
In my company it's a bit more complicated, but I have the spirit of your thoughts. I think business software (such as the ERP-like software I work on) is often an entropy magnet from the complexity point of view. It doesn't strive
38.
▲
by
senfiaj
3mo ago
>> I feel like it depends on the task, and that's why people seem to disagree on this. Think about a manager managing 5 devs. If he is working on planning and managing work for his dev team, we don't say he is task switching
39.
▲
by
senfiaj
3mo ago
>> I’m clearly much more productive now. I’m doing five things at once very effectively, switching between multiple agent sessions from morning to night. Joel Spolsky disagrees here: https://www.joelonsoftware.com/2001
40.
▲
by
senfiaj
3mo ago
Yeah, same thoughts. And this industry is becoming so volatile, I'm not sure what will happen tomorrow. I mean it's highly unlikely that AI will replace developers at least in the next 10 years, but I'm not sure what will &qu
41.
▲
by
senfiaj
3mo ago
Even before LLMs ORMs are good enough to cover most of the use cases. Only some complicated use cases needs raw SQL. So you can use both.
42.
▲
by
senfiaj
3mo ago
What's the problem with using ORMs for 95% of the cases and using raw SQL only for the remaining 5% where ORM isn't sufficient? One important benefit (aside from writing less code) of ORMs is type checking which is important for
43.
▲
by
senfiaj
3mo ago
Yes, that was my point. But Windows might still allocate pages lazily (i.e. reserve them and actually allocate only when the program writes into them). The difference from Linux is that it will only reserve if the allocation has a reasonabl
44.
▲
by
senfiaj
3mo ago
Well, if Firefox also works on other OSes, it probably should gracefully handle failing allocations, isn't it?
45.
▲
by
senfiaj
3mo ago
So it's a footgun because a lot of low quality software?
46.
▲
by
senfiaj
3mo ago
But why wouldn't have happened with Rust? Sorry I can't find anything about Rust in the article. Or you mean if the Linux kernel was written in Rust and that stupid bool coercion was not possible?
47.
▲
by
senfiaj
3mo ago
There was also a bug in the Linux kernel, or did I miss something?
48.
▲
by
senfiaj
3mo ago
As I understand, Windows can also lazily allocate pages, but it does after making sure the memory budget is adequate in a case of low physical RAM pressure and is guaranteed to be backed up by a page. But yeah, Linux approach is really slop
49.
▲
by
senfiaj
3mo ago
I think Windows doesn't do OOM kill, it just fails fast for unreasonably large memory allocations. If the allocation is succeeds, the committed virtual pages are backed up (or more precisely guaranteed to be backed up) by a page file.
50.
▲
by
senfiaj
3mo ago
I think Windows also uses something similar to Linux memory overcommit (maybe call it "lazy page allocation"), but probably all the available virtual memory is backed by the page file, the OS has limit for the allocation size and
51.
▲
by
senfiaj
4mo ago
>> To download apps on an iphone, you need an apple id. iOS is worse than MacOS. I was only talking about MacOS.
52.
▲
by
senfiaj
4mo ago
Well, they might still do it but less aggressively. For example, only when using MS Store or only some specific services. Apple uses a similar strategy with MacOS. Online accounts can also be convenient with with service integrations, provi
53.
▲
by
senfiaj
4mo ago
>> Windows 11 requiring TPM, Secure Boot and being all react wasn't great. For me a bigger concern is that Windows 11 requires MS account, and making harder and harder to bypass it. This is a disrespect for my freedom and privacy
54.
▲
by
senfiaj
4mo ago
The source, conventions are quite similar to Linux. So, probably some level of POSIX compliance + reusing standard libraries (such as mlibc) helped a lot.
55.
▲
Memory Allocator Game
(surenenfiajyan.github.io)
4 points
by
senfiaj
4mo ago
|
0 comments
56.
▲
by
senfiaj
4mo ago
Cool. I also had similar idea: https://github.com/surenenfiajyan/3d.js . But your one looks richer in features.
57.
▲
by
senfiaj
4mo ago
If I'm not mistaken 286's protected mode wasn't really that popular because it breaks real mode DOS programs. Meanwhile, 386's 32-bit protected mode with paging and virtual 8086 mode was a big success.
58.
▲
by
senfiaj
4mo ago
>> In 2026, we have to worry the a discontiguous memory space looks flat. Well, there are large/huge pages (2MiB/4MiB/1GiB) that reduce this problem.
59.
▲
by
senfiaj
4mo ago
>> 8086 can't address 2MB of memory This was just for illustration, not claiming that actual 8086 does this. >> Raymond Chen talks a bit about how it worked in Windows 3.x here: https://devblogs.microsoft.com
60.
▲
by
senfiaj
4mo ago
Maybe (I think it's possible in protected mode), but it still has an allocation problem, imagine there are programs A, B, C in the memory. Later, A and C are unloaded, leaving 2 free holes, totaling in 2MB. Now you want to load a 2MB p
More ›