Not sure if any Suse would fit in there. I’d say more Arch, Debian, Slackware (is that a thing anymore?), Gentoo, Linux From Scratch if you count that as a distro.
Not sure if any Suse would fit in there. I’d say more Arch, Debian, Slackware (is that a thing anymore?), Gentoo, Linux From Scratch if you count that as a distro.
What does LSP stand for?
Between Elixir and Erlang. Erlang is what’s used in telecom right? Is Elixir as well? Is Elixir like a new improved Erlang? I’ve heard so much about Elixir recently.
You have piqued my interest, I’ve recently gotten back into programming (I do “devops” for work) and don’t really consider myself a programmer, but I find languages fascinating. I was lucky enough to join a study group on compiler design with an Apache project leader and while it was over my head, I learned a lot and enjoyed it.
(I know I could look this up, but enjoying the conversation :)
This sounds amazing. One mode you can be a cat stuck in a house with 3 other cats that don’t get along. You have to try to drop a deuce without getting attacked, you have to mark territory without making your “owner” upset about peeing in the house.
Elixir runs on the Erlang vm? What is the difference between the two?
You could do this easily with Crystal and Kemal.
I think this is where “compartmentalization” comes in. Similar in concept to how you are forced to wall off sadness when a loved one dies so that you can continue to live your life, I think there are mentally competent right wingers, but they wall off the logic and reasoning so that it applies only to machines. They do this because if those ideas of logic and reason get beyond the wall/outside of the compartment, the meaning of their lives falls apart.
The easiest way to think about it that is kinda right, and what got me into is “It’s like compiled Ruby and nearly as fast as C”.
Crystal is a language with syntax modeled after Ruby, which is considered one of the most human friendly languages (it’s way easier to understand than C and most others). Ruby and Crystal are “object oriented”. Like if you wanted to know what I had for lunch using Crystal you’d ask me, an “object” last_meal = kool_newt.stomach_contents
, as where in C, you’d cut me open and look.
Where Ruby is a dynamically typed (it figures out whether things are Strings or Arrays, etc on the fly as needed, handy but very slow) scripting language, Crystal is statically typed, so you have to be conscious of types while you code. And where with ruby you end up with a script, Crystal code is compiled into a binary.
Where Ruby is good for small/medium websites with a modest traffic, or for prototyping ideas in an easy language, or making smaller utilities, Crystal can handle massive traffic, and make fast production level apps and tools without the difficulty of C or Java.
I’m using Crystal and Kemal (Kemal is akin to Ruby’s Sinatra) for web dev, and trying to make my own DNS utils (I want dnsip
, not a fan of drill
, dig
, and other tools).
If you know Ruby, Crystal is an easy jump.
I’ve looked into Elixir a bit, I’d probably be into it or Rust if Crystal didn’t exist, more so than Go. Something about languages that run in a VM turns me off tho, reminds me of Java too much I guess. I’ve never heard of Gleam, that makes two languages I’ve learned of due to Lemmy in like 3 weeks!
So they’re really going for it huh?
I ate lunch and my cat pooped, anyone else want to mention two random events?
Is it possible to use Redis to help speed up DB queries?
I’m assuming the DB is a container too, containers (Docker) and overlay networks have overhead. There could be overhead in the way the DB accesses the storage devices as well. Look into running the DB as dedicated real server if possible, otherwise a dedicated VM and not a container.
You can also look into read-replicas of the DBs as I’d imagine there are way more DB reads than writes. Take your DB backups from a read replica (you can stop one of the read replicas to get a consistent DB backup without interrupting other reads and writes).
You can set up slow-query logging if you haven’t yet to find out the problematic queries so you know where to optimize (if optimizing queries is an option).
I was looking exactly for this last week, didn’t find it.
Love the transparency, I set up my monthy contribution already, glad to pay for this, wouldn’t pay a cent to corporate re**it.
So, we can refuse people that seem right wing too right?
Nice! I installed Blur my shell and One Thing. One thing is perfect, I’ve been doing this with paper lol.
Ruby and Python are applicable in most of the same areas. I’m currently working on a realy simple Ruby project and using a web framework called Sinatra (kinda like a lightweight Ruby on Rails if you’ve heard of that) that makes it super easy to build web apps and APIs. My ruby app basically queries an API, sorts some data and presents it to my companies management as they need it.
Python is great too and more popular, thought I’m not really a fan as I don’t like when languages enforce white space. Python also tends to have an “attitude” like there is only one way to do a task, whereas Ruby is more flexible in this respect. Also, Ruby is fundamentally “object oriented” , Python has some object orientation but it was added on as an afterthought so Python can be a bit mixed depending on which libraries you choose to use.
If you don’t know what object orientation is, it means “everything is an object”. In functional languages you’d count the letters, in Ruby you ask the object for it’s length property.
This is Ruby, using the IRB command line interpreter (shell)
irb(main):001:0> word = ‘bicycle’ => “bicycle” irb(main):002:0> puts word.length 7 => nil irb(main):003:0>
I suggest learning Ruby, it’s a lot nicer and easier to learn than many others in my opinion. You can learn Crystal at the same time, it’s got very similar syntax but it’s a compiled language so super fast.
Oh wow, interesting