HackerLangs
TopNewTrendsCommentsPastAskShowJobs

stelonix

no profile record

comments

stelonix
·قبل شهرين·discuss
Well I would never write shell because I loathe it's grammar/syntax. I enjoy GUIs and am a heavy mouse user, so the GTK part isn't really an "accidental complexity" but a must have for me. If a LLM can one-shot all the GTK boilerplate it's a win.

That's (as shown in my sample prompt) one great thing I've been using LLMs for: making GUIs for arcane Linux-based OS/userland settings that I have no interest in doing "sudo gedit yadda yadda" or learning man pages for. It's been 30+ years, we deserve a better desktop experience.

I've used suckless packages in the past, but it feels to me too close the GNOME/Apple way of giving zero settings and having opinionated defaults whose opinions do not ring well for me. I have zero desire to change my shortcuts/hotkeys to something random devs chose based on their past computer experience, mostly unix-based. Muscle memory > *.
stelonix
·قبل شهرين·discuss
You're completely right and I thought this would be obvious. I never prompted anything remotely closely to "make a facebook clone". Instead, I make an explanation of how it should work. To give you an example:

  I need a python script that
  
  1) reads /etc/hosts
  2) find values of specific configured hosts (read from a .conf which) eg server1, localhost, etc
  3) it'll assign a name to those configs eg if the .conf has
  
  [Env1]
  192.168.0.1 production-read
  192.168.0.2 production-write
  192.168.0.27 amqp
  
  [Env2]
  192.168.0.101 production-read
  192.168.0.201 production-write
  192.168.1.127 amqp
  
  Basically format:
  
  [CONFIG_NAME]
  <ip> <hostname>
  
  Like an usual hosts file
  
  4) And each of those will be stored in memory
  5) if in /etc/hosts it matches one of those, it sets the "current env" as the configname
  
  5) It'll create an icon on the top-right of ubuntu 22 default gnome with
  6) that icon could be the text of the current config name or if nothing matches, "custom" text would show
  7) When the user clicks the "tray"/appindicator(or whatever gnome is calling them) it'll list the config names in a   simple gtk/gnome
  8) When the user clicks one config, we create a backup of /etc/hosts in ~/.config/backups/ named   hosts-%UNIX_TIMESTAMP%
  9) we then apply it to hosts file (find only the line with the hostnames to change and modify only those)
And that one-shotted a simple gnome app indicator env switcher. Had to fix a few lines here and there but it mostly just worked. If you give the proper spec to the LLM, it'll do it right. You can even fake a DSL to describe what you want and it'll figure it out.
stelonix
·قبل 6 أشهر·discuss
I'm interested in seeing a plot of that percentual over the years. The past 3 or 4 years I've been seeing less and less tech savvy comments over here and this data seems a great way to find out if it's just placebo.
stelonix
·قبل 8 أشهر·discuss
And then the new car no longer has the camera where you need it, the panel buttons changed, the cup-holder is in another place. Even worse, the upgraded firmware & OS of the car no longer comes with an app you needed; or it does, but removed a feature that was essential for your daily use. All because some SWE takes "computer security" as more important than having an useful system.

It's the kind of rhetoric that enables shoving down user-hostile features during a simple update. And breaking many use cases. Quite common in the FOSS/Linux mentality, not so much on the rest of the world.
stelonix
·قبل 7 سنوات·discuss
I agree with you: the real issue we're talking about is putting a restraint on capitalism, because it is the notion that "development" means profit that's causing these issues. Those same advertisements make poor people in my country join the narcos, because while the government doesn't care about inequalities and unemployment, since it does not have social welfare as goal, those people are easily lured to work in drug trafficking, which pays.

Notice the ones defending crazy "free" speech are the same who defend crazy capitalism? Yeah, that's the issue: by defending what I call "responsible speech", which is free but not ultimate, we are defending social welfare and human rights AGAINST the former, because the former has no interest in defending the latter. We see it even here in Hacker News, when a corporation does something unethical or morally wrong, there will be someone to say "but hey, the corps are right they exist just give shareholder profit and that's what they're doing". It's a serious debate about sustainable development, which has the very survival of our species at stake.
stelonix
·قبل 7 سنوات·discuss
I respectfully and vehemently disagree. Hate speech has been proven to be able to convince people by virtue of appealing to their emotions rather than their intellect. It does not make sense to have a society based around human rights, with a point of view where stealing, murdering or otherwise deceiving people is wrong, while at the same time allowing speech which can subvert that same democracy. It's simply not smart. Just like your body has antibodies to prevent outside threats from outright destroying you from the inside (or outside), democracy too requires its defenses in order for it to work. The advent of fake news and social media manipulation should be enough to realize this: the US has a president that questions that validity of its own institutions right now, so does Brazil. Two democracies which have proven deceiving or hateful speech can mean trouble even for citizens who do not have anything to do with such rhetoric. Simply no, full-on free speech does not work and never will. The (anecdotal) fact Europe has some restraints on free speech while sporting arguably more freedoms, as in, freedom to live your life with a lot less chance of some random person killing you because they hide behind some crazy above-anything notion of freedom, should be enough to illustrate what I mean. Speech needs restraint or we need to stop pretending we care about human rights, simple as that.
stelonix
·قبل 8 سنوات·discuss
So, your comment is a pretty good example why I find Reddit such a toxic place. It's filled with absolute truths, and if you disagree you're a bot, a shill. You make a rational, logical, thoughtful comment but if you disagree with the "hivemind" someone else will just dismiss you with some dumb one-liner, eg. "How much does the FSB pay you?". Nowadays for example it's Russo/Sinophobia. I'm not talking about Trump supporters either, I'm talking about accounts which seem to be from every direction of the political spectrum repeat jargons and falsehoods without previously being given some critical thought into.

While we only hear about Russia's and China's cyber ops on western news outlets, whenever I look into Reddit it feels quite the opposite. It feels like the perfect place to foment war, jingoism and xenophobia. Just look at /r/worldnews.