gilbert189's avatar

@gilbert189
Beta tester

i'm gilbert_given_189 on Scratch.
Wall

Let’s play a game of “Fortunately, Unfortunately“. Respond the previous post (the first comment below this post) by replying this post (not the previous post!)

I’ll start with: “I found this website.“

14 1 96

I got 33%

It would be nicer if it actually works

#include <stdint.h>
#include <stdio.h>
#define 左 --ptr;
#define 右 ++ptr;
#define 加 ++tape[ptr];
#define 减 ++tape[ptr];
#define 写 putchar(tape[ptr]);
#define 读 i=getchar(),tape[ptr]=i*(i>0);
#define 起 while(tape[ptr]){
#define 终 }
#define 开始码 uint8_t tape[65536] = {0}; uint16_t ptr = 0; int main(i) {
#define 结尾码 }
// wait, it doesn't work properly?

开始码
减 起 减 减 减 减 减 减 减 右 加 左 终 右 减 写 减 起 减 右 加 加 加 加 加 左 终 右 加 加 写 加 加 加 加 加 加 加 写 写 加 加 加 写 起 减 右 加 加 加 加 加 左 终 右 加 写 减 减 减 减 减 减 减 减 减 减 减 减 写 减 减 起 减 右 加 加 加 加 左 终 右 减 写 减 减 减 减 减 减 减 减 写 加 加 加 写 减 减 减 减 减 减 写 减 减 减 减 减 减 减 减 写 减 起 减 减 减 右 加 左 终 右 写
结尾码

ok here is one

pairSum :: Num a => [a] -> [a]
pairSum [] = []
pairSum [x] = []
pairSum (x:y:[]) = [x + y]
pairSum (x:y:xs) = x + y : pairSum (y:xs)

pascal :: Integer -> [Integer]
pascal 0 = [1]
pascal x = [1] ++ (pairSum $ pascal (x - 1)) ++ [1]

main = mapM (print . pascal) [0..20]

greetings to 5-cube

farewell to hypercube

welcome hypercube

goodbye box

How do you handle sibling imports?

JavaScript: "I use .. to notate the parent directory and then move to the sibling I want. Just like how they did it in the 70s."

Python: "I make and install a new 'package' on a virtual environment before I can import it. I could use sys.path, but that's more of a bodge really."

2 0 0

What would you think would happen if Twitter users rule a country?

Because my Wine install on Arch is broken (for some display config, I guess), I had to piggyback my Ubuntu install so I can use it (glad systemd-nspawn exists)

Now I’m trying to figure out how to set up PRIME render offload on it because it has…

gilbertdlo@asusUbuntu ~> prime-run glxgears
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  152 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  26
  Current serial number in output stream:  27
gilbertdlo@asusUbuntu ~ [1]>

…problems.

4 1 1
410 Gone
Date: Sat, 22 Jul 2023 06:09:35 GMT
Content-Type: text/plain; charset=UTF-8
Content-Length: 30
Server: cloudflare
Connection: close

Rest in piss, forever miss /ref

(this just came on my head)

also, :8443 is gone

10 1 4
5 0 1

is something wrong with the Socket.IO server or something?

life is short

play more

testing my notif

I was transferring some files from my little brother’s PC via SSH when my naughty self decided to do a little trolling by rickrolling him

4 1 0

it works now

I made a PR for @wasteofplus :

https://github.com/imadeanaccount1/wasteof.plus/pull/27#issuecomment-1642603438

(I should probably draft it since it doesn’t work right now)

7 1 0

now I can’t unsee the [SPOILERS]

thanks mate

the fedex logo is by far the greatest logo ever designed

19 2 18

For a guy that occasionally uses the functional paradigm on my mostly imperative code, I’m still kinda surprised why I don’t use Haskell more often

Probably because that language is too complex to toy around with

Speaking of, suggest something for me to make on Haskell I guess

Gotta say, the opening theme of KSS on the SNES is better than the KSSU on the DS

The instruments decays much faster on the former than the latter

2 0 0