dharmik

@dharmik@linuxusers.in

admin @ linuxusers.in
student. mostly computers.

matrix@spiderham:matrix.org
codeshithttps://github.com/dhrm1k
bloghttps://dhrm1k.github.io
📌 0 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

📌 0 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

to reach me out,

- mail at dharmiik [at] proton [dot] me
- i occasionally post in long-form at: https://dhrm1k.github.io

Chris "Not So" Short 🇺🇦 »
@ChrisShort@hachyderm.io

I like the idea of this, just wondering if I could do it myself without paying anyone | How I turned my blog into a social media hub fastcompany.com/91235471/how-i

...

Drew »
@crmsnbleyd@hachyderm.io

@ChrisShort well do you know how to set up DNS and docker containers?

...

Drew »
@crmsnbleyd@hachyderm.io

@ChrisShort okay if you're a kubernetes contributor obviously you do lol

...

Chris "Not So" Short 🇺🇦 »
@ChrisShort@hachyderm.io

@crmsnbleyd I was referring to the paid micro.blog service (which I don't think is OSS, but I could be wrong).

...

Drew »
@crmsnbleyd@hachyderm.io

@ChrisShort yeah but there's ActivityPub plugins for ghost and other CMS's

0 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

i don't think the writer of the fast company article has tried out the latest activitypub plugin available on wordpress. doesn't it create an instance on the domain or something? i regularly see fediverse.observer posts about new wordpress instances being set up and supposed it was those.

Drew »
@crmsnbleyd@hachyderm.io

ideally I would like the web version of the lisp book to be accompanied by an input field with paren-matching and ability to evaluate forms individually, (like eval-last-sexp from Emacs)

jscl seems nice as the backing common lisp compiler: github.com/jscl-project/jscl

just need to figure out how to have a nice input field (will I have to build one myself)

...
0 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

i'd love to contribute. let's talk?

...
dharmik boosted

Andrew Kelley »
@andrewrk@mastodon.social

One thing I appreciate about Mastodon is that if I slip into a bad habit of scrolling through the feed too much in one day, I start seeing old posts that I've already seen, and then I realize that I'm doing a bad habit, and that helps me stop checking the site too often.

On other platforms they would do anything to prevent that moment of self-reflection from occurring.

...
Older...

Sonny Bonds »
@SonnyBonds@mastodon.gamedev.place

@andrewrk Also helps against FOMO. You can eventually go "well now I've seen it all, let's do something else".

nilsmielke »
@nilsmielke@det.social

@andrewrk Same here. It is a blessing.

geoff martin »
@ggmartin@mastodon.social

@andrewrk I’m already looking forward to scrolling down to this toot again tomorrow!

...

trusty falxter 🧠 »
@flxtr@social.tchncs.de

@andrewrk
Yes, I remember when I actually could scroll Facebook or Twitter until seeing old posts, and I hated, when they started to force me into infinite feeds.

sgt1372 »
@sgt1372@sfba.social

@andrewrk I scroll thru the entire SFBA.social timeline everyday.

Why is that a ????🤔

Nathan Schneider »
@ntnsndr@social.coop

@andrewrk Been there too many times

Sablebadger »
@Sablebadger@dice.camp

@andrewrk that lack of doom scrolling is why I love mastodon

John Wilker 👨🏽‍💻 »
@jwilker@wandering.shop

@andrewrk Same and it's so refreshing. "Oh, I'm caught up." Close app.

Raffzahn »
@Raffzahn@mastodon.bayern

@andrewrk Quite true, then again, that moment gets postponed more and more each day.

Israel »
@izzymd@med-mastodon.com

@andrewrk Good in a way, but also bad as well. I find it super hard to find people to follow on Mastodon and have an engaging feed. Usually I’ll find people on social media by coming across interesting people and then looking at the list of people they follow. On Mastodon you can’t see following lists unless you’re on same server. It’s a bummer. I had to just browse Mastodon.social on iPad while logged out and then search for people to add manually on iPhone app.

Kim Possible »
@kimlockhartga@beige.party

@andrewrk It's what sends me back to my book or playing with the dogs. Like "Oh, I guess I'm caught up."

royal »
@royal@theres.life

@andrewrk The illusion of infinity

💡𝚂𝗆𝖺𝗋𝗍𝗆𝖺𝗇 𝙰𝗉𝗉𝗌📱 »
@SmartmanApps@dotnet.social

@andrewrk
Counter-point (from someone who uses Mastodon primarily as a source of Tech news, with other follows in Lists)

The awesome thing about Mastodon (the web UI anyway) is you can walk away from it for hours, and it'll still be exactly where you left it (unlike the other place which would auto-refresh and send you back to the top), so first thing I do in the morning is scroll down to where I was last up to, and there's no rush to get to the top - come and go, it'll still be where I left it

Cameron Hayne »
@cameronhayne@mastodon.social

@andrewrk I don’t understand this. For me the newest posts on Mastodon are at the top. Initial position is at the last post that I had read. I scroll up to see newer ones. When I get to the top, I’m done. This is on the Ivory app on iPhone.
I wish there was a way to make BlueSky behave like this.

catapult001 »
@catapult001@mastodon.social

@andrewrk Cool insight. I'm brand new to the platform and can already tell it's dramatically different from the more common platforms. Thanks for sharing!

Robert Kingett »
@WeirdWriter@caneandable.social

Honestly I never thought about this but this is what gets me to stop scrolling too! You nailed it! I love little touches like this and this won't happen with an algorithmic feed. Others think we're dorks for hating the algorithm so much but this is a perfect example of healthy technology without trying to hard. @andrewrk

Fábio Pereira ✌🏼 🇵🇹 »
@Serzedo@masto.pt

@andrewrk the other sites have a thing called infinite scrolling, and that's really bad.

14mission »
@14mission@sfba.social

@andrewrk Yeah, it's basically telling me "not time to look at Mastodon yet, come back later."

Suzanne she/her »
@DrSuzanne@ohai.social

@andrewrk oh no! Was I supposed to be self reflective about that? 😬

Florian Schmidt »
@schmidt_fu@mstdn.social

@andrewrk
Yes, another thing that helps are bots that post hourly - be it photos of space, of cute animals, witty quotes or just the current time. If you come across the same bot too often, it's time to stop scrolling.

Cam »
@bitshifter@mastodon.gamedev.place

@andrewrk yeah, I am seeing this as a positive as well

Arch Gremlin »
@arch@fedi.gremlin.work

@andrewrk 100% the best part of the Mastodon feed is that it eventually ends

Satirical »
@Satirical2588@mastodon.social

@andrewrk i miss functions like arrows instead of infinity scrolling and setting to remove elements from sidebar (local, notification)

Grae McDevit »
@Grae8672@mastodon.social

@andrewrk Yeah that's something that only something like Mastodon can do, because Mastodon isn't a platform.

Mastodon doesn't have a financial interest in keeping people on site for as long as possible to advertise like Twitter and Threads does.

Noah Jin »
@NoahJin@mastodon.social

@andrewrk mastodon does that for me too. I actually enjoy Mastodon more than Bluesky. Bluesky, I was dealing with too many bots on there.

Jean-Baptiste "JBQ" Quéru »
@jbqueru@fosstodon.org

@andrewrk Can't happen on anything ad-driven, since they have an incentive to make you keep going.

Kucing Orens »
@kucingoren@mastodon.social

@andrewrk same heree, i started to hate big social media company cause their influence our everyday lifes. world needs disperse social media for each region of the world

Björn Schießle »
@bjoern@mastodon.social

@andrewrk beside the effect you describe, which I appreciate as well there is another important benefit: You can find stuff again. It happens to me so often on other networks that I see something interesting, scroll by or refresh (by accident) and the post is gone forever. There is no chance to find it ever again because it is completely random what is shown to you.

Jay Hannah »
@deafferret@flyovercountry.social

@andrewrk I read all of (my) Mastodon feed once a day. I post randomly, but only read notifications when not in that window.

Simon π man ⚛️ 🧬 🧫 🇪🇺 🇺🇦 »
@enmodo@mastodon.social

@andrewrk
I wish there was a "Mark all read" so I can tell when I've caught up.
@msbellows

0 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

day-1 problem-1 of advent of code conquered 🎉. now i have digital electronics exams to conquer (or to battle at least, i don't know if i will be able to conquer it.)

...
0 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

i wanted to use C/Zig, but when i saw the question, all i could think was python. i'd try later to do it in C as well.

...
0 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

I just completed "Historian Hysteria" - Day 1 - Advent of Code 2024 https://adventofcode.com/2024/day/1

dharmik boosted

🟨 »
@radhitya@fedi.radhitya.org

All you need are #python and #c

...
1 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

when i was in primary school, 'decimal' meant numbers like 4.5643. now, in programming, a 'decimal integer' just means a whole number in base 10. the definitions didn’t change—i just stepped into a world where words multitask.

screenshot from c programming language manual.

Alt...screenshot from c programming language manual.

...

screwlisp »
@screwtape@mastodon.sdf.org

@dharmik yeah, people in school are often confused about this. Decimal refering to a number being in base ten cf octal being in base 8, not in having a decimal point. Obviously the natural base being octal

...

screwlisp »
@screwtape@mastodon.sdf.org

@dharmik though I'm now wondering how straight I can keep my face while saying octalion point

0 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

all set for advent of code 2024. we are going to make it. 🚀 what are you doing?

dharmik boosted

Andrew Kelley »
@andrewrk@mastodon.social

If you are planning to learn Zig via Advent of Code this year, I highly recommend the tips from @kristoff 's blog post:

kristoff.it/blog/advent-of-cod

0 ★ 1 ↺
dharmik boosted

admin »
@admin@linuxusers.in

the instance homepage at https://linuxusers.in/ looks very pretty now.

0 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

this is a great list. looking forward to exploring it.

https://100r.co/site/resources.html

...
0 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

found it on @thedaemon@bsd.network 's homepage: http://thedaemon.space/links.html . check it out as well.

0 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

review of cloud gaming services by @solene@bsd.network

https://dataswamp.org/~solene/2024-07-13-cloud-gaming-xbox-luna.html

the current state of cloud gaming isn’t quite where i’d like it to be. as games become increasingly resource-intensive and accessible primarily to those with powerful hardware, i hope to see a future where games are truly available to everyone.

0 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

what's the first thing to do when you get a new idea? and yes the correct answer is buying a new domain.

Joe Brockmeier (@jzb) »
@jzb@mastodon.social

Pondering a move to a different instance or perhaps even self-hosting* — for folks who’ve migrated, how’s that gone for you, which host(s) would you recommend, and any tips?

*via Masto.host or similar.

...

Michael Lucas »
@mwl@io.mwl.io

@jzb

Been self-hosting for years now, through spacebear.

A firm prerequisite: friendly admins you respect, who are willing to share their blocklists with you. I don't want alt-right trolls, 4chan, etc, so I imported those lists before I even started posting. They'll also keep you updated on new problem instances.

Other than that, I recommend it.

The fedi is unique in that we can keep the social network we build--so long as we don't trash it ourselves.

1 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

try . i use it. it's a lightweight and minimal activitypub instance written in C.

https://codeberg.org/grunfink/snac2

dharmik boosted

DJ Sundog - from the toot-lab »
@djsundog@toot-lab.reclaim.technology

just read an article about some terminal emulator called warp that was headlined as great for power users.

It's in rust, the article tells me. Good power user start.

Then the article tells about all the helpful AI and subscription features.

Now convinced the author has never actually met a terminal power user.

...

Digital Mark λ ☕️ 🕹 🙄 »
@mdhughes@appdot.net

@djsundog I'm still mad and looking for a replacement for iTerm2 because of the AI fiasco. The author put the AI shit in a plugin which is not preinstalled, but I no longer trust him long-term.

But every other term I try is lame. Nobody else has "move/select to last prompt", nobody has automatic dir actions/themes, which I use a *lot*. cd CodeBasic and I get a black-white terminal with Atari font (since it'll probably do some ANSI), but CodeScheme can be reddish with code ligature font.

...

Digital Mark λ ☕️ 🕹 🙄 »
@mdhughes@appdot.net

@djsundog And then 90% of techie terminals only have settings in a 5000-line JSON file you edit by hand. Can you NOT‽

I don't want flashy graphics. I like iTerm2's pixel art thing, I use imgls sometimes instead of Finder. But like, fast rendering of text and right-clicking URLs is about all I *have* to have.

It reminds me a lot of Linux window managers. Enlightenment was fun but so stupid in use. Good WM/DE are clean and programmable, but that's not sexy for screenshots.

...

Peter Kraus »
@pkraus@berlin.social

@mdhughes @djsundog the problem with Enlightenment is that I tried it 15 years ago and now I'm addicted.

Digital Mark λ ☕️ 🕹 🙄 »
@mdhughes@appdot.net

@djsundog WTAF I'm having '90s enterprise software flashbacks. Does Oracle publish this‽

Find a plan to fit your team
Free $0 Up to 100 AI, 3 Notebooks, 10 Workflows
Pro $15/user/mo
Team $22/user/mo
Enterprise Custom pricing

Alt...Find a plan to fit your team Free $0 Up to 100 AI, 3 Notebooks, 10 Workflows Pro $15/user/mo Team $22/user/mo Enterprise Custom pricing

...
2 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

subscription for a terminal?? who on earth are his users???? "power users???"

CC: @djsundog@toot-lab.reclaim.technology

...

Digital Mark λ ☕️ 🕹 🙄 »
@mdhughes@appdot.net

@dharmik @djsundog It's got "A.I." inside®! It's burning down a rain forest for every git command you autocomplete!

Elias Mårtenson »
@loke@functional.cafe

@djsundog what on earth? Is this what people are asking for?

Also, my strategy of determining the uselessness of a piece of software by measuring how early in the feature list "implemented in rust" show up appears to still be accurate.

0 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

i have wsl2 installed, but have never tried installing linux gui apps. tried to install gnome but i get a weird session bus error.

(gnome-text-editor:956): Gtk-WARNING **: 18:03:25.241: Unable to acquire session bus: Failed to execute child process “dbus-launch” (No such file or directory)

https://learn.microsoft.com/en-us/windows/wsl/tutorials/gui-apps#install-gnome-text-editor

...

Drew »
@crmsnbleyd@hachyderm.io

@dharmik sudo apt install dbus-x11 ?

...
1 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

in the process, i installed it, but still got the same error.

after your reply, i installed it again and then,

GTK_A11Y=none gnome-text-editor.

voila, now it works.

picture of gnome text editor on wsl2.

Alt...picture of gnome text editor on wsl2.

notptr »
@notptr@mastodon.sdf.org

@dharmik i don't have access to wsl anymore.

In wsl2 with it being the most updated I was able to use firefox and gui emacs.

0 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

went to saladific for the first time. it’s much better than i had expected. their veggie garden sub is cheaper and better than what subway offers.

Adam Leventhal »
@ahl@mastodon.social

What an Oxide and Friends last night! @bcantrill and I were joined by the one and only @AndresFreundTec to talk about his discovery of the xz backdoor. It’s an incredible story… so great to get into the details with Andres. Definitely check it out (or on the pod tomorrow).

youtu.be/jg5F9UupL6I

...

Adam Leventhal »
@ahl@mastodon.social

I was really pleased by this background image so wanted to talk about it briefly. The concept was (of course!) simple: the (in)famous xkcd graphic with the thankless Nebraskan removed xkcd.com/2347/

...

Adam Leventhal »
@ahl@mastodon.social

Like all lazy people in 2024, I turned to Chat GPT for help. This didn't work out well. (Have I mentioned that I'm bad at Chat GPT?)

...

Adam Leventhal »
@ahl@mastodon.social

I should mention that we don't put a ton of time into Oxide and Friends (sorry!) so I try to bound these side-quests at least somewhat. Somewhat. I decided to find a physics simulator (like a lunatic) and SimPHY was the first one I stumbled onto that worked well enough. I roughed out the structure from the xkcd comic:

...

Adam Leventhal »
@ahl@mastodon.social

Then removed the linchpin:

...

Adam Leventhal »
@ahl@mastodon.social

And simulated...

...

Adam Leventhal »
@ahl@mastodon.social

Until I got to something that was suitably calamitous:

...

Adam Leventhal »
@ahl@mastodon.social

I threw it on the iPad that I "borrowed" from my older son and traced it in Procreate with his Apple Pencil. 100% it could have been better, but I already felt like a crazy person and wasn't sure it was going to work out

...
dharmik boosted

Adam Leventhal »
@ahl@mastodon.social

Then I threw the lines into Photoshop, applied the bucket tool, and ... good enough!

A stopped-in-time physical simulation of xkcd 2347 collapsing due to removal of the critical dependency.

Alt...A stopped-in-time physical simulation of xkcd 2347 collapsing due to removal of the critical dependency.

Brian »
@brianb@fosstodon.org

Spent more time last night writing tests for my project. I need to do some reading on how to write tests for wrapper functions. I also have a couple routes that were really difficult to write tests for, which probably means they need to be refactored somewhat.

That's said, nearly everything is covered now. I'll poke at those last two spots, but I think it's time to move on to adding some charts/graphs into the admin panel for comparing data between class sections.

...
0 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

what are you building?

...

Brian »
@brianb@fosstodon.org

@dharmik it's a feedback/performance tracker for my chemistry students. Each assignment is linked to a skill and they have to show growth & proficiency on that skill. They have a dashboard showing everything we've done this year and which skills they still need to show they can do.

0 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

one of the most important things about starting a business in any sector is knowing how things work. for example, i could never do what shopify does, even if i focused only on one country like india. i don’t really know what a store owner needs or what i, as a developer, would have to figure out to help someone sell on multiple channels like amazon, ebay, and more. and even if i somehow figured it out, there’s no way i’d be able to do it in a way that actually works out well for the owner.

...
0 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

to start anything, i need to be well-experienced with it myself. now i get paul graham's quote: "make things that you need." there's no point in doing it if i don't understand the loopholes or delicacies of the thing.

1 ★ 2 ↺

dharmik »
@dharmik@linuxusers.in

do any of you own e-reader that is not kindle or kobo?

...

Stefan Böhringer »
@datenschauer@mastodon.social

@dharmik I own a Boox Note Air 3 (there‘s also a „C“-/color Version) for a year now. It’s absolutely fabulous! But much much more than „just“ an ereader. 🤗

...
0 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

@datenschauer@mastodon.social ah, that is a good one. I am looking for the cheapest kindle, but that too is available on amazon.in and doesn’t ship to india. :( all other options are too expensive.

josef »
@jk@mastodon.social

the problem is i think. if a linux distro was actually good enough, it would annihilate all the other distros. and that would go against the whole point of there being distros. so theyre not allowed to make a distro thats good. they're not allowed to be like "look we're actually gonna do it this time, we're gonna make the one true linux", they'd get tomatoes thrown at them. they can only make a distro thats "okay, but then in 5 years it Goes Wrong and everybody hops to the next popular distro"

...
dharmik boosted

smxi »
@smxi@fosstodon.org

@jk the reason there are different distros is they meet different needs.

RHEL: corporate linux

Fedora: unpaid dev for rhel

Arch: true rolling, minimal package changes from upstream

you are expert, want vanilla upstream, patrick v. BDFL

install once run forever. Really. Sid/testing semi-rolling
Ubuntu: swahili for "can't install debian"

TinyCore: 26 MiB full OS install to RAM. Really.

very groovy tech

Mint: new user choice 1

SLED/SUSE: Not rh

And so on.

...

hanshi »
@rvyhvn@infosec.exchange

@smxi @al1r4d @jk wdyt about void?

...

👾 radhitya »
@al1r4d@pegelinux.top

... [SENSITIVE CONTENT]

@rvyhvn My experience with Void Linux in the past was good; blazzing fast with runit.

dharmik boosted

piotr »
@piotr1215@fosstodon.org

How to create great terminal based presentations

youtu.be/KNNm_sZOVt0

4 ★ 4 ↺
Jay Peach boosted

dharmik »
@dharmik@linuxusers.in

TIL how to use $(command) to capture the output of one command and use it in another!

you can get the date as folder name (in format month abbreviate-date-year) with

mkdir "$(date +"%b%d%Y")"

- $(...) is used to execute the date command and substitute its output.

...
dharmik boosted

screwlisp »
@screwtape@mastodon.sdf.org

@dharmik
In the spirit of sharing
CL-USER>
(ensure-directories-exist
(format nil "~[mon~;tue~;wed~;thu~;fri~;sat~;sun~]/"
(nth-value 6 (get-decoded-time))))
"thu/"
T
CL-USER> (probe-file "thu/")
"/home/screwtape/thu/"

tl;dr a lisp form to create an abbreviated current-day-of-the-week-shortname directory by decoding the current universal-time.

...
1 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

In the spirit of sharing

the spirit of sharing is always appreciated. :)

dharmik boosted

Reid »
@Reiddragon@fedi.reimu.info

@dharmik fun fact: you can also use <(command) to take the output of command and feed it as a file argument to another command

eg. vimdiff <(command1) <(command2) (for all vim cares, those are read-only files passed as arguments)

...

Mikoto 98 SE »
@mikoto@akko.wtf

@Reiddragon @dharmik combined with tee, you could make a complex pipe network in bash

...

Reid »
@Reiddragon@fedi.reimu.info

@mikoto @dharmik shell + tee isn’t exactly my first choice for fancy pipes (anything fancier than a straight line), but yeah, you can absolutely do that

0 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

i saw a product that says it uses AI to do text-to-video. i have no idea, what they mean. it could easily be done with FFmpeg.

Ian Douglas Scott »
@ids1024@fosstodon.org

A safe neighborhood is one where kids can walk to school without being killed by heavy machinery.

...
1 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

completely 💯. i read this article long ago saying the same: a safe neighborhood is one where you don’t have to worry about where your kids are playing.

dharmik boosted

luna, only carbon now »
@luna@pony.social

A lot of people don’t know this one weird trick — much like JavaScript, C also lets you perform arithmetic with mixed types:

Screenshot of a terminal showing a simple C program and its output.
The code prints the result of the expression `"-0.5" + 1`
The displayed output is 0.5

Alt...Screenshot of a terminal showing a simple C program and its output. The code prints the result of the expression `"-0.5" + 1` The displayed output is 0.5

dharmik boosted

Duncan Lock »
@duncanlock@cosocial.ca

Things don't "fall into the public domain" at the end of their copyright term, Ugh.

Once released from copyright, works Ascend into the glorious ranks of the public domain, fulfilling their rightful destiny as part of the cultural heritage of humanity!

1 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

I have my exam tomorrow, and I can't stop myself from watching "The Physics of Light and Rendering - A Talk by John Carmack"

0 ★ 0 ↺

dhanashree »
@dhanashree@linuxusers.in

Can you see it?

...
dharmik boosted

Tomáš »
@prahou@merveilles.town

starter pack

unix_surrealist starter pack

Fuck Computers, stanley lieber
book of C
Bell System
100% mothra-compatible
hackers.town cyber mantis
intelcore2duo
uxn
export TERM=vt220
ALL LLMS ARE BASTARDS
irc
greetings from RIO postcard, qrstuv
OpenBSD
snac - a simple minimalistic activitypub instance
9front
techno-mage
Nadja, Andre Breton
cat -v
links2 browser
plain text
RFC1436
book of kornshell

Alt...unix_surrealist starter pack Fuck Computers, stanley lieber book of C Bell System 100% mothra-compatible hackers.town cyber mantis intelcore2duo uxn export TERM=vt220 ALL LLMS ARE BASTARDS irc greetings from RIO postcard, qrstuv OpenBSD snac - a simple minimalistic activitypub instance 9front techno-mage Nadja, Andre Breton cat -v links2 browser plain text RFC1436 book of kornshell

0 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

in case you didn't know, textfiles.com is a goldmine of early internet culture: bbs lists, hacker zines, ascii art, old-school humor, and more. dive into the wild, text-based world of the '80s and '90s! 📜✨

...
0 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

in a world where i hadn’t found out about snac, i was ready to create a way for everyone to host their personal txt file and build a social network around it. something like twtxt but more focused on my friends and regular people who could use it easily.

dharmik boosted

Hypnagogist »
@Hypnagogist@mastodon.gamedev.place

2 ★ 3 ↺

dharmik »
@dharmik@linuxusers.in

using list comprehension and ternary operator to print even numbers from 1 to 10. 🤯

[print(x) for x in range(1, 11) if x % 2 == 0]

...
0 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

i had no idea list comprehension existed,

thisislist = ["apple", "banana", "cherry", "kiwi", "mango"]

new_list = [i for i in thisislist if "a" in i]

print(new_list)


...

Drew »
@crmsnbleyd@hachyderm.io

@dharmik welcome to one of the funnest part of python

...

Drew »
@crmsnbleyd@hachyderm.io

@dharmik there's set and dict comprehensions as well

arialdo »
@arialdo@mastodon.online

@dharmik wait to realize that list comprehensions are syntactic sugar for monads…

...
0 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

@arialdo@mastodon.online the aha moment.

...
0 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

i found this fascinating txt file from 1990 titled "my favourite unix commands". it's a captivating read for anyone interested in unix history and hacking culture!

it is possible to create files which simply cannot be deleted
from the standard shell. to do this, you will have to physically
create the file using a c program or script file, and you will
have to use a sequence of control characters which cannot be
typed from the shell.

dharmik boosted

mhd »
@mhd@tilde.zone

I sometimes see people trying to do everything in a terminal for a while, either for anti-distraction issues or for retro-/"perma"-computing reasons.

These days I wonder whether it would be interesting to not completely focus on the terminal, but do everything you do in there just with VT100 capabilities (or hook up a real one, if you got one).

I bet for some developers it would be much harder to do the things they already do in the terminal without colors and emojis than just fit in a few things they usually do with webapps.

...

Digital Mark λ ☕️ 🕹 🙄 »
@mdhughes@appdot.net

@mhd VT100 has color, or depending on the specific terminal at least underline, bold, dim, blink. Box drawing chars go back 40+ years. The majority of what I do can be done there, and I know that because I often work on server stuff on a headless FreeBSD server. My Vim setup is all terminal-friendly.

But since I make GUI front ends usually, I eventually do need to get off the terminal.

dharmik boosted

arialdo »
@arialdo@mastodon.online

When we read books, in real life, we turn pages. Indeed, scrolling book would be so inconvenient, most likely a miserable experience.

Why we do scroll so much when we read on PC screens is a mystery to me.

We also scroll like there's no tomorrow when we code.

and get this right (respectively with `C-l (recenter-top-bottom)` and `zz`, `zt`, `zb`)

0 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

i’m a sucker for good cashback deals wherever i can get them. i mean, why not? i’m a student, and i spend good, so a little savings here and there won’t hurt. i tried this new upi app called super.money and got ₹5 cashback on a ₹110 spend on tea and snacks.

...
2 ★ 0 ↺

rahul »
@rahul@linuxusers.in

i spend good, so a little savings
the best way to save would be to not spend 😄

dharmik boosted

Em »
@Em0nM4stodon@infosec.exchange

To everyone when they see horrible privacy news about Microsoft replying with:

"I don't care, I use Linux"

Sure, you do. But does your medical clinic do? Does your therapist do? Does your family member typing a personal email to you in Word before sending it do too?

This is a systemic problem.

You cannot protect your own data only by using Linux yourself. You must also demand stronger regulations and enforcement to obligate organizations around to protect your data as well.

History

Back to top - More...