Skip Navigation

Posts
3
Comments
44
Joined
2 yr. ago

    • nc - ncurses
    • mpc - music player client
    • cpp - C plus plus
  • interesting you used grep because it's a command that has a very clear origin.

    in ed/vi the g command was used to run commands on some pattern. eg g/[regex pattern]/[command]

    the p command was used to print current line so to print any line that matched the string "grep" you would do: g/grep/p.

    when this was made into a seperate command it was called grep: g/re/p. using re to denote regex.

  • Permanently Deleted

    Jump
  • My explanation of authority wasn't meant as a definition but rather a brief summarisation of a complex concept, Andrew does a better job actually explaining it. Like pointing out that Authority is confused with a lot of different concepts like respect or influence. Which I'm starting to suspect is happening here. meaningful human relationships are based on mutual respect. This is not authority as it is voluntary, reciprocated and revoked as soon as the other party steps over the line. This is what I believe is the basis of society and what we need to return to in order to live a truly free life. In modern society in most interactions respect has been replaced with authority. People in positions of power even use them synonymously.

  • Permanently Deleted

    Jump
  • Not the one you responded to but how about the tiredness-fuelled rant that I replied to the other person with.

  • Permanently Deleted

    Jump
  • Just another way the state capitalist soviet union was closer to capitalism than socialism.

  • Permanently Deleted

    Jump
  • So here's a little bit of lemmy lore for you. You're instance lemmy.ml is considered to be a tankie instance by some users. lemmy.dbzer0.com is an anarchist instance. The user you responded to probably made a generalisation based on this and assumed you were familiar with anarchist/communist/socialist/leftist discourse. From this comment I assume they were wrong.

    So on behalf of no-one but myself: Hello! Welcome to Anarchism! The belief that authority should not exist. This belief comes from a lot of different places and wears a lot of different faces. Most short explanations aren't sufficient and long explanation bore most. If you don't mind a little learning here is a link: https://anarchistfaq.org/afaq/sectionA.html#seca1 and another one https://crimethinc.com/2016/09/28/feature-the-secret-is-to-begin-getting-started-further-resources-frequently-asked-questions#faq or if you like videos: https://youtu.be/lrTzjaXskUU.

    Also a little bit about authority: people use authority to mean many things (this is even bought up in the video I linked above). But as far as anarchists are concerned (in general (no specific statement can be made about a group so vast)) authority is the act of coercing people to follow orders or commit involuntary acts. You're boss can coerce you to neglect your health by threatening to fire you. Your government can force you to obey gender roles by threatening to jail you. A rich person can make you do whatever demeaning thing they want by dangling money in front of you (for reference see mrbeast) because otherwise your landlord will kick you out. This is authority and it is wrong. Those in authority can make mistakes, become greedy and start to think they have the power to do whatever they want (mostly because they can). This leads to suffering. My meaning of life is to minimise suffering. Anarchy is the belief that no-one should hold power over others. That all leadership should be scrutinised. It rejects blind faith in single people and encourages to think for yourself so no-one can do you wrong. And if you can't be bothered, it encourages you to find people who genuinely care about you and let them stand up for you.

  • Was inspired by the article to draw this. Sadly It doesn't make much sense without context.

  • The Idea is that the enum acts as a union, capable of holding any of the member types, It's not that different from using identifiers and when transpiling to rust I will probably only support variants beginning with string literals (or maybe generate them).

    The main reason is that I could use type inference to define the variants in a returned anonymous enum.

    I like the pipe symbol because it is useful for distinguishing between enums and structs without keywords. And I just personally think it looks better. And allow for pretty anonymous enums like (|String |Int) for something that can accept both a string and an integer.

  • Programming @programming.dev

    Opinions on this syntax for enums?

  • Not having a license is "All Rights Reserved". That's why I bothered with the license section in the readme at all.

  • Thanks!

    I intend for the language to have a similar borrow checker and type system. Which is why I'm targeting rust. It means I have something to check against when writing the tooling. (Although I'm not sure I'll get that far. My computer is littered with dead projects).

  • I don't really want to clutter the repo with something so frivolous. If they were links or an SPDX ID would that be enough?

  • I'm intending to use this for a custom language "OA" that I want to compile to Rust and JS to start with.

    I don't know enough about LLVM to compile directly to machine code although I would like to.

  • Programming @programming.dev

    I made a thing.

  • Programming @programming.dev

    Can you use 0x1E-0x1F ASCII codes?

  • Isn't this the source for the relay? https://github.com/bluesky-social/indigo/tree/main/cmd/bigsky

    And even then the readme says:

    A note and reminder about Relays in general are that they are more of a convenience in the protocol than a hard requirement. The "firehose" API is the exact same on the PDS and on a Relay. Any service which subscribes to the Relay could instead connect to one or more PDS instances directly.

    And the PDS source code is here: https://github.com/bluesky-social/pds

    EDIT: The PDS source is actually here: https://github.com/bluesky-social/atproto/tree/main/packages/pds the other link is for self hosting.

  • Lets ditch base10 entirely and use 0(freezing)-216(boiling). that means 0-1000 in base6.

  • Wube (creators of Factorio) have the best customer policy in game development.

    • Don't go on sale so you will always pay the cheapest price.
    • if you have the game on steam you can download a DRM-free version directly from their website. (alongside all old versions)
    • Encourage the community to create mods, host your own mod portal accessible inside the game.
    • Make a good game.
    • Be open about game development through monthly blog posts.

    The only way I would like it more is if the game was open source but since that's impossible to sell I will take this.

  • You could have a command that recommends commands and then you select them on a drop-down list.

    Alternatively if the dataset is verified you wouldn't need to worry about it running dangerous commands, since it doesn't know any. Or you could have a list of verified commands that run automatically and any command not on that list requires confirmation.

    But this is missing the point that most of the time I know exactly what command I want to run so adding a LLM Is quite useless. The reason so much of linux is still relying on commands is because for a lot of people (myself included) commands are quick and efficient.

  • Ideology. every cent a capitalist doesn't make because of me is a small victory.