tal

joined 1 year ago
[–] [email protected] 6 points 1 year ago* (last edited 1 year ago) (3 children)

now a full-blown woke communist (like Linus Torvalds)

OP's words.

[–] [email protected] 31 points 1 year ago* (last edited 1 year ago) (11 children)

https://moneyinc.com/linus-torvalds-net-worth/

How Linus Torvalds Achieved a Net Worth of $150 Million

Red Hat and VA Linux went public, and since they acknowledged it would not have been possible without the programmer, Torvalds received shares reportedly worth $20 million. Before it went public, Red Hat had allegedly paid Torvalds $1 million in stock, which the programmer claims was the only big payout he received.

He revealed that the rest of the stock Transmeta and another Linux startup awarded him were not worth much by the time he could sell them. However, in the case of his Red Hat stock, it must have been worth his while because, in 2012, Red Hat became the first $1 billion open-source company when it reached the billion-dollar mark in annual revenue.

Whether he exercised his stock options is unclear, but the money he makes from the gains could be the reason why his net worth has continued to soar.

Well, that's one definition of being communist, I suppose. Myself, I think that it's fairly safe to say that Torvalds is okay with private ownership of industry.

[–] [email protected] 12 points 1 year ago* (last edited 1 year ago)

Only the last five are terminal shortcuts (for some terminal emulator, which the author doesn't specify).

Most of first ones are specifically emacs-like shortcuts used by readline() as bash uses it. You can also set it up to use vi-like shortcuts (I mean, I use emacs, but just pointing out that they're there).

The bang-history stuff with the exclamation points is also a bash feature.

If you use a shell other than bash, or if you aren't in the shell, those won't necessarily apply (unless a given application is also using readline() with emacs-like keybindings).

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

Some other quirks I ran into -- native speakers who don't read much often confuse "their", "they're", and "there", because they're homophones. They learn the language as speakers years before they learn to write or cover grammar, and in that environment, it's easy to mentally treat the words as one. The people on that Europe forum virtually never did that.

But one error that did come up -- in languages in Europe, there is often a "Romance" word and a "Germanic" word and they translate directly into each other when you move across languages, whereas in English, sometimes both of the words exist as loanwords and have different meanings. Examples are "manikin" and "mannequin" or "block" and "bloc". I especially saw "block" get used to refer to a political group, whereas normally in English, you'd use "bloc" for that.

One that I'd been aware of for a while that Russians have trouble with is use of the definite and indefinite article. So, in English, you have the definite and indefinite article, "the" and "a". In English, you are required by the language to always indicate whether a thing is a specific thing or an example of a type. I didn't realize until listening to a series of linguistic lectures that that's actually an unusual property for a language to have -- English does that, but most languages do not. In English, you must have "the cat" or "a cat"; you can't just say "cat drank milk". But it was so embedded into my thought process that I hadn't realized that I just always do that. Russian, as well as most languages out there, doesn't work like that.

[–] [email protected] 3 points 1 year ago

Well, there aren't paper costs, but now there are smartphone screens.

[–] [email protected] 30 points 1 year ago* (last edited 1 year ago) (10 children)

I'm assuming that you're not a native speaker, as I've seen many people in a Europe subreddit have difficulty with US headlines having different grammatical rules from non-headline text. They complained about them being not understandable; it's apparently not something that English classes cover.

Said forum also had people complain about title case use in headlines (the norm in American English, though not British English) and use of some words like "slams" that are a common convention in headlines.

EDIT: Here's a British English source listing some of the other grammatical rule differences for headlines.

I'm kind of surprised that nobody's done a Wikipedia page on headline grammar rules (or at least hadn't last time I looked, for people on that Europe forum), or I'd link there. It seems to me to be a common-enough issue that someone would have summarized them there, but apparently not.

EDIT2: It was a grammar difference that I wasn't even aware of until I saw it brought up there. I mean, if you'd asked me, I could have told you prior to that that headlines looked different, could have written text that "looked like a headline", but you learn grammar differently when learning a language as a native speaker -- you use articles and conjunctions and such before you've learned what they are, so you don't think about grammar the same way. As a second language, you already have parts of speech and grammatical rules under your belt, so the mental representation is different.

When I first ran into this, there was some guy, who I think was maybe German, insisting that a headline was incorrectly-written. I took a look and was equally insistent that it was not incorrectly written. He hadn't specified was was wrong about it, because to him it was so obvious that it was wrong, and to me it was so normal that it wasn't wrong and I couldn't even guess what he was talking about, so it took a couple rounds of back-and-forth before we even understood what the other was talking about. My English classes had never covered headline grammar (people in the US had been probably reading headlines for a long time before they were taught grammar in a school), and it sounds like his hadn't either, so neither of us had been consciously aware of the existence of a different set of grammar for headlines. But he was sort of doing the mental grammar diagramming that I would for Spanish, which I know as a second language, but don't do for English. The headline didn't diagram out at all using normal English grammar rules.

[–] [email protected] 6 points 1 year ago* (last edited 1 year ago)

Open source community have their own chat system since 2014 (Matrix).

I think that IRC is kind of the original open chat system.

EDIT:

https://en.wikipedia.org/wiki/Internet_Relay_Chat

IRC was created by Jarkko Oikarinen in August 1988 to replace a program called MUT (MultiUser Talk) on a BBS called OuluBox at the University of Oulu in Finland, where he was working at the Department of Information Processing Science. Jarkko intended to extend the BBS software he administered, to allow news in the Usenet style, real time discussions and similar BBS features.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

Ah, I gotcha. One keyboard/mouse, VM guest output in a window on the host would be ideal.

Run a VNC or RDP server on the guest VM, connect with a client on the host? That won't have quite the performance -- if you're debugging a 3d game and playing it as part of it, you'll get latency, so that won't be a good solution for OP -- but that may not matter for your use case.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (2 children)

I don't know if you can do it in software with passthrough, as the guest controls the hardware and would need to coordinate things.

Using a KVM would be a hardware solution that would permit for one monitor, though.

[–] [email protected] 44 points 1 year ago* (last edited 1 year ago) (1 children)

The rest of the world doesn’t use SMS/RCS/iMessage as much as WhatsApp and the like

SMSes use a standard available to any app. WhatsApp is controlled by a single company.

If you were arguing that XMPP or something like that should be used instead of SMS, okay, that's one thing, but I have a hard time favoring a walled garden.

[–] [email protected] 2 points 1 year ago

I don't think that this is a control move.

[–] [email protected] 19 points 1 year ago* (last edited 1 year ago) (3 children)

The above text says that the aim is to do RDMA, to let the NIC access memory directly, but I'd think that existing Linux zero-copy interfaces would be sufficient for that.

https://en.wikipedia.org/wiki/Zero-copy

The Linux kernel supports zero-copy through various system calls, such as:

  • sendfile, sendfile64;[9]
  • splice;[10]
  • tee;[11]
  • vmsplice;[12]
  • process_vm_readv;[13]
  • process_vm_writev;[14]
  • copy_file_range;[15]
  • raw sockets with packet mmap[16] or AF_XDP.

So I'd think that the target workload has to be one where you can't just fetch a big chunk of pre-existing data, where you have to interject server-generated data in response to small requests, and even the overhead of switching to userspace to generate some kind of server-generated response is too high.

Which seems like a heck of a niche case.

But it obviously got approval from the kernel team.

googles

https://www.kernel.org/doc/html/next/filesystems/smb/ksmbd.html

The subset of performance related operations belong in kernelspace and the other subset which belong to operations which are not really related with performance in userspace. So, DCE/RPC management that has historically resulted into number of buffer overflow issues and dangerous security bugs and user account management are implemented in user space as ksmbd.mountd. File operations that are related with performance (open/read/write/close etc.) in kernel space (ksmbd). This also allows for easier integration with VFS interface for all file operations.

I guess you could accelerate open and close too.

In all seriousness, I feel like if you're in such a niche situation that you can't afford the overhead of going to userspace for that, (a) there's likely room to optimize your application to request different things and (b) CIFS might not be the best option to be sharing data over the network either.

view more: ‹ prev next ›