News for hackers. Stuff that matters.

qsantos

Re:You Can Move Unpin on Wednesday December 04, 2024 @01:52AM (#42315026)
Clarification needed: the original title is “You can move !Unpin”, which is definitely more surprising!
Re:Linux Pipes Are Slow on Monday August 26, 2024 @02:19PM (#41360055)
Hey!
Re:Linux Pipes Are Slow on Monday August 26, 2024 @12:07PM (#41358624)
Totally agree, my server should definitely be able to handle the load. But this is a WordPress install, which is definitely doing too much work for what it is when just serving the pages. I plan to improve on this!
Re:Linux Pipes Are Slow on Monday August 26, 2024 @12:06PM (#41358609)
My server struggles a bit with the load on the WordPress site. You should be fine just reloading. I will make sure to improve things for the next time!
Re:Linux Pipes Are Slow on Monday August 26, 2024 @08:49AM (#41356637)
To be frank, this is more of a pretext to understand what pipes and vmsplice do exactly.
Re:Linux Pipes Are Slow on Monday August 26, 2024 @08:46AM (#41356603)
For the first Rust program, where I just write to memory, I just use the time utility when running the program from zsh. Then, I divide the number of bytes written by the number of seconds elapsed. That's why it's not an infinite loop ;)
Re:Linux Pipes Are Slow on Monday August 26, 2024 @08:43AM (#41356583)
Thanks a lot for the information! I was not quite sure what to look for in this case. I have added in note in the article.
Re:Linux Pipes Are Slow on Monday August 26, 2024 @08:41AM (#41356556)
That sounds like a good idea!
Re:Linux Pipes Are Slow on Monday August 26, 2024 @02:55AM (#41354654)
I am again getting the hug of death of Hacker News. The situation is better than the last time thanks to caching WordPress pages, but loading the page can still take a few seconds, so bear with me!
Re:Linux Pipes Are Slow on Monday August 26, 2024 @02:02AM (#41354428)
I'll write an article on the flamegraphs specifically, but to get the data, just follow Julia's article!

https://jvns.ca/blog/2017/03/19/getting-started-with-ftrace/

Re:Marshmallow Test Fails to Replicate on Saturday August 03, 2024 @03:03AM (#41145103)
The mother forced herself to save by punishing herself if she did not.

The $2000 in the saving account was earmarked for the dowry, and she would not touch it. So, she had to save every month to pay back the loan to the bank. The longer she took to do this, the more interest she paid.

This is a kind of non-rational trick that some people use to "trick themselves into doing the right thing". This is like paying some random stranger $100 if you do not accomplish some task.

Older »