Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
afr0ck
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
afr0ck
3y ago
Seeiously, what are you expecting from Michael? Go back and forth with the newbie until he makes a perfect patch? Sorry, but that's bullshit and clearly a horrible use of a maintainer's time. Michael did his best by fixing the pat
62.
▲
by
afr0ck
3y ago
US is literally built on immigration!! Millions of Germans, Italians, Japenese, Persians, Chinese, Indians immigrated to the US since the 18th century. Benjamin Franklin was very worried about German immigrants in the US and he described th
63.
▲
by
afr0ck
3y ago
"better" is subjective.
64.
▲
by
afr0ck
3y ago
Just out of curiosity, may I ask for which reason did you use ReiserFS v3 and on what kind of devices?
65.
▲
by
afr0ck
3y ago
Thanks for the details. It's interesting to know the differences between them. Yes, it looks like Inferno is the closes thing to Taos. My point was that there was a lot of interesting research operating systems that explored ideas in t
66.
▲
by
afr0ck
3y ago
Amoeba OS, Plan9 and Inferno OS explored the same stuff.
67.
▲
by
afr0ck
3y ago
The Amoeba distributed operating systems, from Andrew Tanenbaum. The distribution also includes Amake, a parallel version of Make. https://archiveos.org/amoeba/
68.
▲
by
afr0ck
3y ago
Very insightful! Thanks very very much Peter!
69.
▲
by
afr0ck
3y ago
I am an Algerian citizen who is currently doing PhD studies in computer science in the UK. My area is systems and computer architecture. The job market in the UK in my area is very slim I can't find the type of jobs I would like to do.
70.
▲
by
afr0ck
3y ago
Linux has FUSE, which is a framework to develop user-level filesystems. Mounting S3 buckets is a very good use case. Sshfs and httpfs are more or less similar in this regard.
71.
▲
by
afr0ck
3y ago
Read source code.
72.
▲
by
afr0ck
3y ago
Try having an Algerian passport; travelling is a distant dream. Growing up as a kid in Algeria, you just accept the fact that you don't have the right to visit and see other places in the world; very depressing.
73.
▲
by
afr0ck
3y ago
KSM is a Linux kernel feature, not directly related to KVM.
74.
▲
by
afr0ck
3y ago
I don't know what you're talking about, but msync() flushes only the pages in that range. The pages are in the page cache (on Linux, it's a per-file xarray [1] of pages). Once all the dirty pages in the range are located, the
75.
▲
by
afr0ck
3y ago
msync() affects only the pages that part of the mmap area you ask for in the arguments. From the man pages: > int msync(void addr[.length], size_t length, int flags); > msync() flushes changes made to the in-core copy of a file
76.
▲
by
afr0ck
3y ago
Linux throws a SIGBUS. A process should anticipate such I/O failures by implementing a SIGBUS handler, especially a database server. For the second part of your comment, on Linux systems, there is the msync() system call that can be us
77.
▲
by
afr0ck
3y ago
On Linux, it's a SIGBUS.
78.
▲
by
afr0ck
3y ago
Not necessarily. A page on a remote NUMA node is mappable, but with slower access. The system needs to smartly choose what pages to put there and when to migrate them back for performance and balancing. CXL memory nodes are mappable as well
79.
▲
by
afr0ck
3y ago
mmap() is very different in its semantics from read() and write(). The latters have a clear, precise definition, a byte stream received by your file driver. mmap() is a different beast, it can be a ring buffer, it can a spinlock, it can be
80.
▲
by
afr0ck
3y ago
The simple, everything is a file, model of Plan9 is what makes the namespaces API as clear and as general as it is. All the objects export the same file API. Every interaction with the OS objects is done through file open, create, read, wri
81.
▲
by
afr0ck
3y ago
If I remember correctly, they have similar concurrency models. They were both written the same author as well, Rob Pike. Edit: fixed a typo
82.
▲
by
afr0ck
3y ago
It will certainly take a couple of years before it's completely removed. This is just a first step.
83.
▲
by
afr0ck
3y ago
You don't have to disable IRQs if the spinlock is never taken by an interrupt handler. Disabling preemption would be enough in such a case, and that reduces latency issues related to disabling IRQs.
84.
▲
by
afr0ck
4y ago
I once did a distributed systems internship. I am a very pragmatic low-level kind of person. Abstraction is very hard for me to process if I can't see how it manifests in real life. There was a senior PL guy in the team and he was lite
85.
▲
by
afr0ck
4y ago
I can't believe a 300 pages book is needed to just talk about initialisation in C++!!! Now I understand why Linus refused this craziness in the Linux kernel. I genuinely believe that C++ is just a toxic wasteland of time. It's not
86.
▲
by
afr0ck
4y ago
Man, I'm sorry to break it to you in this way, but it's up to you to make your life and research interesting. Don't waste time with the bullshit. Try to solve real problems and work towards concretising them.
87.
▲
by
afr0ck
4y ago
Does this board have virtualisation technology?
88.
▲
by
afr0ck
4y ago
Sometimes, you can't make hard walls between subsystems. Some filesystems need very close interaction with memory management to have very good performance. Some objects are accessed and manipulated in a racy way from logically independ
89.
▲
by
afr0ck
4y ago
If you want blazing fast and very scalable performance, you have to do that. Multiple independent contexts in the kernels can have a reference on certain objects and manipulate them concurrently with relaxed consistency. It would be very im
90.
▲
by
afr0ck
4y ago
In real world software, you need lots of freedom in order to design high performance scalable systems. This includes using non-trivial data structures, and being able to access and organise memory in subtle ways. The Linux kernel is an exam
More ›