@kusalananda@fosstodon.org
@kusalananda@fosstodon.org avatar

kusalananda

@kusalananda@fosstodon.org

Old tired Buddhist, Unix developer, and introvert.

Dvorak keyboard user, but generally a nice guy, really.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

kusalananda, to esperanto
@kusalananda@fosstodon.org avatar

Mi ne estas kuseno. I am not a pillow. This was as random as the "I am a strawberry" phrase I saw a few weeks ago.

kusalananda,
@kusalananda@fosstodon.org avatar

@Mehrad I mean, it's a perfectly good sentence. It's just that it's a bit unusual. Likewise for "Mi estas frago" (I'm a strawberry). One ought to be able to translate it in the context of learning the language, but the phrase itself will likely not be too useful outside of that particular context.

nixCraft, (edited ) to linux
@nixCraft@mastodon.social avatar

Poll: what is the standard text editor for or ?

kusalananda,
@kusalananda@fosstodon.org avatar

@nixCraft I picked ed as it's standard as in POSIX. Now, vi is also standard in the same sense, and I see and use vi more often than ed on Unix system nowadays, but I couldn't pick that option as it also mentioned vim, which isn't standard.

nixCraft, to linux
@nixCraft@mastodon.social avatar

By default, the kernel allows anyone to see all running processes. However, it is considered a good practice to hide processes from other users and commands like top, ps, etc. This can be achieved using the hidepid option. See https://www.cyberciti.biz/faq/linux-hide-processes-from-other-users/ for more info.

kusalananda,
@kusalananda@fosstodon.org avatar

@nixCraft Honestly, I’ve never heard anyone call this “good practice”. But sure, it may be a cool feature to have, and might be useful on a system where people don’t trust each other (although in such a case, I would probably opt for better isolation between users).

nixCraft, to random
@nixCraft@mastodon.social avatar

Is this true? 🤔

kusalananda,
@kusalananda@fosstodon.org avatar

@nixCraft Is the answer no?

nixCraft, to random
@nixCraft@mastodon.social avatar

how many developers do you think are out there working with C?

kusalananda,
@kusalananda@fosstodon.org avatar

@nixCraft More than you first expect.

nixCraft, to sysadmin
@nixCraft@mastodon.social avatar

Today, I will share one helpful tip that allows FreeBSD and to make a backup list of installed all packages and then restore it. Hence, this is useful for disaster recovery (DR) or simply rebuilding a new server. It will save you time https://www.cyberciti.biz/faq/how-to-backup-restore-a-list-of-installed-freebsd-packages/

kusalananda,
@kusalananda@fosstodon.org avatar

@nixCraft For , that would be "pkg_info -mz >list" to create the list of manually installed packages (including specific flavours), and then "pkg_add -l list" to restore from it, e.g., on a fresh system.

nixCraft, to random
@nixCraft@mastodon.social avatar

What song are you playing right now? 🤔

kusalananda,
@kusalananda@fosstodon.org avatar

@nixCraft "The engine of survival" by Laibach. Surprisingly ear-friendly.

nixCraft, to random
@nixCraft@mastodon.social avatar

which one are you?

kusalananda,
@kusalananda@fosstodon.org avatar

@nixCraft Depends, is the result of the operation (i.e. the evaluated value of the "if" statement or of the boolean test) meaningful in any way?

nixCraft, to random
@nixCraft@mastodon.social avatar

As a programmer - what does a manager do?

kusalananda,
@kusalananda@fosstodon.org avatar

@nixCraft The manager does everything associated with the job that is not programming. It's a job I wouldn't want for anything, and it's a person I wouldn't be able to do without.

nixCraft, to random
@nixCraft@mastodon.social avatar

Can the human eye distinguish between a photo captured by an iPhone with a 48MP camera and one captured by a Samsung mobile camera with 200MP? I don't believe the naked eye can perceive any difference. However, an experienced photographer/artist can list some differences. IDK. What do you think?

kusalananda,
@kusalananda@fosstodon.org avatar

@nixCraft If the terminal is able to show text at 24pt, dark on light, or the reverse, then I can read it. That's what I care about. Photography happens to other people.

nixCraft, to random
@nixCraft@mastodon.social avatar

Advertise your dev skills with one line of code ⬇️

kusalananda,
@kusalananda@fosstodon.org avatar

@nixCraft cat >main.c

nixCraft, to random
@nixCraft@mastodon.social avatar

| ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄|
You don’t need a MacBook
to be a Programmer
|______________|
\ (•◡•) /
\ /
——
| |
|_ |_

kusalananda,
@kusalananda@fosstodon.org avatar

@nixCraft But if your workplace pays for one... I use mine for web browsing and SSH. All the actual programming happens on other machines on the other end of that SSH connection.

nixCraft, to random
@nixCraft@mastodon.social avatar

If a user accidentally presses the CAPS lock while typing their password, would you notify them that it is on to help them save time?

kusalananda,
@kusalananda@fosstodon.org avatar

@nixCraft I believe the graphical login screen on at least macOS has a visual indicator for caps lock. How would you know if the user pressed a key "by accident" while typing anything?

robpike, (edited ) to random
@robpike@hachyderm.io avatar

A fairer test.

kusalananda,
@kusalananda@fosstodon.org avatar

@robpike If the first choice is good, go for it. There is no point in agonizing over the other possibilities. It only invites doubt, regret, and sorrow.

nixCraft, to random
@nixCraft@mastodon.social avatar

What's your favourite programming language for side (hobby) project? ✨

kusalananda,
@kusalananda@fosstodon.org avatar

@nixCraft zsh and plain POSIX sh. For real.

nixCraft, to random
@nixCraft@mastodon.social avatar

Floppy disks shrunk over time, from the original 8-inch disk, to the 5-1/4 inch format, and eventually down to the 3-1/2 inch disk that wasn’t nearly as floppy as the original. When introduced by IBM in 1971, the floppy disk made it possible to easily load software and updates onto mainframe computers. As the technology evolved and personal computers became popular, the floppy disk enabled people to share data and programs more easily. The rest is the history.

kusalananda,
@kusalananda@fosstodon.org avatar

@nixCraft Many moons ago, instead of a user account, we got a floppy disk each to save our files on. I don't quite remember what the OS was, but it might have been MicroBee.

kzimmermann, to random
@kzimmermann@fosstodon.org avatar

I never understood why, at least in Linux, does not have the "persist" function working. Or the support is shaky: seems to get it right, but some others don't, so I have to type the password a lot more often.

But at least it seems that Debian has a version with the feature working. Hopefully it gets into other distros too!

kusalananda,
@kusalananda@fosstodon.org avatar

@kzimmermann I suppose they are stuck on an older version. The "persist" setting wasn't there from the start in doas, not even on OpenBSD where it originated from.

But what do you mean by "shaky" support for the option?

nixCraft, to random
@nixCraft@mastodon.social avatar

Stack Overflow is ChatGPT Casualty: Traffic Down 14% in March https://www.similarweb.com/blog/insights/ai-news/stack-overflow-chatgpt/ The end of forums and tech blog is here for sure.

kusalananda,
@kusalananda@fosstodon.org avatar

@nixCraft Well those who trust an AI more than a human when it comes to sort out coding and other SysDev issues, the get what they deserve. Using AI for stuff like suggesting titles on question or what tags to pick, and as a tool for moderators to identify sock puppets and voting rings etc., would be a good use of AI.

nixCraft, to random
@nixCraft@mastodon.social avatar

🐧

kusalananda,
@kusalananda@fosstodon.org avatar

@nixCraft I also comfortably use ed to write code and I can spot a code injection vulnerability in your shell script by glancing over your shoulder. Oh, and I refer to past dates by the version numbers of my favourite Unix distribution.

nixCraft, to random
@nixCraft@mastodon.social avatar

Which version do you prefer and why?

kusalananda,
@kusalananda@fosstodon.org avatar

@nixCraft The AI-enhanced variant contains a few factual inaccuracies, but arguably makes for a smoother reading experience. One could probably massage it slightly to correct the obvious mistakes, if one was looking to come up with a rewrite of the original for whatever reason.

jtk, to random

Something you rarely see are brute password attempts when the listener is on a port other than 22. 143.198.3.2 () did just that today.

It may be targeted, but I'd be curious if anyone has seen this source.

I saw it on one DNS server at an .edu. I've not seen the source poking any other hosts or any other port including 22. Shodan doesn't know about this SSH odd port listener.

kusalananda,
@kusalananda@fosstodon.org avatar

@jtk Before my broadband provider put me behind CNAT, I ran SSH on various public-facing ports. I always got flooded with brute force attacks after a few days, no matter what port I used.

nixCraft, (edited ) to random
@nixCraft@mastodon.social avatar

Poll: Do you think the Web browser war is over (FYI, as of Feb/2023, Chrome has 79.7%, ME-Edge, 8.6%, Mozilla Firefox 4.8%, and Apple Safari has a 3.9% market share)? Please share for a broad reach. TIA.

kusalananda,
@kusalananda@fosstodon.org avatar

@nixCraft I didn't know there was a war on. I've blissfully used the same browser for the last decade and never noticed a war.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • tester
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • osvaldo12
  • ethstaker
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • ngwrru68w68
  • kavyap
  • GTA5RPClips
  • JUstTest
  • cisconetworking
  • InstantRegret
  • khanakhh
  • cubers
  • everett
  • Durango
  • tacticalgear
  • Leos
  • modclub
  • normalnudes
  • provamag3
  • anitta
  • lostlight
  • All magazines