| Post Reply | RetroFed Forum Forum Index » linuxmemes |
| Author | Message | ||
|---|---|---|---|
RustyNova
lemmy.world
RustyNova@lemmy.worldJoined: 2023-11-24 |
|
||
| 205 Original | |||
|
UNY0N
feddit.org
UNY0N@feddit.org Joined: 2025-05-30 |
No worries, it's funny enough. { ^ u ^ } |
||
| 4 | |||
|
NeatNit
discuss.tchncs.de
NeatNit@discuss.tchncs.de Joined: 2024-01-05 |
I just spend a couple of minutes researching and trying to understand the joke, but I'm sorry to say my efforts have been unsuccessful. How much ultra-specific information am I expected to know here? Disclaimer: it's past my bed time and my brain is malfunctioning accordingly, so this might be on me |
||
| 101 | |||
RustyNova
lemmy.world
RustyNova@lemmy.worldJoined: 2023-11-24 |
I just spend a couple of minutes researching and trying to understand the joke, but I'm sorry to say my efforts have been unsuccessful. How much ultra-specific information am I expected to know here? Disclaimer: it's past my bed time and my brain is malfunctioning accordingly, so this might be on me
From sleepy brain to another, it's a joke that Unix purists will go out of their way to remove a "sex" command just because it's not following the unix philosphy. There was 0 actual complaint, however, I will indeed remove the joke command as it won't be the funny number version anymore |
||
| 21 | |||
driving_crooner
lemmy.eco.br
driving_crooner@lemmy.eco.brJoined: 2023-06-22 |
I just spend a couple of minutes researching and trying to understand the joke, but I'm sorry to say my efforts have been unsuccessful. How much ultra-specific information am I expected to know here? Disclaimer: it's past my bed time and my brain is malfunctioning accordingly, so this might be on me
Unix philosophy is 1 program = 1 function, so if you want to send a email Unix way you use 1 program to write the email (vim of course) and another program to send it. The joke here is that sex is a functionality to the alistra program making it not ok with the Unix philosophy, therefore that functionality is going to move to its own program alistsex |
||
| 59 | |||
|
davidgro
lemmy.world
davidgro@lemmy.world Joined: 2023-06-13 |
From sleepy brain to another, it's a joke that Unix purists will go out of their way to remove a "sex" command just because it's not following the unix philosphy. There was 0 actual complaint, however, I will indeed remove the joke command as it won't be the funny number version anymore
So what is alistral and what did the sex command do? |
||
| 22 | |||
Jul
piefed.blahaj.zone
irotsoma@piefed.blahaj.zoneJoined: 2025-09-25 |
Unix philosophy is 1 program = 1 function, so if you want to send a email Unix way you use 1 program to write the email (vim of course) and another program to send it. The joke here is that sex is a functionality to the alistra program making it not ok with the Unix philosophy, therefore that functionality is going to move to its own program alistsex
I know generally what alistral is, but I've never uses it. What does the "sex' command do or what's the joke about it? The description is blank in the documentation and I'm too exhausted from work to dig into the code repo, lol. |
||
| 16 | |||
DreamButt
lemmy.world
tdawg@lemmy.worldJoined: 2023-06-16 |
So what is alistral and what did the sex command do?
You'll know when you're older |
||
| 4 | |||
RustyNova
lemmy.world
RustyNova@lemmy.worldJoined: 2023-11-24 |
I know generally what alistral is, but I've never uses it. What does the "sex' command do or what's the joke about it? The description is blank in the documentation and I'm too exhausted from work to dig into the code repo, lol.
Run it I dare you :3 spoilerIt links to this recording https://musiclinkz.alephrium.com/release/a597ae76-61dd-4196-9b29-a9bd4bbf9bce |
||
| 8 | |||
|
Blue_Morpho
lemmy.world
Blue_Morpho@lemmy.world Joined: 2023-11-14 |
So what is alistral and what did the sex command do?
Music cli. Sex seems to be joke option. |
||
| 4 | |||
|
shrek_is_love
lemmy.ml
shrek_is_love@lemmy.ml Joined: 2026-02-09 |
I assume this was added in version 0.6.9 on purpose?
|
||
| 13 | |||
|
spacegoat
lemmy.world
spacegoat@lemmy.world Joined: 2023-06-28 |
Unix philosophy is 1 program = 1 function, so if you want to send a email Unix way you use 1 program to write the email (vim of course) and another program to send it. The joke here is that sex is a functionality to the alistra program making it not ok with the Unix philosophy, therefore that functionality is going to move to its own program alistsex
Trying to comprehend. Can’t any function be broken up to limitless sub functions? Doesn’t writing email fall under the function of sending email? Where can I read the docs about this? |
||
| 11 | |||
|
eyesaremosaics
lemmy.zip
eyesaremosaics@lemmy.zip Joined: 2026-04-23 |
Unix philosophy is 1 program = 1 function, so if you want to send a email Unix way you use 1 program to write the email (vim of course) and another program to send it. The joke here is that sex is a functionality to the alistra program making it not ok with the Unix philosophy, therefore that functionality is going to move to its own program alistsex
So.. tar x should really be a separate program than tar c? They're doing different functions |
||
| 14 | |||
ChaoticNeutralCzech
feddit.org
ChaoticNeutralCzech@feddit.orgJoined: 2024-06-23 |
So.. tar x should really be a separate program than tar c? They're doing different functions
Yes, like |
||
| 13 | |||
|
thevoidzero
lemmy.world
thevoidzero@lemmy.world Joined: 2024-01-25 |
Yes, like gzip and gunzip
What if I write a program that checks argv[0] to decide which part of the code to run, and makes a bunch of symlinks |
||
| 3 | |||
driving_crooner
lemmy.eco.br
driving_crooner@lemmy.eco.brJoined: 2023-06-22 |
Trying to comprehend. Can’t any function be broken up to limitless sub functions? Doesn’t writing email fall under the function of sending email? Where can I read the docs about this?
Writing an email and sending it are pretty different functions, it's doesn't looks like that because the sending part is just pressing a bottom and all the protocols and sever communication is done in the background hide from the user. It's like asking the postal service to also write and package your mail and then open and read it for the recipient. I personally like that philosophy and try to use it in my job, with functions that only do one job and programs that only do one job and then just chain them and make calls from each other. My users doesn't know it's like that and they doesn't notice any difference, but it's help me debugging or implementing new functionalities. |
||
| 3 | |||
CrumblyLiquid
lemmy.ml
CrumblyLiquid@lemmy.mlJoined: 2023-07-17 |
What if I write a program that checks argv[0] to decide which part of the code to run, and makes a bunch of symlinks
That's actually what BusyBox does I think. You have one executable for everything and it changes the behavior according to argv[0]. |
||
| 10 | |||
|
ThreeKnew
lemdro.id
ThreeKnew@lemdro.id Joined: 2026-07-23 |
What if I write a program that checks argv[0] to decide which part of the code to run, and makes a bunch of symlinks
Then that would kind of defeat the purpose But it's not like you /have/ to adhere to the Unix philosophy or anything |
||
| 3 | |||
|
uniquethrowagay
feddit.org
uniquethrowagay@feddit.org Joined: 2024-09-23 |
Writing an email and sending it are pretty different functions, it's doesn't looks like that because the sending part is just pressing a bottom and all the protocols and sever communication is done in the background hide from the user. It's like asking the postal service to also write and package your mail and then open and read it for the recipient. I personally like that philosophy and try to...
Can writing writing a word and formatting it bold and underlined not be considered three separate functions, requiring three different programs? That's what the comment above was talking about |
||
| 3 | |||
driving_crooner
lemmy.eco.br
driving_crooner@lemmy.eco.brJoined: 2023-06-22 |
Can writing writing a word and formatting it bold and underlined not be considered three separate functions, requiring three different programs? That's what the comment above was talking about
You need two programs for that, one to write the text and other to display it with the format because different encodings can format differently. |
||
| 4 | |||
|
Quibblekrust
thelemmy.club
Quibblekrust@thelemmy.club Joined: 2025-02-09 |
Writing an email and sending it are pretty different functions, it's doesn't looks like that because the sending part is just pressing a bottom and all the protocols and sever communication is done in the background hide from the user. It's like asking the postal service to also write and package your mail and then open and read it for the recipient. I personally like that philosophy and try to...
Don't press my bottom, please. |
||
| 2 | |||
|
pmk
lemmy.sdf.org
pmk@lemmy.sdf.org Joined: 2023-09-23 |
Unix philosophy is 1 program = 1 function, so if you want to send a email Unix way you use 1 program to write the email (vim of course) and another program to send it. The joke here is that sex is a functionality to the alistra program making it not ok with the Unix philosophy, therefore that functionality is going to move to its own program alistsex
I tend to think in terms of 1 function that is meaningful for composability. The point in having small tools is that they can be combined in new ways, not just small programs for its own sake. To me it makes sense if you think of Unix itself as both the IDE and the system carrying out the purpose of the machine. We've gradually moved away from this though. |
||
| 3 | |||
|
pmk
lemmy.sdf.org
pmk@lemmy.sdf.org Joined: 2023-09-23 |
Trying to comprehend. Can’t any function be broken up to limitless sub functions? Doesn’t writing email fall under the function of sending email? Where can I read the docs about this?
In "The UNIX Programming Environment" from 1984, mail is described like this: |
||
| 3 | |||
𝕲𝖑𝖎𝖙𝖈𝖍🔻𝕯𝖃 (he/him)
lemmy.world
glitchdx@lemmy.worldJoined: 2024-03-20 |
so, what did this command do? |
||
| 3 | |||
|
GeirGrusom
lemmy.world
GeirGrusom@lemmy.world Joined: 2026-08-21 |
In "The UNIX Programming Environment" from 1984, mail is described like this: "Sending mail to someone is straightforward. Suppose it is to go to the person with the login name nico. $ mail nico Now type in the text of the letter on as many lines as you like... After the last line of the letter type a control-d. ctl-d $"
This is also why SMTP is such a fucked up protocol. It was designed so that you could just follow the email protocol by hand. HTTP as well followed this philosophy (up to 2.0 at least). A decade or so ago there was a bug in outlook where you couldn't have a line with only a period in it because that's the end-of-email signal in SMTP. |
||
| 3 | |||
|
highball
lemmy.world
highball@lemmy.world Joined: 2024-12-19 |
So.. tar x should really be a separate program than tar c? They're doing different functions
Naa, tar handles archives, it should know how to archive and unarchive really well. It shouldn't know how to compress or un compress or sort it's output by human readable file sizes. If you add the -z or -j, for example, to your tar command, tar will filter your archive through gunzip or bunzip prior to doing it's job of un archiving all your files. If you use the -f flag, tar will spit out a list of files that were operated on. Adding a sort -h feature to tar would violate the unix philosophy. |
||
| 1 | |||
| Post Reply |
Back to top |