#Programming & Computers
1 messages · Page 4 of 1
well it's my second introduction to programming course
after learning c in the first one
apparently it used to be python but changed to c during last semester?
c and python would make sense
but c and elm is weird
it sounds like you just have a professor that really likes elm and wanted to include it in the course lmao
backward slashes my unbeloved
how tf am i supposed to add this shit
double backward slash results in two backward slashes
ascii doom running through ssh on a RISC-V drone flight controller
The blades on the drone can even provide active cooling as and when needed!
Optimal setup
tfw you drinking with bunch of programmers and all you talk about is linux distributions and vim vs vscode
yikes
i mean im not complaining LOL that's probably my favourite topic but it was just funny
do
{ nik_bankacc=100;
joine_bankacc--=100;
}
while(nik_bankacc<joine_bankacc);
i beg
i need ice cream money
💀
oh wait
minor mistake
do
{ nik_bankacc++=100;
joine_bankacc--=100;
}
while(nik_bankacc<joine_bankacc);
yep
please dont take my money
:(
ok minor modification
do
{ if(joine_bankacc==0)
{nik_bankacc++=100;
joine_bankacc--=100;
}
else
{nik_bankacc=nik_bankacc+robic_bankacc;
robic_bankacc--=robic_bankacc;
}
while(nik_bankacc<joine_bankacc);
now here
what would've happened if I switched the if statement with while
wouldn't it be the exact same result
this formatting is so hard to read
wait
do
{
if(joine_bank==0)
{
nik_bank++=100;
joine_bank--=100;
}
else
{
nik_bank=nik_bank+robic_bank;
robic_bank--=robic_bank;
}
while(nik_bank<joine_bank);
why do you do
{ jlkasjdklaj
}
instead of
{
lkajdalksjdl
}
watchumean
oh
my bad
ok so if ur acc is 0, it would iterate once, and i get robic's money
then it breaks
@sick storm today i tried nix os
i also happened to try sway
one of those was the biggest mistake of my life
wayland? I haven't ventured there yet
do...while loops 🤮
im on wayland cause my android emulator is on it basically 
gotta get with the times
dont you also have nvidia gpu
i bought an amd one to replace it shortly after making the switch to linux
oh ok because wayland + nvidia is literally unusable
for now™️
apparently, system76 is trying to change that
hopefulyl cosmic turns out to be an awesome DE
I've been kinda considering the switch to wayland but.. i would have to replace everything I use with wayland equivalent software and rewrite all my config and bash scripts
like im super dependant on x11
rip
it turned out that nixos doesn't work well with my android emulator
it seems nothing does
so im prob gonna reinstall arch in a bit
im not surprised at all
why not
due to how libraries and dependencies work in nixos
yeah
you have to run this scuffed python script that changes your android image to add an arm translation layer
and apparently that just... doesn't exist in the right place on nix
and i don't feel like changing it lol
if it expects some linked lib to exist and isnt built with the nix path it wont find it
also when i installed the android emulator by itself w/o any arm translation layer, it failed to create a mandatory folder in /var/lib, so it just wouldn't start
does it have a nix package
yeah
it was the only broken nix package i installed except for a few gnome extensions
did you try to manually create that folder
i didn't, but because i don't know what's supposed to go in there
i guess i could try to use a vm on arch and see what goes there normally
but tbh... i'd rather not
or run it as root or something
for discord?
that is indeed annoying
i think it works correctly in chromium though
why?
i agree
first of all... i hate the forced indent/new line style in python
like i get it but no
thats so ugly
give me my curly braces
i mean thats really it but god i can't stand non curly brace languages
or ones with a proper structure
just use some kinda linting packages
then it'll all look the same
curly braces are just decorations at that point
i like being able to do ridiculous stuff like 10 if statements on the same line
let me do that
u can do that in python too
yeah but with curl braces or keywords
wdym?
i was like this at one point... but also, it's pointless
yeah I can't imagine not using auto formatter
i did it for a while in java cause the vsc one sucked
Ik....
scriptkit is pretty cool
command palette kinda thing where you can write scripts in ts/js
just made a yt-dlp script with different format options
does it run in your browser or
graphical app make brain chemicals happy
yea i guess you could replicate it with a terminal overlay or whatever linux can do
like I guess it looks cool or something but really a whole ass browser just for a simple ui? electron is the worst
what happened to native apps
hard to make native apps when you're aiming for crossplatform use
same reason why react native is so popular
i mean iced exists in Rust now
i become late to one lecture and suddenly im being bombarded with things like “tagged unions” and “records”
this is what happens when you deviate from the lords language, typescript
who
Yes, THEE chadstack, the greatest stack ever created for frontend and backend dev
https://twitch.tv/ThePrimeagen
MY MAIN YT CHANNEL: Has well edited engineering videos
https://youtube.com/ThePrimeagen
Discord
https://discord.gg/ThePrimeagen
setting up a fresh windows install is pain
"No, Microsoft. Please don't track every action on my PC."
does so anyway
Microsoft moment
want to have a go with a new framework like remix but have no idea what to build with it
weekly "elm is suffering" message
our exercise for this week is to make a website displaying some kind of number game which would be vaguely easier in javascript but you know
elm
wtf
as per my instructor's instructions i have to make 8 separate buttons for the numbers 2-9 for a Thing so this is how i choose to process that
have one function that takes an arg and make the onclick handler of each button just call that one func with its own arg?
these words mean nothing to me
<button onclick="myFunc(1)">button 1</button>
<button onclick="myFunc(2)">button 2</button>
<button onclick="myFunc(3)">button 3</button>
<script>
function myFunc(arg) {
console.log(arg)
}
</script>
html/js but same idea

probably not that simple in fucking elm LOL
Elm - delightful language for reliable web applications
with that description i would expect it to be stupid simple wtf
yeah elm is supposed to be "easy" and "simple"
Try out Elm: A delightful language with friendly error messages, great performance, small assets, and no runtime exceptions.
holy shit i hate it
so much
unfortunately for everyone involved i know nothing
actually mindblown that this is a class
if you're doing web stuff why in the world would someone think this is worth teaching instead of things like react
what's react
do you agree @deft shadow
the web framework that you'll very likely be using if you get a job in web dev
imagine if universities actually taught something that will be useful in your future job
they dont do that
lol no
well
it was easy before they involved html in it
can you imagine
a what
angular is an old javascript framework made by google
its terrible and facebook's react took over a few years later
my uni be like "what's javascript?"
yea we started with python then moved on to c++
my high school went scratch -> html -> python
iirc i couldve skipped first year uni and gone right into whatever second year was i think
IT WORKS
java/c# i think it was
damn programming in high school
i learned c++ before c
the only thing that saved me from being asked to leave school 🙏
ngl i dont remember anything about c++ anymore but the python course was useful at least
i remember trying flask when i first wanted to make a site
and hated it
so i learned php for laravel instead
flask aint too bad but i had the displeasure of working with a massive django codebase with 0 type hints
django is to python what magento is to php
kinda
and i dont wish that upon anyone
fuck this mickey mouse bullshit
the one upside elm has is that it babies you by telling you where all your code went wrong instead of some languages where you get seg-faulted and you will never know why
rust still has the best error messages I've seen
use fingers
Question was like, see if number has odd or even no. Of digits, if odd say odd, if even calculate sum of the least significant half and most significant half. (Left and right) if right big print right heavy, Left, left
dumb
:(
Why they ask highschool questions in college
Get good sleep before exams, id rather get an extra hour of sleep than study another topic, i mean what are the odds that what you skipped actually shows up (very high)
the odds are high that the ones u skip will show up... Talking based on my experience
death penalty for that
bad
art
any tips on learning rust? i'm kind of interested in it but idk where to start other than copying past assignments for other languages but using rust instead
i'd learn it like any other language tbh
learn the syntax, watch videos, do challenges etc
one thing i like about it atm though is the compiler
its essentially a 2 in 1 compiler and debugger
go through the rust book
holy theres a whole book for it
Introducing acropalypse: a serious privacy vulnerability in the Google Pixel's inbuilt screenshot editing tool, Markup, enabling partial recovery of the original, unedited image data of a cropped and/or redacted screenshot. Huge thanks to @David3141593 for his help throughout!
1111
357
holy shit
Wtf
oh wow
@ItsSimonTime @David3141593 It looks like when the edits make the PNG smaller it saves the original number of bytes, overflowing its own buffer and leaving a bunch of unintended IDAT chunks to find :). Did you talk to Google about this before taking to twitter though?
💀
how do you not realize a cropped image doesn't shrink in filesize lmao
well it should if it saves it as a new image since there are less pixels
but on samsung there might be a similar issue since it allows you to revert an image edits
even if you delete the original?
also i think i know this person irl lol
small world
i thank god everyday for not making me a pixel user
Recorded live on twitch, GET IN
https://twitch.tv/ThePrimeagen
MY MAIN YT CHANNEL: Has well edited engineering videos
https://youtube.com/ThePrimeagen
Discord
https://discord.gg/ThePrimeagen
god prime is annoying to listen to
highly disagree he's like the only one who can keep my attention
you ever just like
think you finished your code
and then it turns out
it doesnt work
well it works but there's, like, a bug
Yup and then I stay up for 2 hours longwr than i originally planned to fixing it and just adding "one more quick feature"
it's funny because i almost rewrote my code but then my mistake was so simple
and now i regret undoing all my rewritten code
not like it would've worked
me when i try to figure out whats wrong with my java program only to find out that i accidentally put the entire thing in the main method instead of the class itself
🎖️ $1000 OFF ANY Online Tech Bootcamps. See if you qualify for the JOB GUARANTEE! 👉 https://piratekingdom.com/deals/springboard
💻 $300 DISCOUNT! Land a Tech Job with NO or little Coding! 100% Money-back guarantee! 👉 https://piratekingdom.com/deals/careerist
⬆️ 100% FREE until you're hired! 1-on-1 career mentorship from top-notch professionals at...
me waking up at 11:30am: accurate
and going back to sleep after it
LOL ok I've never been that tired
just terrible sleep schedule things
the dream life
i might be a one off case then
very tempted
I want this
can only imagine its gna be easily dirtied
just saw in the comments that the screen is programmable with js/css which is sick
cli tool pretty cool
😮
better still be free for students 🙃
folds are fucky
got to talk to one of the developers i look up to yesterday
was a very enlightening experience
What's the secret? 🤭
Genuinely tho - anything you learnt particularly?
Hard drives die after time , any good solutions or good long lasting drives for storing data a long time ?
magnetic tape? 🤓
like simulation/modeling?
its like 3d physics for games, its quite involved stuff haha
and 3d math combined
its sort of both
that sounds so cool! it's honestly one of the fields im hoping to go into after uni I think because i really like the physicsy-mathsy side
not a fan of having to repaste every couple months
whats goin on
honestly not sure
repasted a few months ago and it was fine
and in the last couple weeks its been idling at like 75c
was in a league game earlier capping out at 96c and throttling down to base clock
wow
might not have put enough last time so i mightve put too much this time
simply opening a browser would make it spike to like 80c but now its not going over 60
are u sure the cooler is tight enough on the cpu bc that sounds so weird
what about fan speed too
fan speed is fine, I have everything ramping up at 70c which works ok
but yeah cooler pressure could’ve been it too, made it tighter this time too
i Love recursion
i Love recursion
i Love recurs(i Love recursion)on
iLoveRecursion(char *str)
{
if(strcmp(str, "i Love recursion") == 0)
{
printf("i Love recursion\n");
iLoveRecursion(str);
}
}
doing everything but dealing with this merge request rn
😔
code review is a pain
for an assignment i have to process election data and it is such a Pain
csv's my behated
cant think of easier format to process than csv
basically all the results are precinct level so i have to dig through the id's of provinces then cities then barangays first before getting to the results in the precincts and i dont know how to aggregate that data without using a for loop (immutable languages suck)
elm
i was thinking each person is a struct and youre looking at a specific type in the struct but nvm 💀
i dont have any exp with elm so idk
fuck structs are not a bad idea
yes this is the hell i have to deal with for this semester
it already looks unfun
wait idk if ive done stuff with immutable languages
actually no i dont think java or c are immutable
thats a pain though
how is the data organized?
oh wait csv
so its
data, data2, data 3
data4, data5, data6
yeah i can convert it to a list
you could parse the file as usual and put it into a list kinda like a struct maybe
can you use map instead of a for loop
yeah i can use map
you know this assignment is due in saturday midnight which is
55 hours away!
probably
in c i could prob brute force it by putting everything in a struct then a linked list and using recursion to do a linear search 💀
very not ideal but uhh whatever works i guess?
yeah i wish we used something like
not elm
preferably a language with for loops
OH i thought no for loops was a constraint given by your prof
not an actual language constraint
i'll settle for c although the way it handles arrays kinda sucks
immutable, remember?
you have to get Creative
pain
please anything but c
There are worse data formats: https://markessien.com/posts/drama_of_transcription/
My phone pinged: “Tell Mark Essien they are coming for him.”
I had no idea what that even meant. It was a forwarded WhatsApp message that someone had sent to a friend of mine.
All I was doing was trying to convert PDFs from the 2023 Nigeria Presidential elections into spreadsheets.
But let’s rewind a bit and give some context.
In 2020 a small gr...
why is react so fucking stupid
why do i have to add a children prop to the component and render that just to get slots to work
vue just allows any slot to work and you just put <slot /> if you want to render it
fuck facebook
@sick storm @worthy lintel https://twitter.com/TwitterDev/status/1641222782594990080
Today we are launching our new Twitter API access tiers! We’re excited to share more details about our self-serve access. 🧵
832
871
actually pissed
actually taking the piss now
if i want to use the READ endpoint i have to pay 100 USD a month
what a joke
surely this is robbery
like we couldnt spare 5K read tweets per month for free tier???
or 3K for that matter?
absolutely abysmal pricing
LOOOL
AINT NO WAY
$100/month "hobbyist" and you still only get 10k requests
1 cent per request
its so fucking stupid
"hobbyist" and is meant for "students" that wanna learn Twitter API
yeah right
WHICH STUDENT CAN AFFORD 100USD A MONTH TO LEARN UR SHITTY API
i dont even see how to migrate
like okay sure they wanna kill off bots, but did this really have to happen to kill off bots? really? instead of 2 mil a month for the current free tier, we couldnt give 5K read?
so stupid
so so so stupid
they also didnt mention anything about the filtered stream endpoint
yea
i presume that is bundled in with the GET requests
since it works in a similar way to "reading" tweets
i think its instant no? like u just press the upgrade on the products tab
yes, the jump is so insane
its crazy
its actually nuts
if they dont give me a way to migrate but then fuck with my keys and access in 30 days i wont be happy
at this rate you would need to pay a 1000 a month no?
same, but they didnt even send an email with the stupid pricing upgrade
2 mil cap for free down to 10,000 for 100 bucks a month 😂 like there can not be another more insane discrepancy than that
yeah its insane
like if they wanted to kill bots, sure they did a great job at killing them
but they also subsequently killed off all indie developers and aspiring devs because u cannot convince me that a student or hobbyist is willing to pull out a 100 bucks a month for this asinine deal
unless you're making mad profits with twitter api then there is no way anyone will pay this
lmao
LOL
wow
and no i won't be upgrading
there is no way I can afford this
I'll just have to kill the twitter features from my bots
welp, unfortunately might be the same
What a way to grow your developer community...
mhm! lovely
elon legit just trying as hard as he can to kill twitter isnt he
he'll start charging people soon for resetting passwords, calling it "the only way to prevent hacking"
$0.01 everytime you want to login
We took the Flux Keyboard to the Adelaide Keebclub meetup on the 26/3/23 to get some impressions from keyboard enthusiasts. Glad to meet you all and thanks for having us.
Back us now on Kickstarter: https://bit.ly/getfluxkeyboard
👀
i do like the "author_is_elon"
@me
what do you guys think 

it works though :3
didn't do null safety check
yeah 😔
If it was at least Azure Dev Ops instead 🥲
ran into our first spam/pentesting bot 
we live in a society
i have missed u all dearly loves, next video will not take 5 years :)
6 figure salary
i wish
yeah that shit only happens in the US
tbh i could be on 6 fig if i job hopped every 2 years
but at this point i can only work at relaxed startups
since a corporation would never let me wake up at 5pm
although if my current one fails like the last one did, im probably just gonna become a react codemonkey for a boring agency
since im forgoing salary for stock
and the last time i did that the stock was worth nothing
thats very much a gamble
😎
i am Finally learning a good programming language in my programming class (python)
granted we have to do static typing but like
at least it's not elm
💅
i love javascript
incredible
maybe vercel does support hobby tier on github organizations then, kinda deceptive when setting it up if so
iirc when i had to host stuff with vercel i never had to pay
so maybe yeah
whatever plan they have its certainly better than twitters'
If you're tasked with deleting a database, make sure you delete the right one.
Sources:
https://about.gitlab.com/blog/2017/02/10/postmortem-of-database-outage-of-january-31/
https://about.gitlab.com/blog/2017/02/01/gitlab-dot-com-database-incident/
Notes:
1:05 - The middle bullet point about the account that had 47,000 IPs was never mentioned ...
actually watched that a couple hours ago and sent it to work chat
since we have fuck all contingency if our db gets nuked
testing in prod is real
oh no
its also just hosts setup with individual keys in my ssh config
which vsc reads
easier than remembering stuff over cli
.ssh/config
monorepo
i never want to work on a project with split repos ever again
monorepo makes it so so so much easier to work on a complete feature
Well we have so much shit inside the monorepo that everyone's fighting to get thier own
im so good at design

your fishies are not backed up
how big is the db
like 3gb
tens of millions of rows
i mean i guess its not needed
its not needed as long as nothing happens lol
XD
i meant more in a production sense
not like you have customers who depend on the db

i mean
the amount of angry dms i would get
I have to add some backup thing but im procrastinating
mariaDB
ah
so mysql basically
can you do a backup on mysql while its still in use?
yea
I could just make a db dump it would take maybe few minutes
i already have daily backups for my personal stuff

i just remember using some pg_backup script for daily backups
but would take up some space depending on how long you wanna store em
3gb per backup
backblaze B2 cloud storage $0.005 GB/Month
my 70GB backup is costing me $1 every 4 months lol

basically free
very
i run my data folder through https://restic.net/ and upload the snapshot to backblaze
so there is no duplication of data, only the changes are uploaded
and i can have super long retention
kinda off topic but do you know anything about the performance of AMD cards
6950xt on sale for €680 rn
or 7749 SEK

it only crashes on windows btw
linux perfect
could be a bad unit or something idfk
either way I wouldn't buy Nvidia
680€ is alot of money for gpu tbh
just gotta not accidentally drop table;
:q
I can't live without vim shortcuts anymore
yes it will
if you use it daily for everything then it will be faster
anything serious i write in vscode tho i have vim plugin
vim good for config files/random text
yea nvim perfect for that
and get intellij vim plugin
most useful shortcuts for me are like cw or ci(
and dd
what if i write my bash in vim
font issue
you probably need some icon font/nerd patched
i guess im a right winger
chatgpt integration works well, boss
amazing
im gonna kill whoever gave my professor the idea to enforce static typing in our python code
for loops
are you doing something like this?
for i in range(x, y):
function(i)
function(arr[i])
oh i dont even use i
bruh
which i assume is... bad practice?
why initialize it then
anyway i replaced with a while loop so we're all good
😭
so all i'm saying is fuck static typing and all that it entails
yeah i Think It's a Good Idea but also i'm dying here
what does the prof want from you 
it also sucks when i search up the error and nothing appears so i will just Have To Guess
presumably my firstborn child
i plug error messages into chatgpt 
and give the code on the line that has the problem
he has not met with us since two weeks ago so
he has just posted links to videos online
😔
oh fuck it worked
thanks for saving my life
it forces you to write good code
yeah in hindsight i might’ve been a bit brash
but like
idk the 52 errors overwhelmed me
lmao yeah if you didn't have the linter on from the beginning then it's going to suck
i had 1000+ errors to fix in miso bot back when i turned on static typing
converting a js codebase to ts is hell
not that I'm aware - what are you trying to do that those can't?
i have been restricted to using match or try altogether and i am limited to three if statements
which is kind of hard when you're trying to do a finite state machine
my professor claims that there's other conditional semantics whatever but i can't find anything
it's explicitly Your program may contain at most three if statements/expressions
so elif might count
as a part of an if statement
do not ask me why this restriction is here this seems Very Bad
that's how i'd interpret it as an "if statement" being the whole block (with elifs and else) initiated by one if ...
ternary statements in python utilize the if keyword
wtf
😔
a while maybe?
wait
switch statements
that completely went over my head
and logic operators if it applies
like && ||
the real question is why is a school course enforcing dumb rules that no devteam would enforce
Maybe it’s just that prof and they’re evil
switch in python is match and that's banned
bruh
loops are allowed
idk how tf that would help
and logic operators are allowed too yes
there's a stupid roundabout way to do this
how simple is the assignment
requirement wise
not restriction-wise
oh wait can you use the 'and' and 'or' keywords?
maybe boolean stuff
given a string we are supposed to find if it's either decimal, binary, octal, hex, or none
maybe
ah
uhh you could do
string = '0x10001234'
is_hex = '0x' and (string[0] + string[1])
print('' + is_hex)
maybe
just something i thought of on the spot
yeah you could trty that
and do cases for every single type
basically a switch statement without the switch keyword
💀
i think i have to parse it character by character because thats what the diagram said
bruh
but also i could just. not do that
if this works i need to thank you again for saving my life
okay so i changed the and to an == and it worked
thanks m8
sucks that i have to cheese it but you know
shitty requirements mean u get to turn in shitty code :3
😎
i think the computer science department in my university is just bad
😔
could you do everything with try except
💀
ternary operators couldve been possible but they use if too
yeah but i have to use python
i think u can do it in python?
no
ah 
*all universities
i could've went to a better university but tuition
no nvm this is effin impossible
i guess three if statements are the only ones i need?
but also i sincerely think that's just a random number my prof chose and there's no meaning behind it
서울시x코딩온 김유연이 함께합니다!
유연이에게 하고싶은 말을 댓글로 달아주세요!
SeSAC 강동 캠퍼스, 영등포 캠퍼스 모집중!!
- 모든 직무에서 활용 가능한 웹 퍼블리싱 과정 (강동캠퍼스)
https://sesac.seoul.kr/course/active/detail.do?courseActiveSeq=1552&srchCategoryTypeCd=&courseMasterSeq=303¤tMenuId=900002015
모집 일정: 5월 1일 ~ 5월 23일
(※ 청년취업사관학교 수강신청은 5월 11일부터 가능)
교육 기간: 6월 12일 ~ 10월 30일
교육비: 전액 무료!
- 비전공자, 입문자...
whats this
it’s dictionaries.
apparently the answer is dictionaries
what
idk what the task is but replacing many ifs and switch etc with a map is usually a good idea
what's a map
cool
that's cool
i swear i'm on the verge of a breakdown
oh fuck i thought you meant the function not the whatever map youre talking about
im tempted to just. Not Do It
given that i've done 3/4 exercises for this assignment anyway
so that just gives me 75/100 which is respectable
I was alacritty user for years but I moved to kitty term now for ligature support
man i need to start doing personal projects way more
i can feel myself getting better at tailwind so quickly
my design skills are ass but i definitely couldnt do this just a few weeks ago
tailwind is great
i struggled massively with responsive breakpoints
since it works the opposite to bootstrap
which is what i started with
it's a bit weird since it's mobile first and you add exceptions to larger viewpoints
yeah that caught me off guard
since bootstrap is desktop first and you add exceptions for mobile
naturally you would think the largest screen is the default
mysql %like% goes brrr
Woah
👀
remember when twitter was supposed to kill the api over a week ago
all my shit still works
and I dont know why
did they silently revert/go back on the changes?
i dont think so because a lot of people have lost access afaik
thats odd

wtf are awaitables
what language
await is generally used in the context of async functions
in js a Promise would be awaitable
python
yeah so async await stuff is for handling long-running tasks like fetching data
idk how python runs but javascript is asynchronous/non-blocking, so awaiting something can turn your code flow into synchronous/blocking
python async works very similar to js

very readable
yep
tbf to google, they probably also used it a lot at previous ios too lol
Found out about this via the IO presentation too: https://heistak.github.io/your-code-displays-japanese-wrong/
A static site to link people to when their code is displaying Japanese wrong.
very interesting problem (depending who you ask) with unicode
script kiddies getting chatgpt to write the whole thing for them then it doesn't work and they come asking for help
while not knowing wtf their code even does
idk how to say it but it just feels off
yeah that, doing but not knowing
well that goes for most things
it's so weird
ah i think this analogy works, its like watching/reading a few articles on a skill and then claiming you're an expert when all you've done is watch/read theory and no practice
well in this case the theory would be the docs and these people never look at the docs
just reading docs isnt enough i think, you kind of need actual coding using the docs to get better
ngl, im actually a big win11 enjoyer - multitasking especially feels very nice
gpt’s been handy for writing sql queries for me since I’ve been babied by orm’s for so long but other than that it’s not really useful
every new shiny thing has a following until the hype disappears but I will be worried/surprised if they manage to hold on for a year
speaking of chatgpt
starting my third attempt at learning rust please bunny of hard work (heejin) give me strength
rust is fun, im only on the early parts of the guide rn but its been fun so far
want to learn together?
but you are right the rust book is really good and in terms of language design and documentation rust is one of the best languages I have seen so far
i can try
not that I am in any way an authority in language design or so I just like the bit of haskell vibe I get from it and useful err msg are also nice and I like the way it handles memory even though its still awkward for me and the enums are also nice and .... (it just seems like a good lang being less anxiety inducing than C)

my colleague uses it a lot to like search for things about different languages or libraries, sometimes chatgpt is much faster than to just manually google search it
but sometimes it says something but its totally wrong
💀
I've tried it a few times but it just feels wrong
I'd rather google things
I trust a random reddit comment more than ai generated response
same you often read about "ai" replacing developers but rarely you read "ai" replacing mathematicians or engineering disciplines even though you often need similar thinking and both being problem solving oriented. the only reason I can think of is that most people see code just as text and thats something chatgpt isnt too bad with
will try to learn a bit of rust in loonatic lounge not sure whether such things are welcome here but I guess I will be warned if not
easier to ask for forgiveness rather than permission
doing the same thing today again
seems like a good application slowly getting used to it
I should take another closer look at the vim keybindings I only know the absolute standard stuff. like moving around and stuff like 3 d w
had a vim cheatsheet as background when I first learned it
forgot like 90%
I currently use nvim with tmux as my main "ide" my emacs config is completely broken and I dont want to fix it and I dont have any projects anyway and should focus on math 😦
yes but it depends on the application ofc. I more or less only use it to the extend as having a tiling window manager for the terminal (a bit more than that but thats like 80% of my use cases). if you dont have a tiling window manager you will probably get more value out of trying one out instead of tmux but thats just my own opinion and might not reflect your own experience
i like them but getting used to them can be extremely annoying
i dont use kde
the most populat tiling window manager is probably i3 not rly sure how to introduce i3 the best way so here a video https://piped.kavin.rocks/watch?v=GKviflL9XeI
the main aim of a tiling window manager is more or less to not having to use the mouse anymore and to be achieve to a more intuitive/faster workflow through that
i dont think however there is a noticeable difference in productivity at the end of the day it comes down to what you prefer/feel more comfortable with
Neovim FROM SCRATCH!!! https://www.youtube.com/watch?v=w7i4amO_zaE
Twitch
Everything is built live on twitch
Twitch : https://bit.ly/3xhFO3E
Discord: discord.gg/ThePrimeagen
Editor
All my videos are edited by Flip. Give him a follow! https://twitter.com/flipmediaprod He is also open to do more editing, so slide deeeeeeeeep into his ...
this has all the best keybinds
explained
thank you 
finding good emojis is hard
it is
tiling window managers are awesome
trying to use floating windows is pain now its so messy
trying to learn vim + tmux + tiling window manager + uni stuff might be a bit much xD
maybe
i did that
but failed all my classes 🤔
maybe there is a connection
I never use tmux tho
just open a new window
end up with same result
took a look at flet and it looks interesting might try it out when the go support comes
yeah it's like
it can make like webpages or whatever idfk
i especially like the no frontend experience required part but I am also always a bit doubtful when I read smth like that. i start running at anything frontend
joinemm seems to be good at frontend their website looks good
(i didnt pry or anything its just right in the profile)
tailwind very good
well thank you
yeah tailwind is awesome
I tried to edit some styling on one of my old websites that uses just traditional css files and man was the experience awful after being used to tailwind
coming up with class names that don't clash, making sure everything is imported into the right place, remembering css variable names..
the developer experience of using tailwind with autocomplete is unmatched
i managed to complete a whole feature without getting any help from our dedicated frontend guy this week
actually so easy to get up and running with tailwind
kinda pissed i put off properly learning it for so long
good job
rust
zig
oh nice
😎
but that's how you learn
fixing things
yeah that probably works better than arch ever would after years of configuration
whats your first? java with uni i would guess
sry will delete
i wouldnt really compare a dsl like R to a general purpose lang like java that being said I never used R and it can very well be horrible
you got a nice domain kairu
looking at your stuff and you are an impressive orbit
no im a brainlet
sorry that is slang i dont know
ok no definitely not would love to be on your level
my github nonexistent
(or accounts lost)
then we are soon to be impressive orbits
we just have to give our best
but this orbit will now procrastinate learning math with learning rust
come learn rust with me
yes
then I will do ownership too
why private repos
likely because of uni guidelines they dont like to see any stuff connected to them online
oh yeah but the configs
looking good
rose pine is nice I used that for some time
any gamers
@ivory ginkgo can i get your vim config i like the statusline and the path at the top
not using app router ewww
idk what that means
next 13.4
oh yeah i had some compability issues with that because it was so new
5 months ago
yeah was still in beta then
Was full release last month
Been fine for me but I can’t use turbopack yet since clerk uses some crypto stuff
And webpack is so fucking painfully slow it’s actually putting me off working on my stuff
yeah i can tell from the file structure
@ivory ginkgo did you run into this issue with barbeque i cant figure it out
yea

yeah idk it's weird
oops
doesnt make a difference tho
yeah no that just breaks everything lmao
this doesnt make any sense
oh well i can live without this
found the video and trying to follow along but dude is fast af
yeah its a good source
when I use telescope the transparency gets lost did someone manage to fix that? I tried vim.api.nvim_set_hl(0, "TelescopeNormal", {bg = "none"}) but that didnt work
could it just be that your transparency is >50% and it gets multiplied by the two windows into being opaque
i have no idea if it actually works like that
yeah but its a good train of thought
i dont use transparency since I found it too distracting
thanks leroy now i have stolen my vim config together
bro using cmd not even the new windows terminal
okay gimme a break
There u go
(by the way this is like, old old vim I think, last time I used thsi is for my university taking CS)
cmd is part of the new windows terminal
you can change which it defaults to, mine just happens to be wsl
Not in 10
This opens the command prompt
This however will launch the Windows Terminal
Also I don't remember why I had this
I didn't learn Python
What people do with git bash again?
Just downloading stuff off Github, that's it?
git bash just opens a bash instance
git: 'bash' is not a git command. See 'git --help'.
since windows doesnt have bash natively
So I installed it, and I forgot why I installed it
this is so long ago
windows terminal isnt very useful tbh
windows terminal the app is great
cmd and powershell are not
i tried swapping to hyper but its terrible
I dunno
I haven't explored the limits of wt but I know you can like
Start, and monitor your Azure server
its just an app for different cli instances
yeah its handy
One tab you're iftop-ing your VMs, one tab you're doing some funky business with your FreeBSD server
i just run backend in one tab frontend in another
And one tab it's an SSH to your Minecraft server you set up in Azure
you ever just
yea
lol
yea man avocado prompt what could be better
it turns into cherries when theres an error
i would have time starting from 18:00 for a study session if you are interested also need to do some stuff
Get 20% Off + Free International Shipping with promo code ACEROLA at
https://mnscpd.com/acerola ! #ad
Counter Strike 2 releases soon and it comes with some very innovative smoke grenades! But, how do these smoke grenades work? Why can't anyone properly recreate them? and can I crack the code?
Topics covered include: Frame debugging, voxels, me...
is that also required for university or self interest?
setting up everything after a reinstall is a pain in the ass











