#Programming & Computers
1 messages · Page 5 of 1
this is why i have everything in git
also have most (not rly) of it in git but something is always failing
mostly human error though like forgetting to backup stuff. i will just call it a security feature at this point
lmfao
never thought i would say this but i kinda want the unchecked nature of C rn rust lifetimes are a bit frustrating atm
Lifetimes... still don't understand wtf is going on with them
but thankfully you rarely need to understand them
mess with what exactly
it just works, windows arrange themselves
yea fair
take a weekend to config it and you have nice system
and then proceed to add more config every day for a year when you're missing some functionality
i want to work myself a bit through https://limpet.net/mbrubeck/2014/08/08/toy-layout-engine-1.html today (or smth similar not sure yet) will be in the loonatic lounge in 40min or so
one syntax sugar i am still waiting for in almost every lang is val1 == val2 == val3 instead of val1 == val2 && val2 == val3
quite proud of this one
are the drawings done by the members?
not sure tbh
still waiting for my free nfts. tbh i have a feeling that there will simply be no update
the artms ones?
the deadline for pre-reg only ended on sunday
they might be out this week if the tripleS ones were anything to go by
thanks for the info
https://leanpub.com/the-tao-of-tmux/read found this if there is a need for a bit of a deeper tmux resource
the only thing ik which uses wayland is sway
so wayland is a lot less niche than i thought
sometimes its better to not get into the why
damn i thought for like 2sec i had a project idea but then i found the "free minimum price" (https://leanpub.com/bookstore?type=book&sort=free_purchases_allowed) option guess i got nothing now. give me some mild inconvenience that is doable so that I can try to solve it
@ivory ginkgo because anything that draws graphics that's written for x11 is inherently incompatible with wayland and must be rewritten
there are Wayland alternatives for a lot of them but it's a whole another codebase
there's one really nice tiling window manager for wayland called hyprland
powerpoint was listed as possible tool for uml diagrams today
i think the uml lectures have been the most boring lectures so far i had to sit through
i will have to find some book and work through it can recall nothing from the lecture
just skip forwards to design pattern or stuff like that rly anything else
lecture finished pain ended
how did it break
what the fuck
it's like you have multiple versions of packages at the same time
or something

thats how config files work for the most part xD
they are frankensteinische creatures pieced together from other peoples work
looks good
this amuses me much more than it should
I prefer it 🫡
I say we accept as new official terminology
...?
Hah?
Wait
Why-
Why again?
We were completely fine with ZIP files
or is this an error?
what do you mean again
in the UK, post codes are commonly called zip codes
in that image, windows' lang files seemingly got postcode and ZIP mixed up
well it's certainly not supposed to say postcode
i like svelte
nice and simple, not a lot of boilerplate
not sure how much of that is simply down to vite making the dx actually usable compared to nextjs using webpack
next just feels like overkill for something with a handful of pages at most and react is ass compared to vue/svelte
i've been meaning to give svelte a try everyone says it's so good
I noticed you did a lot to the site I figured something switched
yeah i remade the objekts site in sveltekit
added member filtering and user searching from the app api
my issue with using non-react frameworks is just the ecosystems are so bad
react has ariakit and radix (and shadcn by extension) which are so damn good
then in vue you just have opinionated bootstrap tier shit
someones working on a shadcn/radix port to svelte which im using and is quite nice
but then if you wanted to use something like solid, you're probably SOL
that you are already at the point of tiling wm are cool instead of frustrating in that short amount of time is pretty impressive. i think it took me like 1-2weeks to get used to it the first time
what do you configure it in?
yh looking at them atm. is screensharing working now?
my wallpaper is grey so i think you got me beaten xD
i only have a laptop and would dislike having to change the background every time i go out in public xD
i have a script to download a random wallpaper on every boot
because i couldnt decide
so i get something new every day
it's webscraping wallhaven.cc trending page
setWallpaper = spawn $ "feh --randomize --bg-fill " ++ wallpaperDir
i have that in my config gives me a random wallpaper but the directory is empty so it defaults to some nameless grey
yeah that works if you have folder of wallpapers
i am currently trying to learn some ruby rust is a bit over the top for simpler stuff and i like the ruby syntax, not sure yet?
i think i use cmus
scratchpads = [
NS "kittysp" (myTerminal ++ " --class kittysp") (className =? "kittysp") termFloating,
NS "cmussp" (myTerminal ++ " --class cmussp -e cmus") (className =? "cmussp") cmusFloating
]
its in the config but not installed
firefox beste
brave is just weird in general like this bat stuff
yea im not a fan of brave
i hate firefox
always does something wonky when it comes to css
compared to chrome
just photoshop her screen to be geektyper or something
genius
maybe transparency is cool after all
dont use ranger
it's written in python so it's pretty slow and doesnt have many features out of the box
i use lf
but it also doesnt have anything out of the box lol
you need some extensive config
still better than ranger
it looks the same
but it's faster
(just copy luke smith's config)
The last of the terminal-interface programs I haven't done a video on: LF the file browser. I have a lot of shortcuts in mine, but also image previews with ueberzug and special icons, and tips as well.
All of my lf configuration files (and those for everything else) are on my dotfiles git repository:
https://github.com/lukesmithxyz/voidrice
lf...
there's probably a ranger clone written in rust i should try...
but lf has been working perfectly for me for the past year
did you install all the programs that actually show the preview
and run lf with the wrapper script
maybe try my config (which is just edited version of lukes) https://github.com/joinemm/dotfiles/tree/master/.config/lf
oh wait
you're on waylan
ueberzug doesnt support wayland 💀
here try this https://github.com/jstkdng/ueberzugpp
it should start working with this just replace every ueberzug with ueberzugpp
or maybe you could try making some wrapper
nvm you dont even have to it replaces the other one
whenever stuff just doesnt work even though it should, you can almost always blame it on wayland
i keep forgetting you use that
ok well one last hope, did you try the lf config in that ueberzugpp repo
you'd think that would work
oh btw

the pkgbuild for the aur package does not enable this flag https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ueberzugpp
never understood the appeal of all this linux tinkering
its fun
the fact that youre having to cycle through a bunch of different repos to get something working doesnt sound fun
just like programming
too true
wayland moment
how did you set up ncmpcpp
yeah i was gonna say
move it to .config lol
well it says right at the top
## This is an example configuration file. Copy it to ##
## $XDG_CONFIG_HOME/ncmpcpp/config or $HOME/.ncmpcpp/config ##
so yes you can move it to .config
lmao
ok there is no more errors
but
there are also no songs
oh
4
...
oo
fm np
oh shit it works
rip
i kinda want to just try using local for a while
download everything in flac
but it seems like so much effort
ok this is pretty cool
bc it uses ueberzug again
yea
lets rewrite ranger in rust @oblique fog finally we have a project xD
might be a bit ambitious but overestimating the own skill and underestimating the project is the first rule of programming
actually i found several of them already
no no dont tell me
always when there is something i want to program it already exists and i dont end up programming anything bc of this xD (and of other reasons but we will just pretend they dont exist)
lie to me
yes rewriting things in rust for sure doesnt already have an almost meme status
bat and exa and all the other are just figments of my dreamworld
@sick storm it finally happened
Orbot twitter access is no more
😂
took them long enough to place me under the Free tier
any alternate solutions? I know web scraping is one but I really cba
@worthy lintel as well
probably gonna have to rely on one of those scraping services
like selenium playwright?
or
smth else
cuz im not familiar with the scraping scene
theres saas services that can scrape for you
either over rest or its like a remote playwright/puppeteer instance you connect to
not actually sure what i'd do when needing to scrape at the scale you might
im usually only doing stuff like scraping a store for something i want which usually can be done with just fetch and html parsing
I see
I think it's fine to scale mine back then
Originally i was using the streams
but i doubt there will ever be a viable non-costly option for streaming
Or something that is not an extreme pain in the ass to implement
was wondering - how is scraping with instagram?
has anyone tried that before?
next to impossible
hmmm alright i'll wait for him to provide the deets
it's a paid thing right, the saas scrapers?
what if its like 5-10 posts every day
depending on how frequent the members post on their personal accounts
yeah but youre not just fetching 5-10 posts
you're checking every x minutes for new posts
oh nono i think i will remove the streaming bit
so it will only check when i call the function
through a command
yea miso died too yesterday
sure but how often are you calling that
whenever the CMs use a /create post <url> function
hmm. okay 
pain
i had a scraper running once every 15 min and my acc got blocked in like 36 hours
how are u circumventing the problem now?
im not
it was a burner account right?
oh so it doesnt like ban ur account
damn, so miso doesnt have a twitter feature anymore?
ahhjh i see
gotcha
twt 1666774323028463617
Forbidden: 403 Forbidden
When authenticating requests to the Twitter API v2 endpoints, you must use keys and tokens from a Twitter developer App that is attached to a Project. You can create a project via the developer portal.```
ill let you know if i get something working
i have some potential solutions
not for streaming tho
i've had 3 ig accounts banned and my own account was locked from following people for months
even with rotating proxies
big brain move xD
like frame around applications to indicate state?
ahh ok
what are you using?
no the launcher
i will be looking forward to your changed dotfiles
rofi theming is kinda painful
have the basic theme always worked for me wasnt even aware that you could do icons (or maybe you can only do that on wofi) i have most of it on shortcuts anyway i only use rofi for less used stuff
you can make rofi look basically like anything
i only know rofi-theme-selector that you could do your own is to be expected
just look at all these
iirc it's the difference between rofi -show run and rofi -show drun
drun being for .desktop files (which includes icon)
dont have any .desktop files
unless there are some outside of .local/share/applications could remember it wrong though
most are in /usr/share/applications
yeah that makes more sense
for the stuff you've installed system wide
rly should take a second look at the linux file system layout
.local is for your own
for example i made a desktop file for transmission-daemon that automatically starts downloading the torrent when i open a magnet link and shows me a notification
that much ik (pretty self explanatory also) but i would be unable to tell you what /usr/share is used for
so i also learned about magnet links today thanks
(had to google them)
i dont
i couldn't either i just remember where everything is kinda
the structure doesn't make much sense
maybe it made sense 20 years ago but it certainly doesn't make sense now
problem with a lot of historically grown stuff but backwards compatibility is important so changing stuff and streamlining it is not easy to do ...
rly would like to see some further development in the os market for example but software is useless without users and for an os to become a usable piece of software takes decades
oh yeah there's no changing it now lol
looks good
wrote a good blog post for once https://joinemm.dev/blog/csgo-linux-setup
ah shit
yeah lmao it's tokyo night
i most certainly do not use transparency in vim just because it enables me to see my vim cheatsheet wallpaper
i am trying to introduce a couple of new things every week for this week i am introducing: f,tF,T and ; , to me if i try to do more i dont think i could integrate them into my workflow
whats ; . for
if you jump forwards to s for example with fs then ; repeats that motion without you having to type fs again , does the same but backwards
oh cool
you gave me the very good idea of maybe using similar note taking software currently taking a look now
trying zettlr now
think zettlr will work for now migrating must be horrible
just take notes in vim
did that before with a entr + pandoc workflow but i like the zettelkasten system even though i am sure i would find a vim plugin for it if i would look for one
but if i use zettlr i might be able to share my notes or receive them the vim plugin will be so niche that there will be no chance at that
convention over configuration
i guess if you need those extra features
the links are important yeah cant do without them
but ik emacs has a zettelkasten mode so vim has one fore sure as well
wtf is zettelkasten
its a system of organizing notes
each note has an (unique) id and a different note can link that id the id is basically an url. this results of a graph structure that is a reasonable method for me of organizing notes

prof just talked 10min about the adapter pattern i cant take enough coffeeine to stay awake
cant have all your config stuff then but better than a normal text editor
yh thats more than fair
have you found something better system than zettelkasten to organize notes?
i never take notes so i dont have a system
yeah note taking is only really necessary for non practical learning imo. where you learn to use something at a later time with practical learning taking notes is less necessary if something is important then you will do it often enough that it will stick eventually
think everyone can do it but its the more painful thing to do for sure
and painful and learning seldom mix well
same i just back it up to a private github repo that works for me
seems like a bit of an overkill for this scenario
yeah ik just never do an email server pain in the ass
and you cant simply stop running it bc you might receive smth important on it depending on how you have used it
yeah fuck running a mail server
its a nightmare maintaining a good rating and gmail just nukes you anyway
as an added bonus your profile sees more activity that way xD
i need to build a home server too
but im stuck on the hardware idk what's good for server
also have no clue only home server i ever ran was an old pi with nextcloud
i wanna do that too since i have an sff pc and cant load it up with drives
atm i have a 500gb boot ssd, 1tb storage ssd and a 5tb usb drive thats permanently plugged in
and the 5tb is almost full
think i will be fine for a while
ive got a pi but that's not good enough for what i want my server to do
media streaming and the pi is just gonna die
no dying pie
pis have gigabit lan now dont they?
when i had one, it was 100mbit and the bandwidth was shared with the usb controller
yes i dont know from which model gigabit starts but the 4 has gigabit
as long as your media server doesnt need to do any encoding, it'd probably be fine then
holy fuck why is it such a nightmare to install php in wsl
lol our production build server at work is down. why? someone forgot to renew the domain name...
you didnt
f
got some more background info?
like some student not wanting to write exams type of scenario?
obligatory be careful with sharing stuff like uni got hacked because its rather easy to find out your uni from that. if you do not want people to know which uni you go to
whats the best language for configurations in your opinion? given that it would need to be a pretty universal one
ive always liked yaml
given the choice between xml, json, and yaml yaml also seems the best for me json doesnt have support for comments and its annoying to write it makes sense as a data exchange lang but not sure as config lang. and xml just isnt for humans
but idk what langs are else common for configurations sure just shell scrips and the .conf stuff but the .conf stuff has no standard or at least i couldnt find one
yeah i dont like using json for config cause it doesnt map 1:1 with javascript objects
valid json, valid js object
{
"key": "value"
}
invalid json, valid js object
{
key: "value"
}
yaml my beloved
interesting i always just kinda assumed that it does? never really thought about it i only know that json was born in a js context but i am not sure about the specifics
valid json requires keys to be wrapped in double quotes
whereas js objects dont need quotes at all
and when youre writing objects, you typically dont key with quotes unless you have things like dashes or spaces in your keys
quite like json tbh as long as i dont have to write it
used a .json file as a db for a while bc it was good enough
(and idk shit about sql and so on)
yeah i mean i wouldnt use yaml for data that you generate/read
thats what json for
but yaml good for config
yeah my statement was removed from the config context
our professor wants us, for our project, to make a "Simple Flet-Based Reddit Client"
you know, while reddit is
gestures
like that
@sick storm @near shuttle guess what the genuises at twitter did now
disabled 1.1 without adding the corresponding media upload endpoint into v2
so now you cant upload media on the free plan
in a way kind of, people have been asking for media upload in v2 for literally years at this point
the docs still refer you to 1.1 for media uploads in v2
community discussions going back to like 2020 say to just use 1.1
tried installing solargraph but it isnt working while rust-analyzer worked right out of the box will take another look at it tomorrow
or today after i slept
@worthy lintel ur web scraper bot is not used in discord right?
thinking of ways that I can run the web scraper periodically, might have to run it in a separate thread because if i run it in the main discord execution thread it will crash (probably)
make a scraper microservice that sends new tweets to a queue for the discord process to consume
I use nodejs so it just runs in a setInterval loop, then send anything to discord via webhooks
So it’s all jank in one file, not something that’s setup properly like your bots
Sends tweets to a queue? How wld u go about implementing that
Ahhh I see
Can't use webhooks for mine unfortunately pain
yeah that
wayland moment
discord has been such a shitshow lately
gotta be a memory leak or something, its been crashing and lagging bad
yeah on mobile too it's lagging so bad
Yo I passed the C paper with A grade :D
I still don't know how to recursive functions but that's ok
congrats
recursive functions are nothing special just call your function in the function body
if you see some examples you will understand it quickly common examples are: fibonacci, binary search, quicksort, recursive descent parser and so on
hmm I shall do that
or tower of hanoi
not sure what your teacher is doing then
i mean they could have used different examples for recursion but they rly are quite common
uni or school?
we had one class for recursion, then he skipped to structures
uni
I mean it's just a 1st year syllabus
it's common for all students regardless of their branch
those are all first semester examples in my case
I see
shouldnt you have an intuition for recursion about math then if you are in university?
math makes heavy use of recursion and I assumed you study cs (because you have C in the first semester)
also sounds math heavy
I will get screwed in thermodynamics and fluid dynamics if I don't prepare yep
have fun i am also going to get screwed over by math xD (not getting screwed over its fair not putting in the necessary time is my fault)
:(
trying to merge a fuckton of jsons in one folder how are we doing
i have found stuff in the internet but like i do not know how to implement it
could you upload some sample files? and a description of your desired output
wait hold on
what im trying to do might not even work
realizing right now that merging the JSONs of geographic data doesnt work and i might have to manually convert each json to a shp
why cant you just read the json in code, merge, write to new file
what
love it
love it
love it
miso bot hit 100 stars on github :D huge achievement
do you ever just have a project due in one week whose guidelines are incomplete
thanks for nothing prof
mfw python doesnt do multiline comments
That's for strings iirc
no multiline comments were considered for rust until a blind dev said that oneline comments are annoying to read
i never do multiline comments even when the language allows it because i think it looks weird
i prefer muiltiline most of the time they look nicer imo
they have that bracket structure
"""Docstrings are great what's the issue here?"""
its not really a comment
yeah true
i think its cause of the whole pep8 "your code should be self documenting" thing
guido says you shouldnt need to write more than line of comment 
no but like
this is for debugging where i just wanna turn off(?) bits of code for a but
highlight block of text -> ctrl+/ -> block is commented out
highlight block of commented text -> ctrl+/ -> block is uncommented
thats the comment structure i try out first in every lang
i tried to explain that to my tutor did not convince him though
so got the point deduction for missing javadoc
and had to do the next assignment too bc of 0.5 points
self documenting code makes sense but it also ignores the role ides have
your mistake was assuming java is ever legible
you cant read self documenting code when hovering a function
but you can read its comments
sure you can just cmd-click into it but then youre context switching
nw i also included them a haskell snippet that solved the same problem in 23 loc instead of 200 of java
thankfully i didnt get a point deduction for that
Rust programming language
Interview with a Rust developer with Jester Hartman - aired on © The Rust.
Find more Rust opinions under:
Full version on paah.vhx.tv
Programmer humor
Rust humor
Programming jokes
Programming memes
Rust
yew
Rust memes
Rust jokes
unsafe command
future
traits
#programming
#jokes
#Rust
yea
damn
name of the domain?
make website
guitar covers?
idk blog/portfolio
your username is black is it your birthday?
never noticed that before i aint the brightest
lol i gave myself the black role when i was a m*d
@ivory ginkgo boy do I have the perfect video for you https://m.youtube.com/watch?v=OWAqilIVNgE
Pls don't hack me even though I gave you my root password!
https://www.epik.com/?affid=we2ro7sa6 Get a cheap and reliable domain name with Epik.
https://www.vultr.com/?ref=8384069-6G Get a VPS with Vultr and host a website or server for anything else.
In a series of based slightly-off ffmpeg video cuts, I set up a website with all the essentia...
(or just use vercel for easy route but you should learn the basics manually)
his website is called unaboomer <insert pepe emoji i dont have>
Vercel very cool
Remember to use nuxt or sveltekit so you don’t develop react brain 🫡
video is good, certainly took my worries when it comes to setting up a website
To try everything Brilliant has to offer—free—for a full 30 days, visit https://brilliant.org/KazeEmanuar. The first 200 of you will get 20% off Brilliant’s annual premium subscription.
Patreon: https://www.patreon.com/Kazestuff
🎥 https://www.youtube.com/@KazeClips
🐦 https://twitter.com/KazeEmanuar
MERCH: https://kazemerch.myspreadshop.com/all
...
TIL who bhaskara is
the mathematician?
you know you're in for a bad time when you see this message
i still dont really understand the merge conflict syntax
whats confusing about it
which is what and what goes where
this is your current branch/working state
anything between these two is whats being attempted to merge in
but in this case there's been changes to that one line in both branches and it can't figure out what is what
actually i have no idea whats going on on line 15
never seen | | | | |
ok i think i get it after staring at it for 10 minutes lol
we did it bois
crisis averted
i still dont think this whole process is very intuitive
yeah merge conflicts arent great
so you are free now? have fun with your website
nothing better than some practical learning
if you pass you wont have to worry about anything for the break
uff
cpp 
cout << "i dont think this syntax is that horrible";
<< endl;
sounds good
i always get a few days into those and get bored
you need to work on smth to get experience and if you dont have a project an alternative is good
but also i was using rust so that added some difficulty
i think for me i just get bored of these challenge kinda things since they rarely have any relevance to day to day work
true
but that might just be because im a web dev code monkey
rather than doing something actually difficult
LMAO
yeah the motivation just isnt there when the aoc questions are like
Figure out which monkeys to chase by counting how many items they inspect over 20 rounds. What is the level of monkey business after 20 rounds of stuff-slinging simian shenanigans?
(real question from last year)
i spent more time on my CI pipeline for benchmarking my solutions that actualyl writing them
maybe that's why im devops
whats the difference between CI and CD btw?
people use them interchangably tho
but dont both just automate testing and formaater and stuff?
ci = continuous integration
cd = continuous deployment
thats ci
cd would deploy your code on push
cd is usually dependent on ci passing
for example
so CD is more automated than CI with deployment happening automatically?
well both would happen automatically
well theyre both automated but i suppose cd is more "magic" to those that dont really understand cicd
noticed that dont think that answer will be accepted at the exam though
same with whats the difference between stubs, dummies, mock objects, fakes, and spies
yeah no using ci/cd interchangably on an exam is not good
but in the field people will just know what you mean
and yeah there's subtle differences between each of those
yea its just kind of a catchall name for automated tooling
yea
CICD is fortunately only a sidetopic on the exam
for an exam you'd want to find some textbook answer
so far i read to 2 textbooks one covering testing and one more general which gave an overview over software engineering
testing is a whole black hole to get into
project management is prob the topic i am the weakest at
yh i only covered component testing so far still need to look into integration strategies and systemtests
*3 also read on one design patterns
component testing as in web component (react etc)?
idk module tests would be an alternate name idk react
like you test single classes and so on the smallest parts of a software that can be reasonable tested
yes that was another name for it
too many names
i also have to remember the german ones its funny but ...
unit test is the one people usually use
unit refers to testing a piece of code in isolation, like a single function
could be bc i translated the german name word for word
integration tests are usually the whole flow, like a whole http endpoint
then you have stuff like mutation testing, browser testing etc
browser would likely equal system and mutation idk
end-to-end testing
black box testing
blackbox is a testing strategy
mutation is kind of the inverse of blackbox in that you change how the code works and you make sure it fails
but we covered 4 different kinds of whitebox and 3 differend kinds of blackbox
interesting strategy we had something similar covered in simulation
and then ofc some static methods also
i know bunch of these things but I've never actully had to write a test myself
i have a love/hate relationship with testing
i hate writing them but it is very nice to see if ive broken something accidentally
but i rarely ever write them for my own projects, only work stuff
thats why i like static analyzers
unfortunately no but they can take some work of you
kind of
they're great for dynamic languages so you can enforce consistent typings
and if you want to enforce arbitrary rules in your code
but they can't check your inputs/outputs, which is what tests are for
its more of an IDE tool while you're writing
we had them for mostly design like checking your architecture for violations bc thats one if the research topic of the prof
talking about sofware engineering made me realize how much idk i am fucked
the head first books are good mostly because they arent as sleep inducing
that would make sense if the gravity tab was built to be modular but it probably isnt
they probably have a list of poll types they can use
maybe, probably depends on how they built the fandom name vote
that one seems like it'd be reusable for this
only thing i can think of would be if for the fandom name one, they didnt need the extra field since its just a single string for the name
whereas the artms one has the city and the country in another field
unfortunate short term planning if its something like that

bro wtf do you mean
damnn what are you working onn
my website
typescript can’t infer like that, you need to set observer.current to a variable first
oh
or just do observer.current?.observe
well i fixed it with ?
yeah that
i thought it could figure it out from something this obvious
nah there’s lots of cases where it can’t narrow types properly
the worst imo is in loops like [1, 2, undefined].filter(Boolean)
The output type is still number | undefined
Cause ts isn’t smart enough to know you’re filtering out falsy values
might even get day2 done by then
i could see ruby doing it from the desgin philosopy behind it but yh ruby aint going to change the syntax for its property accessor
is "matrik" O level?
Have you heard such thing? Caus I know diploma and degree
what is matrik?
it's
...ah shit I need Nicki for this
We have like another class of like diploma
It's not called diploma, because it's not too specified like a diploma
i only know like bachelor and master
In my language it's called "Matrik"
if she graduates, she can skip diploma and go straight to degree
and the term is like a year and a half or somehting
as opposed to 2 and a half in diploma
does she study computer science?
"Matrik" is like higher-than-higher school
Matrikulasi merujuk kepada proses kemasukan rasmi ke universiti, ataupun proses kelayakan untuk masuk ke universiti.
Program matrikulasi merupakan satu program persediaan pra-universiti bagi lepasan SPM (90% Bumiputera) untuk melanjutkan pelajaran sebelum ke peringkat Ijazah Pertama di universiti ataupun kolej universiti.
Program pra-universiti ...
I think?
Matriculation, if that makes sense
Anyway
it;'s like high school, you learn all the things school syllabus taught you but another level
idk if we have anything similar ah
That means language, math etc
Closest is A levels ig
But As r 2 years and I think much higher level then the matrik
so instead of just doing analysis you are also shown all the proofs behind it?
And actually before I was considering a laptop to her, I was suggesting for like a decent android tablet
because I was like "oh she's only going to do word processing"
oo
Then she said "I am gonna take a programming thing" and I was like
"yo no, forget tablets"
"You absolutely need Windows for that"
yea
I mean the laptop was already sent to her
Just that
If she's gonna learn the languages that usually a very new CS students' gonna learn
What distro that is like, not scary enough for new users, just for the sake if her Windows installation goes south
pop os is gaming oriented
(though I doubt it'll happen, last time I checked the Windows installation was very standard)
ubuntu
Weren't people shitting on it because "dEbiAn sUckS"?
wait that's also PopOS
yeah it's just anything arch is going to be more difficult for noobs
and manjaro is not good
VS Code is just gonna work right
the installer manjaro uses is good and kde/xfce are close to the windows ui
(I am assuming that's what she gonn use)
I don't want her to follow my steps and use vim
please
yes and with that debian
maybe it might be reasonable to install whatever distro you decide on as a dualboot instead of installing it when windows fucks up. an install isnt that difficult but the barrier exists for many people and especially when it comes to partitions they can be a bit scary
for basic usage anything will work
just get rid of windows
yeah mood
on windows i have the fancyzones thing
the hate is strong i love it
down with proprietary software
for pseudo wm-like layout
every time i have to boot into windows I can just feel the lag and unresponsiveness
and i instantly get notifications for windows update
all the intuition of the shortcuts gone
and with that all resemblance of a workflow lost
whats your specs, windows isnt that bad unless your install is bloated as shit
good enough
weird
i can usually keep all my work containers and stuff open and play games at the same time without any perf loss
only thing thats slow is file indexing/searching because i have a slow hdd plugged in
like say i click something on the taskbar to open it, it takes multiple seconds to open
it's especially bad right after booting
if I reinstall it I'm going back to windows 10
fair
i only went to 11 cause directstorage was exclusive to it
but then they ported it to 10
zzz
there are few games i would like to play that just crash constantly on w11 (hitman 3)
nothing should really crash on 11 and work on 10
11 is literally just 10 with a web view shell
tell that to the IO Interactive devs
pepegas
IO interactive have confirmed to me that they do not support Windows 11 and are aware of the crashes Win11 users are having. I asked why there is no warning before buying this if they are aware, and was told: 'On the game's store page (on any platform), the listed operating system for both Minimum and Recommended specs is Windows 10. This is the operating system we recommend, require for the game, and can guarantee that the game will function and perform well on'
yeah you'd think
and on linux through proton the game runs at like 10fps
so 
often when it crashes it takes the whole OS with it, rebooting my system
huh my hitmanwoa no crashes eh
some combination of w11 and AMD gpu causes hardware errors
but only when i play that specific game
and it didnt happen on w10
i would go ubuntu since its the most compatible linux distro usually, i think, for most software

also easy to setup
for previous windows users
wsl v good
yeah but then you'd have to use windows
Have you ever made the mistake of opening Vim and don't know how to get out? In this video, I'll finally explain how to exit Vim once and for all...
#shorts
🌐 My website: https://ericmurphy.xyz
💸 Support the Channel: https://ericmurphy.xyz/donate
🎥 Watch my videos on Odysee: https://odysee.com/@ericnmurphy
💻 My GitHub: https://github.com/ericm...
well I looked into it again and changing my vulkan driver to RADV makes the game run flawlessly (as I learned from my investigation into csgo linux performance)
does agile and iterative differ in the sense that agile is a superset of iterative models? as in agile requires active product owner involvement as well as some other shit? (idk any other shit but active user involvement so pls also help me out there)
does agile and iterative differ in the sense thatagile isa superset of iterative models? as in agile requires active product owner involvement as well as some othershit? (idk any other shit but active user involvement so pls also help me out there)
thanks that is on a level where i can remember it
i asked on the discord server of my uni now i am just confused
but it wont be asked on monday so all good 
wth is it december aleady
well i wasnt gonna save this meme to send it in december so have it now
big update for my website, I got incremental static regeneration working. Meaning whenever I update the content in my headless CMS, vercel will rebuild only the page that uses that data, thanks to some webhook magic. This way I get all the speed benefit of SSR and static pages, but it updates in basically real time if I edit or add some content.
doesnt next have that just built in
well kinda but you have to make it work
are you on pages or app router?
the old one
right
might be app router that requires server actions to do it
or its something to do with the page options export
app router really seems more trouble than it's worth
having played around with it, i do like the idea
i come from a php background which is probably why the concept isnt so foreign
but the dev server performance is complete dogshit
and there's some things like forced caching that is having issues
i would almost have to rewrite my whole site to migrate
afaik its mostly just moving whats in getServerSideProps into the component and making the function async
does isr revalidate upon deploy to vercel? apparently sveltekit supports it but its opt-in
might try switching it over to edge runtime too
deploy just rebuilds the whole thing
ah you cant use isr with edge
makes sense
last time i tried to use edge stuff with next the bundle size was over 1mb so it wouldnt work
alchemy package uses axios which doesnt work on edge, ok then
https://twitter.com/Rich_Harris/status/1688581184018583558 wizards over there at svelte
how the fuck
excel users
how do i make condition formatting apply to an entire row
e.g. if cell C2 is so and so then the entire second row will be formatted like red or whatever
C2:J2 (or the end of your table)
ah i just reread it ignore that
you want $C2>10
and apply it to the whole table
Top 10 ways developers flex on each other. Learn how to show off your achievements in the world of programming.
#programming #humor #top10
💸 Get 1 month of YT Premium for free https://youtube.com/premium?cc=fireship
🔥 Thanks to @LowLevelLearning for the PR!
💬 Chat with Me on Discord https://discord.gg/fireship
Disclosure:
Sign up f...
looking down on emacs sure 
bro i keep asking people at work events what distro they use and everyone says ubuntu. I say I use arch (btw) and they say never heard of it
this is so sad
at least you are one up in the flexing game
but if they dont know how would they know about your superiority 
svelte and tailwind is the way
anyone know how to integrate an sql database into a discord bot? im trying to make one rn
uh
you have to write the integration yourself
i dont think there's any discord bot frameworks that would offer a direct database connection
yeah same way as any other application, the fact that it's a discord bot doesnt change anything
except you'll just have to make sure your I/O is async or the bot will drop the gateway connection to discord
hmm ok ill see what i can do
now you just need to create some more files
that's exactly what it does
it's just for dev environment
youll have to take vite from my cold dead hands
every time i open vsc to work on my nextjs project i end up deciding not to because nextjs fucking sucks to work with
because vercel refuses to use vite
what does this mean exactly
explain like im 5
im too rusty for this
wouldnt like most databases be async as most are their own program next to the discord bot running
more used to tokio then
not a good joke i tried
a process can only do one thing at a time
hmm
you have to maintain a persistent connection to discord to listen to events
thats not a database limitation but a language limitation
i assume it has async io so yeah
ive just noticed my javabot keeps crashing but i juts thought it was amemory issue caused by my code
happens like after a month or so
its using sqlite
but its probably not the cause
should probably have some logging and look at the stacktrace when it crashes
yeah i saw some socket errors but i didnt dive deeper into it
its juts a tiny ass bot i made for some friends in their little sevrer
if you dont have connection retries then network errors could cause it to crash
hmmm
i think JDA does have it built in
(Java Discord API)
A fatal error has been detected by the Java Runtime Environment:
Native memory allocation (mprotect) failed to protect 16384 bytes for memory to guard stack pages
An error report file with more information is saved as:
ooops
didnt meant to do that
i should probably google that
instead of typing it in here
oh well 
thanks tho kairu 
no but the transactions you make from your bot to the database
without async the bot would halt all execution of code while the data is being written or read from the database
and just wait
i had to deal with this problem a lot in 2019/20
I see
Do you know If the jdbc library Does things in async?
Would this cause a disconnect all the time or would it just like make it appear as If the bot is lagging?

Maybe i found the cause of the lag
i have never touched java in my life so no
wait so i get async lets the bot do stuff on its own, but only when its online, how would you keep it permanently online for commands instead of having to run it every time you use it?
you keep the bot running on a server
Yeah but every time I want to run my bot I have to use either cmd line or run it from the ide
I want to know how it stays online permanently
In multiple servers at once
you upload the code to a server like on aws, digitalocean etc
run it
and it stays running when you log out of the server
So you just have a PC that's perma online logged into the server? 🤔
I'm assuming it costs money
thats how the internet works yes
I see
aws has a free tier
for 12 months
otherwise you can get vps instances for $5 from many different platforms
digitalocean, linode for example
wait wtf why is linode rebranding to akamai
server as in a cloud server not a discord server lol
I hacked my router to gain root access just so i can run pfetch on it
cant you just reset it even if you forgot the password?
there is an exploit to escape the zyxel cli with traceroute ";sh"
you're talking about the admin user
ok sry just understood now
the "admin" user actually has barely any permissions
there are two other users, root and supervisor
which you arent supposed to be able to access as a consumer
realized it after this
idk why I did this I have no use for it but it was fun
fun is a good justification
I should be working but yeah
oracle has a permanent free tier
4 arm cores
and 24gb ram

arm i guess?
theyll probably discontinue it
well
its 4 arm cores or 1 (shared?)x64 core i think
** 1 OCPU on x86 CPU Architecture (AMD and Intel) = 2 vCPUs; 1 OCPU on Arm CPU Architecture (Ampere) = 1 vCPU
damn
they changed it wtf
it didnt use to say 3000 OCPU hours and 18000 GB hours

i have it running the loona minecraft server and a random bot rn
no one plays really so its not too laggy
if more than a few players are on at the same time tho
💀
thats some good info thanks rob
hey wtf
no its 4 arm cores
not even .edu email required
nope
damn
its more than enough to run a simple discord bot tho
its great if you wanna just experiment with creating one
ye
or any small solution really
maybe oracle is spying on you and stealing all your data but idk

industry standard
no i use the catpuccin one
you have to do like webcord --add-css-theme ... or something
ngl I'm getting slightly annoyed with the limitations of webcord
especially the shitty right click menu
no hardware acceleration (-> 1 fps stream)
cant raise volume to >100%
none of them are as good
I think i should switch to intellij and not use vim when I have an assignment in java and I have no clue of java
jetbrains ides are good








