pomodoro timer daemon for BSD systems github.com/phillbush/pomo…
πŸ‘︎ 43
πŸ’¬︎
πŸ‘€︎ u/narrow_assignment
πŸ“…︎ Jun 01 2021
🚨︎ report
BSD Daemons... ASSEMBLE!
πŸ‘︎ 91
πŸ’¬︎
πŸ‘€︎ u/Joon009ster
πŸ“…︎ Mar 05 2021
🚨︎ report
BSD Daemons... ASSEMBLE!
πŸ‘︎ 20
πŸ’¬︎
πŸ‘€︎ u/Joon009ster
πŸ“…︎ Mar 05 2021
🚨︎ report
The BSD Daemon feature in mexican candy packaging.
πŸ‘︎ 50
πŸ’¬︎
πŸ‘€︎ u/retrodanny
πŸ“…︎ Aug 01 2016
🚨︎ report
More Fun with BSD-derived Telnet Daemons community.rapid7.com/comm…
πŸ‘︎ 50
πŸ’¬︎
πŸ‘€︎ u/sanitybit
πŸ“…︎ Dec 28 2011
🚨︎ report
TIL John Lasseter (Pixar creative director) drew the current BSD Daemon mascot en.wikipedia.org/wiki/Joh…
πŸ‘︎ 18
πŸ’¬︎
πŸ‘€︎ u/LasloEXP
πŸ“…︎ Oct 11 2011
🚨︎ report
[Metasploit] bsd telnet daemon encrypt key id overflow community.rapid7.com/comm…
πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/evilcry
πŸ“…︎ Dec 28 2011
🚨︎ report
Why aren't desktop properly containerized and restricted since the earliest days of modern OSs ?

Mispealed title, can not edit. Should be :

"Why aren't UI applications properly containerized and restricted since the earliest days of modern OSs"

Introduction

Since I have studied how computers, hardware and system work on the low level, I have been wondering why current systems that run user applications, even in 2021, have the design they have that is so inconvenient and dangerous IMO.

I am an IT person with IT as a hobby since I am a kid. I may be naive about the business aspect or even technical aspect of all of this. I don't think I completely am, I would like to know otherwise.

I am not pretending to give lessons to the people who designed Android, Windows, MacOS, Linux... I don't think I have the technical level nor the business understanding for that yet.

I am however wondering why :

Why aren't desktop applications - in particuliar - properly containerized and restricted since the earliest days of modern OSs since it is technically possible ? Most of desktop apps don't require all the access they have at all.

The purpose of the post for me is to understand why application engines are, how they can be, how they can evolve, what they could be.

I am open minded, so please be before reading. Also please be well aware of the technical aspects and or the business aspects of all of this. I am also mostly a Windows and Android User (I know already I'll get down votes for that...). I have at least a basic knowledge of Linux systems to. So therefore, I will mention Windows, Linux and Android Linux Often.

(edit) I may sound arrogant with "... since the earliest days of modern OSes". I do not pretend to give lessons to people behind OSes, as mentioned in the original version of the post. The reason I wrote this is because the protected mode of Intel is used extensively by apps and OSes since 30-20 years and - I assume - could allow a much better isolation of apps (see bellow)

Technical facts

  • In a regular OS, an application capacities are the following :
    • Use its non-special CPU registries
    • Access, read, write its allocated virtual memory space (and never outside of this).
    • That's it. They cannot ever do anything else (I/O: Network, Display, User input). Except by doing system calls.
    • System calls are completely managed by the host OS. And therefore the host OS controls everything the application/process, sees outside its own memory.
    • Privilege levels of a CPU (*^(it has nothing to do wit
... keep reading on reddit ➑

πŸ‘︎ 99
πŸ’¬︎
πŸ‘€︎ u/Wishmaster04
πŸ“…︎ May 27 2021
🚨︎ report
OpenBSD and System76

Hey I was wondering if anyone was able to get OpenBSD onto one of the System76 Machines with all of the coreboot/ OpenFirmware. I know a lot of that firmware is on the kernel level, so moving it to BSD might be a pain. I also heard that there were some issues with the daemon and the fan for moving to other Linux distros. Also dealing with proprietary Nvidia drivers on OpenBSD.

πŸ‘︎ 9
πŸ’¬︎
πŸ“…︎ Jul 08 2021
🚨︎ report
[Software Development][Linux] The bitter fight over how Linux should run

tl;dr: A prominent Linux developer created a core program that does everything including things it shouldn't have to do, others don't like that it does that, and the fight still continues to this day.

Having seen the writeup done about the Linux naming controversy, I decided to do another big one in the Linux universe.

What is Linux? What is an init system?

Before I describe this controversy, the less tech-savvy of you may need some context. Linux is a UNIX-like operating system first released in 1991 by Finnish programmer Linus Torvalds. For those who don't know, an operating system is a set of programs that provide a convenient way for programs to communicate with the computer's hardware. For example, for your browser to connect to the internet, it has to communicate with the network card on your computer, and then access the display to show you the data it received. If every program were directly programmed to do this, writing even basic programs would be hell, and allowing different programs to co-exist and even to run together on the same computer would be virtually impossible.

This is where operating systems come in. Operating systems (or OSes for short) are a set of programs that provide a layer that programs can sit on to run, and they don't have to worry about accessing the hardware themselves, because the OS does it all for them. At the heart of every OS is the kernel, a single program running on bare hardware that regulates and handles hardware access. Everything else in the OS is built on top of this kernel, such as device drivers, graphical interfaces, etc. Common OSes in use today include Windows (using the NT kernel), macOS X (with the Darwin kernel), and of course, Linux. Linux is not a single operating system unto itself, but rather a set of packages built around the Linux kernel. You can build a Linux system many different ways, and some of these ways get packaged into Linux distributions, or distros for short, and published for widespread usage. Many different distributions exist today, the most popular ones being Ubuntu, Fedora, and Mint, among others.

The main background topic to focus on today is in how Linux boots into something a user can, well, use. Linux by itself is only the kernel. On top of it are all the main user-facing utilities, such as the command line interface, the graphical windowing system and so on. Ho

... keep reading on reddit ➑

πŸ‘︎ 647
πŸ’¬︎
πŸ‘€︎ u/kimansha
πŸ“…︎ Apr 06 2021
🚨︎ report
[START HERE] League of Linux Megathread: Everything You Need to Know About Installing, Optimizing and Troubleshooting - FAQs, Anticheat, Garena and Riot's Other Games – Common Issues, Writing Support Requests and Templates
πŸ‘︎ 95
πŸ’¬︎
πŸ‘€︎ u/TheAcenomad
πŸ“…︎ Apr 20 2021
🚨︎ report
What do you call a man with no arms or legs in a hole?

Phil

πŸ‘︎ 5k
πŸ’¬︎
πŸ‘€︎ u/Rumblebully
πŸ“…︎ Jun 30 2021
🚨︎ report
Did you know Bruce Lee has a faster older brother?

Sudden Lee

πŸ‘︎ 9k
πŸ’¬︎
πŸ“…︎ Jul 02 2021
🚨︎ report
DAD JOKES ARE NOT DIRTY.

Go post NSFW jokes somewhere else. If I can't tell my kids this joke, then it is not a DAD JOKE.

If you feel it's appropriate to share NSFW jokes with your kids, that's on you. But a real, true dad joke should work for anyone's kid.

Mods... If you exist... Please, stop this madness. Rule #6 should simply not allow NSFW or (wtf) NSFL tags. Also, remember that MINORS browse this subreddit too? Why put that in rule #6, then allow NSFW???

Please consider changing rule #6. I love this sub, but the recent influx of NSFW tagged posts that get all the upvotes, just seem wrong when there are good solid DAD jokes being overlooked because of them.

Thank you,

A Dad.

πŸ‘︎ 12k
πŸ’¬︎
πŸ‘€︎ u/Von_Bostaph
πŸ“…︎ Jun 18 2021
🚨︎ report
CLI & GUI v0.17.2.0 'Oxygen Orion' released!

This is the CLI & GUI v0.17.2.0 'Oxygen Orion' minor release. This release predominantly features bug fixes and performance improvements. Users, however, are recommended to upgrade to improve user experience.

(Direct) download links (GUI)

(Direct) download links (CLI)

GPG signed hashes

We encourage users to check the integrity of the binaries and verify that they were signed by binaryFate's GPG key. A guide that walks you through this process can be found here for Windows and here for Linux and Mac OS X.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

# This GPG-signed message exists to confirm the SHA256 sums of Monero binaries.
#
# Please verify the signature against the key for binaryFate in the
# source code repository (/utils/gpg_keys).
#
#
## CLI
815341f7d46f75a8905f8b51932e1034a7f6b1669757ff48224632d08339d1bf  monero-android-armv7-v0.17.2.0.tar.bz2
b8a353f02feaee9aae3d279c043ea33a32413a298d8b6122d00a65508f15169d  monero-android-armv8-v0.17.2.0.tar.bz2
34ef5702a050298f48ccea7
... keep reading on reddit ➑

πŸ‘︎ 116
πŸ’¬︎
πŸ‘€︎ u/dEBRUYNE_1
πŸ“…︎ Apr 11 2021
🚨︎ report
Why should you never brush your teeth with your left hand?

Because a toothbrush works better

πŸ‘︎ 10k
πŸ’¬︎
πŸ‘€︎ u/ravenhiss
πŸ“…︎ Jul 10 2021
🚨︎ report
I've asked so many people what LGBTQ stands for

So far nobody has given me a straight answer

πŸ‘︎ 7k
πŸ’¬︎
πŸ“…︎ Jul 04 2021
🚨︎ report
Caught my son chewing on electrical wires....

Had to ground him until he could conduct himself properly.

πŸ‘︎ 5k
πŸ’¬︎
πŸ“…︎ Jul 11 2021
🚨︎ report
Pulled a Dad Joke on a Nurse

I am currently in the hospital. I had a back operation yesterday. The surgical nurse came in my room and started asking questions about my back. She asked me if I had any falls during the last year. I responded just one. It was after summer.

She laughed and said in 20 years of doing this she never was told that joke.

πŸ‘︎ 10k
πŸ’¬︎
πŸ‘€︎ u/rei_920
πŸ“…︎ Jul 07 2021
🚨︎ report
What’s the difference between an Indian restaurant and a Vietnamese restaurant?

Indian places are naan profit, Vietnamese places are pho profit.

πŸ‘︎ 9k
πŸ’¬︎
πŸ‘€︎ u/WVU_Benjisaur
πŸ“…︎ Jul 08 2021
🚨︎ report
Anyone who can spell the word drawer backwards...

..... Will get a reward.

πŸ‘︎ 11k
πŸ’¬︎
πŸ‘€︎ u/VERBERD
πŸ“…︎ Jul 04 2021
🚨︎ report
I'd ruther not say
πŸ‘︎ 10k
πŸ’¬︎
πŸ‘€︎ u/Un_FaZed211
πŸ“…︎ Jul 01 2021
🚨︎ report
How to write a single-instance user daemon with client-server interface for UNIX systems?

I want to write a UNIX daemon just for fun and to know better how UNIX system works. However I have no idea how to do it, or, in particular, which techniques to apply.

I know C and have a pretty good knowledge of POSIX functions. However, I don't know how to design the program I want, but I know how to describe it: I want to write a single-instance user daemon with client-server interface for UNIX systems (in particular, for BSD systems); I want it to be a simple daemon implementing the pomodoro technique:

  • It is a UNIX daemon; in particular, a BSD daemon. What are the best practices in writing daemons for UNIX? I know that BSD systems have a daemon(3) function call; I'll probably use it to automate stuff.
  • It is a user daemon, not a system daemon. I want to implement something that would be invoked by a ~/.bashrc, ~/.profile or ~/.xinitrc kind of file, not a system daemon invoked by init(8). An example of user daemon is mpd, the Music Player Daemon.
  • It is a single-instance daemon. That means that I do not want multiple instances to run at the same time. What is the best way to approach it? (File lock? semaphores? UNIX sockets? other?).
  • It is a client-server daemon. That means that a single server instance of the daemon runs in the background, and client instances talk to the server by giving it commands (such as pause/continue the timer, begin a new pomodoro cycle, etc) or by requesting its status (in each phase of the cycle are we, etc). What is the best way to approach it? (Sockets? pipes? signals? other?).
  • It implements the pomodoro technique. That means that the server process will run a timer and do some action when time ends. What is the best way to approach it while also being able to send/receive stuff from the client while the timer is running? I could not use sleep(3) here because it blocks.

I appreciate any recommendation of resources, books, tutorials, guides, etc on the topics this program I want to write covers.

πŸ‘︎ 15
πŸ’¬︎
πŸ‘€︎ u/narrow_assignment
πŸ“…︎ May 21 2021
🚨︎ report
Why are elevator jokes so good

Because they work on many levels

πŸ‘︎ 7k
πŸ’¬︎
πŸ‘€︎ u/The_Fox1984
πŸ“…︎ Jul 05 2021
🚨︎ report
Rational
πŸ‘︎ 8k
πŸ’¬︎
πŸ‘€︎ u/mainhoonmadrasi
πŸ“…︎ Jun 30 2021
🚨︎ report
Who were the greenest Presidents in US history?

The Bushes

πŸ‘︎ 6k
πŸ’¬︎
πŸ‘€︎ u/caverypca
πŸ“…︎ Jul 09 2021
🚨︎ report
Looking forward to the Fibonacci convention this year, it's supposed to be really special..

..and as big as the last two put together.

πŸ‘︎ 7k
πŸ’¬︎
πŸ‘€︎ u/HugoZHackenbush2
πŸ“…︎ Jul 11 2021
🚨︎ report
Thankfully
πŸ‘︎ 3k
πŸ’¬︎
πŸ‘€︎ u/elisioth4739
πŸ“…︎ Jul 11 2021
🚨︎ report
My wife blocked me on Facebook because I post too many bird puns.

Well, toucan play at that game.

πŸ‘︎ 9k
πŸ’¬︎
πŸ‘€︎ u/Zayan-ali
πŸ“…︎ Jun 30 2021
🚨︎ report
When my son graduated from high school, he had to give a speech. He began by reading from his prepared text.

I want to talk about my father and the wonderful influence he has had on my life,' he told the audience. 'He is a shining example of parenthood, and I love him more than words could ever do justice.'

At this point he seemed to struggle for words. After a pause, he looked up with a sly grin and said, 'Sorry, but it's really hard to read my father’s handwriting.'

πŸ‘︎ 8k
πŸ’¬︎
πŸ‘€︎ u/crazyfortaco
πŸ“…︎ Jul 10 2021
🚨︎ report
Interviewer : why should we hire you as a waiter?

Me : For starters, I bring a lot to the table

πŸ‘︎ 8k
πŸ’¬︎
πŸ‘€︎ u/Motor_Fox_9541
πŸ“…︎ Jul 08 2021
🚨︎ report
Argon enters a bar, the bartender says β€œWe don’t serve noble gases here.”

Argon does not react.

πŸ‘︎ 7k
πŸ’¬︎
πŸ‘€︎ u/Dick_Squeakly
πŸ“…︎ Jul 06 2021
🚨︎ report
Just saw on the internet
πŸ‘︎ 4k
πŸ’¬︎
πŸ‘€︎ u/PN341720
πŸ“…︎ Jul 09 2021
🚨︎ report
There are only two white people in the movie Black Panther

Martin Freeman, and Andy Serkis.

They also play roles in Lord of the Rings.

I guess that makes them the Tolkien white guys.

πŸ‘︎ 12k
πŸ’¬︎
πŸ‘€︎ u/jzagri
πŸ“…︎ Jun 24 2021
🚨︎ report
Be nice
πŸ‘︎ 4k
πŸ’¬︎
πŸ‘€︎ u/BlazedApex
πŸ“…︎ Jul 11 2021
🚨︎ report
My 3 yr old daughter made her first pun today and I almost cried. She was eating an apple and I asked her if she liked apples.

She said apple-lutely

πŸ‘︎ 12k
πŸ’¬︎
πŸ“…︎ Jun 29 2021
🚨︎ report
He needs grounded
πŸ‘︎ 4k
πŸ’¬︎
πŸ‘€︎ u/AthanasiaStygian
πŸ“…︎ Jul 06 2021
🚨︎ report
"ground" the kid
πŸ‘︎ 6k
πŸ’¬︎
πŸ‘€︎ u/freakynit
πŸ“…︎ Jul 03 2021
🚨︎ report
If I had 50 cents for every math Exam I failed

I’d have $8.40

πŸ‘︎ 3k
πŸ’¬︎
πŸ“…︎ Jul 09 2021
🚨︎ report
My son accidentally handed me a dad joke on a platter and it was glorious.

This happened a few years ago when my son was 6ish. When my kids hurt themselves and it doesn’t look serious I always do the β€œwe might have to amputate that bruised hand” shtick with them. I’ve done it enough that they now roll their eyes.

So, my son got hit lightly in the face with a rubber ball. It wasn’t a hard hit and I could tell he was more upset by the shock of it rather than the pain. So I say β€œlooks like we will have to amputate your nose.” To which he replies β€œthen how will I smell?” And I say β€œterrible!”

It was my greatest dad joke ever. I felt like I could retire after that.

πŸ‘︎ 5k
πŸ’¬︎
πŸ‘€︎ u/perryt2007
πŸ“…︎ Jul 08 2021
🚨︎ report
MMM, burgers
πŸ‘︎ 5k
πŸ’¬︎
πŸ‘€︎ u/mkxviii
πŸ“…︎ Jul 08 2021
🚨︎ report
What did the left eye say to the right eye when they got married?

'Eye-do'

This is my first post pls don't kill me lol.

The people in the comment section is why I love this subreddit!!

Cred once again my sis wants credit lol

πŸ‘︎ 6k
πŸ’¬︎
πŸ‘€︎ u/tieyz
πŸ“…︎ Jun 27 2021
🚨︎ report
Well there goes his reproductive fitness...
πŸ‘︎ 6k
πŸ’¬︎
πŸ‘€︎ u/annnnnnnnie
πŸ“…︎ Jul 05 2021
🚨︎ report
Proud dad moment.

Keep in mind, my son is 4 years old, so everything is an original to him.

I had to work late into the evening yesterday, and he was just going to bed when I got home. I had left home for the office nearly 14 hours prior, had a long day, lots of meetings, traffic, etc.

When I walked through the door, I was exhausted, run down, and starving. My wife hugged me and asked how my day was, and I replied, "Done. It was a good day, but has got me exhausted. I just want to grab a bite and go to bed. I'm hungry."

From my son's bedroom, I hear him shout, "Hi Hungry! Nice to meet you!"

Not only did it make me laugh, but I completely forgot about how hungry and tired I was. I went to his bedroom, and we laughed together about it. It was exactly what I needed.

Edit: Thanks for all the awards, kind strangers! I'll let my son know y'all enjoyed his joke too!

πŸ‘︎ 7k
πŸ’¬︎
πŸ‘€︎ u/LaBarbaGuapa
πŸ“…︎ Jul 01 2021
🚨︎ report
What was a very common name in the middle ages?

I heard parents named their children lance a lot.

First post please don't kill me

Edit: i went to sleep and now my inbox is dead, thank you kind strangers for the awards!

πŸ‘︎ 9k
πŸ’¬︎
πŸ“…︎ Jun 24 2021
🚨︎ report
If Apple made a car what would it be missing?

Windows

πŸ‘︎ 2k
πŸ’¬︎
πŸ‘€︎ u/Moplex1234
πŸ“…︎ Jul 02 2021
🚨︎ report

Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.