#ot1-perplexing-regexing
1 messages Β· Page 640 of 1
what kind of shell scripts?
Simple stuff that gets done on each new dev-box I make.
#! bin/bash
vimdot="../dotfiles/.vimrc"
echo "Setting up vim..."
# Download plug and place in .vim directory
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
# Ensure our vimrc is in place
cp $vimdot ~
# Run plug install from cli
vim -es -u ~/.vimrc -i NONE -c "PlugInstall" -c "qa"
echo "End of line."
installs of python from dead-snakes. Setup vim. Setup git. All that good stuff.
Copy dot files over. Install the common packages needed (mysql, npm, yarn, etc).
torn between puppet or ansible to make some of these a little more managed. Both are daunting to pick up though.
I like chezmoi for this
for dotfiles management and bootstrapping a new machine I mean
Oh nice. A dotfile specific manager.
Went on a cruise and passed by lady liberty
Ay lesgo, xplane 11?
hi
I completely agree with this. You'd be amazed at how much you don't know when you make an actual software
@rough sapphire : what is it exactly you don't like about geeks4geeks? i also have a strong dislike for it, but i can't point to anything specific so it probably looks like i'm just irrational against it
brb
G4G's python code looks like it was written by a java dev (and probably was)
they ask me to login/sign up everytime i open it, which is plain annoying
Idk if theres anything factually incorrect about it but its not good/idiomatic code
they r also very spammy, like quantity over quality type things
search something python
1 billion g4g tutorials written by an indian guy come up which are mid quality
real good tutorials get hidden
plus i feel like they r not really something i would like to learn from
w3schools is similar, quantity over quality thing
g4g's SEO is certainly pretty good, i'll say that
just that there are better places u can learn from
i am somewhat biased over g4g i admit tho
they r very annoying and ask me to login and sign up 
aaaaaaa

I think that site is very good to look up things fast.
No wonder it's always on the top of the search
Not the best way to do things tho
Its at the top of the search because they hacked their SEO to bits
Not because theyre good
Yo is there a way to check what app django app the user is currently in?
For instance if you're in the chat app nd click a button it goes to accounts app and if you're in accounts app and click the same button, you go to the chat app
no
its not
use realpython
I am not looking for alternatives
Some of it was taken from Stack Overflow.
But I've forgotten it by now since that site's not relevant to me
@high haven
mfw
bro
might as well get a cert with that much cost

the things people market these days
UCL in london had a deal with this company for their first year students to take this test
imagine

how come i find that educational institutions are the worst about this type of stuff

they get high off their own prestige and end up doing cult shit like this
https://youtu.be/hw3Bx5vxKl0 ok he caught up with solid
SolidJS is a JavaScript framework for building fast, declarative UIs on the web. It shares many ideas with React, but does not use the virtual DOM to deliver a more performant and pragmatic developer experience.
#webdev #programming #100SecondsOfCode
π Resources
Solid Docs https://www.solidjs.com/
Solid GitHub https://github.com/solidjs/solid...
i swear ms teams is malware
eats up ram and battery like jolly ranchers
i fucking hate it when everything just stops responding and i have to restart my computer
There are two versions of it
explain
One where its an Electron app that both uses Angular and React
mhm
And then one that uses a webview and React only
aha, 13 percent battery life im gonna die now
afaik thats for personal use only
not work or school
Yeah that kinda sucks
The one which is pre installed in Win11?
yes
All mainstream consumer Operating systems have webviews
Apple has WKWebView, Windows has Edge WebView2, Android has Android System WebView, Gtk has Webkit and Qt has WebEngine
GTK and QT are OSes?
Linux
You know the deal on Linux, the clear divide between Gtk and Qt desktops
tl;dr: There's two kinds of desktop environments on Linux. Gtk based and Qt based
ik. was just making a joke π
Oooo, that looks awesome
mm, crowdsourced dinner
POV, you just posted a meme in a flat earth sub
and only 783 post karma?
i mean i got 300 karma from various posts in r/SpecialSnowflake and r/place
that's much better than me
but they claim 99k notifications
ok
I still don't know how they fucking work
bye bye 100k
pro tip: no aws
π
jk, there's no way around it now
did I tell you me 2
π
we have an HPC with GPUs and shit but it's for scheduled jobs
and we like came up with a few ways
but it still came down to trying a couple things first
and seeing what will work

thats nice
we def dont have that

and im like...
we want to deploy a transformer model for inference...
bruh
Made a type-checked async ORM wrapped around asyncpg. The part I like most about this is that the types of model fields always match, so you can have an ORM and not loose mypy/pyright support.
Examples under /examples and in the wiki, and I appreciate any feedback!
Project Repo: https://github.com/trigondev/apgorm
I also have a project that actually uses apgorm, https://github.com/TrigonDev/Starboard/tree/main/starboard/database
that sounds pretty cool. do most of these ORMs not do well with type checking?
I haven't found any that even try
sqlalchemy has a mypy extension but it's 3rd-party, means it has to be installed, and still doesn't work for pyright
class User(apgorm.Model):
name = types.VarChar(32).field()
nick = types.VarChar(32).nullablefield()
user = await User.fetch(name="CircuitSacul")
reveal_type(user.name) # str
reveal_type(user.nick) # str | None
perhaps the folks in #databases might be keen on trying this too
can I share it there too?
maybe
it's kinda small and I'm really the only dev so
but all projects start somewhere lol
indeed! but i also suggest #databases bc maybe some regulars would be able to provide more specific feedback
true
magents work because magicks exitsa
cough cough dev tools cough cough
im not stupid enough to actually post a meme in a flat earth sub
did you know if you take a powerful electromagnet and rub it against your pc in certain spots, cool things will happen!
π i tried it
If there's two things I got from PyDis about AWS:
- money go bye bye
- alphabet soup
Is that correct
well, pydis is sponsored by linode, so, we may be a bit based biased
if you don't care about money, AWS is great π
no
no to what? use being biased?
yeah
keke mr.mod
we're moving to Netcup by the way hehe
keke mr.mod
.bm
I got inspired and made some kladdkaka of my own today. Yummy
Haven't we completed that migration by now?
Huh, that's slower than I expected
Try saying that 3 times really fast o.o
oooh... sticky chocolate cake. sounds lush!
Obviously not an Italian dish. ...I hope it's not an Italian dish.
Chocolate cake would never be the same.
Maybe it'd pair well with that coffee. You know the one.
I think it's Swedish
that coffee?
idk, I'm not actually in charge of the budget for any of my projects. but there's just so many different services and I find each one frustrating to figure out. just let me SSH into a linux VM and be happy π¦
but I guess cloud VMs aren't """""limitlessly scalable"""""
Would you like a cup of .NET?
I want covfefe
You want Jawa covfefe
NO
The civet cat one.
NOOOOOOOO
is this in reference to the video made by the best and most handsome coffee man on the internet?
If you're asking me...huh?
the best coffee man made a video about why civet coffee is bad. here's the gist of it:
there's actually no reason to believe that coffee beans eaten and pooped by civets are better, but people will starve/force feed them to civets to meet the manufactured demand. if you really want ethically sourced, digested coffee beans, you can swallow, poop, clean, roast, and brew them yourself. and if that disgusts you, then why do you even want civet coffee?
also don't try to bring the blockchain into this
I was never that drawn to the notion, anyway.
its kinda poetic tho
you drink coffee that comes from poop
and then the coffee makes you go poop
the circle of life, its beautiful
You are what you eat
truly the circle of life
Eat squid and poop paintπ
why do python developers wear glasses?
Because they can't c#.
π‘ thats my line
god
c# puns
i would travels over C's to get a # dagger just to end whoever made these
I've never been threatened with an octothorping, before.
@rough sapphire sorry for ping but to respond, when I used the data param instead of json. the code got stuck the same way as the API docs auth endpoint
Ask Julia, she knows how to navigate the seven Cs ||C, C++, C#, Objective-C, Objective-C++, C--, C*||
OBJECTION: only a c++
I may have cheesed a bit to get the seven Cs
https://stackoverflow.com/a/3684159/15681593
yes?
Why tho lmao imagine
hurrah, spread the cocoa
whats oop?
is it... a terrifying monster?
its possibly unnecessary but still roped into codebases
Obviously OP
O, OP
Speaking of which, can someone explain me this:
class MainWindow(QMainWindow):
def __init__(self):
super().__init__()
self.setWindowTitle("My app")
button = QPushButton("Press Me!")
self.setCentralWidget(button)
It's pyQt
Might wanna try a help channel. See #βο½how-to-get-help
This is off-topic. Feel free to discuss python here too, but help channels are more suited for python questions. Including this one
What are you confused about it?
I'm still confused about magnets.
magnets, more like magicnets
metal thingy, more attractive than me, attracts metals because is attractive and me is not attractive
So magic
yes
Ok?
Who asked tho
!otn a python because its nerds
:ok_hand: Added python-because-its-nerds to the names list.
https://www.nerdscandy.com/nerds/ eat the pythons
hmmm
My dad is not a lawyer but my grand pa is.
lol
Same
afaik that I can use compendo and dividendo but my answer doesn't matches.
my dad is a lawyer
same
@low chasm i just realized i can react to messages since i have your name, people will think it is you and i can successfully frame you. 
crime time
you should be a lawyer, not a dev
you can see exactly who did a reaction
no memes please @obsidian plover
best JS framework of all time
@reef geyser https://www.youtube.com/watch?v=Pj-h6MEgE7I
Start your Shopify free trial today: http://shopify.com/Kurzgesagt
Sources & further reading:
https://sites.google.com/view/sources-jiggle-of-existence
Look around you. Where are you? Where is this place you are occupying? Somewhere in a room, maybe in a city on a continent on a planet orbiting a star in a galaxy among billions. But⦠where is ...
Ayyyy, this has been in my feed for a while
I put off watching it because I need the right meal to go with watching this video y'know?
I feel that
Haha it was a good lunch break watch
Same
That relativity hits differently when its well animated and clearly explained
kurzgesagt is so great, I decided to learn german >.>
I found them from the "what if you bring a piece of the sun to earth", "short answer, you die."
It means in a nutshell. German lessons wasted π
And if the moon crashed into the earth
Yeah
Their animation quality is at a different level
And they know precisely what they're saying
I started from their oldest video on evolution and natural selection pressures
"shortly"+"said"
Did anyone see Moonfall? π
I knew that you big purple bum. I meant inspired me to learn it further
read it again, i made a dumb typo
Holy crap, that was a movie
For anyone who hasn't seen their videos: https://www.youtube.com/c/inanutshell
Animation videos explaining things with optimistic nihilism since 12,013.
Weβre a team of illustrators, animators, number crunchers and one dog who aim to spark curiosity about science and the world we live in. To us nothing is boring if you tell a good story.
For updates on our videos and other news from the kurzgesagt universe follow us on T...
I did not actually
totally forgot about it
Do you remember me
Was it good?
alright cya, i don't belong in ot1, it gives me shivers, ot0 is where it's at fr
the fermi paradox video made me feel sad
laterrrr
It kinda went bizarre at the end lol
I'm not sure, where have we interacted before?
ong fam
citizen of ot0
I wanted to see everything everywhere all at once
Don't Look Up, was fantastic though π
That was my randomness never mind it
yo how's that movie though
i stil havent watched it
I mean.. you quoted what I thought of it lol
Bizarre in what way? Like aliens?
We have been in conversation though in general chat
||yep||
This was a great one, hit on the topic of one of my favorite book series: https://www.youtube.com/watch?v=xAUJYP8tnRE
Getting something from the kurzgesagt shop is the best way to support us and to keep our videos free for everyone. Thank You!
βΊβΊ https://kgs.link/shop. (Worldwide Shipping Available)
Sources & further reading:
https://sites.google.com/view/sources-darkforest/
The Universe is incredibly big and seems full of potential for life, with billions of...
What's the deal with all the alien talk this year. Even the damn pentagon is saying ufos are real. I mean uaps....lol
What would you do if the doctor told you you were going to die in 24 hours? I would do some questionable things then then steal a car and speed so fast into a car dealership and steal another car and speed that
That can probably get you killed before your time lol
Pentagon released nothing noteworthy. I find it incredibly hard to believe they even think it's noteworthy.
Fine by me
who doesn't
There was this one two days ago: https://www.cnn.com/videos/business/2022/05/17/ufo-hearing-house-sot-vpx.cnn
Lool
didn't they release some more footage earlier
For sure
don't trust anything that isn't a hexagon
π
Hexagons are the bestagons
||i doesn't lol||
cgp grey moment
:p
?
rip me
I can list a few channels that i like that are informative - Kurzgesagt, Minute earth, CGP grey, minute earth, veritasium, v sauce...
That was definitely intentional
Why even do that
for fun, i wanted to ping him, i did not know he is an admin
The Pentagon wouldn't release anything they thought would be interesting militarily. So they either know what it is and playing dumb, or have decided it's something boring but haven't worked out what exactly.
Weird hype that this stuff causes.
I want a hexagonally-tiled chess board now
i think something like that already exists
I know, I'm saying that I want one
Me too
Oh yeah I don't give it much thought, just because they can't identify something doesn't mean much really
God, my dad is such a conspiracy theorist it scares me
One of the reasons the internet is bad
The most interesting was the effects on humans. They said radiation and even bizarre shit like unexplained pregnancies? It's been all over the news.
βοΈ
I think some pentagon officials are smoking the good stuff
Most humans are smoking the good stuff
Indeed, lololol
whatever they are on, I want some of it
for real. I mean 'gravity propulsion' wow.....
They must be prepping us to be ready to accept some new revolutionary tech
@bleak lintel code is ||69f78536aed99b485394f5c7dc4d79f0||, it was pretty fun, minus @raven yarrow being overeager and spoiling parts π
π i did not mean to... i told him about something in the dev tools that he completely missed and solved one of the parts without and forgot another route later on had something similar.....
π’ i thought it was obvious that it was base64 my bad there
HELL yeah
I've done a few of these so didn't take me too long, if you ever make a longer version or something I'd be happy to playtest, I love these sort of things
hello Joe the cat /j
hemlock has been farming that beard for quite a bit
What do you need help with
Youre on the internet right now
What are you doing
With the internet
All of the above
hey can annyone decode pyc file for me as I am using 3.9 version . needed ur help
im playing sad music and feeling sad about graduation
its fills the hole in my soul
i have come profesional
.
nope grade 8
but, water is wet
amazing, google should invite you to the be the CEO
Ah
We all made it wet, it was never meant to be wet
the innocent time when water was wet.. it was a simpler time
No
wasn't wet*
nope
technically due to atomic bs, you atoms never actually touch each other
they don't need to touch to react
so being "wet" is an illusion
fuck what did i just say
Isn't that what I said.......?
what?
That water isn't wet
sorry im having a stroke a mcChicken burger
Bro did u even read my message......?
what are we even talking about
just settle the argument with wolfram alpha
wait
No
Uh
what the hell is going on
U should get some sleep
ok how about settle the argument with an atomic physicist
god im just gonna eat my sandwich
Can we settle this like normal humans do......?
Coming to get it π
like twitter? ok
ok then like reddit
Fun question:
suppose you're using CI to automatically build binaries for your github releases.
Is there any way to provide proof that the binaries were truly built by the CI process, and not substituted with changed ones later manually?
generate a checksum of binary in the CI and distribute it along with the binary would be one way
it's not infallible though
This installation of Google Chrome is managed by your organization π’
super -- god forbid I try to chang the home page to google
what's the default home page? org's homepage?
hell yeah it is for me
so damn annoying
they moved from google to microsoft products last year because of "privacy issues"
and when i try to sign into a desktop ms app
it asks me if i want my organization to control my entire device, or just the app
smh
yeah their internal sharepoint page
which is like just a place where they post articles and stuff .. its not even got any documents or anything relevant to my dept except a link bar :p
new tab url extension - which works for all except first tab of a new window
oh also it wont let me install a separate chrome instance lol
yeah. that'd defeat the entire purpose of this
i like canary
raise an IT ticket
could be useful to notice stuff that is going to break ahead of the date it is made default for everybody
no way to get temporary elevated rights?
if they tighten up the cross-origin javascript it could be very bad .. and that was being blocked in canary last i checked
i havent tried very hard, theres probably a way but i dont want to make it look like im trying to get around their policies you know?
dym the referrer policy change?
oh. I did not mean a workaround. like a org provided way
like installing a second chrome
like if you have a page top.corp.org and it is showing an iframe to other.corp.org , it appears to throw an exception if the top page tries to access anything on the iframe's window
isn't that already the case?
somethonh like "blocked access from cross origin frame"
well it seems to work in edge and it must be working for the users or it would be basically nonfunctional
idk if i should try to raise that or just assume its something weird thats specific to me
isn't the old Edge browser deprecated or dym the new Chromium-based Edge?
why does reddit mobile just freeze and crash as soon as a I find a good post on r/r34?

Why do you keep making comments like that one
it's a car subreddit, not nsfw btw
damn he is telling the truth
Nissan Skyline R34. Could be R33s, 32s, just generally Skylines. T-shirt posts will be removed. Porn will result in a ban. Please, only post cars. Don't be stupid.
nah. the r34 just became a too known so yeah
im the degenerate dw
needs to be put over that
.wa short double entendre
an ambiguity with one interpretation that is indelicate
wass dat
Its the figure of speech you just used
?
still don't get it
anyway back to french
Whatever dude, look it up
Double entendre is when a phrase has two meanings, a "that's what she says" moment
oh keke
you had to make an adult joke for me to understand
back to french work
You are big
momma, am big boi. can i have mc donald toy now π₯Ί
That was a joke
ik
And no toy for u
nope
new one ("chredge")
wait, did you check the sub?
no bud sur
not recently.. why π
check it
it's about cars, @grave cove can confirm
huh
yea double entendre is that
Any favourite tutorials/overviews on PHP?
I need to be able to read source code, mostly.
hmm I don't know, are they very different?
Right now I'm reading the source of Mantis (https://github.com/mantisbt/mantisbt) because reasons. I think it supports 7.0.0+
also, is most PHP code that cursed? I've seen better
Why is there a bajillion top level files
Too many files
Yes there is a huge difference between 5 and 7
@remote hazel
hello
wanaa play chess
im really bad though π©
oka
k
what
nvmd
ok?
They actually put it in the movie
@whole ivy dont post chain spam
\π
What if, we sold an nft and bought it back for free? Does that allows us to use the nft avatar feature of twitter?
Does that make me an nft owner
yes
Tell us if that works
still wondering why twiitter and nfts exist
i mean just the nft part
capitalism
twitter is for degenerates that are so entitled to their opinion, they can't see how much of a jerk they are being
and nfts are nfts
i need not say more
well that is a weird generalization but anyway, i still have twitter because most programming / biology / biotech communities are there
i wish everyone could move but everyone dont want to
well twitter is used by many official organisations
nfts are nfts because they are crap yeah sure
Well, I wouldn't describe ThePSF or gvanrossum or pyblogsal or llanga or nedbat or dozens of other programming-related people on twitter as "degenerates that are so entitled to their opinion they can't see how much of a jerk they're being"
maybe you're hanging out in the wrong part of twitter
lol yes
the 4090Ti is supposedly a 4.5 slot card
might go up to 5 slots depending on AIB's
3090 by the looks of it
might be a 3090Ti too
ive got a web dashboard for managing stuff, should i also create a purely utilitarian desktop gui
so its faster for people manually managing stuff to do so?
or should i keep it all in the web dashboard
Ay
Ima say a fact
Using linux with firefox and doing all those things theoretically doesnt make you private
how did we get here lol
So technically
Intel can know everything you do
So like i bet its used to identify people
I think the only way to be anonymous tho
Is not letting even your computer know anything about you
yeah, don't be on the internet at all
Dont exist at all
Just existing
Can help the NSA track you
Lmao
Thing is
You can be anonymous on the internet
Its just that its hard
And not very appealing
You wont get to watch yt for example
Since google has a shit ton of trackers
What does CPUs have backdoors mean lol
Intel Management Engine moment
Intel can get access to your cpu
Even if you have a firewall on your os it can send data through the internet
A physical one tho can prevent that
But then
A firewall can have a backdoor
Are we going full tinfoil hat?
Yes
Yes
Privacy is no more π
Its impossible
I mean its possible
But
Not convenient
cc: @rough sapphire
Fedora is an exception, imo, it's fairly stable and isn't that garbage
But I still don't like the kernel itself
It's kinda... shit
Hmm
Well
Debian is pretty stable
And doesnt have to update alot
I mean windows is also stable
Tbh i kinda feel linux is overrated in some ways
Oh well
Insider preview image moment
I kinda didnt use stable releases for a long time
Well tbh you got a point
Linux can have some bugs
Sometimes the DE stops for example
And it doesnt recover automatically
Sometimes
Windows tho is easy to use
Arch allows you to break the DE
Yea
Sure, Arch is that OS for βββexperienced usersβββ
Thing is
But I feel like it should have some failsafes/warnings
Linux is overrated for the "privacy" part
Thing is
Its kinda not private
Cause
First of all
Streisand effect
Plus
Almost everything has a backdoor
Itβs as secure as the user makes it
Your router prob has a backdoor
And as i stated previously
CPUs have backdoors
Afaik
And, for the most part, the users who use Linux arenβt that IT proficient
Apple has actual privacy
Which imo is made only to deanonymize tor users
I'm going to go out on a limb and say you're probably mistaken there
??
A physical fire wall?
And security
Raspberry pi
Be a fire bender
^
Most of the users Iβve met havenβt been that proficient and just use it because βcool hacker/programmerβ phase
I use it because Windows has become unbearable to run
And the ones that are proficient do hate it also
I know jack about system admin
Kali maybe but other distros i dont think so
*for the most part
Tbh linux is lightweight
I am so tempted to ping so many people who absolutely love linux
I would use it as my main
"ooga booga, what does this do?" is a common reaction when I go and check out some distro's config files
Go for it, I know a lot of people like it
But I know just as many who hate it
I use Linux (WSL, really) purely because there are a shit ton of programming tools that only work on *nix
Right
Like what
I forgot to clarify
Valgrind
I dont hate linux in general
The only use i've found for wsl at work is for wkhtmltopdf
Also some of its APIs
Any GNU tool, but you can run those under Msys but that's cheating
and even more that also work on windows, but have a much pleasanter experience on *nix
I just have to state that
Linux wont make you private
Except from hackers
Its common misinformation
And also
Nothing will, i thought we've had this discussion before
Linux wont make you good at programming
If you want to be private then unplug and go live in the woods
people claim that???? the fuck??
what i said
yeah ppl claim that
the only reason i stuck at linux is the convenience. not because it makes me a better programmer
yeah, that's why I use macOS
packages are far more stable
and it's also a pleasant experience as just an everyday user
but it does have its flaws of course, nothing's perfect
@wraith hound i guess u mean about the "Linux will make u good at programming"?
yeah, that's a really strange claim
yeah it is
well, like I said
most of the users I met, who daily drive Linux, are the ones that are in their βcool programmerβ phase
sed
so yes, people do think that Linux is a far better experience for software engineers and developers
the tooling is great. but being a better programmer is on you, not the OS
which it is, but that's because UNIX is so goddamn convenient
Maybe you need to stop meeting impressionable inexperienced teens
that's like 30% of the overall Linux userbase lol?
this part is correct ime. the tooling is signicantly better.
I, too, was impressionable once
I kinda just stopped being an idiot and formed my own opinions after a while
Its not even close to 30%
Sensationalism is trash, pure garbage
50% of all MacOS developers are JS techbros
Source: i made it up
I am inclined to believe that
past me lol anyway.
Windows is good for general development imo
For more in depth
Low level stuff
Prob linux
i have not seen a difference between linux and windows for stuff like web dev
Same
You can develop embedded stuff on Windows just fine
I even felt like linux was harder to use for web dev tbh
web dev is universal
like everything
and if you want to develop for Windows itself, you use MS's APIs
^
^^
much like you'd use Linux APIs for... surprisingly.... Linux
I see
oh my i wanna develop Linux using MS APIs :P
your browser is an OS-agnostic runtime so web dev is OS-agnostic apart from tooling
that wording is terrible but I think that conveys my point well enough
It's practically impossible to have OS-agnostic package.json scripts
well there is a tweet that summarizes our discussion https://twitter.com/marcan42/status/1527222974385860608?s=20&t=s4-_7OH40ygF4SuKysH3hA
If it's vim, nice.
If it's nano, nice.
If it's Kate, nice.
If it's Atom, nice.
If it's Notepad++, nice.
If it's VSCode, nice.
If it's emacs, nice OS. :-)
Seriously though, text editor flamewars are way past their expiry date.
965
113
I hate how you need to use Node.js as a crutch
the retweeted tweet rather
that is true
Makefile > package.json scripts
does vim have a vscode like liveshare thing
by a mile
I wonder if my .cargo/config is OS agnostic
build.bat >
wait why exactly
why would it? its in the terminal and if u want to have that, u have to overhaul a lot of stuff and create a library for it. ever heard of onivim?
emacs has it
yeah it should be, dunno why this wouldn't be
[alias]
c = "run --package bastc --"
x = "run --package xtask --"
xtask = "run --package xtask --"
makes sense cause it isnt an editor
For example, how would you rm -rf dist node_modules on Windows?
the fuck
I can't get into Rust
honestly instead of package.json scripts I'd just have a separate scripts/ directory with node.js files with stuff like rifraff
wait how is that related to package.json
The type inference is really limiting
package.json scripts
how so? I'm curious.
ah
rm --recurse --force dist node_modules ?
yeah ig
i have a lil familiarity with powershell
but i do use it a lot of course because Windows
rm is actually just an alias for Remove-Item.
In Haskell/PureScript, I have typed holes which I can use to determine which value of which type to use
Works well considering I don't use LSP for both
perhaps
Also traits are just... so much less nicer than type classes
well ofc it's not every there is like that.
Maybe because there's no borrow checker and it's a lot more freeform in what I'm used to doing
3080Ti or 3090 or 3090Ti
wow
and yes it does look like its mini ATX
those things a are chunky bois
yeah ig its 3-4 slot no?
who the heck thought it was a good idea to do mine atx + nvidia_flagship
there can be high end mini atx mobos
ig
nope
the cooler design leaked recently
wth
this is the reference btw
bruh
expect chonkier AIB models
how the heck will you find a case that fits this?
yeah case manufacturers are supposedly changing case designs to fit this
i have a plan
you can do that
im gonna wait a few years for RTX 40 series to release, everyone will move over to that, leaving RTX 30 series with less users, which will cause GTX cards to become cheaper and i can get an AMD 520 card
30 series is near msrp now
nvidia is going to release fucking 1630 soon
woah
im either gonna a 3060-3070, or a 1650.
it better be priced super low because its 2022 and we are getting slight down/up grade from a 1650
tell that to the 3090 ti
i mean, nvidia can do anything now considering the absolute trash release AMD 6500xt was
π’
amd cpus are strong, the cards not so much
the 6800 was looking good
but the latest releases suck
it is good
i know
but i could think of a couple cards which i would prefer
navi 30 series is going to be a 2x perf increase in some areas
3060 ti or 3070
nice
nvidia 40 series kinda the same
k
bruh
the 3090 ti has 300 more cuda cores and 0.16 more ghz clock
and it costs nearly 200 dollars more than the 3090
perf uplift was about 5-10% right?
it's like the 3080 to 3090
the difference is small
the 3080 would be over kill for most builds anyway imo
a 3060 to 3070 will do just fine
this is kinda a last minute cash grab
yes
considering ada lovelace is also going to come out in q3/4
the hell
It's called lag
nope, it's a skill issue
Your skill, that is
your ping it is
some may say ping don't matter, when your ping is 42069 ms, it sure does
Let's ask the guys whose message they see first
alr
Nice
can you guys use the !snowflake command? that would show timestamps of messages
edit: nvm it's role locked
!src snowflake
Get Discord snowflake creation time.
!sf 977597086050680842 977597089825562684
977597086050680842
Created at 2022-05-21 15:41:48.190000+00:00 (<t:1653147708:R>).
977597089825562684
Created at 2022-05-21 15:41:49.090000+00:00 (<t:1653147709:R>).
pritam was first and that's what shows in my client too :)
It's just rolelocked if you aren't in bot commands
Uhhhh I think so
You are not allowed to use that command here. Please use the #bot-commands channel instead.
Ah ok it just refers you to bot commands like eval
ooh I see what you mean
I simply cannot wrap my head around the absence of mutable state.
I really like the concept, it's just difficult for me.
Hmm there is mutable state in Haskell via the IO and ST monads, for instance. Not sure if this helps but you can think about IO as a pure value representing an impure computation, and you can chain it with other computations.
Once you learn about monads you can write your standard imperative programs including using variables:
module Main where
import Control.Monad (forever)
import Data.IORef
main :: IO ()
main = do
v <- newIORef 0
forever $ do
x <- readIORef v
print x
writeIORef v (x + 1)
well, the whole point of haskell is to do that as little as possible
Idk, I think monadic IO and laziness are the main contributions of Haskell to FP right?
yeah, monads for IO are a haskell original concept
Not saying this is the best way to write this program, just that referential transparency is actually not incompatible with programs that use mutable state.
but if all your functions return IO, you should just be using an imperative language
The ST and State monads are also cool because they let you do mutable-state-ish things inside of a pure/non-IO expression
indeed, you can just implement mutable state in a wide variety of ways in a pure context
the most common I see is recursion
well, technically foldr
but most foldr usages aren't really doing mutable state
I assume any kind of tail recursive function gets compiled to a loop with mutable variables
even non-tail recursive functions do sometimes
Neat, using an explicit stack or something?
there are some clever rewriting rules IIRC which convert it into a tail-recursive-ish form
so IG technically yes, just using something a tad smarter than a full stack more often than not
Here's an example of a Haskell program that modifies a mutable linked list in place, to solve a leetcode problem: https://pastebin.com/aLE1aU5C
I'm a bit mad that pastebin interprets the ' (prime in variable name) as a quotation mark.
that's idiomatic haskell?
In that example no. Idiomatic would be like:
import Control.Monad (mapM_)
main = mapM_ print [0..]
that's exactly what I mean
I think my other example is more idiomatic though. I don't know of a better way to do that leetcode problem without using some kind of mutable ref
It's neat, but not a fan of their lockfile handling.
At a certain point, you kinda get used to the absence of mutable state and start to prefer abstractions instead
i.e. tail-recursive loops become more idiomatic than:
accumulator = initialValue
while True:
accumulator = doSomethingWithAccumulator(accumulator)
eventually, at least
I agree that it's a lot of mental overhead, though
Idiomatic Haskell is a myth π Every other Haskell dev has their own style of programming
I can confirm this just looking at the PureScript compiler. It's like 7~10 years of 40 something devs working on the same codebase.
Is purescript in Haskell
Looks like the compiler is, yeah https://github.com/purescript/purescript
New Customers Exclusive - Get the Creality Ender 3d pro for $99 after coupon: https://micro.center/db84e4
Check out Micro Centerβs 3d printers and filament: https://micro.center/84549c
Browse Micro Centerβs Amazon store filament: https://micro.center/27862b
Thanks to Micro Center for sponsoring this video!
Giant RGB Fan Model - https://www.m...
there was a minecraft channel?
What's this home channel this server has got? Didn't see this anywhere else
it's being rolled out by discord, starting with the bigger and more trusted channels, of which this is one
Oh nice, thanks
it should be noted that the server admins and moderators have little to no control over it - the contents of home are chosen by and only by discord
All hail to the all-seeing, all-knowing algorithm.
where did the minecraft channel go?
something tells me that this title is gonna cause a lot of questions to be asked, and many people are gonna get whooshed, as i almost did
2023, April 1st, the Minecraft incident
Running on python xD
hey that'd be cool too
minecraft server protocol implemented in Python
it'd be slow though
mypyc can increase the performance of typed code by 4 to 6 times
but yeah it'd still be slower than a Java server
But cooler
wasn't eivl making a Python-based MC server
thanks
JetBrains superiority
lol π
Getting a backlit keyboard part for my Dell Latitude E5570
I'm excited, as I discovered it will actually fit
(It has the motherboard needed sooo)
don't all reasonably priced Dells come with a backlit keyboard?
This one did not, it was refurbished.
should i buy a new laptop or build a pc/?
I'm trying to get the name of day from a date in Excel. It should be =TEXT(A1, "dddd") but i'm getting this?
Anyone that knows why?
anyone know why discord does this
most likely because someone has been reported
works here
So i need /
no thats just the format, as long as your value is a date it should work
it auto formats π
so weird, i'm still getting the same error
maybe you have ; as a list separator in excel
what do you mean ; as a list separator?
Have you tried to replace the coma with ;?
excel moment
I like excel, it's really good tool to work with data
I hate excel when I was in elementary school, because it's complicated. But now I really like it, π
Excel bad tho
Its what you get when people have no choice but to use your product so you dont give a fuck anymore about quality
I only like Excel when i'm making the sheets with Python
it makes the logic more.. well logical
I mean, there are at least 2 other programs which have feature parity with excel and support the format and no one uses those over excel
excel is just kind of the best software for spreadsheets

