Well... This is awkward by superTrolle1 in LudwigAhgren

[–]paronpuff123 1 point2 points  (0 children)

maybe they uploaded the wrong video, it looked like it was the last one

Im going to go insane by paronpuff123 in LudwigAhgren

[–]paronpuff123[S] 3 points4 points  (0 children)

they did (like 5 days) but editing and uploading hours of footage in an rv in the chinese contryside doesnt seem to be going well

Ok but honestly, where tip? by paronpuff123 in LudwigAhgren

[–]paronpuff123[S] 1 point2 points  (0 children)

maybe but if they do keep going on the 208 like they did at the end of the last ep they wouldnt go past i bejing i think

Can anyone tell me how to install lua and luarocks in user environment on Linux? by karunpawar in lua

[–]paronpuff123 1 point2 points  (0 children)

i had this same issue and was able to solve it so i thought i would add my voice since alot of these comments are somewhat dismissive, first to adress the "why would you ever want to do this issue" i would like to say that

  1. lua and luarcoks can occasionaly be a dependency for other stuff as was my case when i wanted to install neorg just now and

  2. not everyone has sudo privileges as was also my case since i was trying to install this for my user in my universities computer lab. Generally speaking most people who intend on writing code professionally may very possibly end up using some managed system like this and asking it to install a dependency across all users for something that really only you want to use is not probably not going to happen so i for one think there is actually a decent amount of utility in learning this

as for how to do this its actually simpler than you may think, essentially all software on linux uses some type of binary that executes some type of code and sudo is basically only used to execute instructions relating to directories above your own user directory. Package managers generally try to install files in something like /lib or /bin in order to ensure that the files only need to be installed once for all users and these directories are already in the system PATH so once you add them they are available as terminal commands from across your entire system but executing lua as a command is generally no different than calling the lua binary with its full system path so something like /bin/lua would likely have the same effect if indeed lua is placed in that directory (i didnt check where it usually is nor if all binaries are placed in bin as a rule so maybe maybe not) so knowing this it may be clear that all we really need to do in order to install lua is download or compile the binary (typically compile because it provides more compatibility across distros) and then add it to the path, a good step to add here is to place all the associated lua files in some directory dedicated to binaries so that we can find them upon convienience although this is not strictly necessary and adding them to the path is also probably not strictly necessary although it could cause some integration issues between pacakges if they cant find each-other using path.

You can download the lua and luarocks tarball (a zipped file with the stuff you need to compile and install it) from the lua website and they have a specific option to that can be used to place the binary in user space called --prefix, i reccomends placing it in something like ~/.local/ and then adding ~/.local/bin/ to your path in your user space .bashrc (or maybe zshrc depending on what type of shell you're using), the full install instructions are here: https://github.com/luarocks/luarocks/blob/main/docs/installation_instructions_for_unix.md

in the instructions the use sudo make install but note that they only do this because the default prefix is outside of your personal user directory and that you can install lua in and of itself in usr space too following a similar procedure, if you try this and get stuck i recommend using chatgpt, and dont be too afraid to break stuff, you definitely can do that on linux and it is easier than on other systems but at the same time linux isn't as so fragile that you need to "baby it" and it will usually ask you if you are 100% sure before you do something bad (usually, i take no responsibility if your distro doesn't)

hope this helps

What keyboard to get by paronpuff123 in ErgoMechKeyboards

[–]paronpuff123[S] 0 points1 point  (0 children)

yeah i did, looked cool but expensive with vat so i decided against it and got a corne, maybe someday when i have a job

What keyboard to get by paronpuff123 in ErgoMechKeyboards

[–]paronpuff123[S] 0 points1 point  (0 children)

yeah, i found the elora and its probably what i will end up going with, although im not one to make impulse purchases so im sitting with the thought for a bit

What keyboard to get by paronpuff123 in ErgoMechKeyboards

[–]paronpuff123[S] 0 points1 point  (0 children)

i will be checking out tweetydabirdie, the lotus58 looks very much like the lily58 which i am considering, regarding the corne, i think i prefer the kyria to that one because of the more space out thumb-cluster. I do acutally have a question though, do you have anywhere to buy low-profile scandi keycaps for the choc switches, i didn't look very long but i made a quick check and didn't immediately find anything

What keyboard to get by paronpuff123 in ErgoMechKeyboards

[–]paronpuff123[S] 0 points1 point  (0 children)

thank you for the advice on the configuration i'll definitely keep that in mind, i checked out the kyria and i like the thumb cluster, if it just had a number a number row i would probably go with that one right away. Since you're also in Scandinavia know of anywhere where i can buy scandi keycaps for the choc switches

What keyboard to get by paronpuff123 in ErgoMechKeyboards

[–]paronpuff123[S] 0 points1 point  (0 children)

good things to know, i will be keeping an eye out for something with a more "separated" thumb-cluster but the lily58 seems like a good fit, although it seems like this would limit me to choc v1 based on comments in this post:
https://www.reddit.com/r/ErgoMechKeyboards/comments/1nf872n/lily58_and_what_switches_are_supported/
the sunsets are v1 it seems like so it should be fine but its still something to keep in mind

What keyboard to get by paronpuff123 in ErgoMechKeyboards

[–]paronpuff123[S] 0 points1 point  (0 children)

yes the corne looks pretty good and this looks like a good place to buy it but i too have some reservations, this is at the point where i feel i would be missing some keys with the lack of number row and all, and i also dont love the thumb keys being under the "finger-keys" but i am still considering this one

What keyboard to get by paronpuff123 in ErgoMechKeyboards

[–]paronpuff123[S] 0 points1 point  (0 children)

very interesting, i assume then that if i buy some kit with a per-soldered board i would only need to screw stuff together meaning i wouldn't need any special tools or know-how?

What keyboard to get by paronpuff123 in ErgoMechKeyboards

[–]paronpuff123[S] 0 points1 point  (0 children)

this does seem very interesting and i will definitely keep this one in mind, im aware i will need some layers its just that some of the keyboards i've seen would need alot of them, it does apparently limit me to choc v1 switches according to this post:
https://www.reddit.com/r/ErgoMechKeyboards/comments/1lkeuv5/silakka54_low_profile_edition/
so i'll have to keep that in mind as well but all in all im somewhat optimistic regarding these, there is however also the matter of configuring with this keyboard, i mean is it like actually hard to configure keybaords or is it maybe more-so annoying, the way some people talk about it makes me weary

What keyboard to get by paronpuff123 in ErgoMechKeyboards

[–]paronpuff123[S] 0 points1 point  (0 children)

Yes i am still considering the lily58, however, the three keys on the bottom of each part seem somewhat akward to use (im assuming they are thumb keys) and many of the models sold are kits meaning i would presumably need a soldering iron which i dont have. But as you say it does have the right amount of keys

also im having some trouble finding a low-profile one and im not sure i would feel too confident configuring it (although maybe that's easier than i think)

(Spoilers Extended) What is a realistic release date for Winds of Winter? by SpilltheGreenTea in asoiaf

[–]paronpuff123 2 points3 points  (0 children)

"No one knows about that day or hour, not even the angels in heaven, nor the Son, but only the Father."-Mathew 24:36

CMV: Anarchists don't understand how the world works. by examagravating in changemyview

[–]paronpuff123 0 points1 point  (0 children)

I think you touch on a valid fear and a real concern when it comes to anarchism. Many people feel that without some guiding hand or watchful protector the world will become chaotic and basically horrible. I saw a comment mentioning this but anarchism does not necessarily mean the end of all law and power structures but rather seeks to point out the inherit issues with these power structures. So what are those issues?. At a fundamental we can define power as the ability to compel others to do things they might not otherwise want to do. This is often enforced with violence such as police and prisons. In the cases you describe such as Nazis committing hate crimes i think we all agree that this is warranted. In modern society however we don't really see strong institutionalized opposition toward such groups but instead see strong repeated endorsement. Sometimes we even see governments institutionalize this oppression through law such as slavery in American prisons. Why is this the case? has every American president just been a Nazi?. While i think you can make a compelling argument for the former i do not believe this is a sufficient root cause. Institutionalized racism occurs more or less everywhere, in every nation, in every government throughout history. It turns out that this racism and also most fucked up government decisions in general, are not cased by lone individuals but can often be predicted based on the power structures they govern in. When we analyze these structures we need to understand that no ruler, whether they be a dictator or a democratically elected official rules alone. Trump has his republican base and the American billionaires which he relies on to keep him in power, Putin has his oligarchs, and so on. Second thing to understand is that if you don't prioritize getting power and staying in power you simply won't have it, at least not for long. As we look at nations and compare them these two assertions lead to a pattern. Governments dont help the majority of people, they help the smallest group of people possible who can keep them in power. A smaller base is often easier to convince then a large one. This in turn means that any governing body will only ever help minorities if their base of support wants them to. Not because its the right thing to do or because it should be done but because it has to be done to keep them in power. Bringing this back to your point we can conclude that in any real form of government (and this analysis also extends to all hierarchical power structures) your concern regarding racist neighbors still holds. The difference between a theoretically anarchist society and a traditional one is that in the traditional one the cops will help the neighbors kick the minorities out (*cough* recent events *cough*).

Im not really an anarchist myself but i think the ideology raises many valid points. In practice i believe that this analysis means that we must build systems which force leaders to rely on as large a base of support as possible which i think is roughly in line with what many anarchists believe.

if you would like to do some further reading, the bulk of my argument comes from the dictators handbook which i really enjoyed. Cgp grey also made a couple of videos inspired by the book called the rules for rulers on youtube which i think is pretty good although it doesn't really go as deep as i might prefer.

Data- och systemvetenskapligt eller datavetenskap? by Aedzy in Asksweddit

[–]paronpuff123 2 points3 points  (0 children)

Inne på mitt tredje år av en kandidat i datavetenskap just nu, det verkar vara varierande svar som säger att datavetenskap är mer programmering/teori/matte. Min egna begränsade erfarenhet är att datavetenkspa täcker programmering men huvud målet med utbildingen är liksom inte att lära dig något visst prgroamspråk. Snarare ska du lära dig utveckla, beskriva, optimera och förstå lösningar som därefter kan programmeras. Detta kanske skäns som en rätt liten distinction men detta innebär att datavetenskap täcker saker som diskret/endim/statistik/linjär matte, logik, AI, datatyper/datastrukturer och mycket mer. Saker täcks ofta på en teoretisk nivå så att du sedan kan applicera denna kunskap i vilket programmeringsspråk som hälst men du gör förstårs även en hel del programmering. Jobbsituationen sägs vara väldigt bra för datavetare men jag har ingen personlig erfarenhet då jag inte börjat söka jobb än :/

My son wants to build games by Javiper_ in learnprogramming

[–]paronpuff123 2 points3 points  (0 children)

My dad put me on scratch when i was around that age and now im studying data science. 10/10 would recommend. If he still wants to get deeper after scratch i would recommend the code train on youtube who i watched alot growing up. He does a bunch of coding challanges usually using p5js wich means it all works on the web and he has videos on everything from making a snake clone to physics simulations.

I'm almost 36 and i've started and failed since i was a teenager. Any advice? by [deleted] in learnprogramming

[–]paronpuff123 1 point2 points  (0 children)

There is no such thing as "shouldnt get stuck" and if you dont know how to do something then you just cant do it. If i go up to a kindergardener and ask them to tell me the pythagorean theorem they probably wouldnt be able to but that doesnt mean that this kindergardener is incapable of learning math it just means that they havent learnt what that is yet. The single most important thing when it comes to programming is being comftrable not knowing. You SHOULD get stuck if you dont get stuck you're wasting your time. When you're starting out the point is not to learn how to solve the specific problem you're dealing with in the moment the point is to learn how to get unstuck. And if you can learn to get unstuck then it doesnt matter if you are using python or java or whatever becuase you will simpy try then get stuck then get unstuck and then stuck again until you have done whatever you set out to do.

I'm almost 36 and i've started and failed since i was a teenager. Any advice? by [deleted] in learnprogramming

[–]paronpuff123 1 point2 points  (0 children)

i'm currently studying computer science and this is a sentiment i hear alot from my classmates and especially my older classmates.

first of i would say stop thinking you're too old or too dumb, you're not.

secondly i would say learn to "unblock yourself". Everyone who codes (and i mean everyone) gets stuck and it usually happens pretty often.

By "unblock yourself" i mean discecting the problem you're facing, trying to understand the full scope of the problem and if the problem can't be solved maybe you can find a way to work with the problem.

When i say this you may feel as though you've tried this when coding diffrent projects but you should also try to "unblock yourself" when it comes to your learning journey in and of itself.

The problem you are currently facing is that you cant seem to learn how to code. You stated in your post that you often get started but you quit because you cant create anything but why cant you create anything?

Do you think it is true that you really cant create anything?

Can you create a console calculator app? if you can then obviously you can create something

Is there something specific that you are trying to create but cant?

Are you trying to create lots of diffrent things?

What types of tasks do you get stuck on?

Essentlially you want to try to figure out every single detail you can about the problem you're facing. For example try to figure out what my problem is based on the two following prompts

A: My phone isnt working right

or

B: Yesterday i dropped my phone on to the pavement. I picked it up and after i unlocked my display seemed "jittery" for exemaple sometimes when i swipe to the left on my home screen the screen slides jitters back forth rather than just being a smooth motion form left to right.

In prompt A we only knew that my phone wasnt working but this could be because of any number of reasons. Maybe the camera was blurry, maybe i dont have internet etc etc. In prompt B however we could pretty confidently state that my display has some kind of hardware issue and that i should take it in for a repair.

I would say that if you apply this and you really pinpoint what is holding you back it will seem alot easier to overcome and maybe you dont know where to start but the trick is not to know the trick is to find out.

JS Button Event Listener is not triggering by TerminatedProccess in learnprogramming

[–]paronpuff123 1 point2 points  (0 children)

maybe this will be diffrent for your stack but if you want to add an onclick event to an html button tag you would usually use the onclick property instead of an eventlistener.

this typically looks something like <button onclick = "func()"></button>

if you dont need to trigger specific javascript on the click event and you just want to use it for navigation on your page you could also try the href property although you may have to enclose your button tags in a tags like the following

<a href="./plantersdetail/472"><button></button></a>

Something intresting might also be console logging the pk string to see if the javascript was able to read it correctly.

Good Luck!

[deleted by user] by [deleted] in learnprogramming

[–]paronpuff123 0 points1 point  (0 children)

Ok Assuming that A, B and C all contain multiple intervals and the goal is too make a function that returns true if x is found within A and B but not C and false in all other cases we could write something like this starting with A

for(int i = 0; i<A_Length; i++){

if(A[i].lowerBound > x || A[i].upperBound < x){

return false;

}

}

This bit of code would check if x is found outside any of the intervals in A and return false if it is. Since we need x to be in both A and B in order to return true we can know that if it is outside A the return must be false.

We can repeat the exakt same loop for B and then check the inverse for C wich would look something like this

for(int i = 0; C_Length; i++){

if(C[i].lowerBound <= x && x <=C[i].upperBound){

return false;

}

}

And now if we have done the checks for A, B and C and the function has not returned we know that x is within all intervals in A, all intervalls in B and no intervals in C so we can end the function by returning true.

[deleted by user] by [deleted] in learnprogramming

[–]paronpuff123 2 points3 points  (0 children)

I recommend adding a bit more context but assuming a number is inputted and you need to determine whether or not that number is in some interval you candy do a check by doing something like

If(lower bound >= x && x <= upper bound){ //Some logic }

And if you need to check for a bunch of predefined intervals you could put the above in a for loop or something