#Programming and Technology

1 messages · Page 1 of 1 (latest)

fierce chasm
#

Feel free to chat here about the pertaining topic!

fierce chasm
#

*Submitted by @eternal wave *

Hi y'all, I've decided to make @mossy stirrup's source code public on GitHub so that you, or anyone else can take a look at the code, learn from it, contribute/code features for it, identify bugs, and help resolve them if you wish. Hope you find this interesting. Pull requests are welcome!

Here's the link - https://github.com/Sachin-dot-py/r-igcsebot?

GitHub

The code of the r/IGCSE Bot, custom built for the r/IGCSE Discord Partnered Server (with over 10,000 members!). The bot is in charge of managing the rep feature, helper pings, modmail, reaction rol...

fierce chasm
fierce chasm
fathom aurora
#

#firstmessage

wanton scaffold
#

hello world

winged iris
#

anybody want to learn about cxl

wanton scaffold
#

sure

late tartan
#

VB sus

barren crow
#

when you waste 4 hours in vscode trying to make a 40 second video

barren crow
#

thanks, that really means a lot to me

wanton scaffold
#

damnnn 🔥

#

why is it called sus.mp4

barren crow
#

idk, i just named it the first thing that came to mind

charred ember
muted harbor
inland meadow
#

so i learned a lot of c program

#

like almost done

#

according to my teacher

#

now idk what to do with this information

late tartan
#

But, seriously, there are many websites that pay a lot you for a decent program.

fathom aurora
#

making a video in vscode!?!?

cunning haven
#

yo are there any C# brother over here

inland meadow
fathom aurora
inland meadow
#

how do i make discord bots?

#

like what language do i need

#

i know how to do C

#

and im learning Python now

barren crow
#

i've programmed some pretty good bots in python with discord.py

#

but i haven't done much bot developing since discord's big update

#

and i've heard nextcord is a replacement for discord.py

#

as for C, libdiscord is no longer maintained unfortunately

#

API v3 (iirc) is deprecated (and has probably been defunct since idk)

indigo cliff
indigo cliff
inland meadow
mossy stirrupBOT
#

Gave +1 Rep to Klez#9999 (10)

cloud stump
#

Hi i need help, can someone help me with a python question i hab

mossy stirrupBOT
#

Don’t ask to ask. Just ask.

wanton scaffold
cloud stump
#

and my boolean does not work in my code

wanton scaffold
fathom aurora
#

rawrs here

#

he will solve ur problem

indigo cliff
charred ember
wanton scaffold
frosty needle
#

coded this for myself today hehe

bleak sparrow
#

what is this code for on line 208??

 if message.attachments and message.guild.id == 576460042774118420: # Temporary for leaks```
#

on the igcse bots github

fierce chasm
#

Idk

#

Lol

eternal wave
#

So we implemented that temporarily on the code to delete these leaks and inform us about them

#

<@&854000415074025493> s I think we can remove it^

eternal wave
bleak sparrow
#

overall man i am amazed by the work! loving the bot

fierce chasm
#

Now we have automod so it should be fine

glacial dove
frosty needle
frosty needle
mossy stirrupBOT
#

Gave +1 Rep to iman#2419 (2)

frosty needle
#

the search https://paper.sc/search/?query=9709%20m19%2022
the document https://paper.sc/doc/:id
looks easy

#

how about adding paper search in the bot? or is it already there

eternal wave
frosty needle
#

oh damn

#

that's nice

fathom aurora
#

sounds like a manim project

#

nice

vale pelican
#

if i made a cli tool to search for and download past papers by subject/yr would yall use it

fathom aurora
#

Maybe

inland meadow
vale pelican
#

it would support everything thats on papacambridge

inland meadow
#

honestly it would be great to have something where i can search the database by questions

#

cuz when im doing topicals its hard to go to each year and find the question

#

if u get what i mean

inland meadow
vale pelican
#

its not topical

#

its yearly

inland meadow
#

yeah

#

it would be good to have something similar for alevels

#

but it directly brings me the answer

#

like i type the question in it shows me the answer

vast cradle
#

Can I get that site?

#

I see it's localhost: something at the address field so is it some sort of program>

#

I saw A-level economics so I got excited

vale pelican
#

most likely will finish after cies

vast cradle
#

thing is

#

While it sounds cool in practise to have all the MCQ's

#

The aren't rly explanations for the answers

#

That'll probably triple the amount of work but it's a dream.

wispy prairie
inland meadow
vale pelican
#

i mean the most i could do is show the examiners comment from the er

#

but yeah im not going to write explanations for thousands of mcqs, half of which are subjects i dont know lol

wispy prairie
#

if its not a frontend only app, then you could make a forum sort of thing

or just use a widget for commenting

vale pelican
#

also if i made a firefox extension that bypassed the 20 notes per month limit of savemyexams would yall use it

arctic geode
#

by clearing cookies

#

i think

vale pelican
vale pelican
inland meadow
#

this is why i wanna learn to code

#

.........to definitely not commit crimes......

vale pelican
#

coding has nothing to do with this lol

#

it’s just basic knowledge of how websites can store info

#

since i don’t have an account it must mean they’re storing the info somewhere on my browser

#

and the only places those can be is cookies or local storage

#

so i check local storage

#

and there is a value called sme viewed revision notes

#

which turns out to be an array of 20 notes i’ve looked at before

#

so i try deleted it and there we go

inland meadow
#

So its a bit like hacking right?

vale pelican
#

it is nothing like hacking 😭

#

this is just knowing how websites store info on your browser

wanton scaffold
vale pelican
#

that also

#

u just fuck around and find out

wanton scaffold
#

when smth breaks look at stackoverflow

inland meadow
#

:0

quasi granite
#

Who

#

Sup

indigo cliff
#

you just don't do something that can somehow hack into a website or account, it's impossible. it's all exploits and understanding how the system work as a developer

inland meadow
#

just out of curiosity

kind junco
inland meadow
kind junco
#

cuz cuz

#

yeah

vale pelican
kind junco
#

that's valid

wanton scaffold
#

Anonymously

#

Otherwise you leave proof

kind junco
#

yeah gotta be careful

inland meadow
#

lol

#

i was wondering would it be possible to make a command or i guess an algorithm that could turn my phone silent from 8 am to 5 pm then put in on like full volume rest of the time?

#

because i turn on silent mode when i go to school, then usually i forget to turn up the sound when i get back home and sometimes i lose it on the sofa or something

#

and my phone doesnt have a function that already does that

wanton scaffold
#

Idk how easy it is to do it yourself since your working with your phone's settings and that's not very easy afaik

inland meadow
#

obviously this is for education only

vale pelican
#

browser?

inland meadow
inland meadow
vale pelican
inland meadow
mossy stirrupBOT
#

Gave +1 Rep to saya#6825 (6)

vale pelican
#

i be farming rep

indigo cliff
#

learn how to make login and signup pages using php

wispy swan
#

a

fathom aurora
#

e

kind junco
#

i

fathom aurora
#

o

wanton scaffold
#

u

wispy prairie
#

null

wispy prairie
#

devtools foolery and basic site knowledge is not coding

#

you'd be surprised by how many restrictions you can bypass

#

with just devtools

#

friend once edited localstorage on a site to set "admin":"true" and "roles":["admin"]

just like that he got a 50$ reward after filing a bug report 💀

wispy prairie
# vale pelican

also, instead of doing this everytime its possible to just edit localStorage in the console with a script you can easily access in your console history with the up arrow

#

one could make a tampermonkey script for this sort of thing

#

2 lines or sm

wispy prairie
# indigo cliff you just don't do something that can somehow hack into a website or account, it'...

strongly agree
a "hack" isnt coding your way into full access of someones system or something

think of it this way
a program is like a strict set of rules
every ruleset has this loophole, where the rules cant actually be applied

that flaw in logic, in the context of programming, is a vulnerability / bug

it can be simple, a broken filter in a server that processes something like a login form can go from
simply bypassing a filter on a form to something more advanced, like a password like " OR "1"="" giving you full admin rights

#

hacking isnt an "aha! i can learn this one hacking method and use it everywhere!!!", its about being a sort of system lawyer, finding tiny logic flaws and amplifying it to make what used to be an intricate ruleset into your home

#

its an art form, like all computer science fields

#

like art, its easy to follow a tutorial and replicate someone elses work and call it your own

but what's the point?
you dont learn from it, you cant call it yours, and it just exists

echo gazelle
#

does anyone even πrogram in java anymore?

#

like kotlin and other langs built on the JVM seem to be overtaking java

fathom aurora
kind junco
#

yeah

bright sandal
#

I love jaja

#

java

bright sandal
vale pelican
fathom aurora
#

hey

#

i wanna learn python so i search "learn python" on google

#

i found this PDF

#

it consists of 1213 pages

#

does anyone here know about it? is it good?

#

it's an introduction to python

fathom aurora
#

i'm going to dive into it tbh

#

can't wait ;p

arctic geode
fathom aurora
#

lmao

#

anyone know it tho?

echo gazelle
#

imo this is much more beginner friendly

fathom aurora
#

Thank you.

vale pelican
#

now i just have to get it to download the paper which shouldnt be hard

vale pelican
#

and its done

#

npx search-past-papers to whoever wants to try it out (yes u need node js)

kind junco
#

hi

wispy prairie
#

why would you do such a thing

vale pelican
wispy prairie
#

i've found that bookmarking the subject i want to get my pdfs from generally tends to be a lot faster than opening console, running npx, going to file location, opening browser/pdf viewer to open the pdf

#

with this you risk opening a file that doesnt exist which means all that titime in console goes to waste for a 404

vale pelican
#

well i didn’t really make it for window users in mind

#

if ur on linux u can just do

wispy prairie
#

im saying this from a linux users perspective

vale pelican
#

spp thefile

#

firefox thefile

wispy prairie
#

doesnt fix the main point though?

vale pelican
#

also i literally don’t care 😭 i was just bored and wanted something to make

wispy prairie
#

its still opening up a whole new tool for it that i couldve just used to download the files in the ffirst place brother, the trick is to shove all the needed things into the app

wispy prairie
#

everything nowadays is a js package

#
import axios from 'axios';
import fs from 'fs';
import inquirer from 'inquirer';
import { input, select } from '@inquirer/prompts';
import SearchBox from 'inquirer-search-list';
import { createSpinner } from 'nanospinner'
import { subjects } from './subjects.js';```
i watched a video with the title being something like "have people forgotten how to code?"
this amount of dependencies
its unreasonable for such a small thing
wanton scaffold
#

its incomplete

#

like no O/N no F/M

languid basin
#

which programming language should i learn?

#

HTML, Java or Python?

wanton scaffold
#

but

#

what're you trying to do

#

with your programming knowledge

languid basin
#

In my college application

#

Looks good

#

And something which is future proof

wanton scaffold
#

hmm

languid basin
wanton scaffold
#

for college they'll probably expect you to make shit

#

like websites and apps and stuff

languid basin
#

So what should I stick with?

wanton scaffold
# languid basin So what should I stick with?

so python is easiest and is pretty great for everything
java is for apps and minecraft mods, its lower level so you get more understanding of how shit works
html/css are for websites but if you wanna learn an actual language for web-development learn JS (for this freecodecamp has good tutorials)

languid basin
#

I am familiar with HTML

#

Made one or two websites

#

Using w3schools

#

I will try Python

#

Let's see

wanton scaffold
#

Btw python can be used for backend websites but it's not as seamless as JS

wanton scaffold
#

Good luck

languid basin
#

Thank you

#

Any site which is good for learning?

#

Also what languages are good for competitive coding?

wanton scaffold
wanton scaffold
#

chatgpt can help lmao

#

but i dont have any specific resources

languid basin
#

Yeah code with mosh and others

languid basin
wanton scaffold
languid basin
#

I will see

#

After 2 years I am restarting coding

wanton scaffold
#

Eyyy

arctic geode
#

i think the owners gave up

vale pelican
#

like 2022 o/n still not here

wanton scaffold
wispy prairie
fathom aurora
#

I've been learning python guys

#

look i managed to use what i've learned so far

#

print("Please type in your password.")
stored_password = "123456789abc"
entered_password = input()
while entered_password != stored_password:
print("Incorrect password. Please make sure you have typed in the password correctly.")
entered_password = input()
else:
print("Authorised! Loading account...")

#

it's actually so cool

wanton scaffold
#

Btw you can put text in the input statement and remove the print

 x = input("pls give number: ")
fathom aurora
#

Oh wow I just tried it and it works

#

Ty

wanton scaffold
mossy stirrupBOT
#

Gave +1 Rep to rawr4200#0 (1119)

wispy prairie
zenith frost
#

ayy

#

whaddup fellow 1337 pro gamers

zenith frost
#

all of those work

#

just thought I should put this out there

#

frankly im surprised they dont restrict via IP

#

that can be changed too

#

but yea

inland meadow
zenith frost
summer gazelle
#

should i buy an imac or a windows laptop with a monitor for my dad?

inland meadow
summer gazelle
#

but expensive compared to mac

inland meadow
summer gazelle
#

with a monitor and a keyboard, and a mouse

inland meadow
#

problem with macs tho, u cant do a lot of the things like u can in windows

summer gazelle
#

the thing is my dad doesnt want a chinese one

#

so idk

#

he is like very concerned about security

indigo cliff
#

it's better

indigo cliff
indigo cliff
summer gazelle
#

ok

#

he has a 2009 and 2015 macbook

summer gazelle
indigo cliff
#

in business, office and study use

#

not gaming of course. but other than that it's beautiful

indigo cliff
#

Leopard days

summer gazelle
crisp fjord
#

ihad an idea about using LLMs to 'chapterize' past paper questions. We have access to the past papers. What if we use OpenAI's API and feed it the question along with the syllabus? It should recognize the topic of the question and then create another PDF with the answer key. Does this make sense? How practical is this?

#

hm this is pretty dead

#

ill just try this with one past paper

crisp fjord
#

output: Thermal Physics

#

the hard part is to extract questions lol

wanton scaffold
crisp fjord
crisp fjord
#

can someone PLEASE revive this chat

crisp fjord
azure cipher
#

yo so I'm trying to make a paper cleaner

so im taking like my school exams that I have done and that have been marked, I've already scanned them

then I want to use a python program to remove all the marking and the answers I wrote, and leave just the questions (that are in kinda black ink) for future practice or smth

my answers are in blue pen and the marking is in red pen

how would I go abt doing this? I've tried the approach of turning non-black and non-white pixels into white pixels, using PIL

but in the end it pretty much just gave me a white image, probably because the questions were not exactly black, you know?

I coded with the aid of chatgpt and blackbox (don't judge me I just finished igcse and just got into programming my own projects 💀)

this is my first project so would help if anyone could help

again I'm completely clueless about everything and probably need some example code to test stuff out

thanks again everyone in advance 👍

wanton scaffold
azure cipher
#

blue pen

#

and marking obvs is in red

#

usually how I would do it manually is to open paint, select my answers and delet

#

but this is very tedious and takes a lot of time

#

which is why I wanna automate it in some way

#

this is what I have so far

from PIL import Image

# Load the image
img = Image.open("input.jpg")

# Convert to grayscale
img_gray = img.convert('L')

# Apply threshold
threshold = 100  # Adjust this value to suit your image
img_bw = img_gray.point(lambda x: 0 if x < threshold else 255, '1')

# Create a mask to separate the dark regions (questions)
mask = img_bw.convert('L')

# Apply the mask to your original image
result = Image.composite(img, Image.new('RGB', img.size, (255, 255, 255)), mask)

# Save the cleaned image
result.save("cleaned_image.jpg")
#

but the output is bad 💀

#

sorry bad image quality

wanton scaffold
#

Use the color difference to your advantage

#

Also you can just use GIMP or Photoshop to do the same thing almost instantly

azure cipher
#

AHAHHAHA

azure cipher
mossy stirrupBOT
#

Gave +1 Rep to rawr4200#0 (1537)

azure cipher
#

photopea it is then

granite storm
#

this shit existed wow

cerulean thunder
#

why is everyone a bot developer

#

huh

granite storm
#

in this thread

cerulean thunder
#

istg everyone is a bot developer

granite storm
#

ig that makes bot devs cool

granite storm
cerulean thunder
#

but i quit like a year ago

#

was bored so was replaying games i havent played in a while

granite storm
#

i mained octane

cerulean thunder
granite storm
#

i liked the speed

#

natural regen was also useful

cerulean thunder
#

ic

granite storm
#

i used to clutch up with jump pad

#

when the zone was near

#

and ditch my teammates

#

ja ik im him

turbid parrot
#

hi

fathom aurora
granite storm
#

also y is it hosted on a github acc thats litr has gaming in it

#

reminds me of healthy gamer ngl

#

k its fr some website 4 mentally unstable ppl

#

im closing it

fathom aurora
wide cove
#

ok

patent flame
#

can i talk about css and html (im very bad PLEASE HELP)

granite storm
#

unless u r tryna make an argument that html is a programming language

patent flame
granite storm
#

is this 4 ict or personal

patent flame
#

personal stuff

#

i made a game

#

the "top: 50px" is not working

#

WHY IS IT NOT MOVING 😭

granite storm
#

💀

granite storm
#

if u rnt looking 2 position it relative 2 the screen coord or page coord then use margin-top

patent flame
wanton scaffold
granite storm
#

thats bad practice tho

#

i totally dont do it in my website

#

!important is 4 overwriting styles

#
div {
  display: flex !important; /* will overwrite any div.class */
}

.class {
  display: block;
}
zenith frost
#

make parent relative

#

and this absolute

granite storm
#

ja

hoary burrow
late tartan
#

that sc is so old

hoary burrow
#

since m/j session is gettingg close im probably gonna be a bit more active here

hoary burrow
late tartan
#

I dropped computer

hoary burrow
#

cs is like

#

really cool

late tartan
#

yeah ik

granite storm
#

c# but shit

empty torrent
#

C# may be useful but it's quite old fashioned

wanton scaffold
#

Fuck C# i use scratch like a real man chad

granite storm
#

🤣

#

im tryna make minecraft work in my browser

#

the problem is the gui is laggier than the actual game

#

like wtf how is rendering text in js more taxing than 3d graphics

granite storm
#

no wonder y its so fucking laggy bc each pixel is getting rendered multiple times

empty torrent
#

Mannn

#

Ive never known webgl to be that laggy

granite storm
#

i think the original creator was using png 2 render shit

#

rendering text with png is just haram

#

ofc it lags

#

i didnt know how 2 fix it

empty torrent
granite storm
#

then i saw a fork which fixed it

#

so i started tryna make survival mode out of creative

#

ngl that fork is so good rn

#

i didnt know it was so fucking ez 2 run minecraft in chrome and shit

#

plus its so smooth even with me using 3 vpns

granite storm
eternal wave
#

the new r/igcse bot code, now written in TypeScript

patent flame
#

whats the difference between typescript and python

granite storm
#

typescript is vry different from python

#

ts is a superset of js

#

it compiles to js

#

ts has types or type annotations to generate compile time errors rather than runtime errors

#

its better 4 the ide as well

granite storm
#

i wouldve supported py 2 ts migration

#

🤷‍♂️

#

mods gonna be mods

wanton scaffold
hoary burrow
#

Just why

#

Or typescript ok but point stands

patent flame
granite storm
#

plus u can write almost anything in js

#

imo the only downside 2 js is its type coercion

#

ts fixes the static typing shit but the meme still exists

eternal wave
#

lol

granite storm
#

Math.max and Math.min make sense tbh

#

the most absurd shit is the typeof NaN and the (!+[]+[]+![]).length bc !+[]+[]+![] evaluates 2 "truefalse"

#

js aids

hoary burrow
hoary burrow
#

maybe it's because i'm used to it but something like c# feels maybe safer

granite storm
#

if u r more familiar with js tho then its completely fine 2 use it

#

i dont believe in programming language superiority shit

#

just code in wtv is fastest 4 u bc at the end of the day ur sanity matters

#

better 2 get that product out fast than do ur head in

granite storm
#

if ur aim is lots n lots of speed then use go

#

i wont recommend c# 4 backend tho

#

i reckon its better 4 game dev and windows apps

#

its a nice language but it gets outclassed by others

#

wait lemme post my tier list rn

#

Godly

Amazing

  • Rust
  • Zig
  • TypeScript
  • C#
  • Python

Decent

  • Go
  • JavaScript
  • C
  • C++

Bad

  • Java
  • Ruby

Shit

  • Visual Basic
  • PHP
#

the modern programming language tier list with a heavily biased god tier

#

oh i forgot 2 include my language

#

ja now god tier is mega biased

hoary burrow
#

Hold on

#

Dart?

#

Isn’t that, ancient?

#

I do agree with c# being sometimes painful though

#

For me it’s more that as weird as it seems but Unity is soo nice to use for UI

#

That’s sort of my own trick tho

cerulean thunder
granite storm
granite storm
#

syntax is acoustic

#

its only useful 4 backend as well

cerulean thunder
#

ic

empty torrent
cerulean thunder
#

vanshy boy

#

why are you still chinese

empty torrent
#

It’s slow, the syntax sucks, and it doesn’t work as a service

empty torrent
#

I’ll revert when I’m home

cerulean thunder
#

school?

empty torrent
#

Ye

cerulean thunder
#

ic

empty torrent
empty torrent
#

How d’you like being bot dev?

cerulean thunder
#

very interesting

empty torrent
#

Nicee

granite storm
wanton scaffold
cerulean thunder
granite storm
empty torrent
wanton scaffold
empty torrent
#

Sapphire 🧐

#

Haven’t heard of that...

wanton scaffold
fallen river
#

maybe it isnt

#

sapphire and ruby are both corundum minerals

#

There is zero documentation on it online

granite storm
#

replaceable

wanton scaffold
#

There isn't a saphire afaik

fallen river
wanton scaffold
fallen river
#

I don’t think those 2 are related

#

There are 2 other ones but their sites are down cuz they’re too old

#

I bet you can find a programming language with any name if you dig hard enough lol

wanton scaffold
#

Damnn

granite storm
#

🤣

#

i better update my shit

#

list types rly being pita

fair pawn
fair pawn
granite storm
#

js blatantly is faster

#

python speed is litr a meme

fallen river
#

the speed isnt that noticable anyways

#

only for very very big uses

granite storm
#

tru

granite storm
#

🤣

fallen river
#

like accually how big does your project need to be inorder to consider moving to a faster language

zenith frost
granite storm
#

code does more shit than just printin if u didnt realise

#

recursion n loops r time intensive

#

thats what u mostly do in olympiad anyways

#

even in smaller projects speed is only a good thing

#

if ur shit is slow then less ppl r gonna use it

#

i mean if ur a rookie codin shit 4 fun then no nobody gives a fuck abt speed

#

u do u

fallen river
granite storm
#

guessin tone in discord is impaceble

fallen river
#

the hatred you have for python 😭

granite storm
#

i use it regularly

patent flame
#

I had a silly idea
What if I made an isomer simulator that loads all possible isomers of a compound

fallen river
#

isotope?\

patent flame
#

Isomer

#

Like isopentane

#

Or neohexane

#

4,3 methyl decane

fallen river
#

I see

patent flame
#

Literally anything

empty torrent
#

but wait

#

,w isomers of C5H8O

patent flame
#

Hmm can it give it in dot and cross form

wanton scaffold
#

saves you a lot of work

wanton scaffold
fair pawn
#

,w molecular formulas of isomers of C5H8O

rough salmonBOT
fair pawn
#

yea

fair pawn
patent flame
# wanton scaffold also counting the number of possible isomers is a PnC problem btw

I had a sillier idea.
First count the number of carbon atoms.
Let's use 7 C atoms.
To start off simple I'll make an alkane.
The system will determine the size of the C atom relative to the screen so it can fit (or I'll make it scroll)

It draws 7 C atoms in a line, including the bonds. The first and last atom will have it's own 2 ID 'ender' and 'left' or 'right' while the intermediate atoms have the ID 'open'.
It will draw the hydrogen atoms at the top and bottom if its ID is open, 3 at left and 3 at right.
Making isomers is a bit different I'll get to that later

patent flame
patent flame
#

oh wow there is ALOT to do when making every isomers

granite storm
#

isomers r molecules with same formula but different structure

#

isotopes r variations of atoms

patent flame
#

bored so i

#

made

#

this

#

finds pythagorean triplet but its a bit slow you have to input your own range thats less than 10000 units apart

sharp saddle
cerulean thunder
sharp saddle
#

i love the ts rewrite

cerulean thunder
fair pawn
sharp saddle
empty torrent
#

TS is goated

sharp saddle
#

may have been faster if it was written in rust but there's really no point ig

empty torrent
#

Truee

#

Rust is known by far less people - and speed doesn’t matter that much for this use case

#

For example I don’t know rust soob

sharp saddle
fair pawn
#

so it's fine

sharp saddle
#

ye ig

sharp saddle
#

i was just stating a suggestion anyways

pallid kiln
#

@sharp saddle for every person u add to a team the code quality decreases mad fast

#

doesnt matter

#

and rust's speed doesnt matter, were bottle necked by discord

#

and ts is much faster to develop in

pallid kiln
cerulean thunder
sharp saddle
#

that's nice

pallid kiln
cerulean thunder
pallid kiln
#

everyone has different styles, dw

#

ateeb doesnt use semicolons soob

sharp saddle
#

i like to see rust fellas

fair pawn
#

so

cerulean thunder
sharp saddle
#

unlike the python one

sharp saddle
#

like that would be faster

pallid kiln
#

most of the biggest bots are even written in py 💀

sharp saddle
#

py is not that slow

sharp saddle
pallid kiln
#

much slower than we can imagine

sharp saddle
#

maybe mathematically

#

you can always use threading to make it faster tho

#

may be slow but good for small testing projects

#

most of the time i use it to test a theory if it works or not then redo the code in rs or ts if it does work in py

empty torrent
#

||forgive me php exists||

sharp saddle
#

and still getting updates

sharp saddle
#

or idrk

#

I've only tried it as soon as it came out

#

when it was only useable in testing playground

fair pawn
#

wordpress 💀💀💀

#

and a trillion other projects

sharp saddle
#

useless

sharp saddle
fair pawn
fair pawn
#

still popular

#

php sucks tho yes

sharp saddle
fair pawn
#

ain't no one got that much time

sharp saddle
#

thag doesn't make it any good

empty torrent
sharp saddle
#

that's really bad syntax

#

even ejs would look better

#

okay maybe not that much

#

but you get my point

empty torrent
empty torrent
sharp saddle
#

ejs looks the same as php

#

but instead it's js

empty torrent
#

Okayy

sharp saddle
#

i hate ejs

#

i hate php

empty torrent
#

Who doesn't

sharp saddle
#

vue and react to th etop

empty torrent
#

But uses them anyway

sharp saddle
#

why're you still using it

empty torrent
#

Not me, most people

sharp saddle
#

it's so weird

empty torrent
#

Most people I know do

sharp saddle
#

what's the reaosn

#

like it's not good from stuff that has easier syntax than it

empty torrent
#

It gets the job done shrug

#

In a short time

sharp saddle
#

ig

empty torrent
fair pawn
fair pawn
sharp saddle
fair pawn
pallid kiln
pallid kiln
pallid kiln
sharp saddle
pallid kiln
#

idrc about either though shrug

#

@sinful garden rolling out fix now

sinful garden
#

kk

shut comet
pallid kiln
#

damn wrong channel

sharp saddle
# fair pawn good

after thinking for a while ejs may be better for low experienced people

#

like you can send data from server to client easily using it

north sun
#

honestly programming is cool 😎

cerulean thunder
#

what if my computer overheats

north sun
cerulean thunder
#

make it too cold

#

or smthn

#

freeze it up

north sun
#

cold > hot

cerulean thunder
#

yea but no point if it doesnt work

#

smh

north sun
cerulean thunder
#

like i agree

#

but why

north sun
#

i prefer winters more than summers

cerulean thunder
#

😭

empty torrent
#

Cool >>

granite storm
granite storm
#

at least by modulars claims

granite storm
#

fast as fuck

sharp saddle
granite storm
#

it has the best meta framework

sharp saddle
#

the compiler is probably way faster than tho

granite storm
#

do yk how fuckin slow react is compared to svelte

#

bro the compiler sometimes generates code thats faster than vanilla js bc its all minified

#

it feels so slow when u r using hot reload with vite but when i deployed sveltekit 2 prod the page loaded instantly

empty torrent
#

@granite storm would you still say it's faster after react 19's compiler?

granite storm
#

i havent tried it

#

i still think it would be faster tho

#

due to react still having lots of bloat

empty torrent
#

hmm true

granite storm
#

jsx abs not necessary

empty torrent
#

they did remove quite a lot of bloat this time tho

granite storm
#

react learning curve is also shit

#

its popular but not up 2 the hype

#

its the only framework that ive used that just memory leaks when i use github codespaces

empty torrent
#

damn

#

considering i've already learnt it - it'd be an easier jump for me if it's fast enough

granite storm
#

like react mui just shut down my codespace bc of ram exceeded

granite storm
#

react or svelte

#

i mean if yk a framework then ig stick 2 it

empty torrent
#

react

#

ik a little bit of svelte so it won't be hard

granite storm
#

i wouldnt rly migrate btwn frameworks unless u rly had 2

empty torrent
#

esp if it has a distinct edge in performance

granite storm
#

i used 2 use vue

#

it was good

#

svelte was better tho

#

svelte had smui and felt better overall

#

sveltekit was so enjoyable

#

react is bit of pain

#

big eco tho

#

components and states r ez 2 manage in svelte

granite storm
#

so its closer 2 html css js than react

#

svelte will always be faster

empty torrent
#

ic

sharp saddle
#

ig I'll check it out later

#

sounds cool

granite storm
#

this shit is tru

#

ive tried angular react vue svelte

#

svelte is just the best

#

not rly on its own but sveltekit is goated

#

next vs nuxt vs sveltekit

#

sveltekit ez win

#

rly ez 2 get started with

#

light as fuck

sharp saddle
#

next and nuxt ain't allat tbh

sharp saddle
#

i like the compiler

fallen flame
sharp saddle
#

why don't you just use roblox-ts

#

and use the react library supporting that

#

you'll be more used to the syntax

fallen flame
#

have roblox games really evolved to a point where whole UI frameworks intended for full scale web projects are needed

sharp saddle
#

UI is important to make people interested

fallen flame
#

i mean true but porting react feels overkill 😔

sharp saddle
#

react is cool

#

also ion think it was that hard

fallen flame
#

i didnt even know metaprogramming like that was possible in lua

fallen flame
#

oh i think i misunderstood that they implemented jsx ☠️

wanton scaffold
#

whyy 😭

sharp saddle
#

im waiting for them to implement websockets

#

would be really cool

#

better for secuirty measures too

#

and bascially everything

eternal wave
#

no way

sharp saddle
#

roblox-ts is pretty code

#

and the compiler is perfect

#

well, not that perfect but you can always fix any errors easily

granite storm
granite storm
#

its litr just js but with its shit fixed

#

poorly marketed tho

#

flutter is decent as well

#

after google brought project idx flutter just became easier

granite storm
#

its like how electron ported the entire chromium repo to vscode

fallen flame
#

but it's okay i guess it's got fast hot reload

granite storm
#

never happened 2 me

#

only thing i dont like abt dart is that it doesnt have a char type

fallen flame
#

idk all i remember is that the component system was more tedious than react native

granite storm
#

flutter has steep learning curve

#

still say its better than react

#

cross platform shit is 2 op

fallen flame
#

don't flutter widgets use material UI by default

fallen flame
granite storm
#

i dont like mui 3

#

they kinda fucked it up

granite storm
#

its a purist functional programming language

#

not rly comparable

#

mostly used in academia

#

elixir is kinda cracked tho

#

it has goofy syntax tho

fallen flame
#

nah it's beautiful

#

it's based off of ruby

granite storm
#

personally a ruby hater as u can c on the tier list lol

fallen flame
#

what'd ruby do to you 😔

granite storm
#

be slow

#

make me type end after everythin

#

run on java

#

i would just use python atp

fallen flame
#

bruh

granite storm
#

or kraber

#

i havent touched kraber in ages

#

probs should add pointers n shit

fallen flame
#

structures when

granite storm
granite storm
fallen flame
granite storm
#

implementin high level shit is so hard in kraber

#

i litr cant mutate shit inside functions

#

its almost a functional programming language

fallen flame
#

lmao 💀

granite storm
fallen flame
#

basically haskell

fallen flame
#

i haven't used ruby

#

probably never will

granite storm
granite storm
#

its good 4 erlang vm shit ig

#

i didnt rly need it tho

fallen flame
#

i did some small work on the backend for dogehouse

#

i really loved elixir

granite storm
#

r u in crypto

#

nah thats sus

fallen flame
#

it was that one clubhouse ripoff that ben awad made

#

Not the cryptocurrency shit

granite storm
fallen flame
#

i swear i'm not a crypto bro 😭

granite storm
#

funny project

#

discord actually pissin me off with there security shit

#

i might migrate 2 irc channels

#

or make my own shit

fallen flame
#

discord honestly sucks now compared to 2019

#

I know its super cliche to hate on the new discord

#

but i really miss the old ui and api

granite storm
#

um ui looks basically the same

#

oh no the login was way better back then

#

same with the accent color

#

the font

#

new logo is better tho

wanton scaffold
wanton scaffold
sharp saddle
#

so you can port a website into an app easily using electron

granite storm
fallen flame
#

both the github account and rights to the code were handed over to the chinese company

sharp saddle
#

fun

#

Chinese

fallen flame
#

why does the igcse bot have 2000 lines of code in a single file 😭

fair pawn
fallen flame
#

where's the new repo

fair pawn
mossy stirrupBOT
lucid flicker
#

I opened up the laptop with no real intention, just wanted to see it, and when my mom came in the room, i tried to hide it and broke the hinge, on google it said that i just had to stick it. So I removed the battery, and fixed the hinge with some super glue, but when I did that the display cable unplugged, unsure if it broke or not, i connected the laptop to the monitor, and it was working, and i sent a pic in another subreddit, which told that it's alr its working, so foolishly i unplugged the laptop, removed the plate and just connected it back (WITHOUT FUCKING TURNING ANYTHING OFF) and then it just shut down completely, now nothing works, the charger doesn't light up, the keys don't work, pressing the power button does nothing. Then I realized, I lost the fucking screws, so after using and making a metal detector, i found all of them. And found a youtube video, that said something about static electricity and asked me to unplug the battery, so I again unplugged it, and did whatever it said, and i saw that the super glue wore off, and the hinge was gonna break, so i stuck with some tape. The video didn't work, but in the process I lost 2 screws again! I'm like a 100% sure I shorted the motherboard, but this is my moms laptop, and I'm going to die if i say i broke it, I'm going to get screwed, because i broke my pc before, and they literally just got me a new processor. And I wanted to try, if there was anything I could do to fix this pc, before I tell my mom.

#

Someone please help

fallen river
#

WHAT

#

and if you wanted to hide smth why would you close the laptop 😭

#

and what were you trying to hide this bad 😭

#

youre in some deep shit good luck bro

lucid flicker
lucid flicker
lucid flicker
#

repair shop told fuck off

#

i told my mom

#

she was like okay

#

ill call a guy

granite storm
#

i split it into multiple files

#

the current 1 is node js im pretty sure

#

well typescript

#

bun or some shit idk

empty torrent
granite storm
#

says the guy who cant write an if statement

#

i write 7000 lines and the only errors were some missin imports

#

meanwhile u cant even write 10 lines without makin some 5 yo mistake

granite storm
fallen flame
#

crowdstrike appears to apply software affecting function at the kernel level

#

and some faulty update managed to trigger a catastrophic system error leading in bsods for windows systems

fallen flame
sharp saddle
empty torrent
#

frfr

#

my nextjs builds went down from 10s to instant

granite storm
#

dream achieved

fallen flame
#

rabbitmq for a discord bot is insane 😭

fossil rivet
#

why is this so dead wthh

empty torrent
#

no idea blobnomcookie

hoary burrow
#

If it’s for igcse then that’s quite impressive

fallen flame
#

nah its polebot

#

pokebot

fair pawn
#

we use mongo and redis

hoary burrow
#

Well out of curiosity

#

What exactly are the advantages of using both redis and mongo over any SQL database like supabase?

#

I’m sure they’re both different, but I’m not very familiar with redis

fallen flame
#

redis is very fast as it stores data in memory and uses a key-value storage system

#

very good for caching data

#

especially since users often run pokebot commands in quick succession, redis would help alleviate strain on the mongoDB clusters (i think?)

lucid ember
#

does anyone know how people managed to make these topical papers?

#

was it fully by hand?

#

was looking to try and automate it for some subjects which may not get as many resources made for them, and would love to know the proccess if anyone knows it

severe hill
fair pawn
#

for our use case,
we use redis with mongo
redis is different from sql and mongo, it's an in-memory database aka it doesn't store anything on the disk, all the data is in memory and much much faster than mongo or sql
and we use mongo because well, we were already using mongo when I joined 💀

redis is amazing for use cases where response time matters, for example each message sent in the server sends at least 1 request to redis and 0 to mongo, data is updated in redis, from mongo every few mins

gray nacelle
#

pro gramming and tech nology

#

mind blown

#

gramming is like instragram right

#

So the word predated instagram

#

They knew the future

#

Pro cuz like that’s what the kids use now

#

tech cuz they knew we gonna be doing tech stuff