Skip to content

monke place

You know the drill

This is my blog area!!

This used to be hosted on blogger by Google, but I moved to GitHub because it's cooler, looks nicer, and I can edit it from my ide.

Old monke place (blogspot)


Knowbody

The Art of Knowing Thyself

Tis me, Know, making the obligatory first blog post. I know you are here to learn about my wonderful KNOWledge I picked up from the lands of Knowwhere. To save me some time, I will put some FAQ below:

What does Know know?

One has travelled the lands afar, the seven seas, the FarTek mountains. There is no such thing or being that I am not aware of.

Who am I?

That's a very good question, but I personally with all my KNOWledge would rather not talk about who this "I" person is, after all it is very similar to a certain Lowercase Letter that I would rather not use. It's more suitable to talk about "Yu".

How can I ask additional questions from the KNOWledge?

That KNOWledge is not for you to obtain. One must embark on the perilous journey to Knowwhere, an arduous path acknowledged by many to hurt even the greatest.

Who is Toast-?

WHAT, HOW? QUIET! Do not mention such names to me ever again, or I shall not hesitate to summon the curse of KNOWledge upon you.

Question

Huh, what? I thought I turned off this feature - it must be the doings of "I" again. Quick, bury yourself in this dummy text before they come haunt you!

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque sapien lectus, auctor eget sem id, placerat lacinia turpis. Maecenas non eros ut augue porttitor ullamcorper at et neque. Morbi tempus ultrices dui, quis gravida erat mattis in. Aliquam erat volutpat. Aenean accumsan lacus quis purus ullamcorper, vel pharetra elit fermentum. Nulla id sapien auctor ipsum porta maximus et nec tellus. Maecenas ut mattis odio. Sed ac iaculis diam. Maecenas posuere, lectus ac ornare aliquet, ex libero ultrices arcu, ac aliquam leo nibh sed tellus. Integer a magna odio. Pellentesque volutpat augue bibendum metus finibus, tincidunt viverra magna luctus. Integer elementum luctus euismod. Phasellus dapibus ipsum vel lacus ullamcorper hendrerit.
Warning

This is the end of the blog post. There is knothing more on this page. Don't test it, I will know if you get Knowwhere...

test run

Hello I am AreSeven. Here's a collection of some of the syntax for the blogs which I need to remember. Definitely more useful in the long term than a simple introduction.

h1

h2

h3

h4
h5
h6

lemon

hello world (r7)

Hi I am now on this blog. I was invited as contributor on the GitHub repository, so yay :).

Blogger 4

hello chat.

today we are looking at scratchattach.editor

yeah there are some issues

anyway i got bored of that so lets do goboscript programming instead

there is a very weird/annoying bug regarding the %includes right now. hopefully it gets fixed at some point

ive recently switched to archlinux + kde, but i just used archinstall so im not sigma or anything. i wonder if i can use joplin to public publish a portion of my notes, e.g. on github.

I might transfer the stuff from here to there then, but nrn

there might exist gh things you can fork to create a custom blog, or maybe something with github pages idk.

but yeah thats a thing

ive also been making a vscode extension so i learned a bunch of typescript so thats cool (or not) i guess

so yeah, cant be bothered to put anything significant here, no one looks here anyway other than myself, unless i somewhow become not irrelevant and someone actually cares to read this

anyway goodbye, just posting this because i dont want the monke place to die

Blogger 3

trying to make a fortune's algorithm for a Voronoi diagram in goboscript

but the doc i was looking at wasnt too transparent on the implementation

im not sure how exactly i will structure it

img_4.png

i have directrix-based parabolas and their intersection but thats it

also btw i implemented parabola struct as a vec3. interesting, i guess, but confusing because its xyz instead of abc

cant think too much about it, but ima work on pengine instead of voronoi rn tb

just implememnted bezply

oh my god pointengine is so, so useful and nice. whats even nicer is being able to edit all of these modules on the fly

img_5.png

oh my im using discord a lot instead of posting here

Blogger 2

supposedly im meant to make a new post now ig

trying to make a comprehensive library for goboscript for my own use

its a bit annoying to be using prefixes instead of namespaces because i want to have my internal module-wide 'global' vars to be restricted there without polluting the area

without operator overloading, calculations with complex numbers/vectors are also annoying, but tolerable.

The most annoying thing is that the macro system is a bit broken. You cant call a macro within a macro

  • but u can use a macro in a macro definition. This is a bit weird but i hope it gets fixed bcs it would be so useful for my struct system

Im trying to refactor my old code but its so bad

aaaa


need to add testing for every module

so i need assert.gs to work nicely first

maybe macros for defining whole functions could be funny#]

things im prolonging

  • easing testing (how.?)

nvm

thinking about credits in goboscript. not sure how that would work

You can get the distance of a point to a line by taking a vector representing the line, and a vector to a point on the line to the point in question, and taking a determinant to get the area formed by the 2 vectors. Then, divide the area of the parallelogram by the side length that is on the line (i.e. the length of the vector representing the line), to get the perpendicular height of the parallelogram.

img_1.png

Like this ^^ where the line is from (a, b) to (c, d) and the point in question is (u, v)

img_2.png

man 3b1b is such a good yt channel

this is why goboscript macros are so funny (line intersection)

refactoring a lot of goboscript code rn

clip.gs is wiwo rn. have to rename some stuff and refactor some things for better code quality

just made tims button detector in gs. quite easy with macros actually

i need to make my f3d gs code more easy to use

img_3.png

f3d and thinkingplanely stretch are now in. cosfx is implemented!

What is goboscript actually useful for?

Perhaps i would say that the reason why i use goboscript (gs) is because the scratch editor was lagging too much. But there are a couple of other things that are really nice about goboscript.

  • abstractions like functions, macros and structs
  • git(hub)
  • being able to handle tons of variables/lists without the block palette becoming clogged

But perhaps my favourite feature of them all, is the %include statement.

This is because it opens up the door for library development in scratch. Library development in scratch would allow you to use other people's code easier. And being able to use other people's code without having to drag-and-drop out of your backpack is a wonder for the soul.

Just a simple %include statement is all you need.

And of course, this is not limited to other people's code. The %include statement simple copy-pastes another goboscript file into another within the preprocessing for compilation.

  • For example, the goboscript standard library's testing script makes use of %include to separate testing scripts for different submodules into different files. i.e., the math.gs module is tested by the test/lib/test_math.gs instead of being bundled with other testing scripts, like test/lib/test_string.gs.

holy yap

Hit #: