sga

joined 3 months ago
MODERATOR OF
[–] sga 0 points 3 days ago

I do not have any other program to add (the only options i know are already commented by others), there is one more, you can use a keepass (and/or -xc) database as a folder, and dump files, it is not visible in os file manager, but still cross platform and simple enough, but because of nature of how the encryption is done for a keeepass database, for each file added, whole database is updated (if you have a large folder, then that would be a large file saved, and encrypteed, so it can get slow). I do something handrolled, where if i use a regular folder, but all the files added to it are encrypted by pass (that is gpg), this way, files are encrypted, but saved atomically. But this has some downsides. due to simplistic nature of pass, the output file is not given any fancy unidentifiable name like cryptomator (they also do some atomic file encryptions only, but also do file chunking (split file in multiple parts, and encrypt them seperately, helps with prevention of identification of file by its size) and maintain a map (which, well, maps the file to a unidentifiable name).

But what i can say is, it is not much of "added" protection. If you are leaving your system unlocked, and then fear someone will come and check files, then it can potentiall be of help, but if system is locked, and yiu use a secure lock (many systems have locks which either power machine off after certain attempts, or in case they crash (all programs eventually crash), then they also take system down(and this is good, as system is not left unlocked at any point)) or not powered, then normal disk encryyption is enough, even with against a state level adversary. almost no one is breaking encryptions.

[–] sga 0 points 3 days ago (3 children)

That may be the case, but i have seen websites use js for it. Another thing is, what version of css does wikipedia target, as ye older verisons might not have that.

[–] sga 1 points 3 days ago* (last edited 3 days ago)

me too, i was simplifying it. I have a global js disable rule, and whitelist a shorter list

[–] sga 0 points 3 days ago

eli5 - basically all materials have spins (As in electron spins), and magnetism is basically these tiny spins in materials, if paired - diamagnetism (all materials have this), paramagnetism (if you have unpaired electrons), and ferromagnetism (for now consider it special case of para). When heated up beyond curie temperature, ferro becomes para (kinda like fall back). Almost all metals are either para or ferro.

Now all materials kinda resist getting their state changed (there are 3 "energies" at play - exchange energies of electrons (consider the friendship force between electrons), electrons and external field, and the temperature "energy" (there is no real temp energy, but there is something like energy in form of k_B T, but that is not for now)). eddy current is basically manifestation of this (consider it like resistance to change of magnetisation by external field, by creating a field in opposite direction).

[–] sga 2 points 3 days ago

this is actually upliftting news

[–] sga 4 points 3 days ago* (last edited 3 days ago) (7 children)

usually it is just a redirection. One of the reasons wiki does this is that their stack is more older device friendly (for the most part, you can use wikipedia perfectly fine without any js), and having adaptive view usually requires js (there are some other ways too), but wiki is constrained. So when browser recieves a request from a mobile user agent, they just redirect to mobile site.

[–] sga 1 points 3 days ago

it is close to being prompt. You have to look for models which are trianed with tool calling in training (if i am not wrong, mistral 7b 0.3 is one such model, many big models have that, probably phi also, and gemma 3 11/27 b might also have it (this is a thing you can check in their huggingface readme).

If it is in their training, then they can ouptut a tool calling token (i do not remember what is called, but lets say it is [call-tool]). So when you would ask it do some calculation (many models available on chat interface of huggingface have selectable tools you can decide from, enable or disable them, math is one of them) then they would decide if it is appropriate to call a tool (you would not call math tool if you wrote hello). Once they emit a [call-tool] token, then they would prepare some "structred data" (most models do json) lets say prompt was, find integral of sin for 3/4 of its period. And lets consider the model is smart enough to call a tool, and also smart enough to prepare a reasonable structure of it, for example, for maths stuff, they are usually converted to one of either latex or python compatible first, depending on the interface it was trained. lets say this one is trained for latex, then it would generate [call-token] { type_of_tool: "math"; prompt: "$integral_0^(3/2 * pi) sin (x) dx$"; } then the interface (where you are running code) is expected to take over from here, depending on interface, the generation of response would either be frozen, and then resumed, with the result of input now part of current chain, or some would let it continue its yapping, and then pasted a littel afterwards, and then continued to generate output. the json would now be processed by interface, and a relavent tool would be called, which would process the input, and produce its own output (most likely also json), and then given to input.

If you want to implement it yourselves, you can probably take a look at llama cpp implementation, if not use it in llama cpp https://github.com/ggml-org/llama.cpp/blob/master/docs/function-calling.md

also, it would most likely be available in ollama too.

Most agentic model stuff is basically tool-calling in steroids.

[–] sga 1 points 5 days ago (1 children)

well i would like to understand what can you do with it. Also, simplicity is in the eye of beholder

[–] sga 5 points 5 days ago (1 children)

if it is fresh then most likely not, i have had very fresh eggplants (3-4 hrs after getting from field) and it had spots. I am not sure, but i think it is fine, but if it is old, then your hypothesis can not be ruled out easily

[–] sga 5 points 5 days ago

leave the home, and hope that they are happy with that, in case that is not enough, you can give up non vital appendages

[–] sga 27 points 5 days ago (3 children)

eating eggplant for years, it is fine - a general rule of thumb - if if looks good, smells good, doesnt seem wierd to touch, and does not taste bad, it is probably good (does not apply to wild berries/leaves/mushrooms).

[–] sga 1 points 6 days ago

Assuming the planets start with similaar mass as in our universe, then redline would have to be 100s of kms high. My currently accepted theory is red line jorgmundar (or however it is spelt) wrapped around the earth.

3
submitted 1 month ago* (last edited 1 month ago) by sga to c/india@lemmy.ml
 

Lets submit a India entry - !lemmyvision@jlai.lu

We will submit a song (by replying to this post) - and others should vote (upvote or downvote) any existing submission they would like to too - the most upvoted song across all three India communities (listed below) will be considered as our submission. Song requirement is basically - Something released in last 1 year (basically Jan 2024 to March 2025) which is openly accessible (that is not paywalled, so anything on youtube works, and so does non premium spotify, patreon, etc. stuff)

Crossposted to - !india@lemmy.run !india@lemmy.ml !india@lemm.ee !delhi@lemmings.world

A copy of the body of the post linked for details

Hey everyone!

I hope you’ve had a wonderful year and are ready to discover new music, because the Lemmyvision song contest return now for its second edition! For those not in the loop, read below to learn more about this Lemmy Event:

TL;DR

From right now and until April 1st, discuss with your country’s community on Lemmy about which song to send to the contest. Submit the song in this community by makign a new thread. On April 2nd, voting will begin, where you will rank your favourite songs in a form. Any song not submitted by this date will not be featured. On April 8th, results of everyone’s favourite songs will be published. You can use !lemmyvision@jlai.lu for any question, this will be the community for updates and results, make sure to subscribe if you’d like to stay in the loop. What is Lemmyvision?

Lemmyvision is inspired from Eureddision (itself a reenactment of the Eurovision song contest) which was held on r/europe some years ago, and based on the participation of national communities / instances and the delicate musical taste of their members (you!).

Every country/community is welcome to participate! The contest follows the rule of “national languages only” but regional languages are welcome too, if your community would like to feature a song in a regional language of your country, that’s awesome. The aim is to promote different languages and cultures from around the world, to share more between our online communities across Lemmy, and discover songs from lesser known artists.

Last year, an exception was made for the programming.dev Lemmy community to participate by sending a song related to their main interest (they sent a video game soundtrack), if your community does not represent a specific country or language but wants to participate by sending a song related to your instance center of interest, you’re welcome to do so! For example, lemmy.blahaj.zone could send a song composed by a Queer person!

How it works:

This post, and the !lemmyvision@jlai.lu community will be open until April 1st, and I will start promoting the event on various instances and communities. Lemmy communities who want to participate have the responsibility to gather its members and vote on a single song to send for the contest. On April 2nd, the songs will be locked in. A playlist will be created to allow you to listen to all of the submitted songs, and communities will be invited to vote on their favourite. The voting is estimated to last for about a week. On April 8th the results will be published, with a ranking of everyone’s favourite songs!

I don’t expect countries with a “small” population to be accurately represented on Lemmy, so no worries if you don’t have a community and are just a small group of people, or if your country is not even on Lemmy but another platform (Kbin and whatnot), I can make exceptions, just reach out!

Regional languages are welcome as well! Basque, Welsh, Cherokee… You’re welcome to promote a non official language instead!

Song submission:

Each Lemmy community is responsible for their own organization. Only one (1) song is to be sent to represent your community. If the song contains vocals then it must be in (one of) the official language(s) of your choice, or a regional language of your choice. Songs must have been released within the last year (after January 1st, 2024). Songs must not be international hits[1]. Submit your songs in their own thread in this community Verification will just require a link to the discussion thread created within your community, to ensure it’s a community (not a single person’s) decision. [1] this is to prevent drama that happened in the past on Reddit, where Germany sent a Rammstein song and obviously won. It’s up to my own appreciation of what international hit means, because it’s hard to measure (metrics on youtube or spotify aren’t the same), but I’m pretty lenient, just ask me if you’re not sure, better to discuss it than argue

Voting:

Voting will be done through a form created on tally.so. I will set up the form near the end of the month, and share it in a new announcement post when the time has come. If you’re worried about privacy, there will be no questions about personal data, and last year I deleted the form and its results a week after the event was done. On Federation:

I don’t discriminate based on instances, if your account is not on the same instance as your community, that’s totally fine. Additionally, if you’re on another Fediverse/Activitypub platform and would like to participate, and you’re able to federate with your representing Lemmy community, you’re welcome to join us, I’d just like to keep organization within Lemmy so it’s easier to track participations.

Would you like to help?

Last year went really well, and I managed to handle the thing alone. Programming.dev even helped with setting up the playlist! If you’d like to help in any way, please feel free to reach out, I’d love to have as many people as possible involved!!

Cheers!

1
submitted 1 month ago* (last edited 1 month ago) by sga to c/india@lemmy.run
 

Lets submit a India entry - !lemmyvision@jlai.lu

We will submit a song (by replying to this post) - and others should vote (upvote or downvote) any existing submission they would like to too - the most upvoted song across all three India communities (listed below) will be considered as our submission. Song requirement is basically - Something released in last 1 year (basically Jan 2024 to March 2025) which is openly accessible (that is not paywalled, so anything on youtube works, and so does non premium spotify, patreon, etc. stuff)

Crossposted to - !india@lemmy.run !india@lemmy.ml !india@lemm.ee !delhi@lemmings.world

A copy of the body of the post linked for details

Hey everyone!

I hope you’ve had a wonderful year and are ready to discover new music, because the Lemmyvision song contest return now for its second edition! For those not in the loop, read below to learn more about this Lemmy Event:

TL;DR

From right now and until April 1st, discuss with your country’s community on Lemmy about which song to send to the contest. Submit the song in this community by makign a new thread. On April 2nd, voting will begin, where you will rank your favourite songs in a form. Any song not submitted by this date will not be featured. On April 8th, results of everyone’s favourite songs will be published. You can use !lemmyvision@jlai.lu for any question, this will be the community for updates and results, make sure to subscribe if you’d like to stay in the loop. What is Lemmyvision?

Lemmyvision is inspired from Eureddision (itself a reenactment of the Eurovision song contest) which was held on r/europe some years ago, and based on the participation of national communities / instances and the delicate musical taste of their members (you!).

Every country/community is welcome to participate! The contest follows the rule of “national languages only” but regional languages are welcome too, if your community would like to feature a song in a regional language of your country, that’s awesome. The aim is to promote different languages and cultures from around the world, to share more between our online communities across Lemmy, and discover songs from lesser known artists.

Last year, an exception was made for the programming.dev Lemmy community to participate by sending a song related to their main interest (they sent a video game soundtrack), if your community does not represent a specific country or language but wants to participate by sending a song related to your instance center of interest, you’re welcome to do so! For example, lemmy.blahaj.zone could send a song composed by a Queer person!

How it works:

This post, and the !lemmyvision@jlai.lu community will be open until April 1st, and I will start promoting the event on various instances and communities. Lemmy communities who want to participate have the responsibility to gather its members and vote on a single song to send for the contest. On April 2nd, the songs will be locked in. A playlist will be created to allow you to listen to all of the submitted songs, and communities will be invited to vote on their favourite. The voting is estimated to last for about a week. On April 8th the results will be published, with a ranking of everyone’s favourite songs!

I don’t expect countries with a “small” population to be accurately represented on Lemmy, so no worries if you don’t have a community and are just a small group of people, or if your country is not even on Lemmy but another platform (Kbin and whatnot), I can make exceptions, just reach out!

Regional languages are welcome as well! Basque, Welsh, Cherokee… You’re welcome to promote a non official language instead!

Song submission:

Each Lemmy community is responsible for their own organization. Only one (1) song is to be sent to represent your community. If the song contains vocals then it must be in (one of) the official language(s) of your choice, or a regional language of your choice. Songs must have been released within the last year (after January 1st, 2024). Songs must not be international hits[1]. Submit your songs in their own thread in this community Verification will just require a link to the discussion thread created within your community, to ensure it’s a community (not a single person’s) decision. [1] this is to prevent drama that happened in the past on Reddit, where Germany sent a Rammstein song and obviously won. It’s up to my own appreciation of what international hit means, because it’s hard to measure (metrics on youtube or spotify aren’t the same), but I’m pretty lenient, just ask me if you’re not sure, better to discuss it than argue

Voting:

Voting will be done through a form created on tally.so. I will set up the form near the end of the month, and share it in a new announcement post when the time has come. If you’re worried about privacy, there will be no questions about personal data, and last year I deleted the form and its results a week after the event was done. On Federation:

I don’t discriminate based on instances, if your account is not on the same instance as your community, that’s totally fine. Additionally, if you’re on another Fediverse/Activitypub platform and would like to participate, and you’re able to federate with your representing Lemmy community, you’re welcome to join us, I’d just like to keep organization within Lemmy so it’s easier to track participations.

Would you like to help?

Last year went really well, and I managed to handle the thing alone. Programming.dev even helped with setting up the playlist! If you’d like to help in any way, please feel free to reach out, I’d love to have as many people as possible involved!!

Cheers!

 

A community for Delhi folks, but anyone from the world is welcome. Anything is welcome (just check sidebar) - memes, news, discussion, media (photos, videos of something you want to share)

https://lemmings.world/c/delhi !delhi@lemmings.world

13
I made the first post here (self.CongratsLikeImFive)
 

(Sorry for the really low effort post, but the idea is pretty dope)

51
submitted 2 months ago by sga to c/wallpapers@lemmy.ca
 

This is (in my opinion) one of the single biggest achievements of humanity.

Image of Sagittarius A* black hole at center of our Galaxy, taken by Event Horizon Telescope team. This one is also refined with magnetic field lines.

I don't remember what was the exact source for me, but one of the possible ones is https://s3.amazonaws.com/cms.ipressroom.com/173/files/20247/66c7d3d62cfac2492a9bdd54_Sagittarius+A/Sagittarius+A_hero.jpg. I just made it grayscale, some dimming, and resizing, to not cover whole of screen.

-5
A message of Non-Violence (en.wikipedia.org)
submitted 2 months ago by sga to c/usa@lemmy.ml
 

I don't want to write a very long post, but I just wanted to remind everyone about this.

I recently learnt about protest on February 5th, and just wanted to spread this. The wiki page has a huge table of non-violent protests.

I know many people are disheartened, and in such circumstances, people often resort to violence (sometimes to send messages, sometimes in response to another violence, sometimes in catharsis).

I am from land of Gandhi, and a huge admirer of his work. Many people even in my country today feel Gandhi was useless or found him problematic for n number of reasons, some partially valid, many not, but this post is not about him. What I want to highlight is his idea of Satyagraha - it is essentially a exercise in (and for) truth. 2 famous non violent movements of his time being civil disobedience and non-cooperation. Names give the core ideas away - but essentially - break laws peacefully. To elaborate - 1 of them was against a salt tax law. They just made salt, and did not pay tax. It was both literal and symbolic, in the sense that they stopped paying taxes - and EIC were hit both financially and political power wise.

And these are not the only peacefully protests our land, one of the most recent ones was a farmers protest (for context, in India, majority people are still employed by farming), and roughly after a year of protest, they got there demands met.

I wanted to add a US specific example, and I can't think of anything better than Stop War protests regarding Vietnam War.

TL;DR - Peaceful protests work, you just have to be persistent

 

Dreams are basically simulations of our lives that we run, sometimes with different physical constants, resulting in different worldly behaviours. Fever dreams (not necessarily during a fever) are when we are sweeping over a range of constants, so behaviour keeps on changing.

 

Old title - Tolerance - Is violence ever justified?

For reference - https://lemmings.world/post/19791264 and all comments below the post about tolerance and non-tolerance

is it too naive for me to believe any and every lives matter? I do understand if someone is coming for my life, and i stop him by retaliating back, most nation's laws would deem me innocent, maybe even most people will - but was it right?

It has not happened with me yet, and this is post is not politics related, a general discussion about tolerance, but I dont know how will I respond to such a situation, Is there a correct approach?

I know in a imaginary utopia - we can have a society where everyone thinks any violence, or for that matter, any evil deed is evil. And I know real world is far from being a utopia, but i believe most people can differentiate between good and bad. In my opinion, most people who do such acts are not really doing it because they enjoy it, some do because they have to, some think they have to, and they have been brain washed.

I also think if we ask a binary (yes/no) question to everyone - Is violence justified" - most people will vote no. I know there would be some exceptions (even in perfect utopia's like N. Korea, lords only get like 99% majority)(/s).

Now if we change question - "Is violence ever justified" - many will now vote yes, and start listing out situations where they think it is valid.

This question was also brought up in Avatar. For people who don't know - should Aang (a person with firm opinions, and more importantly a child - 12(112) years old) kill Lord Ozai (for now, consider him embodiment of evil for simplicity, but still a human). Many shows get away from asking, by basically having monsters (non human) as the opponent, so it is does not feel morally wrong. But here the question was asked. His past lives (in this world reincarnation exists, and aang is the Avatar - person who can control all elements) also suggested he should kill him, and he is tethered to this world, and this is no utopia ......... In the show they got away with basically a divine intervention.

Maybe here is my real question - Is it correct to have your morals be flexible?

Now for my answer, I have almost never felt correct labeling people good or bad, I have almost always treated people depending on what the situation expects me to (maybe how I feel I should be treating). In some sense I have a very flexible stance, and in some others, I dont. For example - I never cheat on exams or assignments - I can't justify cheating, If I am getting poor marks, then I should prepare well. But If someone else asks me to help them cheat (lets say give assignment solutions) - I dont refuse either, as I have understood, even though judging people by a few numbers is bad, world still does that - mostly to simplify things, and in that sense, a higher grade for anyone is better for them.

I dont even know what can be a answer. I dont know if it exists, or it can exist, I am not really trying to find it either, consider this just a rant at clouds.

edit - I am not asking a binary question - you are not expected to answer a yes or no, see the line just above this edit. It is not even really about violence - it is about morality

edit 2 - Changed title, old 1 is still here for full context. I dont know why I chose that title. I am not blaming anyone who answered on the basis of title, It was my bad to have some title, and ask a "not really orthogonal but generalised question" in the middle, hoping people answer that, some one did, I thank them. Many people have written (or in similar vein) - violence should be be avoided, but not when it the last thing. I understand this general sentiment - but according to me - having a excuse to ever do violence allows you to have loop hole, just blame the circumstances.

Someone gave a situation where they would do violence - someone trying to assault a kid - and I agree I would too (If I would be in such a situation).

I had a small back and forth with someone about morals - my stance is morals are frameworks to choose if a action is moral/immoral. And then the question is really how rigid should your moral framework be, and should it depend on background of people in consideration?

view more: ‹ prev next ›