Post ARS0NCh1gwLNKkdLDU by hazlin@shortstackran.ch
(DIR) More posts by hazlin@shortstackran.ch
(DIR) Post #AREdxzgGY5nLcUAlua by ehhh@varishangout.net
2023-01-02T14:23:13.998895Z
5 likes, 0 repeats
Hi hi~Does anyone know a good website where I can learn #python for free as an absolute beginner?
(DIR) Post #AREe5IBm8NZP36OJmK by Halo@varishangout.net
2023-01-02T14:24:30.009540Z
2 likes, 0 repeats
@ehhh uhhhh I got some books at home I can give you :akko_shrug: some basic automation stuff for like. computer stuff. helps get some basics
(DIR) Post #AREeCmSpyCv0yNwUnA by ehhh@varishangout.net
2023-01-02T14:25:56.739601Z
1 likes, 0 repeats
@Halo LOL you're very humble. What are the names of the book and what do they look like?
(DIR) Post #AREeF1P5OdVdt0Fxk8 by Halo@varishangout.net
2023-01-02T14:26:18.309302Z
1 likes, 0 repeats
@ehhh fuck if i can remember. they're pdfs.
(DIR) Post #AREeHDkOTRMWkTGtpw by Tsone@varishangout.net
2023-01-02T14:26:03.141226Z
1 likes, 0 repeats
@Halo @ehhh ya never follow a course or something, just master it by yourself? :akko_aah:
(DIR) Post #AREeHEC2odTq8ECyw4 by Halo@varishangout.net
2023-01-02T14:26:41.568830Z
1 likes, 0 repeats
@Tsone @ehhh i just do stuff till it works.
(DIR) Post #AREeIrHswxAHfaiZYu by ehhh@varishangout.net
2023-01-02T14:27:02.629271Z
0 likes, 0 repeats
@Halo ok cool~ ^^ wouldn't mind if u upload it here or in dms.
(DIR) Post #AREeLJ3Gh5mwMH32si by ehhh@varishangout.net
2023-01-02T14:27:29.339456Z
0 likes, 0 repeats
@Halo @Tsone kek this is me with learning html and css...
(DIR) Post #AREebPTKahd8u6ux3w by Tsone@varishangout.net
2023-01-02T14:28:52.845443Z
2 likes, 0 repeats
@Halo @ehhh successful programmer vs loser nerd Tsone :seething:
(DIR) Post #AREek17qTpjm06yKi8 by kilostere@varishangout.net
2023-01-02T14:31:54.098819Z
0 likes, 0 repeats
@Tsone @Halo @ehhh you can do whatever you put your mind to :tanya_salute: diligence and practice results in skill and expertise :chino_wow:
(DIR) Post #AREf2D9GWB6wVAJOWu by MoeBritannica@varishangout.net
2023-01-02T14:35:09.229006Z
3 likes, 0 repeats
@ehhh Python has their own tutorial in their docshttps://docs.python.org/3/tutorial/and other site provides a shorter, up-to-the-basics of Python than the official one.https://www.tutorialspoint.com/python/index.htm
(DIR) Post #AREfFrJSUzwWplaTs8 by Tsone@varishangout.net
2023-01-02T14:36:12.633099Z
1 likes, 0 repeats
@kilostere @Halo @ehhh I don't like debugging, That's like suicide :kanna_suicide:
(DIR) Post #AREfXBUwhhHeMPDosy by kilostere@varishangout.net
2023-01-02T14:40:44.745929Z
2 likes, 0 repeats
@Tsone @Halo @ehhh debugging and troubleshooting :akko_cry: 95% of my time in blender so far has been troubleshooting shit :soy_cope:
(DIR) Post #AREg5BbCpopOWGMaJ6 by ehhh@varishangout.net
2023-01-02T14:46:55.570004Z
0 likes, 0 repeats
@MoeBritannica idk if this is a windows thing but... anyone know why python programs will just close themselves after opening it? :/
(DIR) Post #AREg9E27j6uBE8sbyK by Halo@varishangout.net
2023-01-02T14:47:36.411686Z
3 likes, 0 repeats
@ehhh @MoeBritannica cause it's a temporary command line window. run it in a terminal if you want it to stay.
(DIR) Post #AREhl3uhtoxinf15nc by ehhh@varishangout.net
2023-01-02T15:05:42.933540Z
4 likes, 0 repeats
@Halo @MoeBritannica It definitely got confusing after this short activity, but at least I did it!
(DIR) Post #AREkXvMwekP6OheTCq by Halo@varishangout.net
2023-01-02T15:36:57.279951Z
1 likes, 0 repeats
@ehhh @MoeBritannica :thumbs_up: good job. i wish you luck in your programming journey, and hope you're more studious than I
(DIR) Post #ARElb5RDmCK0RsivlQ by ehhh@varishangout.net
2023-01-02T15:48:42.793357Z
3 likes, 0 repeats
@Halo @MoeBritannica Thank, Halo. š© brogramming is tough... I won't give up though!
(DIR) Post #ARElhc4XM9ovOoE28O by Halo@varishangout.net
2023-01-02T15:49:52.514733Z
1 likes, 0 repeats
@ehhh @MoeBritannica it is tough, but. it's fun.
(DIR) Post #AREmPYxKIuCSTYoFii by mikuphile@gearlandia.haus
2023-01-02T15:57:54.613699Z
2 likes, 0 repeats
@ehhh Does it need to be python? Because golang has this really nice tutorial that explains the basics of the language, and I also think that its documentation is easier to navigate and overall better. I think that this makes golang easier to learn than even pytard. And if you need pytard for a job or whatever, you can learn it later when you have some experience programming.
(DIR) Post #AREmbpQKu0z31cE9S4 by hazlin@shortstackran.ch
2023-01-02T16:00:05.983719Z
3 likes, 0 repeats
@ehhh If you are an absolute beginner to programming, I would recommend https://www.khanacademy.org/computing/computer-programmingIt is interactive, and the exercises have visuals (that is, you are not just playing in a terminal xD)It isn't python, but switching to python is trivial. (programming concepts are nearly universal).ALSO, you are swimming in experts here on fedi, Get stuck? Don't understand something? Just post a question, and source code if needed, and get insightful and helpful answers. Feel free to tag me as well. (python and js feel second nature at this point)
(DIR) Post #AREpZqXw3d5fn2WolM by ehhh@varishangout.net
2023-01-02T16:33:20.700643Z
1 likes, 0 repeats
@mikuphile I've heard of golang but I've never used it... Python, like golang is recommended for beginners. Additionally, I already have Python installed. I have a few Python scripts already like one that my husband made for me to clear my clipboard every 60 seconds so I just thought I'd start with Python since I'm already using it... I'm not using python to look for a job, i just have programs here and there written in python and I would like to get to understand them.
(DIR) Post #AREr5uSx7UNRAR3BgG by ehhh@varishangout.net
2023-01-02T16:50:21.111450Z
0 likes, 0 repeats
@hazlin Oh cool! I shall bookmark this~Okay, thanks Hazlin! ^_^ ur very kind.I'll make it a habit to practice a little bit daily! ^^
(DIR) Post #ARErDBy4RkFFTY4uIa by Paulo@rdrama.cc
2023-01-02T16:44:12.541118Z
1 likes, 0 repeats
@ehhh i'll recommend codecademy.com but might be worth trying exercism.org
(DIR) Post #ARErLPbLdp6O4lMxge by ehhh@varishangout.net
2023-01-02T16:53:06.775232Z
0 likes, 0 repeats
@Paulo thanks for the suggests~
(DIR) Post #ARErdW5GHJhdORzh5M by Tadano@amala.schwartzwelt.xyz
2023-01-02T16:56:24.981360Z
3 likes, 0 repeats
@hazlin @ehhh Don't forget picrel
(DIR) Post #ARErj3sO4Bnre8cGmG by lina@eientei.org
2023-01-02T16:57:21.771896Z
0 likes, 0 repeats
@Tadano @hazlin @ehhh suigintou :)
(DIR) Post #AREry8ZwrfcAZiBFLc by Paulo@rdrama.cc
2023-01-02T16:58:09.253451Z
2 likes, 0 repeats
@ehhh after trying exercism.org, it's just exercices with no explanation (or at least i couldn't find any), could be a good partner for freeCodeCamp.org (https://invidious.varishangout.net/watch?v=eWRfhZUzrAc)i really liked codeacademy but don't know how it is nowadays, hopefully you can make good progress without having to pay
(DIR) Post #AREsGZ8Urdo49Z7xkO by ehhh@varishangout.net
2023-01-02T17:03:23.351233Z
0 likes, 0 repeats
@Paulo O. Well thanks for the heads-up! š
(DIR) Post #ARRsZheNcTPzBhqRk0 by ehhh@varishangout.net
2023-01-08T23:38:13.639640Z
2 likes, 0 repeats
@hazlin 𦓠BONE š SNAPPLE 𦷠TEETH š„š„š„š„
(DIR) Post #ARRzXAhrpeBS7ADSe8 by MoeBritannica@varishangout.net
2023-01-09T00:56:11.764741Z
1 likes, 0 repeats
@ehhh @hazlin art :nana_thumb:
(DIR) Post #ARS0NCh1gwLNKkdLDU by hazlin@shortstackran.ch
2023-01-09T01:05:35.939279Z
0 likes, 0 repeats
@ehhh 100% of the battle to learn programming, is to simply code xD you are on the path to success!
(DIR) Post #ARaDC5lgomBcF7ZYSu by ehhh@varishangout.net
2023-01-13T00:06:56.782231Z
0 likes, 0 repeats
@hazlin lol damn... animation was significantly more challenging š I think I've spent a stupid amount of time on the triangles (too many positions) really have to make use of vars a lot too because you don't want everything moving at once.
(DIR) Post #ARaSIQ2vptSeBU71yi by Paulo@rdrama.cc
2023-01-13T02:22:34.833373Z
1 likes, 0 repeats
@ehhh @hazlin itās better to not use var, youāll have an easier time if you get used to using let and const https://www.freecodecamp.org/news/var-let-and-const-whats-the-difference/also doing var function_name = function() {} can cause trouble, just do function function_name() {}the best resource for modern javascript is mdn docs https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide
(DIR) Post #ARaSIQeVaBWE41h2Y4 by ehhh@varishangout.net
2023-01-13T02:56:08.896315Z
1 likes, 0 repeats
@Paulo @hazlin I'm still starting out, but thanks for the info! The information on the different declarations are very interesting. Right now I am just following the guides they have provided in Khan academy just to grasp the concepts, though hopefully later on they start adopting some more modern ways of coding too.
(DIR) Post #ARaVXct0gAx2DGPkye by happypirate@poa.st
2023-01-13T03:32:32.605605Z
1 likes, 0 repeats
@ehhh myfreecodecampbunch of youtube vidsexercismThere's other stuff but if you look through those you'll have a decent start. Depending on what you're doing, python and javascript are a great way to start
(DIR) Post #ARaW1n9f47OMkQaSYK by ehhh@varishangout.net
2023-01-13T03:37:59.124147Z
1 likes, 0 repeats
@happypirate I'm starting out with Khan Academy right now. I think they're great, and I'm starting with JS. :)
(DIR) Post #ARaWkwA8QDt5iRKrOC by happypirate@poa.st
2023-01-13T03:46:09.264772Z
1 likes, 0 repeats
@ehhh the important thing is practicing and then building stuff as you practice, as long as they're showing you concepts in a semi-realistic way and you can figure stuff out you'll be fine.
(DIR) Post #ARh3UJFxli9FqyV4cq by ehhh@varishangout.net
2023-01-16T07:21:08.375049Z
4 likes, 0 repeats
@hazlin@squid.kids I drew a funny tadpole. You can control his mouth size by moving your cursor (he is very hungry)
(DIR) Post #AS4u0JdVYXJWYAAsEq by ehhh@varishangout.net
2023-01-27T19:27:50.060300Z
2 likes, 0 repeats
@hazlin@squid.kids
(DIR) Post #ASV2eocwbFyL0QY1PU by ehhh@varishangout.net
2023-02-09T10:07:20.750712Z
2 likes, 0 repeats
A magic 8 ball! This section is pretty fun. What will you ask the 8 ball?
(DIR) Post #ASmNgA9vYx2QvdfXSi by ehhh@varishangout.net
2023-02-17T18:52:59.876763Z
3 likes, 0 repeats
@hazlin Iām learning loops now. Itās kind of confusing but Iām getting the hang of it. This was fun to make tbh!
(DIR) Post #ASmQhJBtlful5mpRw0 by hazlin@poa.st
2023-02-17T19:26:54.237563Z
1 likes, 0 repeats
@ehhh Glad to see you are still playing with it :DAlso, the for(variable;condition;increment) IS confusing, I actually forget it even existed xDHave you learned about arrays yet? (example [1,2,3,4])
(DIR) Post #ASmX7MeE8ZP94Gt2tU by hazlin@poa.st
2023-02-17T20:38:49.365798Z
2 likes, 0 repeats
@ehhh It isn't that I don't use loops, I use them all the time, but almost every language supports a forEach style syntax. Where, every item in the array, is passed to a function one at a time.When you express loops in terms of >,<,<=,>=,+50,+80,+5 etc etc, I feel like that is VERY easy to make a mistake. That isn't how we think (well, most people anyway xD)Now, I don't know if my example will make any sense to you at this point in time (feel free to ignore it for now, if all this seems needlessly confusing xD), but I rewrote your program, at least the window making part, without any for those complex for(i,<,+1) loops.To explain the flow of the program, I'll write out a bit of what is happening.drawWindow2x2 first turns [100,166] into[[100,166],[150,166],[100,216],[150,216]]then each one of those is given to drawWindow with forEach likedrawWindow([100,166])drawWindow([150,166])drawWindow([100,216])drawWindow([150,216])As you can see, we have reached the same result, programmatically drawing windows, without writing out each xy pair, but we have avoided the for(i,>,+) style loop xD
(DIR) Post #ASnIT9NOr9Ru7juFjk by ehhh@varishangout.net
2023-02-18T05:29:23.080949Z
0 likes, 0 repeats
@hazlin erm nope not yet.
(DIR) Post #ASnItqwNVZnglU03Wq by ehhh@varishangout.net
2023-02-18T05:34:11.689407Z
0 likes, 0 repeats
@hazlin >but almost every language supports a forEach style syntax.:zt_think2: I think I know what you're talking about. i was talking to my bf about this and he showed me how loops look in python compared to javascript. python has "range" and that goes through every single number that you define, like 0,10
(DIR) Post #ASnL7LsZzRASOOmtfs by hazlin@poa.st
2023-02-18T05:59:05.482207Z
0 likes, 0 repeats
@ehhh Yeah, honestly, once I made the switch to ranges and array iteration, I've never gone back xDJavaScript doesn't have a nice clean way to generate ranges, you can however just make your own function to create them :DIt certainly isn't as clean as python'swhich would just befor i in range(2): drawWindow2x2([100+i*100,166])
(DIR) Post #ATDkkhH2RZhC6J6KSe by ehhh@varishangout.net
2023-03-02T23:48:44.529386Z
4 likes, 1 repeats
@hazlin This one was hard. It's just rainbow rain but in code it was actually complicated. I had to revisit previous lessons and even got help from my bf to help me figure things out. This is also a good place where I should start writing notes for my own code. ^^'
(DIR) Post #ATDkqW315xyn1MJjE0 by kilostere@varishangout.net
2023-03-02T23:49:49.345536Z
1 likes, 0 repeats
@ehhh @hazlin nice :ina_nod:
(DIR) Post #ATDkti3Yu4418O5xZ2 by ehhh@varishangout.net
2023-03-02T23:50:22.732839Z
2 likes, 0 repeats
@kilostere @hazlin thanks ^-^
(DIR) Post #ATE6coUztY8FBTHBoG by dynamin@hellthread.church
2023-03-03T00:53:12.797246Z
1 likes, 0 repeats
@ehhh @hazlin Excellent work! The template they start you with, prompts you to keep everything very abstract, so I can see why it was difficult. For your edification, I've rewritten your code. You are welcome to ignore it, if it doesn't make any sense xDEssentially I've only changed two things. The first, was to create one big array "drops" and put two little arrays in each drop "position" and "color". This way, the position and color of each drop are packaged together. In the original, they are related by only their index, which I feel is confusing xDThe second, was to break up your logic into discrete steps. By given all your actions meaningful names, it can be way easier to keep track of what is happening.Anyway, like I said, excellent work, this was just for your edification, there is nothing wrong with your solution :D Thanks for keeping me updated. Seeing you work on learning to code, inspires me to continue to work on my game :D
(DIR) Post #ATE6q1io2ooTxT2HXU by ehhh@varishangout.net
2023-03-03T03:56:09.658056Z
0 likes, 0 repeats
@dynamin Very interesting... It theoretically works the same, but written differently than what I'm used to.
(DIR) Post #ATE6rGBpjnBr7VCXKq by YoshikoJanai@varishangout.net
2023-03-03T01:15:49.404043Z
0 likes, 0 repeats
@ehhh @hazlin Very nice, remember that you can never have too many comments. I personally will leave a comment every time I find myself saying "What in the fuck did I just do?" You will love yourself, and be beloved by anybody that may have to work with your code down the line.
(DIR) Post #ATQY7oNLb0WpZFQGDQ by ehhh@varishangout.net
2023-03-09T03:58:31.094561Z
3 likes, 0 repeats
@hazlin Some books (1 book) and anime. The project was to build a bookshelf. But since I don't read books and I've only published one, I just put some animes at the bottom.
(DIR) Post #AUEglP8Kh6DsrWjGFc by ehhh@varishangout.net
2023-04-02T08:30:50.748405Z
3 likes, 1 repeats
@hazlin Uhhh so I'm on Unit 2 now and I guess I'm relearning some html/css basicsSome things I learned were what ids and classes are. Yes I didn't figure out what #s and .s meant when I was playing with stylebot on different sites or crafting my own website. š Anyways this is my project where I've utilized classes. And please don't laugh at me I know that the page looks dumb and silly but I couldn't think of anything else..
(DIR) Post #AUEhAOQITJytto2yo4 by hazlin@poa.st
2023-04-02T08:35:27.312518Z
0 likes, 0 repeats
@ehhh Your March 9th post got buried in my notifications and I missed it! But, those boxes with starts are some cute web ui xDAlso sticking to vanilla HTML and CSS is for sure the way to go. Frameworks are a trap!
(DIR) Post #AUEhX2pguWWhb8j5JQ by ehhh@varishangout.net
2023-04-02T08:39:30.074246Z
0 likes, 0 repeats
@hazlin wth is frameworks?
(DIR) Post #AUFnkDuTpZMAbKar0i by hazlin@poa.st
2023-04-02T21:23:52.486137Z
0 likes, 1 repeats
@ehhh Frameworks can be like, getbootstrap.com/ for webpage elements or angularjs.org/ and react.dev/ for more complex UI or server to UI interactions.But, these are a trap, instead of just learning to manage the complexity of CSS/HTML/JS, you have to learn a more complex system built on top of those things. If you do the "getting started" or "hello world" part of a framework, I'll feel like it is amazing and saves time, but as soon as you need to customize things, the complexity will kick in hard. Instead of a massive framework, you can often find a small clean library for a specific need if you are rushed on time. And, in the long run, learning how to do it yourself is always best.
(DIR) Post #AUFtZ2hXlOSuNTauDg by ehhh@varishangout.net
2023-04-02T22:28:59.346748Z
1 likes, 0 repeats
@hazlin kek yeah I'm not familiar with any of these lol š the most complex thing I've done for my website are pages http://c-blog.org/p3.html and http://c-blog.org/p4.html. You could probably inspect element to see what I've done, but essentially it's a background on top of another, with a little less transparency. It looks deceptively simple but it was actually complicated to get it to look right. (This summer I'll probably release my website's source code)
(DIR) Post #AVupaQovXX3tn7SkIy by ehhh@varishangout.net
2023-05-22T14:19:41.868654Z
3 likes, 0 repeats
@hazlin Learning SQL now!! It's a little confusing honestly, you have to declare the commands in a specific order.
(DIR) Post #AVuzkf5yJtmcV9x5hg by hazlin@poa.st
2023-05-22T16:13:40.392287Z
1 likes, 0 repeats
@ehhh Excellent, I actually like writing SQL a lot, well because, there are no libraries or additions to the language xD The benefit is, the forced simplicity and structure keeps everyone on the same page (someone should be able to easily query your SQL database without you explaining it to them).It is equally important to know, that keeping everyone on the same page comes at a price. The forced simplicity keeps you from abstracting away the details with SQL.Essentially, SQL can benefit you, when you have multiple programs accessing the same data. But, if your application is a single process, then it is just extra work.That is, SQL is just another data structure, and you don't "have to" use it. To that end (and for your edification), I wrote a similar thing in Javascript, and another in Python. The python one even keeps the information on disk.(Glad to see you are still learning!)
(DIR) Post #AWL44bv0opMXFpSmAa by ehhh@varishangout.net
2023-06-04T06:04:33.265666Z
1 likes, 0 repeats
@hazlin Honestly, SQL is ādeceptively simpleā for a visual learner like me; Iāve had fewer trip-overs with Javascript because it visually displays animations to me in a way that makes sense, for the most part. :awoo_think:SQL is not supposed to be that hard because itās just a way of querying data, so it has limited commands. But for some reason, Iāve been struggling in this course a lot by myself.This is Unit 3 Lesson 2 Project of Khan Academy, Iām using this data to practice: https://gist.github.com/pamelafox/26b9357c6120d3d0d27c2b90c950e8c6In the first picture, itās just max, min, and average. Simple enough.The second one, was difficult and I couldnāt write it by myself - my husband wrote it and explained it to me instead. Basically, I have to think about what I want displayed in my columns, and write them first, then write where to get the data from, and THEN write any additional filters last. Itās⦠A different sequence of logic than what Iām used to, so because of that I also had a really difficult time of knowing what goes where.And the last one I did by myself - with how you use CASE in SQL, ppl structure it in a way that makes it easier for me to understand, so that overall wasnāt too hard.
(DIR) Post #AWT3o2gHcMyIb9Lvt2 by ehhh@varishangout.net
2023-06-08T02:39:10.297154Z
0 likes, 0 repeats
@hazlin
(DIR) Post #AWTHzq5TfIzuNBelg8 by hazlin@amala.schwartzwelt.xyz
2023-06-08T05:05:26.625463Z
1 likes, 0 repeats
@ehhh The middle problem is hard, because the paradigms at work are different than something like vanilla JavaScript.The first is, it is written in a "functional" style.In JS you might sayvar total = 100var count = 10var avg = total / countIn SQL you cut out the intermediaries100 / 10The second is you are operating on lists by default.In JS you have to explicitly iterate through a list:var total_atk = 0;pokemon.forEach((poke, i) => {total_atk += poke['Attack']});total_atk = Math.round(total_atk);In SQL all the operators are tuned to collections of elementsround(sum('Attack')) from pokemonAs for how to get from the prompt to the SQL... (first image) Since the concept isn't hard, it comes down to building the queries for the individual pieces. It may seem silly, but stopping and looking at the individual pieces will help a lot. This is doubly important because you aren't being prompted to find each piece like you would in JavaScript (the second image is an example of doing this query with JS).While you'll push the parts into a single long query (as that is the functional programming way), it should be a lot easier to break out each part and work on it individually.(Apologies if I am just saying really obvious things xD)
(DIR) Post #AWy3sGRPa1xPyv7ETg by ehhh@varishangout.net
2023-06-23T01:36:02.388826Z
4 likes, 1 repeats
@hazlin For my next project, I am creating an app database where people raise a Tamagotchi, and I will directly modify this SQL data. The initial values are as follows:CREATE TABLE tamagotchi (id AUTOINCREMENT PRIMARY KEY, username TEXT, tamagotchi TEXT, hunger TEXT, happy TEXT, money INTEGER, generation INTEGER, alive TEXT); INSERT INTO tamagotchi VALUES (1, "TamaStar", "Mametchi", 4, 2, 200, 1, "yes"); INSERT INTO tamagotchi VALUES (2, "GolemPrincess", "Memetchi", 3, 4, 1500, 4, "yes"); INSERT INTO tamagotchi VALUES (3, "Kira", "Kuchipatchi", 0, 0, 100, 3, "yes");SELECT * FROM tamagotchi; (image 1)Here is where my database started tracking its users. You can see their id which auto increments based on who signed up first, their username, the specie of Tamagotchi that they have, the tamagotchiās health (hunger and happiness), how much money they have, the current generation of their pet, and if it is presently dead or alive.Uh-oh, it looks like Kiraās Kuchipatchi has died, so I will update it accordingly. (image 2)UPDATE tamagotchi SET alive = "no" WHERE id = 3; SELECT * FROM tamagotchi;Kira has now decided to deactivate his account, and with that, his id and all relevant data will be erased from the database: (image 3)DELETE FROM tamagotchi WHERE id = 3; SELECT * FROM tamagotchi;Updating and deleting data was a lot easier to learn than aggregating and merging data. Funnily enough, it is also the most dangerous operation.
(DIR) Post #AWy7VUACnHMHhISfLc by MoeBritannica@varishangout.net
2023-06-23T02:16:44.132213Z
1 likes, 0 repeats
@ehhh @hazlin you went from Javascript to MySQL :naruhodo:
(DIR) Post #AWy8A9z4j2z2z6eO8m by ehhh@varishangout.net
2023-06-23T02:24:07.274174Z
1 likes, 0 repeats
@MoeBritannica @hazlin I'm actually using HeidiSQL. It's kind of confusing.
(DIR) Post #AWy9BYN3dpIwrY628u by MoeBritannica@varishangout.net
2023-06-23T02:35:32.505421Z
1 likes, 0 repeats
@ehhh @hazlin ic :tamamo_bruh: thinking about integrating SQL into my web project but for now im trying to git gud with HTML and CSS :cat_code:
(DIR) Post #AWy9F7HiHzLO0yINzk by ehhh@varishangout.net
2023-06-23T02:36:13.556606Z
1 likes, 0 repeats
@MoeBritannica @hazlin I'm good at those! š good luck!
(DIR) Post #AWyGXkr8bNDvdPhQpc by hazlin@amala.schwartzwelt.xyz
2023-06-23T03:58:03.940665Z
1 likes, 0 repeats
@ehhh Looking good,It seems like you've got a handle on this. But, I am still going to write some JavaScript.The most complex part turned out to be formatting the output xD
(DIR) Post #AWyKVNQ5ANO4BZAMTY by MoeBritannica@varishangout.net
2023-06-23T04:42:21.144126Z
2 likes, 1 repeats
@ehhh @hazlin thanks and you too :gura_wave: here's my work so far :cat_code:
(DIR) Post #AWyRyxp1bNKfA7t7k8 by ehhh@varishangout.net
2023-06-23T06:06:11.372749Z
0 likes, 0 repeats
@hazlin ohhh, nice.By the way, not that it matters to you, but GOlemPrincess actually has a Memetchi, not a Mametchi. It's a one-letter difference but they're completely different characters. xD
(DIR) Post #AWySKmOCmwoA4kkJHc by ehhh@varishangout.net
2023-06-23T06:10:07.750669Z
1 likes, 0 repeats
@MoeBritannica @hazlin Good!! People still make chat rooms? xD
(DIR) Post #AWyUbaq3BgIL5AuoiG by MoeBritannica@varishangout.net
2023-06-23T06:35:30.958422Z
1 likes, 0 repeats
@ehhh @hazlin its a great kind of simple project for doing frontend <----> backend communication :cirno_UwU:
(DIR) Post #AXR82UdllPrBfaseye by ehhh@varishangout.net
2023-07-07T02:09:20.349044Z
0 likes, 0 repeats
@hazlin UNIT 4:For this unit, the lessons aren't holding your hand anymore. I dunno if they ran out of budget to make videos but the articles are not as helpful to me.Here's the assigned project: https://www.khanacademy.org/computing/computer-programming/programming-games-visualizations/side-scroller/pp/project-hoppy-beaver-extremeI chose to add in inverted collision which - was kinda weird that it was suggested in the first place because it was never taught, so I had bae help me with that. But, collision just sucks in general when you're doing it from scratch, it's just too much math.Anyways, you can play my version of the minigame by copy/pasting my .js contents into Khan Academy or whatever.
(DIR) Post #AXV72dEqTRXR0wZ44m by ehhh@varishangout.net
2023-07-09T00:16:55.159983Z
2 likes, 0 repeats
@hazlin my apologies, forgot that .js are a no-no herehow about a .txt
(DIR) Post #AXZftGF8sGB47LoI5Y by hazlin@amala.schwartzwelt.xyz
2023-07-11T05:06:20.866341Z
1 likes, 0 repeats
@ehhh I can see that this one was quite a bit harder. But, I think that is only because they provided partially complete ideas in the starting code.If you knew, that detecting the hits, was a simple test called AABB, then you could have looked that up and read about it! But, they gave you a partially hard coded version of the solution. Once you have a generic test to determine if two rectangles overlap, this goes back to being pretty easy.I'm not sure what the complementing depenetration function is for AABB, but I've included an approximation, that seems to work correctly. Given two rectangles, it will move the first, using the shortest movement out of 4 simple directions, giving the illusion of solidity both.Combining the two, and using a rectangle for each entity, I've produced the attached video. (if you wondered why I am using "self={}" instead of prototypes to create my objects, then I will attempt to explain it.I'm also using a different approach to OO, but that is more a matter of taste than anything else.var mk_rectangle = (x,y,h,w) => {var self = {}; self.x=x; self.y=y; self.h=h; self.w=w; return self;}var r1 = mk_rectangle(1,2,3,4);nearly the same as sayingfunction rectangle (x,y,h,w){this.x=x; this.y=y; this.h=h; this.w=w}var r1 = new rectangle(1,2,3,4)The taste comes down to, I'm willing to do a little extra typing, and pay slightly more memory allocation, so I don't have to think about which object "this" refers to xD )Anyway, glad to see you are still moving forward :D
(DIR) Post #AXc19TOJIPpDBhKgvQ by ehhh@varishangout.net
2023-07-12T08:13:57.668168Z
1 likes, 0 repeats
@hazlin For some reason this project wasnāt as confusing for me and I got it done in a relatively shorter amount of time, I guess itās becauese things are not moving all across the screen? Anyways, this is a simple memory-matching game. Test the original game for yourself here. For my version, Iāve added a hover animation (where your mouse moves to, a tile will change color) and a restart button.Note to self: To change a cosmetic or to create visual objects, put it in the draw = function()By the way, my restart button basically does the same thing as the restart button outside of the game box. I added it because if you think about it, a real game would need one inside of it. While setting them back to tile.isFaceUp to false is easy, itās not a true reset because the actual cards donāt change. So itās kind of cheating!So for that, weād need to make it truly reset for a fair start-over. Weāve come over some weird bugs trying to implement that, like the program would crash and the tiles would move out of their line. But eventually that was fixed by using the same code from the randomizer portion. Basically, a reset is when all the cards turn face down again and is randomized, thatās how itās done here.
(DIR) Post #AZm8R0OfwuJ760wEfg by ehhh@varishangout.net
2023-09-15T01:06:51.408967Z
4 likes, 0 repeats
@hazlin I havenāt updated this in a while but I am ackshually learning python now. My husband is giving me a lot of private tutoring rather than me going online and doing activities. š
anyways hereās one of my first ones: a python script to tell you if a given word is a palindrome!he wrote this afer many of my failed attempts. Even if I understand the general road of how to achieve my goal, remembering the grammar and syntax is still hard right now. I wrote retarded shit like if a[::-1] = true or if a == a[::-1]: but anyways this seems to be the way to do it and I have to just remember how it works!
(DIR) Post #AZmPn2q1FiTGG4p5W4 by hazlin@amala.schwartzwelt.xyz
2023-09-15T04:21:24.332205Z
1 likes, 0 repeats
@ehhh Glad to see you are still at it!That python sort hand is scary lol. So I've written out the check as a loop xD
(DIR) Post #AZmTYOyR4NpsNs26IS by ehhh@varishangout.net
2023-09-15T05:03:34.371058Z
0 likes, 0 repeats
@hazlin what's wrong with ::-1?
(DIR) Post #AZmXwQHMGgrNCNaqjw by hazlin@amala.schwartzwelt.xyz
2023-09-15T05:52:43.785658Z
1 likes, 0 repeats
@ehhh Nothing, I just, don't understand what is happening with it. If I had to guess, it means to reverse. This is just an instance where I'd prefer to write more code for clarity.
(DIR) Post #AZoGNpYsz9kKbswBSS by ehhh@varishangout.net
2023-09-16T01:45:17.094428Z
1 likes, 0 repeats
@hazlin I learned it from an insane russian, IDK
(DIR) Post #AZoIQ6x1VFuP1tRVWC by hazlin@amala.schwartzwelt.xyz
2023-09-16T02:08:15.622602Z
0 likes, 0 repeats
@ehhh Your husband is an insane Russian xD ?
(DIR) Post #AZocIoabN49b8ckmR6 by ehhh@varishangout.net
2023-09-16T05:51:00.370519Z
3 likes, 2 repeats
@hazlin no he sent me this video
(DIR) Post #AZodMWrpIsdDHo93tg by supersid333@varishangout.net
2023-09-16T06:02:55.076626Z
1 likes, 0 repeats
@ehhh @hazlin These videos are amazing. Real art to their ability to teach without a single english word being uttered.
(DIR) Post #AZodP378NhZJsSVUPo by supersid333@varishangout.net
2023-09-16T06:03:23.280099Z
1 likes, 0 repeats
@ehhh @hazlin well, some. Still
(DIR) Post #AZoelPTzzlQtZtQbA0 by luithe@varishangout.net
2023-09-16T06:18:35.780911Z
1 likes, 0 repeats
@ehhh @hazlin great I think I woke up the entire house from this video :guraKekw:
(DIR) Post #AZojZ7Li5cDtdJVbqy by hazlin@amala.schwartzwelt.xyz
2023-09-16T07:12:21.747326Z
1 likes, 0 repeats
@ehhh I like that Russian teach coding like they are raging in counter strike xD xD xD