dharmik

@dharmik@linuxusers.in

admin @ linuxusers.in.
student. custodian of useless trivia.
hacker. python. c. unix. vim.



bloghttps://dhrm1k.github.io
codeshithttps://github.com/dhrm1k
matrix@spiderham:matrix.org

Location: 23.014509,72.591759

80 following, 28 followers

📌 1 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

at thol lake bird sanctuary.

📌 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

1 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

i had an argument (that too related to a topic he was teaching) with my python faculty last semester, and the same faculty teaches me python2 this semester. that faculty is without a doubt the smartest—he knows his stuff. you'd expect an argument to leave a bitter spot where he stops acknowledging my presence in class or ignores my questions, but he always patiently answers everything i ask. these are the kind of teachers that actually want you to learn.

0 ★ 0 ↺

dharmik »
@dharmik@linuxusers.in

i wish more people would pen down their thoughts—more people should have a blog or something. that’s one of the reasons linuxusers.in exists!

dharmik boosted

adrianhooves »
@adrianhooves@lemmy.today

today i learned: svg files are literally just html code

what the heck!! that is so wild, mind blowing, i know the main difference between raster graphics and vector graphics was the quality but not more, i had no idea svg files actually used html code and pretty much could be modified using only text and amazing code woa!!! this opens up the possibility for so many things on linux i think, for example, on a linux distro, we could modify the desktop environment and make it waaaaay lighter by getting rid of jpg or png icons and just using pure svg on it. svg can be given a lot of attributes like movement, mouse hovering, change color, change anything. and most svg files are still under a megabyte. wow… please let me know other fun facts about svg or eps files. i really like doing graphic design on linux and inkscape.

(https://lemmy.ml/c/linux)

...
Older...

AbouBenAdhem »
@AbouBenAdhem@lemmy.world

More accurately, both are flavors of XML.

    ...

    NeoNachtwaechter »
    @NeoNachtwaechter@lemmy.world

    …which is derived from SGML.

      SatyrSack »
      @SatyrSack@feddit.org

      HTML predates XML by several years.

        ...

        atzanteol »
        @atzanteol@sh.itjust.works

        Age doesn’t matter. XML is a super-set of XHTML’s spec.

        That is - all XHTML is valid XML but not all XML is valid XHTML.

        Note I’m saying XHTML not HTML since the later need not be valid XML.

          ...

          chtk »
          @chtk@feddit.nl

          XML is a super-set of XHTML’s spec.

          That’s a weird way of saying XHTML is an application of XML.

            ...

            atzanteol »
            @atzanteol@sh.itjust.works

            You can phrase it however you like?

            ?

              atzanteol »
              @atzanteol@sh.itjust.works

              technically HTML is not XML… XHTML is, but HTML can be invalid XML.

                ...

                AbouBenAdhem »
                @AbouBenAdhem@lemmy.world

                Ok—to the extent that SVG is HTML, the variant of HTML that it is is a flavor of XML.

                  Giloron »
                  @Giloron@programming.dev

                  It annoys me that you aren’t supposed to close input tags. At least browsers tolerate self closing them even if it is out of spec.

                    ...

                    neclimdul »
                    @neclimdul@lemmy.world

                    Technically it’s not browser tolerance but spec tolerance. It’s built into the html5 spec to tolerate different tags closing and other things invalid in xml.

                    This was an important design that grew out of one of the largest failings of xhtml that such failures would make the entire page unrenderable.

                      mina86 »
                      @mina86@lemmy.wtf

                      Another interesting part is that HTML5 supports embedding SVG. That is, you can put SVG code directly in your HTML5 document and it’s going to render correctly. You can also style it through your website’s CSS file and manipulate the elements via JavaScript.

                      Though as others pointed out, it’s technically not HTML but XML.

                        ...

                        adrianhooves »
                        @adrianhooves@lemmy.today

                        woww that is crazy, thanks, does that mean that instead of using exported pngs, i can just use the svg code on html and it’ll be a much lighter file??

                          ...

                          mina86 »
                          @mina86@lemmy.wtf

                          If you have an SVG image you can either embed it directly on the website, or link it using img tag. There’s no need to export it to PNG.

                            phr »
                            @phr@discuss.tchncs.de

                            litghter, as in smaller, yess. but keep in mind, that vector graphics need to be rendered, wich depending on circumstance and graphic might become inefficient.

                            i never crunched the numbers, but basically youre outsourcing the generation of a rastergraphic to those who open up your website.

                              ...

                              FooBarrington »
                              @FooBarrington@lemmy.world

                              Though this also has advantages - not only will they be drawn at an appropriate resolution, they can also be styled & modified by the user. If I’m using Dark Reader and your icons are SVGs using currentColor, they’ll render with the same color as other text. The best you can do for raster graphics is inverting them.

                                ...

                                phr »
                                @phr@discuss.tchncs.de

                                i too love the svg. rest assured. ;)

                                  kotg »
                                  @kotg@lemmy.world

                                  One should always optimize assets for the web, this includes svg as well.

                                  For critical paths I use optimize.svgomg.net a svg file optimizer. Svgs that are coming directly from illustrator or sketch are getting better these days but this little tool is invaluable regardless.

                                  I think you can run this local too

                                    daggermoon »
                                    @daggermoon@lemmy.world

                                    Damn, I actually did not know that. I thought it was just an image file.

                                      ...

                                      Executive Chimp »
                                      @executivechimp@discuss.tchncs.de

                                      It’s both of those things

                                        ...

                                        N0x0n »
                                        @N0x0n@lemmy.ml

                                        Schrödinger’s SVGs?

                                          ...

                                          Executive Chimp »
                                          @executivechimp@discuss.tchncs.de

                                          Yeah, it depends on if you view source

                                            utopiah »
                                            @utopiah@lemmy.ml

                                            main difference between raster graphics and vector graphics was the quality

                                            It’s not. The primitives, the most basic constitutive building blocks, are different, for raster it’s the pixel (a mix of colors, e.g. red/green/blue) whereas for vector it’s the … vector (a relative position which elements, e.g. line, circle, rectangle, text start with).

                                            This is a fundamental distinction on how you interact with the content. For raster you basically paint over pixels, changing the values of pixels, whereas for vector you change values of elements and add/remove elements. Both can be lossless though (vector always is) as for raster can have no compression or lossless compression. That being said raster does have a grid size (i.e. how many pixels are stored, e.g. 800x600) whereas vector does not, letting you zoom infinitely and see no aliasing on straight lines.

                                            Anyway yes it’s fascinating. In fact you can even modify SVG straight from the browser, no image editor or text editor needed, thanks to your browser inspector (easy to change the color of a rectangle for example) or even the console itself then via JavaScript and contentDocument you can change a lot more programmatically (e.g. change the color of all rectangles).

                                            It’s a lot of fun to tinker with!

                                              ...

                                              SomeoneSomewhere »
                                              @SomeoneSomewhere@lemmy.nz

                                              I’m not sure that lossy compression on vectors is strictly impossible.

                                              You can do things like store less colour information and simplify splines so that curves are less complex.

                                                ...

                                                utopiah »
                                                @utopiah@lemmy.ml

                                                True, in fact I’ve done so myself (simplifying a curve for hand sketching). Still I’d argue that’s not the normal expected behavior of storing the vector file but rather explicitly modifying it.

                                                  JRaccoon »
                                                  @JRaccoon@discuss.tchncs.de

                                                  They can include runnable JavaScript too, which can cause vulnerabilities in certain contexts. One example from work some years back: We had a web app where users could upload files, and certain users could view files uploaded by others. They had the option to download the file or, if it was a file type that the browser could display (like an image or a PDF), the site would display it directly on the page.

                                                  To prevent any XSS (scripts from user-provided files), we served all files with the CSP sandbox header, which prevents any scripts from running. However, at the time, that header broke some features of the video player on certain browsers (I think in Safari, at least), so we had to serve some file types without the header. Mistakenly, we also included image files in the exclusion, as everyone through image files couldn’t contain scripts. But the MIME type for SVG files is image/svg+xml… It was very embarrassing to have such a simple XSS vuln flagged in a security audit.

                                                    A_norny_mousse »
                                                    @A_norny_mousse@feddit.org

                                                    we could modify the desktop environment and make it waaaaay lighter by getting rid of jpg or png icons and just using pure svg on it

                                                    That’s already happening.

                                                    You can also change the main color of many SVGs (icons or even desktop backgrounds) with one simple edit, one command, one click.

                                                    In web sites, you can assign CSS classes to SVG graphics and thus e.g. change their color according to a theme.

                                                    That’s my extent of fiddling with it.

                                                    IIRC they also use fonts the same way CSS/HTML does.

                                                    BTW, there are situations where an SVG is significantly larger than a corresponding raster image. It depends on the content.

                                                      weirdboy »
                                                      @weirdboy@lemm.ee

                                                      Postscript is also literally just a text based programming language for drawing stuff. You can create loops and recursions and all kinds of crazy transformations with a few lines of code.

                                                        Arthur Besse »
                                                        @cypherpunks@lemmy.ml

                                                        No, SVG files are not HTML.

                                                        Please change this post title (currently “today i learned: svg files are literally just html code”), to avoid spreading this incorrect factoid!

                                                        I suggest you change it to “today i learned: svg files contain code in an html-like language” or something like that.

                                                        SVG is a dialect of XML.

                                                        XML and HTML have many similarities, because they are both are descendants of SGML. But, as others have noted in this thread, HTML is also not XML. (Except for when it’s XHTML…)

                                                        Like HTML, SVG also can use CSS, and, in some environments (eg, in browsers, but not in Inkscape) also JavaScript. But, the styles you can specify with CSS in SVG are quite different than those you can specify with CSS in HTML.

                                                        Lastly, you can embed SVG in HTML and it will work in (modern) browsers. You cannot embed HTML in SVG, however.

                                                          ...

                                                          adrianhooves »
                                                          @adrianhooves@lemmy.today

                                                          ok thank you very much!!

                                                            BigMikeInAustin »
                                                            @BigMikeInAustin@lemmy.world

                                                            You know how they say that the internet is a series of tubes? We used to think that was just a funny old man. Turns out, it is the literal truth. The internet is made up of SVG files!

                                                              zarkanian »
                                                              @zarkanian@sh.itjust.works

                                                              I remember when XHTML was supposed to replace HTML. Everything was going to be standardized and web designers would run their HTML code against a validator…it was going to be glorious! And of course it never happened, because demanding that all websites conform to the XHTML standard would’ve broken a lot of websites.

                                                              So, HTML5 ate XHTML’s lunch because it was much more forgiving, and…oh yeah, you could watch videos and play games in it, too.

                                                                ...

                                                                Agent641 »
                                                                @Agent641@lemmy.world

                                                                I fucking learned a whole-ass language for nothing back then because I thought it was the future!, fuck you, XHTML!

                                                                  ...

                                                                  zarkanian »
                                                                  @zarkanian@sh.itjust.works

                                                                  100% of XHTML will work in HTML5.

                                                                    alphadont »
                                                                    @alphadont@lemmy.ca

                                                                    As someone who can find a billion XML parser libraries and, like, three HTML parser libraries, you do have my gratitude if it’s worth anything.

                                                                      alphadont »
                                                                      @alphadont@lemmy.ca

                                                                      Killing Flash was worth it, but couldn’t we have avoided its reign of tyranny if we’d just stuck with Java applets in the first place…?

                                                                        tasankovasara »
                                                                        @tasankovasara@sopuli.xyz

                                                                        I made an interactive map: drew in Inkscape, gave the interactive elements numbers for ids, then substituted the id=‘xxx’ in vim with the php code and js function calls, picking up the number from the id tag and inserting it appropriately in php code and function arguments. 250 interactive elements taken care of in a single vim substitute. My bestest development power move yet :D

                                                                          ...

                                                                          Bldck »
                                                                          @Bldck@beehaw.org

                                                                          What was the map used for?

                                                                            ...

                                                                            tasankovasara »
                                                                            @tasankovasara@sopuli.xyz

                                                                            It’s a map of fairground lots for a service that takes bookings, bills the customer and deals with providing relevant safety info to authorities. In use again this season :)

                                                                              ...

                                                                              Bldck »
                                                                              @Bldck@beehaw.org

                                                                              Yo that’s super cool! My nerd brain went straight to a virtual table top map for D&D

                                                                                Arthur Besse »
                                                                                @cypherpunks@lemmy.ml

                                                                                for example, on a linux distro, we could modify the desktop environment and make it waaaaay lighter by getting rid of jpg or png icons and just using pure svg on it.

                                                                                this has largely happened; if you’re on a dpkg-based distro try running this command:

                                                                                dpkg -S svg | grep svg$ | sort

                                                                                …and you’ll see that your distro includes thousands of SVG files :)

                                                                                explanation of that pipeline:

                                                                                * dpkg -S svg - this searches for files installed by the package manager which contain “svg” in their path * grep svg$ - this filters the output to only show paths which end with svg; that is, the actual svg files. the argument to grep is a regular expression, where $ means “end of line”. you can invert the match (to see the paths dpkg -S svg found which only contain “svg” in the middle of the path) by writing grep -v svg$ instead. * the sort command does what it says on the tin, and makes the output easier to read you can run man dpkg, man grep, and man sort to read more about each of these commands.

                                                                                  ...

                                                                                  whoareu »
                                                                                  @kionite231@lemmy.ca

                                                                                  for alpine linux users:

                                                                                  apk info -L $(apk info) | grep -v contains | grep 'svg'
                                                                                  

                                                                                    MonkderVierte »
                                                                                    @MonkderVierte@lemmy.ml

                                                                                    Is this the same as pacman -Ql?

                                                                                      gomp »
                                                                                      @gomp@lemmy.ml

                                                                                      Ommigod, these kids :)

                                                                                      SVG comes XML (a more coherent/simple version of the SGML that is behind HTML), and specifically from a time where people took XML and made it hyper-complicated with a flurry of extensions and specifications (look up “xml namespaces” “xslt” “xml schema”).

                                                                                      The most apparent difference between SGML and XML is than in the former you write tags like <br> without a corresponding </br>, and in the latter you have to close them like <br/> (which is shorthand for <br></br>).

                                                                                      So… today you learned that what you learned earlier today was close to truth, but not true :)

                                                                                      PS: A lot of document formats are undercover/zipped XML (eg. the libre office documents, IIRC microsoft’s .xlsx and .docx). This is not dissimilar to how json/yaml are widely used today.

                                                                                        ...

                                                                                        milicent_bystandr »
                                                                                        @milicent_bystandr@lemm.ee

                                                                                        So, my Lemmy app - and I think a lot of Lemmy, renders markdown, so whenever you write “<…>” It disappears for me!

                                                                                          ...

                                                                                          gomp »
                                                                                          @gomp@lemmy.ml

                                                                                          I tried adding backslashes to escape, it still looks fine on lemmy.ml but your app may be bugged (and possibly vulnerable to xss? can you see the script block after the closed bracket?) <script>alert(‘you should not see an alert’)</script>

                                                                                            ...

                                                                                            milicent_bystandr »
                                                                                            @milicent_bystandr@lemm.ee

                                                                                            It all looks good now :-)

                                                                                              MonkderVierte »
                                                                                              @MonkderVierte@lemmy.ml

                                                                                              No, it’s XML. It’s an ancestor of HTML and, unlike HTML, it can be losslessly converted.

                                                                                                ...

                                                                                                JubilantJaguar »
                                                                                                @JubilantJaguar@lemmy.world

                                                                                                Not quite. XML came several years after HTML! Both are descendants of SGML.

                                                                                                  ...

                                                                                                  StorageB »
                                                                                                  @StorageB@lemmy.one

                                                                                                  for example, on a linux distro, we could modify the desktop environment and make it waaaaay lighter by getting rid of jpg or png icons and just using pure svg on it.

                                                                                                  Isn’t that how it already works? GNOME system icons are all SVG - that’s what allows them to change colors when you change themes or switch between light and dark mode.

                                                                                                    ...

                                                                                                    adrianhooves »
                                                                                                    @adrianhooves@lemmy.today

                                                                                                    i didn’t know that, is that the same in xfce??

                                                                                                      ...

                                                                                                      ReversalHatchery »
                                                                                                      @ReversalHatchery@beehaw.org

                                                                                                      hard to tell, but you can check it:

                                                                                                      find / -type f -name *.svg
                                                                                                      

                                                                                                      maybe also include -xdev if you have any external drive that doesn’t hold system files.

                                                                                                        BCsven »
                                                                                                        @BCsven@lemmy.ca

                                                                                                        There are both, PNG as standard sizes and the SVGs. I believe the DE pulls the 32 48 256 pixel pngs so no addition rendering is needed.

                                                                                                          BCsven »
                                                                                                          @BCsven@lemmy.ca

                                                                                                          I don’t think it would be lighter, SVGs need a rendering tool to read the code and draw the artwork for the vector based images. This has always been slower than just displaying a bmp, jpg, or PNG.

                                                                                                            ...

                                                                                                            ReversalHatchery »
                                                                                                            @ReversalHatchery@beehaw.org

                                                                                                            It’s lighter in memory. on android (development) it has been said for a few years now that it’s better to use them for most cases, because android apps tend to use a ton of icons and this way they are small, themable, scaleable (the other option is to include multiple versions with diff resolutions), and can even have animations. it can basically save a lot of space.

                                                                                                            but of course that will make no difference when the apps are 180 MB, partly because of the same 30 MB native libs being bundled for 4 different CPU architectures, because wasteful the dev didn’t bother to produce different APKs for the different kinds of CPUs. and similar project mismanagement things.

                                                                                                              AnimalsDream »
                                                                                                              @AnimalsDream@slrpnk.net

                                                                                                              Hold on now. If an svg will render as valid html in browsers, does that mean I can use Inkscape as a wysiwyg webpage editor, and just export that to html?

                                                                                                                ...

                                                                                                                adrianhooves »
                                                                                                                @adrianhooves@lemmy.today

                                                                                                                good question, i once made a website mockup on inkscape and it would be interesting if i could just turn that into an html file

                                                                                                                  0 ★ 0 ↺

                                                                                                                  dharmik »
                                                                                                                  @dharmik@linuxusers.in

                                                                                                                  been attending the Ingenious Hackathon 6.0 since the past 32ish hours and it's been a ride.

                                                                                                                  ...
                                                                                                                  0 ★ 0 ↺

                                                                                                                  dharmik »
                                                                                                                  @dharmik@linuxusers.in

                                                                                                                  now took a break from working to check if we make to the top 25 teams.

                                                                                                                    ...
                                                                                                                    1 ★ 0 ↺

                                                                                                                    dharmik »
                                                                                                                    @dharmik@linuxusers.in

                                                                                                                    update: we didn't make it.

                                                                                                                    i hate the hackathons where a problem statement is defined. it should either be open ended or at worst a theme based.

                                                                                                                      dharmik boosted

                                                                                                                      Jeff Moss »
                                                                                                                      @thedarktangent@defcon.social

                                                                                                                      I let "hackerpoetry.com" expire yesterday after having it for decades and never doing anything with it. Hopefully it finds a better home.

                                                                                                                      0 ★ 0 ↺

                                                                                                                      dharmik »
                                                                                                                      @dharmik@linuxusers.in

                                                                                                                      old fashion brands are always a good case study. it's a miracle how they emerged and lasted this long. i get how e-commerce brands cracked distribution with social media, but the old ones? how?

                                                                                                                      2 ★ 0 ↺

                                                                                                                      dharmik »
                                                                                                                      @dharmik@linuxusers.in

                                                                                                                      happy birthday dear friend! @rahul@linuxusers.in

                                                                                                                        dharmik boosted

                                                                                                                        dharmiik »
                                                                                                                        @dharmiik@social.photo

                                                                                                                        wasn't much of a sunglasses guy until I got one as a gift (which i accidentally broke recently). picked up a new vincent chase pair.

                                                                                                                        dharmik boosted

                                                                                                                        Paolo Amoroso »
                                                                                                                        @amoroso@fosstodon.org

                                                                                                                        STORAGE is a Medley Interlisp tool that shows a bar chart of the amount of storage allocated to each Lisp data type. The black part of a bar represents the number of items or pages currently in use, the gray part the number of free items or pages.

                                                                                                                        Screenshot of the black and white desktop of a 1980s graphical workstation environment. The desktop has a gray background pattern and some windows with a white background and a title bar with white text on a black background. The main window shows a bar chart laid out horizontaly. Each bar has a black and a gray part and a text label next to it.

                                                                                                                        Alt...Screenshot of the black and white desktop of a 1980s graphical workstation environment. The desktop has a gray background pattern and some windows with a white background and a title bar with white text on a black background. The main window shows a bar chart laid out horizontaly. Each bar has a black and a gray part and a text label next to it.

                                                                                                                          0 ★ 0 ↺

                                                                                                                          dharmik »
                                                                                                                          @dharmik@linuxusers.in

                                                                                                                          i have been answering a lot of calls without even knowing i picked it up. any way/app to set up swipe to answer (like ios) on pixel. @googlepixel@lemmy.ml

                                                                                                                            dharmik boosted

                                                                                                                            Amin Hollon 🏳 »
                                                                                                                            @amin@polymaths.social

                                                                                                                            My design goal on websites is that bright young teenagers could learn HTML and CSS with the "View Source" button without having to decipher obfuscated code that looks like it's meant to summon a Lovecraftian horror.

                                                                                                                            ...
                                                                                                                            Older...

                                                                                                                            fbievan (powered by REAL polymaths) »
                                                                                                                            @fbievan@polymaths.social

                                                                                                                            @amin yes.

                                                                                                                            ...

                                                                                                                            Amin Hollon 🏳 »
                                                                                                                            @amin@polymaths.social

                                                                                                                            @fbievan

                                                                                                                            this is the way.

                                                                                                                            ...

                                                                                                                            Amin Hollon 🏳 »
                                                                                                                            @amin@polymaths.social

                                                                                                                            @fbievan

                                                                                                                            I don't wanna be a web dev, I wanna be a spider, spinning a lightweight but strong web. ;)

                                                                                                                            ...

                                                                                                                            fbievan (powered by REAL polymaths) »
                                                                                                                            @fbievan@polymaths.social

                                                                                                                            @amin

                                                                                                                            Hmmm, what if if it spins backwards?

                                                                                                                            ...

                                                                                                                            Amin Hollon 🏳 »
                                                                                                                            @amin@polymaths.social

                                                                                                                            @fbievan

                                                                                                                            It travels backwards in time.

                                                                                                                            ...

                                                                                                                            fbievan (powered by REAL polymaths) »
                                                                                                                            @fbievan@polymaths.social

                                                                                                                            @amin very interesting

                                                                                                                            ...

                                                                                                                            Amin Hollon 🏳 »
                                                                                                                            @amin@polymaths.social

                                                                                                                            @fbievan

                                                                                                                            I think you mean gnitseretni yrev.

                                                                                                                            ...

                                                                                                                            fbievan (powered by REAL polymaths) »
                                                                                                                            @fbievan@polymaths.social

                                                                                                                            ...

                                                                                                                            Amin Hollon 🏳 »
                                                                                                                            @amin@polymaths.social

                                                                                                                            ...

                                                                                                                            Amin Hollon 🏳 »
                                                                                                                            @amin@polymaths.social

                                                                                                                            @fbievan

                                                                                                                            .dnammoc ver xinU eht ot enil a epip ot mivoen esu nac I ;txet desrever htiw stoot etirw ot em rof ysae ylgnisirprus yllautca s'tI

                                                                                                                            ...

                                                                                                                            fbievan (powered by REAL polymaths) »
                                                                                                                            @fbievan@polymaths.social

                                                                                                                            @amin

                                                                                                                            em rof taht sa ysae sa ton sti os oht nr elibom no m'I ,ecin yrev s'tahT

                                                                                                                            ...

                                                                                                                            András Németh »
                                                                                                                            @sunarch@polymaths.social

                                                                                                                            @fbievan @amin I was gonna say a little Lovecraftian horror never hurt anybody (who lived to tell about it, anyway), but it looks like you guys are already down a twisted path xd

                                                                                                                              ...

                                                                                                                              Amin Hollon 🏳 »
                                                                                                                              @amin@polymaths.social

                                                                                                                              @sunarch @fbievan

                                                                                                                              There is a place for lovecraftian horrors but that place isn’t my web browser.

                                                                                                                                kudzu »
                                                                                                                                @kudzu@polymaths.social

                                                                                                                                @amin @fbievan I love this analogy

                                                                                                                                  ...

                                                                                                                                  Amin Hollon 🏳 »
                                                                                                                                  @amin@polymaths.social

                                                                                                                                  @kudzu @fbievan Me too. I’ve had it in mind for years but never wrote my planned article.

                                                                                                                                    fbievan (powered by REAL polymaths) »
                                                                                                                                    @fbievan@polymaths.social

                                                                                                                                    @kudzu @amin don't worry about what happens below this message, XD

                                                                                                                                      ...

                                                                                                                                      kudzu »
                                                                                                                                      @kudzu@polymaths.social

                                                                                                                                      @fbievan @amin I never worry about anything 🫡

                                                                                                                                        ...

                                                                                                                                        Amin Hollon 🏳 »
                                                                                                                                        @amin@polymaths.social

                                                                                                                                        ...

                                                                                                                                        kudzu »
                                                                                                                                        @kudzu@polymaths.social

                                                                                                                                        @amin @fbievan So the trick is to ignore and downplay your problems, and there are no downsides!

                                                                                                                                          ...

                                                                                                                                          Amin Hollon 🏳 »
                                                                                                                                          @amin@polymaths.social

                                                                                                                                          @kudzu @fbievan

                                                                                                                                          Problems? What problems? I don't have any problems.

                                                                                                                                          It isn't working AAAAAAAA

                                                                                                                                            ...

                                                                                                                                            kudzu »
                                                                                                                                            @kudzu@polymaths.social

                                                                                                                                            @amin @fbievan oh no.. maybe distract yourself with problems that get exponentially worse so you never worry about one for too long??

                                                                                                                                              ...

                                                                                                                                              Amin Hollon 🏳 »
                                                                                                                                              @amin@polymaths.social

                                                                                                                                              @kudzu @fbievan

                                                                                                                                              So, business as usual, then.

                                                                                                                                                Luke Harby »
                                                                                                                                                @lukeharby@infosec.exchange

                                                                                                                                                @amin worthy of a follow ESPECIALLY given your wonderful avatar.

                                                                                                                                                  ...

                                                                                                                                                  Amin Hollon 🏳 »
                                                                                                                                                  @amin@polymaths.social

                                                                                                                                                  @lukeharby

                                                                                                                                                  Haha, I appreciate it! I drew it in pure HTML/CSS, years ago. ;)

                                                                                                                                                  https://codepen.io/benjaminhollon/pen/pogVzbY

                                                                                                                                                  I then ended up turning it into a live coding demo with editable source on an old version of my website.

                                                                                                                                                  Amin Hollon 🏳 »
                                                                                                                                                  @amin@polymaths.social

                                                                                                                                                  Send help, this is starting to go viral and I haven’t had my shots!

                                                                                                                                                  CJ »
                                                                                                                                                  @roguefoam@polymaths.social

                                                                                                                                                  @amin I read a blog post about this exact thing the other day but now I can’t find it 😭😭😭

                                                                                                                                                  ...
                                                                                                                                                  dharmik boosted

                                                                                                                                                  James Endres Howell »
                                                                                                                                                  @jameshowell@fosstodon.org

                                                                                                                                                  Edsger W. Dijkstra (1975):

                                                                                                                                                  "The tools we use have a profound (and devious!) influence on our thinking habits, and, therefore, on our thinking abilities."

                                                                                                                                                  ...
                                                                                                                                                  dharmik boosted

                                                                                                                                                  dharmiik »
                                                                                                                                                  @dharmiik@social.photo

                                                                                                                                                  cutie spotted.

                                                                                                                                                  screwlisp boosted

                                                                                                                                                  Paolo Amoroso »
                                                                                                                                                  @amoroso@fosstodon.org

                                                                                                                                                  I hear you like dialogs and property sheets, so here goes. This is the TEdit rich text editor of Medley Interlisp with an open document and the free menus (i.e. dialogs) for controlling text attributes, paragraph formatting, page layout, index and TOC.

                                                                                                                                                  Screenshot of the black and white desktop of a 1980s graphical workstation environment. The desktop has a gray background pattern and some windows with a white background and a title bar with white text on a black background. The main window shows a document open in a word processor. Above the main window, one above the other, are 4 dialog boxes for controlling various properties of the formatting and layout of the document.

                                                                                                                                                  Alt...Screenshot of the black and white desktop of a 1980s graphical workstation environment. The desktop has a gray background pattern and some windows with a white background and a title bar with white text on a black background. The main window shows a document open in a word processor. Above the main window, one above the other, are 4 dialog boxes for controlling various properties of the formatting and layout of the document.

                                                                                                                                                    ...

                                                                                                                                                    lispm »
                                                                                                                                                    @symbolics@mastodon.social

                                                                                                                                                    @amoroso that's serious Lisp UI p*rn

                                                                                                                                                      ...
                                                                                                                                                      dharmik boosted

                                                                                                                                                      Paolo Amoroso »
                                                                                                                                                      @amoroso@fosstodon.org

                                                                                                                                                      @symbolics Who needs color when we have 1-bit graphics?

                                                                                                                                                        ...

                                                                                                                                                        lispm »
                                                                                                                                                        @symbolics@mastodon.social

                                                                                                                                                        @amoroso I've used b&w 1 bit a lot with the Atari ST 1040, the Mac SE/30, the Symbolics 3640. Back in the days when large bitmap screens were still expensive...

                                                                                                                                                          ...
                                                                                                                                                          0 ★ 0 ↺

                                                                                                                                                          dharmik »
                                                                                                                                                          @dharmik@linuxusers.in

                                                                                                                                                          on the signal, i took out my phone to reply to a few messages. the guy beside me, amazed at its small size, asked which phone it was. i love my pixel 8a for how compact it is. we live in a world where a 6.1" display is considered small—and i love it.

                                                                                                                                                          1 ★ 2 ↺
                                                                                                                                                          Samuel Chase boosted

                                                                                                                                                          dharmik »
                                                                                                                                                          @dharmik@linuxusers.in

                                                                                                                                                          any past contributors here?

                                                                                                                                                            ...

                                                                                                                                                            Samuel Chase »
                                                                                                                                                            @samebchase@fantastic.earth

                                                                                                                                                            @dharmik did a GSoC with Inkscape way back in 2012.

                                                                                                                                                              ...
                                                                                                                                                              1 ★ 0 ↺

                                                                                                                                                              dharmik »
                                                                                                                                                              @dharmik@linuxusers.in

                                                                                                                                                              ah, amazing. please share how your experience was and what did you accomplish? how did you end up applying?

                                                                                                                                                                ...

                                                                                                                                                                Samuel Chase »
                                                                                                                                                                @samebchase@fantastic.earth

                                                                                                                                                                @dharmik required that you fix two bugs. I think I must have fixed two bugs from the bug tracker, and then chose one of the GSoC projects and wrote a proposal.

                                                                                                                                                                My GSoC was successful in the sense that my mentor and I did some work on the guidelines in Inkscape. Was able to get some understanding of the codebase. Unfortunately, by the time the project ended, the code was no where ready to being merged, and I went into full time university. I was not able to regularly contribute to Inkscape after that. Ideally we should have chosen a project that could be merged within two months.

                                                                                                                                                                My mentor was nice and supportive. Had a great experience overall. Learnt a lot. I think I was the first person to build Inkscape with clang++. Made a small patch that allowed Inkscape to be built with that compiler.

                                                                                                                                                                I definitely would like to contribute to Inkscape some day...

                                                                                                                                                                  1 ★ 0 ↺

                                                                                                                                                                  dharmik »
                                                                                                                                                                  @dharmik@linuxusers.in

                                                                                                                                                                  i love open source, but hate the contributors who do it for the name sake of it. if there's a organization whose products you use and either want to know the workings of it and can contribute it. certainly go for it. but not for the tag of open source.

                                                                                                                                                                  https://summerofcode.withgoogle.com/

                                                                                                                                                                  3 ★ 2 ↺

                                                                                                                                                                  dharmik »
                                                                                                                                                                  @dharmik@linuxusers.in

                                                                                                                                                                  toot.py is now compatible with snac. wooh.

                                                                                                                                                                  thanks to @ihabunek@mastodon.social

                                                                                                                                                                  posted from !

                                                                                                                                                                    ...

                                                                                                                                                                    Ворон »
                                                                                                                                                                    @voron@no.run.place

                                                                                                                                                                    Is this a console client? Can you provide a link?

                                                                                                                                                                      ...
                                                                                                                                                                      1 ★ 0 ↺

                                                                                                                                                                      dharmik »
                                                                                                                                                                      @dharmik@linuxusers.in

                                                                                                                                                                      yes, it is.

                                                                                                                                                                      https://github.com/ihabunek/toot

                                                                                                                                                                      some things work and few don't. you will be able to browse, reply and post from it.

                                                                                                                                                                        1 ★ 0 ↺

                                                                                                                                                                        dharmik »
                                                                                                                                                                        @dharmik@linuxusers.in

                                                                                                                                                                        and here i am—just a few days away from semester 4 starting in college. life moves fast.

                                                                                                                                                                        1 ★ 0 ↺

                                                                                                                                                                        dharmik »
                                                                                                                                                                        @dharmik@linuxusers.in

                                                                                                                                                                        for posterity. social bookmarking and read-it-later app with .

                                                                                                                                                                        https://github.com/ckolderup/postmarks

                                                                                                                                                                          ...
                                                                                                                                                                          0 ★ 0 ↺

                                                                                                                                                                          dharmik »
                                                                                                                                                                          @dharmik@linuxusers.in

                                                                                                                                                                          there seems to be lot of fun scope in this. i wish postmarks had support for multi users. it'd be better if it independently was a complete bookmarking solution having social feature of fediverse.

                                                                                                                                                                            1 ★ 0 ↺
                                                                                                                                                                            in reply to »

                                                                                                                                                                            dharmik »
                                                                                                                                                                            @dharmik@linuxusers.in

                                                                                                                                                                            get busy living
                                                                                                                                                                            i really like be drunk by charles baudelaire that talks about similar ideas.

                                                                                                                                                                            You have to be always drunk. That’s all there is to it—it’s the only way. So as not to feel the horrible burden of time that breaks your back and bends you to the earth, you have to be continually drunk.

                                                                                                                                                                              dharmik boosted

                                                                                                                                                                              Royce Williams »
                                                                                                                                                                              @tychotithonus@infosec.exchange

                                                                                                                                                                              RIP George Coulouris, CS pioneer and author of em (which inspired vi).

                                                                                                                                                                              theguardian.com/education/2025

                                                                                                                                                                              ...
                                                                                                                                                                              1 ★ 0 ↺

                                                                                                                                                                              dharmik »
                                                                                                                                                                              @dharmik@linuxusers.in

                                                                                                                                                                              @tychotithonus@infosec.exchange i just checked George Coulouris's wiki and it says he died in nov last year.

                                                                                                                                                                                ...

                                                                                                                                                                                Royce Williams »
                                                                                                                                                                                @tychotithonus@infosec.exchange

                                                                                                                                                                                @dharmik Yep, didn't mean to imply it was very recent. Just new to me.

                                                                                                                                                                                  0 ★ 2 ↺
                                                                                                                                                                                  dharmik boosted

                                                                                                                                                                                  rahul »
                                                                                                                                                                                  @rahul@linuxusers.in

                                                                                                                                                                                  Check out my new post on an interesting variant of tic-tac-toe: https://rahulpat1l.github.io/posts/ultimate-ttt/

                                                                                                                                                                                    2 ★ 1 ↺

                                                                                                                                                                                    dharmik »
                                                                                                                                                                                    @dharmik@linuxusers.in

                                                                                                                                                                                    can anyone recommend an easy way to install firefly iii (@ff3@fosstodon.org) on my vps, something similar to ? i’d prefer not to go through the entire documentation. is there a simpler method?

                                                                                                                                                                                      ...

                                                                                                                                                                                      Rahil Bhimjiani :tick_gold: »
                                                                                                                                                                                      @me@thoughts.rahil.rocks

                                                                                                                                                                                      @dharmik isn't it kind of ironic that Linuxusers.in is using ? ;-)

                                                                                                                                                                                        ...
                                                                                                                                                                                        0 ★ 0 ↺

                                                                                                                                                                                        dharmik »
                                                                                                                                                                                        @dharmik@linuxusers.in

                                                                                                                                                                                        well, lol yea. my college life budget permits me to use all the free resources i get on the web and most of the times it's freebsd.

                                                                                                                                                                                          Mikael Hansson »
                                                                                                                                                                                          @mikael@hachyderm.io

                                                                                                                                                                                          @me @dharmik It’s a natural progression as you build experience. 😆

                                                                                                                                                                                            0 ★ 2 ↺

                                                                                                                                                                                            dharmik »
                                                                                                                                                                                            @dharmik@linuxusers.in

                                                                                                                                                                                            anyone here from ahmedabad, india? i doubt i will find anyone from my college here, but if you are from and interested in or . join us:

                                                                                                                                                                                            https://dhrm1k.github.io/lju-lug/

                                                                                                                                                                                              0 ★ 0 ↺

                                                                                                                                                                                              dharmik »
                                                                                                                                                                                              @dharmik@linuxusers.in

                                                                                                                                                                                              there's this hugo theme i've been trying to configure, and the documentation sucks. later, i checked if anyone who forked it actually uses it so i could follow their setup—no luck.

                                                                                                                                                                                              ...
                                                                                                                                                                                              0 ★ 0 ↺

                                                                                                                                                                                              dharmik »
                                                                                                                                                                                              @dharmik@linuxusers.in

                                                                                                                                                                                              so what do we do? . build our own static site generator with the theme i want.

                                                                                                                                                                                                dharmik boosted

                                                                                                                                                                                                dharmiik »
                                                                                                                                                                                                @dharmiik@social.photo

                                                                                                                                                                                                very early morning long exposures after an all nighter.

                                                                                                                                                                                                with @sarthak@linuxusers.in .

                                                                                                                                                                                                2 ★ 1 ↺
                                                                                                                                                                                                Drew boosted

                                                                                                                                                                                                dharmik »
                                                                                                                                                                                                @dharmik@linuxusers.in

                                                                                                                                                                                                to anyone who still uses chrome.
                                                                                                                                                                                                uBlock Origin is no longer available on the Chrome Store
                                                                                                                                                                                                https://news.ycombinator.com/item?id=43322922

                                                                                                                                                                                                ...
                                                                                                                                                                                                0 ★ 0 ↺

                                                                                                                                                                                                dharmik »
                                                                                                                                                                                                @dharmik@linuxusers.in

                                                                                                                                                                                                when it comes to text-based social networks, it's almost always unsolicited and obvious that when someone asks a question, they expect a viewpoint. but when instagram influencers or creators ask something, i’m left wondering—did they actually want to know, or was it just engagement farming? or a rhetorical question they’re posting to post.

                                                                                                                                                                                                ...
                                                                                                                                                                                                0 ★ 0 ↺

                                                                                                                                                                                                dharmik »
                                                                                                                                                                                                @dharmik@linuxusers.in

                                                                                                                                                                                                installed . backed up 4922 photos. 7k more to go.

                                                                                                                                                                                                  ...
                                                                                                                                                                                                  0 ★ 0 ↺

                                                                                                                                                                                                  dharmik »
                                                                                                                                                                                                  @dharmik@linuxusers.in

                                                                                                                                                                                                  @dharmik@linuxusers.in and done. let's see how it goes.

                                                                                                                                                                                                    ...

                                                                                                                                                                                                    crow »
                                                                                                                                                                                                    @crow@irlqt.me

                                                                                                                                                                                                    @dharmik@linuxusers.in i love it, especially how you can set your own search and face detection classifiers

                                                                                                                                                                                                    especially that you can have it organize the photos into a sensible directory structure and naming so if/when i need to move on they are still in good order as plain files

                                                                                                                                                                                                    basically replaced 200 lines of bash for me, and with a much better UI 😁

                                                                                                                                                                                                    been working great for my partner and i so far

                                                                                                                                                                                                    immich server stats showing ~72k photos and ~4k videos stored

                                                                                                                                                                                                    Alt...immich server stats showing ~72k photos and ~4k videos stored

                                                                                                                                                                                                      0 ★ 2 ↺
                                                                                                                                                                                                      dharmik boosted

                                                                                                                                                                                                      rahul »
                                                                                                                                                                                                      @rahul@linuxusers.in

                                                                                                                                                                                                      Starting my personal blog. Here's the first post: https://rahulpat1l.github.io/posts/first-post/

                                                                                                                                                                                                      Thanks to @dharmik@linuxusers.in for the setup.

                                                                                                                                                                                                        1 ★ 1 ↺

                                                                                                                                                                                                        dharmik »
                                                                                                                                                                                                        @dharmik@linuxusers.in

                                                                                                                                                                                                        dharmik boosted

                                                                                                                                                                                                        dharmiik »
                                                                                                                                                                                                        @dharmiik@social.photo

                                                                                                                                                                                                        i am going to prank a hell lot of people with audio emojis.

                                                                                                                                                                                                        in reply to »

                                                                                                                                                                                                        visuwesh »
                                                                                                                                                                                                        @viz@mastinsaan.in

                                                                                                                                                                                                        ...

                                                                                                                                                                                                        Drew »
                                                                                                                                                                                                        @crmsnbleyd@hachyderm.io

                                                                                                                                                                                                        @viz no interaction on anything I post or reply

                                                                                                                                                                                                          ...

                                                                                                                                                                                                          visuwesh »
                                                                                                                                                                                                          @viz@mastinsaan.in

                                                                                                                                                                                                          @crmsnbleyd ahhh, I can hear you loud and clear tho

                                                                                                                                                                                                            1 ★ 0 ↺

                                                                                                                                                                                                            dharmik »
                                                                                                                                                                                                            @dharmik@linuxusers.in

                                                                                                                                                                                                            well you are visible to me.

                                                                                                                                                                                                              0 ★ 0 ↺

                                                                                                                                                                                                              dharmik »
                                                                                                                                                                                                              @dharmik@linuxusers.in

                                                                                                                                                                                                              any veteran user here? i can't figure out a few things. first of all i went for 256gb model because i didn't want to buy a new subscription for storage, but now it appears that the google photos app is not letting me save anything on the photos app because i don't have any storage (maxxed out the 15 gb default)

                                                                                                                                                                                                              @googlepixel@lemmy.ml @android@lemmy.world

                                                                                                                                                                                                                ...

                                                                                                                                                                                                                Elvith Ma'for »
                                                                                                                                                                                                                @elvith@feddit.org

                                                                                                                                                                                                                I think you’re misunderstanding - it doesn’t let you upload, as you have exceeded your cloud storage (15GB). The photos should still be on your local storage on the phone (which is the 256GB you mentioned). In the past, you usually got a free subscription for the cloud storage when using a pixel phone (at least for 1-2 years when registering a Pixel IIRC), but Google got rid of that a few Pixel generations ago.

                                                                                                                                                                                                                  ...
                                                                                                                                                                                                                  0 ★ 0 ↺

                                                                                                                                                                                                                  dharmik »
                                                                                                                                                                                                                  @dharmik@linuxusers.in

                                                                                                                                                                                                                  so is it like i can see only uploaded photos in the google photos app and have to download another photos app to see local images. because i like a lot of photos that the photos memory feature has been curating and when i go to save it, it tells me that i can't because i have exceeded my storage.

                                                                                                                                                                                                                    ...

                                                                                                                                                                                                                    Elvith Ma'for »
                                                                                                                                                                                                                    @elvith@feddit.org

                                                                                                                                                                                                                    If you open Google Photos, you can go to „Collections“ (bottom center) and then you should be able to select „on this device“. But yeah, I think it’s annoying to „hide“ local media to push users for cloud subscriptions.

                                                                                                                                                                                                                    If you want to stay with Google, you could look at Google Gallery, which should only display your local library - or use any other gallery app.

                                                                                                                                                                                                                      0 ★ 0 ↺

                                                                                                                                                                                                                      dharmik »
                                                                                                                                                                                                                      @dharmik@linuxusers.in

                                                                                                                                                                                                                      posting this from qutebrowser. uhm uhm. loving it so far.

                                                                                                                                                                                                                      ...

                                                                                                                                                                                                                      visuwesh »
                                                                                                                                                                                                                      @viz@mastinsaan.in

                                                                                                                                                                                                                      @dharmik is it still a battery hog

                                                                                                                                                                                                                        ...
                                                                                                                                                                                                                        0 ★ 0 ↺

                                                                                                                                                                                                                        dharmik »
                                                                                                                                                                                                                        @dharmik@linuxusers.in

                                                                                                                                                                                                                        well, sorry i am using it on a desktop. so no idea.

                                                                                                                                                                                                                          0 ★ 0 ↺

                                                                                                                                                                                                                          dharmik »
                                                                                                                                                                                                                          @dharmik@linuxusers.in

                                                                                                                                                                                                                          ios whatsapp app was more clean and i used to go and click on the status section. the android app just sucks.

                                                                                                                                                                                                                          0 ★ 0 ↺

                                                                                                                                                                                                                          dharmik »
                                                                                                                                                                                                                          @dharmik@linuxusers.in

                                                                                                                                                                                                                          too much chaos today. need a book and chill.

                                                                                                                                                                                                                          dharmik boosted

                                                                                                                                                                                                                          Hacker News 50 » 🤖
                                                                                                                                                                                                                          @hn50@social.lansky.name

                                                                                                                                                                                                                          How did places like Bell Labs know how to ask the right questions? (2023)

                                                                                                                                                                                                                          Link: freaktakes.com/p/how-did-place
                                                                                                                                                                                                                          Discussion: news.ycombinator.com/item?id=4

                                                                                                                                                                                                                          0 ★ 0 ↺

                                                                                                                                                                                                                          dhanashree »
                                                                                                                                                                                                                          @dhanashree@linuxusers.in

                                                                                                                                                                                                                          My personal Site has made me fall in love with the Three.js learning journey.

                                                                                                                                                                                                                          ...
                                                                                                                                                                                                                          1 ★ 0 ↺

                                                                                                                                                                                                                          dharmik »
                                                                                                                                                                                                                          @dharmik@linuxusers.in

                                                                                                                                                                                                                          @dhanashree@linuxusers.in trust me it gets better. three js is amazing.

                                                                                                                                                                                                                            ...
                                                                                                                                                                                                                            0 ★ 0 ↺

                                                                                                                                                                                                                            dhanashree »
                                                                                                                                                                                                                            @dhanashree@linuxusers.in

                                                                                                                                                                                                                            Only because of your one "why" question, I am now taking more interest in Three.js!

                                                                                                                                                                                                                              ...
                                                                                                                                                                                                                              0 ★ 0 ↺

                                                                                                                                                                                                                              dharmik »
                                                                                                                                                                                                                              @dharmik@linuxusers.in

                                                                                                                                                                                                                              i didn't know has even discontinued the pocket chrome extension. i want a good read-it later bookmarking app. i like pocket because it recommend really good articles.

                                                                                                                                                                                                                                History

                                                                                                                                                                                                                                Back to top - More...