Live data from Hacker News

Bored? How about trying a Linux speed run?

rachelbythebay.com

111–120 of 284 posts

Re: Bored? How about trying a Linux speed run?

#111

Bored? Write a touchpad driver based on libinput which gives you identical mouse acceleration between Macbook trackpads and linux trackpads.

As someone who can't be bothered to pay the Apple tax, what does the Macbook trackpad do that others don't? My experience with different mouse acceleration configs (Windows, Synaptics, Linux) has only been negative.

> As someone who can't be bothered to pay the Apple tax, what does the Macbook trackpad do that others don't?

The trackpad is part of the reasons (along with macOS, despite its recent slew of bugs) people happily pay more for that others see as “tax”.

Try it out on someone else’s MacBook or a demo machine.

Re: Bored? How about trying a Linux speed run?

#112

Earlier quoted context omitted.

The parent mentions an alternative exercise, not one to be done with the other.

That wasn't clear to me, but in the light of your comment, I see that it's plausible. Thank you. It always throws me when someone suggests an exercise, and someone, in reply, says, "Or instead, do this other thing." I'm oddly reminded of when we were recruiting and asked people to write some code to solve a specific task and bring it to the interview for discussion. Someone said "This spec is obvious nonsense" and pr…

That's hilarious. You would at least want to get right the spec you came up with yourself, one would suspect.

Re: Bored? How about trying a Linux speed run?

#113
post #86

A similar sort of exercise might be to just install Arch Linux to a working desktop or some other use case. Arch Linux puts responsibility for the install on your shoulders based on your needs and decisions. In the end, you get a VERY up-to-date installation of linux, without needless bloat, and it stays that way due to rolling updates.

Sounds fabulous ... how do you do that? You say: > ... just install Arch Linux to a working desktop ... How do you do that when you have: > ... a box that has a couple of hard drives and a working network connection. HD #1 is blank. HD #2 has ... bootloader, kernel, C library and compiler, that sort of thing. There's a network connection of some sort, and that's about it. > There are no editors and nothing more advan…

I'm sorry, I saw a strong analogy between bootstrapping your world using the scenario in the article and the installation of Arch Linux.

If you read this page:

https://wiki.archlinux.org/index.php/Installation_guide

you might get an idea of what is involved.

Re: Bored? How about trying a Linux speed run?

#115
post #7

Earlier quoted context omitted.

Does the kernel provide a TCP stack? Either way, you still need to write an editor with which to write programs that utilize those syscalls.

Yes. Also accessible as a file, since everything is a file. echo "foo" > /dev/tcp/host/port

/dev/tcp is ugly hack in bash, not something provided by kernel. nc is arguably the more canonical way of doing networking in shell.

Re: Bored? How about trying a Linux speed run?

#116
post #75

Earlier quoted context omitted.

That "nothing" means that MacBooks (when running OS X) are the only laptops that are really usable without a mouse. Even in some games.

For you, maybe. I think a TrackPoint (ThinkPad) is far superior to a trackpad, MacBook or otherwise.

Not when you want speed and precision. the area of touchpad is far greater and it shows when you want to draw something, or move cursor between edges of the screen. that's the same as playing first person shooter on console controller vs the mouse.

Re: Bored? How about trying a Linux speed run?

#118

If you have bash, you could retrieve wget or CURL and go from there. { echo -e "GET / HTTP/1.0\r\nHost: ftp.gnu.org\r\n\r" >&3; cat /dev/tcp/ftp.gnu.org/80

Busybox better. With nc(1), IDK about the Bash syntax, so adapt it:

echp vol/rzm6/busybox/binaries/1.21.1/busybox-i586 | nc ftp.icm.edu.pl 70 > busybox

chmod it with a simple C file:

cat > cbox.c #include

#include

int main(){

chmod("/home/crap/busybox", S_IXUSR);

return(0);

}

EOF

cc -o cbox cbox.c

./cbox

./busybox | ./busybox more

Re: Bored? How about trying a Linux speed run?

#119

Earlier quoted context omitted.

As someone who can't be bothered to pay the Apple tax, what does the Macbook trackpad do that others don't? My experience with different mouse acceleration configs (Windows, Synaptics, Linux) has only been negative.

I don’t have a clue about _why_, but I know from using macOS and Linux on mbp that whereas the touchpad basically works in macOS, it totally doesn’t function in Linux! :( In Linux, wrists keep triggering touch events as you type. Screens start scrolling, focus goes to random things, and everyone swears. You end up having to hold your hands right over the keyboard in a very unnatural way to avoid accidental mouse inte…

ThinkPad nub or bust.

Re: Bored? How about trying a Linux speed run?

#120

>" So here's the pitch: Linux speedruns. By that, I don't mean "speedrunning a game on a Linux box" (like emulation, or something). Nope. I mean speedrunning the Linux situation itself. Start with a minimal system and get yourself to the point where you can do something meaningful (like reading cat pictures on Reddit). " I'd rather do something useful or at least pleasant. I don't have an infinite amount of time and…

Looking at your comment history I fear this may not be the community for you. Constructive criticism is valued, but negativity and sarcasm bordering on racism are not. Please try to enhance the community rather than detract from it.
Post reply on HN