#voice-chat-text-0
1 messages · Page 493 of 1
Thailand
what's the question again
@buoyant loom here
really? It is not considered a roadmap? the items in there
it's a road
single road
you don't need a map when there's a single road
roadmap has become a rough synonym to "plan" unfortunately
Philipines, Thailand, maybe Vietnam
if you want a non-troll answer: Iceland
interesting
Any cool hackerspaces in UK?
tbf I can probably just move North within where I live and it'll be fine too
but I prefer being in the same city as where I work
I should try visiting SpB during winter
for ~two weeks
that's cool
the tubes are cool
I stayed far from central london and I had to get the tube every day
going to work for me involves using both underground and regular train
the latter has a more sparse schedule
which isn't as convenient
me being so spoiled I can't wait more than 2 minutes for the train to arrive
in japan, increase odometer overtime much harder to renew
25 minutes is too much
Could you explain this further?
also we have river transport now
the age of the car doesn't matter, but the kilometers/mileages your car run dictate how much you'll pay for registration renewal
this is allegedly real
I'm trying to find something that isn't a render
allegedly also these can work during winter
(icebreaker breaks the ice, then these sail through)
the most difficult part now: picking a name
It is sooo hard
Hey @wind raptor, how many years are you now doing programming?
judging
maximal information overload: whenever pauses in the discussion happen, unpause a podcast/talk/whatever
I don't really engage with YouTube like a social network, just background sound happening
I rewatch content a lot
~60% of what I watch is stuff I already watched
the only reason I ever watch shorts is when it's some specific channel
Hey guys, going to hop off for now! cool stuffs btw!
I kind of contextually schedule what I do with youtube;
how much time can I fill with how much background noise
I really dislike short videos
my threshold for short being somewhere around 50 minutes
there is only one reason I visit home page nowadays which is just always there
I'd rather not try applying plain numerical calculations to time utilisation
it's so difficult to actually quantify
if you're working 12h a day, there is a serious concern that it makes you underperform
finally actually starting the game
I've seen quite a bit
watched my cousin play it
yes
the d-something u-something
so likely that
I don't remember
I didn't customise settings in the end
though I was tempted to disable saves
that makes it me less worried about choices actually
I played Pulsar: Lost Colony in solo on no-save mode
and that was the furthest I ever got
Nice!
this was around 20~40h ig
did not die, just abandoned the playthrough
because the game was far from complete yet
I looted the whole map, did everything I could be bothered doing
flying with best upgrades purchasable
Im still relatively new to python, made a few smaller project in python, currently learning Django
the game hit the limit of "chaos" value
of 6.0, so basically no steep difficulty increase anymore
chance is another reason why I don't like saves
Yes, it is nice, very handy framework, saves a bunch of times. everything interacts quite neatly
rate of spawn, difficulty and general environment hostility
games like endless space 2 approach it better
you take a gamble and you only see its results in 10 moves
pulsar got many updates afterwards
those are two separate games
endless space 2 is X4
pulsar lost colony is space crew sim
I learned the basic and completed the py4e by Dr. Chuck, before it
used to be unplayable solo
okay I have a very dumb question about BG3: how do I actually select an option using keyboard
yeah used alot of stackoverflow before, a few years back when i learned javascript
do I really have to click it when using default keybinds
Yeah i get that, ive personally tried to avoid LLMs to build like more independent problem solving skills
should I use a controller
or rather confirm not select
how do I add Vim keybinds to BG3
some autocomplete (e.g. auto-adding setters to properties in C#) is actively harmful
I use AI mostly for fixing grammar in comments and coming up with variable names
yeah
yeah for some reason i find coming up with suitable variable names quite tricky xD
I care way less about variable names in Rust
because there shadowing is good not bad
in Python you can't safely shadow
what games do you play?
Nice
i really want to turn on my mic
but i need to wait for 3 days
also
i wrote a book that i didnt even knew i wrote
its called
to be or not to be do be do
💥
today in school for computer practicals we got a question to make a binary file and add records of books as a list the elements were [bno,bname,bID] i think
and my friend made a book called to be or not to be do be do
and the author?
me
he put MY NAME
as the author
it would be nice if game companies offered like rent to own options
imma watch startalk
lol
@wind raptor first attack ever, 95% chance, miss
okay the only attack that enemies made was a miss too
@buoyant loom there is a spam detection for DMs already
it just rarely ever works
there is Revolt
which is more of a Discord clone
with non-functioning video sharing
what video is this?
Numerical differentiation engineering mathematics
nice, numerical calculus is on my study roadmap
we have that in CS course
I’m also a CS student
lol
india?
Probably
Yup!!
Yup..!
lot in common
im not well practiced in math what are the triangles?
delta
Forward and backward operators
It also use to denote differentiation
Like triangle square will be two time differentiation
Sorry for the rotation
Use to find the roots
For quadratic equations
For i in range(0,10):
Print(“hello”)
This is embarrassing...
#1 Non-Leetcode Interview Platform: www.getcracked.io
Patreon: https://www.patreon.com/codingjesus
Calendly (1-on-1 with me): https://calendly.com/coding-jesus
Personal Instagram: https://www.instagram.com/thecodingjesus/
Quant / SWE Instagram: https://www.instagram.com/thecodingjesusquant/
Email: thecodingjesus@codingje...
this is my config
I can't live without https://github.com/christoomey/vim-tmux-navigator
ty
i needed the is vim part for tmux
I used to use tmux but I found zellij has sane defaults so I switched
Hello , How can I learn python-telegram-bot ?
I need a recommended resource or something like that 🙂
!stream 685226014237917308
✅ @leaden elm can now stream until <t:1752264457:f>.
why do you talk as if he's not in the VC
👋
!stream 685226014237917308
✅ @leaden elm can now stream until <t:1752264841:f>.
just finishing up refactors 😄
welll, vector stuff might not look the best on lower res.
there a dedicated low-res font will do better
but yhe all tests now green again 😄
that is a screenshot of a allure report generated from a dagger pipeline
frontend framework (in rust)
Now to get my benchmarks up and running again, so I can verify what I hope will be a rather good performance boost
prolly like 10 minutes assuming no strange bugs that take hours to track down
I already have the benchmarks written, I just need to hook up the new CI system to run it
Nice
pausing gaming for now
it doesn't, like, get me as confused/anxious as I expected such game to be
I'm totally okay with games which are long because of dialogues
given, well, me playing VNs
which game?
BG3
previous plot-base game I played was a VN
visual novel
interactive literature
yay one of those errors that might take me hours
┃ Error: failed to deserialize Wasm module
┃
┃ Caused by:
┃ 0: failed to parse type section
┃ 1: rec group usage requiresgcproposal to be enabled (at offset 0x43)
hobby
so I have time
I don't even remember if I've played any between completing Noctuary and starting that game
not counting games which I opened for 15 minutes and then closed
have fun~
I don't think Teardown counts as plot-based even though there is at least some plot happening
way more of simulator stuff
okay, I looked though played history and there was exactly one story-centred game I played between November and ~May
Refind Self
still haven't finished it
I do somewhat have a habit of abandoning playthroughs
Just reporting that a issue that was closed is in fact not fixed
@lavish rover what you watching 🙃
soooo, whats everyone doing?
great
are you using a virtual env?
yes
are you sure the venv is activatd in both VsCode and the terminal?
yes i have all of them open
Did you install the stuff while VsCode was open?
Arghhh just realized none of my benchmarks would actually change based on this change, because it is a massive speedup.
because we go from O(N) to O(K) (where K < N, and K is like 2 or 3, and N is like 100, or even 1000), buuuuut in all my benchmarks K = N :/
hmm........ should I do git magic to add a new benchmark earlier in the history so I can go back and see what the performance of that was like
@woeful blaze if you did VsCode likely just needs to re-index, just close and re-open it
god I hate that computers are fast
normally not necessary to re-open/reload
oh have they gotten better at it?
usually problems come from the wrong interpreter being selected
a few years ago you had to tell it to re-index a venv
in my experience, it's sometimes nearly instant
but tbf I'm using an m.2
I guess they put up a file watch on the site packages dir
and, more importantly, with all of the relevant files cached in RAM
likely, yes
fun fact: you can delete activation scripts and it will still activate
even more, it will do so in a more stable manner
by adding env vars when starting up a terminal rather than pasting in a path to the script
until I switched to uv, this was the main way I used venvs
now I just don't activate them
now it should be doing 4 int checks and 3 static accesses. instead of 200 bool checks
it is at a scale of 0.07ms to be fair.
so it might just be a noisy system
Performance clearly matters to users. For example, the most common software update on the AppStore is "Bug fixes and performance enhancements." Now that Moore's Law has ended, programmers have to work hard to get high performance for their applications. But why is performance hard to deliver?
I will first explain why current approaches to evalu...
various nuances of profiling
there is some tool mentioned which randomises stuff better
but like this should be a lot less expensive, buuuut it might be that most of this time is spent in the js interop
maybe I just need to make the test bigger to get the time up
it might be this thing but I'm not sure https://github.com/plasma-umass/coz
I am benchmarking wasm
tho I suppose with a bit of work I could isolate the reactive system.
you need to do some intrusive things if you're measuring <10% performance changes
unfortunately
yhe
well, the js interop should be constant, but I can vary the N to be bigger.
waiting on benchmarks is not very fun 😛
from
update large fields (iters: 158): 19.7256ms (with reflow/repaint: 33.33126582283102ms)
update one on large fields (iters: 149): 0.0922ms (with reflow/repaint: 33.33134228186119ms)
to
update large fields (iters: 243): 3.1179ms (with reflow/repaint: 33.31269547320259ms)
update one on large fields (iters: 150): 0.0604ms (with reflow/repaint: 33.33109999999404ms)
okay thats not bad
request is not up dating
you know I am getting hungry (and it got pretty empty in here)
👋
( @woeful blaze try asking in #1035199133436354600 or #editors-ides )
hey guys
Hi I can't talk
Yes, I think I need some more messages to unlock
That sounds cool
Hello
@grand marten 👋
Oh, no, I'm the life of the party. When I show up, people are enjoying my company. I'm so sorry, guys.
Mr. Hemlock - More appealing than pizza.
I want that on a placard
Hii
Guys I'm trying to get some support for astrixe sql
I want to work on it as a team as well
Stop calling us 'females'. https://www.eait.uq.edu.au/blog/2023/06/case-for-saying-women
Anyone wanna be my supporters?
This is txt channel for Voice Channel 0. If you need help, information or contacts I recommend the almost 30 other txt channels that even have topics that might help you like #databases #data-science-and-ml
cool, women it is. did you like the song.
A 0 0
0 B 0
0 0 C
1 1 0 0 0 0
1 1 0 0 0 0
0 0 2 2 0 0
0 0 2 2 0 0
0 0 0 0 3 3
0 0 0 0 3 3
!d numpy.repeat
numpy.repeat(a, repeats, axis=None)```
Repeat each element of an array after themselves
!e py import numpy as np arr = np.array([1, 2, 3]) arr = np.repeat(arr, 2) print(arr)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
[1 1 2 2 3 3]
!e py import numpy as np foo = np.array([0, 0, 5, 0, 1]) bar = np.zeros(5) bar[np.where(foo)] = 9 print(bar)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
[0. 0. 9. 0. 9.]
zeroes
zeroes
zero
!e py import numpy as np arr = np.array([[1, 0, 0], [0, 2, 0], [0, 0, 3]]) arr = np.repeat(arr, 2, axis=0) arr = np.repeat(arr, 2, axis=1) print(arr)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
001 | [[1 1 0 0 0 0]
002 | [1 1 0 0 0 0]
003 | [0 0 2 2 0 0]
004 | [0 0 2 2 0 0]
005 | [0 0 0 0 3 3]
006 | [0 0 0 0 3 3]]
@whole bear 👋
@pine silo 👋
Not my type of music.
@lost aurora 👋
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
It can be.
This is a general conversation channel.
We often talk about Python. We often talk about things that aren't Python.
Hi @peak depot 🙂
!voice 🙂
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
cppreference
!guilds
The communities page on our website contains a number of communities we have partnered with as well as a curated list of other communities relating to programming and technology.
read it, suffer, read it again
@azure fiber what's your current experience with other languages, if any?
I'm currently updating some stuff for work (doing it on a weekend so nothing explodes during others' work hours)
running on an HDD is pain
@sinful phoenix 👋
@vocal basin 👋
not true anymore
@modest shale whats up
bro I am also looking for internship
or job
but here in India no way I can find one
understood
@wise loom I understood the idea but not aware of existing implementations
@wise loom so like this where red is page 1, yellow is page 2, green is page 3? (and purple is visible area)
I think I saw something like this before
what the heck u actually made a prototype?
but I also think this is a questionable idea if you want to actually read it
not a prototype, just a diagram
yess, its just make it hard to read ? @wise loom
@wise loom I think what you're describing is more useful for scanning through a book, not actually reading it
ngl i use my old sceen as 2nd screen but thats the only option I have
scanning yes, but also having look-ahead and look-behind to just move my head left/right instead of hitting a key.
it's a tradeoff between hand motions and head movement.
i expect it might be useful to re-read paragraphs that i might have overlooked or like re-reading a definition or a theorem.
yeah instead of extend why dont u copy the sceen

there's something called kpdfopt which can trim the whitespace so you can get more content onto the screen
I'm not concerned with the PDF itself
aaaaa
what if I just render all pages at once
@wise loom this works, btw
yes, it does work, not without its drawbacks, can't select text, can't search through it
I think that answers that question
the only drawback is how knuckle-headed the width handling is
my job is programming, not cooking, so fuck off with such remarks
links work too
import { useScreenSize } from "@visx/responsive";
import { useState } from "react";
import { Document, Page } from "react-pdf";
import type { DocumentCallback } from "react-pdf/src/shared/types.js";
function App() {
const { width } = useScreenSize({ debounceTime: 150 });
const [numPages, setNumPages] = useState<number>();
function onDocumentLoadSuccess({ numPages }: DocumentCallback): void {
setNumPages(numPages);
}
const pageN = (n: number) => <Page key={n} pageNumber={1 + n} canvasBackground="white" width={width / 2} />;
const leftIndices = Array.from(Array((numPages || 2) - 1).keys());
const rightIndices = leftIndices.map((x) => x + 1);
return (
<Document file={"/eop.pdf"} onLoadSuccess={onDocumentLoadSuccess}>
<div style={{ display: "flex", height: "100vh", width: "100vw", overflowY: "scroll", scrollbarWidth: "none" }}>
<div>{leftIndices.map(pageN)}</div>
<div>{rightIndices.map(pageN)}</div>
</div>
</Document>
);
}
export default App;
html,
body {
margin: 0;
}
interesting, and that's react 🙂
this is the whole relevant code
I initially thought about using React for sync
but then I realised it's irrelevant
so I'm just using it for slightly easier gluing of PDF render
there is no sync there
it just render two sets of pages side-by-side as is
I could even reorder so it aligns properly but why would I bother putting any effort into it
hi
if your PDF has different-sized pages, not my problem
@wise loom btw, yes, do be aware that I might consider boycotting interacting with you if this behaviour continues
why can't I talk?
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@wise loom @main latch @vocal basin whats going on
trying to render pages like that
ohh
I have to send 50 messages before talking
that is a lot
why
that is the rule
the process is being reformed but for now the current verification requirements remain
and I don't like messaging lol
oh
i take back what i said, my bad.
one of the questions at a recent interview started with
I flip three coins and throw two dice
initially I thought this was some hiphop lyrics, but it was an actual question
professional gambler interview
Just a math problem?
I remembered the rest of the question:
what's the probability that all three coins are heads OR that I get a 10 out of the dice
yes, it was multiple-options single-choice
(and just stop activating vens)
@wind raptor btw, there is an option to prevent VSCode from using default explorer dialogue when opening a directory/whatever else
so that instead it uses the built-in one
I highly recommend enabling it, especially on Linux
this
this is what VSCode already uses for remote and containers
this just also enables it for local
I'm clicking in this and nothing happens
peak UI
@obsidian dragon powershell comes with Ubuntu Server
i don't hate powershell T_T
Rabbitshell
i prefer git bash but i don't hate the other one ahaha
no one thought git add could take time
I thought VSCode crashed
but it just minimised itself when a dialogue opened
@obsidian dragon uv add not uv pip
do not uv pip unless you absolutely need to
(you rarely ever do)
it's not for installing or removing packages, it's for stuff like pip freeze which you shouldn't be doing anyway when using uv
hi hi:))
Not wrong
I might've just applied a wrong promo code to food order and it worked anyway
not my problem ig
it was supposed to be $0.4 off (free delivery) but ended up $4 off (with paid $0.4 delivery)
$3.6 less than expected
also that free delivery code is kind of useless
because everything got delivery prices cut for some reason
so it's really no more than $0.6
which is half of this
some chicken thing, another chicken thing and 6L of drinks
and I obviously forgot to add milk there
6 liters?!
it's still cheaper to order than go to the store
oh did you order groceries
for several days in advance
yeah that makes more sense ahahaha
yeah, it's regular food not restaurant type food
in one day, quite possible
not this time
just that I can
it's not that far off from how much I drink a day actually
usually, tea
with milk
4~5L a day sounds realistic in my case
THAT much??
i think 2L is normal
or like the recommended
but maybe i'm wrong
i don't drink nearly enough so hahah
I need to drink constantly or else my throat suffers
also it needs to be not just regular filtered tap water
because that makes it hurt more
also I can't drink black tea without milk anymore
and some other types of tea
like oolong
(too drying)
😮 i see
I tried drinking energy drinks some number of times,
my conclusion is it doesn't really do anything good to me
like it only makes me slightly more anxious
and that's all
mazut bath 🔥
TIL mazut being mazut and not just heavy fuel oil is largely about sulfur
Naftalan or Naphtalan is a type of crude oil. It is named after Naftalan, Azerbaijan, where it is found. It is known for its use in alternative medicine.
Naftalan crude oil is too heavy for normal export uses (unlike Azerbaijan's plentiful Caspian Sea oil): it contains about 50 percent cycloalkanes (naphthenic hydrocarbons).
In Azerbaijan, peopl...
In Naftalan, Azerbaijan, a few hours from Baku, people use an unusual alternative cure-all medicine; crude oil baths. In the Caucasus, this alternative remedy is said to treat up to 72 different ailments. Cure-all medicines can be pretty weird, but a bath in crude oil was a particularly strange alternative treatment.
Why do people bathe in cru...
it's translated to Russian differently from regular crude oil
like vegetable oil rather than underground oil
weird
I guess easier to market
ah lmao no it's not, it's literally just marketing ones
Ahh haha
or mud
Yeah, it's wild that people do this haha
@wind raptor
definitely charged more
not because it's worth more, just because it'd be funny to rip rich people off that way
@obsidian dragon
does less work
are you adding laziness metrics?
you can buy that stuff packaged
after-bath bath
next level Patreon entrepreneurship
I chose my laptop solely based on battery life
@somber heath @primal shadow@wind raptor Wasap!!!!!
22h was kind of okay
Hey!
How have you been?
(for just watching videos)
LLVM, and fun other stuff
10h for active usage, 4h if it's constantly 100% CPU
Bassil or shorthand basl
oh woahh
yeahh that's fair!
time alive is a tiny reward, levels is a bigger reward
its gonna be cross architecture, cross platform, and support for complication and interpretation
I could consider getting a macbook and then install asahi linux on it
maybe that could even work
o everyone quiet
but I'd rather just have x86_64 and regular Linux
this is not ARM, this is a proper Ryzen CPU
im going to head out
Have a good one @stray pewter 👋
funny laptop
nice being back and I would like to apologize, I was annoying, disobedient, not listening, interrupting, pushing limits and boundaries and always doing something that was against the rules. That goes out to @rugged root @wind raptor @somber heath and @obsidian dragon
I wonder how long the battery works
I hope that I can show my personal growth and development and maturity and im sorry for all my previous actions
only 1.65kg
@obsidian dragon what're you trying to do that you're looking for your agent haha
@wise wing this is a very fancy one and kind of capable, but, yeah, no GPU
like if my current one suddenly died, I do have enough money to waste on this
I don't really do anything GPU-intensive
but
I write Rust
which means 100% CPU
(for compilation)
for some time, my laptop had the most powerful CPU among y computers
ohh i see
goals tbh
for my ai models i had to go kinda crazy so i got an rtx 5080 with 16gb vram
and i'm so excited
$2~3K
and my current one cost me $1K
(I'm rounding because currency conversion is too random)
fairss
it was 20% off, so around $800 at the time
termi9nal has no output
totally not an impulse buy, ordering a laptop 1 hour before a shop several train stations away closes
Pixel cost me more than that
a phone which I still haven't used because it was only bought for toying around with the OS and I haven't yet gotten around to that
oh naurrr
I love getting stuff on sale tbh
it's so satisfying
i got like 500 off on the laptop i bought
it's the best feeling ever haha
I usually think of it as "why is it on sale" first
this was because of oversupply I think
they often do these here: "20% off or pay in split over a year"
and likely many people choose the latter
ahh i see
and now time to order stuff I'm actually going to eat now
are you sick?:o
(spicy soup)
the other place (the grocery one) didn't have that soup
they also have, like, day-by-day food service thing (delivered once every three days)
and there that soup was the spiciest one
like unexpectedly standing out of the overall not spicy food
very spicy
tom yum
we don't have that much Thai food here
but for whatever reason we have a lot of mango
mango everywhere
for me it's kind of just another fruit, not really standing out;
but juice made out of it is something I can drink a lot
mango juice for me is in the same category as peach and apricot juice
I kind of just drink/eat as much as I can
with tea the only limiting factor becomes that it's too hot to drink fast
black tea (high concentration, properly brewed, not like I drink where there's barely any caffeine) and coffee won't help that much with dehydration
(because caffeine)
I also need to constantly drink because my mouth and throat are drying out
general condition, this affects skin too
not really sure how to measure that
I helped other students get better, so that might be considered good I guess
!pypi arcade
!pypi ursina
!pypi pygame-ce
this is a fork
fork in Git
diverging change histories
this was a diagram I made for explaining how Forgejo (a Gitea fork) diverged from Gitea
I've used pygame for a little while
but it's kind of a low-level tool
@exotic loom what kind of game are you making?
that's complex
50 msgs
maybe try this so you don't have to bother with blitting nuances or whatever yet
or this
graphviz or mermaid are also good tools for this.
but your diagram is nice, i like it.
I dislike text-based diagrams because all rendering for them is still bad
the more automatic ones are not okay for me
output is way too messy
Mermaid produces valid output only occasionally, in my experience
you don't necessarily have to use pygame to build your logic
but its fun
as in you can abstract the logic away from pygame
what exactly are you studying? it heavily depends on that
so then you can easily switch to ursina or arcade
There is a system described in Higher Order Perl, they call it "Constraint Based System" and Mark calls his implementation "Linogram".
All the diagrams in his book are generated with that tool which he wrote.
I believe his tool must some toy version of a better one somewhere but idk where.
The novel idea is that these constraints are in fact equations which help the Layout engine decide placement of items.
I do agree with you that graphviz/mermaid can be inflexible many times and they require too much fiddling.
so I prefer either draw.io (wysiwig) or detailed typesetting with TeX or SVG
I think automated diagramming largely misses the point for most usecases
for me, automation isn't the goal, the visual result is
@exotic loom I didn't hear the full question
arcade is a separate game engine
as in you use it instead of pygame
not with it
iirc
it might be using pygame internally
nvm, it uses pyglet instead
@exotic loom can you give more concrete examples rather just a "logic" buzzword
everything is logic
wait, you menitoned your goal is to study machine learning right?
focus on pandas and numpy mastery for now
data maniluplation..
in that case, start a follow along project from youtube for a small game
automation is useful for displaying something derived from only data that you don't create during the process of making a diagram
e.g. drawing a layout of a project to visualise what is even happening
but even for such ad hoc cases, I still consider unreadable text and inconsistent layout to be a bug
tho for the core logic building that I guess you are referring to, will only come from DSA practice
if you ever want to put a diagram into a presentation, you will have to manually edit it
I've done DSA and currently doing more but it's just overwelming
there is also "domain logic" which is largely irrelevant to both algorithms and game engine details
alright. just don't get stuck on research stage.. start building stuff asap
like what
for my minesweeper implementation, domain logic is very separate from the rest of the codebase
true. but he just wants to do something for fun and then switch to data science xD
well you seem to be interested in pygame, so a small game project would seem fun
ML ≠ DS
ok
@exotic loom important question: do you want to mess with individual pixels or do you want an easier experience
easier
ikr. well, you'll still be using the same libraries.
True
then start with arcade rather than pygame
alright but what's the difference
pygame is very raw in its default mode of operation
so will I learn more there
it's not really a game engine, it's more of a foundational rendering library
if you want to focus on game logic rather than rendering details, then go with arcade
where do I learn more
we don't know
both are equal bro
we can't see the future
alright then let's go with both
you'll simply be working on different fronts in both of them
you'll definitely have more fun working with arcade
File "/usr/local/lib/python3.11/site-packages/django/utils/functional.py", line 47, in __get__
event_ticket_web | res = instance.__dict__[self.name] = self.func(instance)
event_ticket_web | ^^^^^^^^^^^^^^^^^^^
event_ticket_web | File "/usr/local/lib/python3.11/site-packages/django/db/models/fields/related.py", line 774, in related_fields
event_ticket_web | return self.resolve_related_fields()
event_ticket_web | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
event_ticket_web | File "/usr/local/lib/python3.11/site-packages/django/db/models/fields/related.py", line 1146, in resolve_related_fields
event_ticket_web | related_fields = super().resolve_related_fields()
event_ticket_web | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
event_ticket_web | File "/usr/local/lib/python3.11/site-packages/django/db/models/fields/related.py", line 754, in resolve_related_fields
event_ticket_web | raise ValueError(
event_ticket_web | ValueError: Related model 'core.user' cannot be resolved
event_ticket_web | Applying admin.0001_initial...
some reference code would be nice
can you give more context? i.e. what modules and what models you have
I get this error when applying migrations basically
how did you install Django?
exact command
pip install django
I have some suspicion that there might be something optional? but unlikely
(I don't think that's the case given it's installed globally)
I use virtual env
virtualenv literally or venv?
this error is not from venv clearly
/usr/local/lib/python3.11/site-packages/django/utils/functional.py
maybe you have more than one django installed?
one in venv, another globally?
and it's using the wrong one
@tight bane this exact line means something is wrong with how you're running whatever you're running if you're trying to use it within a context of a virtual environment
this is the full message
what command does this come from?
what are you running to get that error?
hiiie everyone
python3 manage.py migrate inside a script file
replace python3 with exact path to venv's python3
e.g. ./venv/bin/python3
or whatever it is in your case
also still this question
Hello
I used venv
but I'm running the full app in docker container
I don't know how to help sorry
are you using venv inside Docker? or only outside for development?
Hello
is the error happening inside Docker? or outside? or both?
heyy
Does anyone know how to make an AI that can kind of think of what will happen
wht are you doing all ?
prediction model?
what is the context?
Stuff for AI but I need to work on my image scraper I know it can be against the the websites needs are on but I don't want to use too many data sets used by somebody else who might have poison data data that doesn't align with any labels that I need or want
I dont have to use it in docker
Like if I gave an AI a room and told them to think of what could happen at all times let's say the fourth dimension or The fifth dimension or that room goes through all different alternate histories just to see what the AI can think of like if I threw a ball would it explode with it fall to ceiling instead of falling down due to gravity etc
so there is no right answer, instead it needs to iteratively expand the answer set?
honestly the way you manage to rephrase things is like an artform in itself
infinite sequences of whatever are only sanely representable as iterators or something similar
I don't actually know if there's an efficient way to apply an LLM to this
or whatever else
yeah that's fair
i hadn't thought of that haha
Haskell has infinite sequences within its syntax
I think Python's itertools has something like that too
!d itertools.count
itertools.count(start=0, step=1)```
Make an iterator that returns evenly spaced values beginning with *start*. Can be used with [`map()`](https://docs.python.org/3/library/functions.html#map) to generate consecutive data points or with [`zip()`](https://docs.python.org/3/library/functions.html#zip) to add sequence numbers. Roughly equivalent to...
it's like range but without end
also an iterator
unlike range
which is iterable
random note about that: Rust's ranges are still iterators
but there's a plan to make them just iterable
i.e. IntoIterator
maybe a silly question but what's the difference between an iterator and something that's iterable
i figured it was just the same thing
but i guess not haha
iterator is something you can take a next item from
whereas iterable is something that can be converted into an iterator
all iterators are iterable
second-to-last pinned message here has something adjacent to that
class Iterable[T]:
def __iter__(self) -> Iterator[T]:
class Iterator[T](Iterable[T]):
def __next__(self) -> T: ...
def __iter__(self) -> Iterator[T]:
return Self
and Rust's equivalent
trait Iterator {
type Item;
fn next(&mut self) -> Option<Self::Item>;
}
trait IntoIterator {
type Item;
type IntoIter: Iterator<Item = Item>;
fn into_iter(self) -> Self::IntoIter;
}
i see:o
C++ has a very different notion of ranges and iterators so I suggest just ignoring its interpretation altogether
time to go through current tiobe index once again
I've only used Go for CI
so not that much experience
what's ci?
ahhh i see
most of automation, excluding deployment
only two from the next ten
TIOBE
they have somewhat questionable methodology
basically just "random number that roughly means popularity"
omg it's popularity based?
how on earth is visual basic on there
who's using that
😭
VBA
because Office
also Excel isn't listed there as a language
even though so much of computation happens there
ahhh i see
I know some accidental pieces of Ruby and Lisp but I haven't written enough to count
TypeScript being top 37 shows just how wrong TIOBE are with their rankings
i see
i do like the idea of the website tho
pretty fun to see
what type of things do you usually program?
mostly server-side stuff
I don't make Desktop/Mobile apps
anything user-facing I make is either CLI or Web
I haven't done anything ML-related in a very long time
ahhh
that's honestly nice though
i have some experience with just html/css but i wouldn't call that actual web dev
i'm actually making a website rn (or well, i'll continue after this exam) and i want to run an application on it that will turn whatever you feed it into an audiofile
but i'm like, once i have written the app i have no idea how to host it or run it on the website at all lmao
I wonder if browsers are already generally up-to-date enough to use this
I made it almost a year ago and at the time it relied on 1-month-old features
a lot of what I do is about deploying stuff on-prem
(on premise -- not cloud)
ohhh that's cool!
is it hard/expensive to set up your own server that can run things like that?
I think it's easier to just deploy something onto cloud
for lower cost, cloud-deployed container
I have only one service-like thing for public access that's hosted on-prem
(a game)
but it's rarely ever accessed so not much concern for deployment
ohh i see
i'll keep this in mind:)
what kind of game 👀
the only way to lose there is to run out of time
3 minutes per each player, hitting a mine halves the time
and how do you win? clearing the field before the other player or just making sure you don't run out of time first
eventually someone just runs out of time
so the other player wins
clearing the field rarely ever happens
at which point you do have to start clicking the mines
it's also still the only thing I have on this domain I bought just because I could
https://minesweeper.lesb.io/
there are premoves allowed
it's mostly just regular minesweeper
right click
chording works too
i.e. when you saturate a cell with flags, clicking that cell will open the rest cells around
i am just asking don't take this bad but does sitting on vc and studying/working helps or improve productivity?
ohhhh interesting
for some it does,
whereas some are just waiting for others with mic to join the channel
no CSS all HTMX page
ohh
ok
i'm listening to https://www.lofi.cafe/ and doing some problems, i read the vc chat from time to time.
hahaha love that
okay i'm gonna play 1 more and not just press buttons out of confusion 😂
okay great
I normally play single-player on https://minesweeper.online
ohh that's nice! i used to play it as a kid whenever my internet went down ahahaha
but it's always been fun to play
actually not, somehow
might be similar to my total playtime for https://lurkers.io
Lurkers.io is a free multiplayer browser game. No download needed. Mod-friendly, players can host their own servers and script their own gamemodes.
have a question if something is possible with pyton
wild
go ahead, what is the question
both sound fine
id have to speak it/show it on my comp mind calling me in discord?
what devices capture this @willow light ? Smartwatches? or smartphones
you can write it here, i'm busy solving problems but can read your question.
others will also read it and they may answer.
okay cool
so im playing dayz and i wanna see if i can automate something in the game by making a program to do it. Is it possible to make something that clicks on an item, goes out of the inventory, holds mouse 1 for a alloted amount of time and then repeats
when it repeats it would have to go to the next item in the inventory but would have to move my "mouse"
- yes, it's possible
- read rule 5, assistance on such projects is out of scope for this server
that's WILD LOL
omg i'm so glad i'm going to get 2tb ssd
reminds me of the time a guy tried to write some optimizer for his mouse sensitivity in counter-strike lol
i remember i had to uninstall league bc i couldn't install a package due to lack of storage

can someone explain antchal's question to me?
@cloud flare yes, General Transit Feed Specification (GTFS)
@cloud flare Moovit is an app that does this
how to get data about transit more easily: just work for the transport monopoly
i mean it is open data https://github.com/andredarcie/awesome-gtfs?tab=readme-ov-file#public-feeds
@cloud flare the data in the link above provides schedules
when are we bringing back bus routes between Britain and India
wdym bringing back LMAO
only 65 pounds????
what an absolute STEAL
and only 20 days
you're right
it should be brought back
nvm i'm not paying 15k for torture 
@willow light make tornado damages great again
does no rout mean I've been ban from the chat?
no
but your ISP might be blocking Discord, theoretically
happens to me when not using a VPN
it says rtc connecting.... no rout disconnect reconnect in loop
needs real VPN not just some whatever extension
i use proxy when i need to
proxy doesn't work for WebRTC usualy
because that's UDP not TCP
and most proxies tunnel TCP only
I'm currently using a proxy for typing this out
but for voice I need a VPN
i just joined a chat and came back here
it was working there
yeah, that happens sometimes too
either try staying connected for longer or wait until everyone reconnects
(which won't be soon)
i wonder is this because of some new regional discord term change or something
imm try some ipconfig/renew
could it be that there's already weather satellites and the prediction software is good enough that the US decided to shut down their weather research labs?
no, if it works for the other chat, this is just plain old unreliability
generally
though fiddling around might accidentally fix it
those aren't just "research" labs
also
the satellite data is made inaccessible too
didn'twork
that sounds bad
so the answer is no
@willow light sometimes works, sometimes works too much
@willow light I'm glad RedHat and Canonical are not involved, phew
strange
yet
The reason is politics. The current regime does not like science, and is shutting down science because the science is a threat to the regime's ability to make short term profits. Also, because an educated populace is a threat to authoritarianism.
what was that VM thing Canonical made
I already forgot
MAAS
spelled that
not MaaS
oh wait no
I meant Multipass
Wow)
Hi! I'm new here. Does anyone know how to disable microphone suppression in Discord? Thanks!
How can I get permission to speak?
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Okay, I understand, thank you very much
VM?
like virtual box or vmware?
or a ISO to run on a VM
