#voice-chat-text-0
1 messages · Page 454 of 1
Do you have any advice for new people?
It never ends
Prepare to feel stupid.
Be ready to become lost.
Yea, feeling dumb is a normal thing for me these days
Prepare to give up.
But the more you struggle, the better you feel when you figure it out
(Then pick it back up again later )
And when you give up, you'll find the answer when you wake the next morning
a good night's rest is often the best way to figure out the answer
That's kinda good
Yea, leaving it on the back burner is a great way to solve all sorts of issues
not just programming
Work in lieu of sleep is harmful to your overall productivity over time.
Hey peeps
It can be a last minute tactic to get over a deadline, so long as you rest afterward. Do not put off rest to study for a test.
Lol
You will kill your recall of things you do know.
Even i didnt start study yet hahaH
There is a bot to see how many messages u been send where can i find it
Why still can use mic
Yo hello bro
!voice @cedar hound
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Exit the voice chat then rejoin.
Hoya.
It's night.
The owls are pretty reclusive.
I'm not sure I've ever seen any.
Owls.
I can put .wav to vbcable as microphone to lipsync 3d models with python
I decided that switching between 5 tasks wasn't enough, so joined here so now it's 6
@cedar hound it's given per-request on a temporary basis at first
No noisy unicode characters (for example z̯̯͡a̧͎̺l̡͓̫g̹̲o̡̼̘) or rapidly flashing avatars.
✅ @cedar hound can now stream until <t:1744979047:f>.
I don't know if I believe in roadmaps.
@cedar hound I see T-SQL in there, so that's already an issue
there's more than one road, so that's already better than most
@cedar hound Microsoft themselves are moving towards using PostgreSQL instead of MSSQL
don't think mixing C++ and C# is a good idea
C++'s OOP is somewhat unusual
inheritance in C++ is almost universally a bad thing
if the goal is to learn the basics of memory management, I'd highly recommend using C instead
joe changed his nickname to "Иван Иванович Иванов" for a while
though now he changed it back
ig I can change back to full-Latin too
ty for help @vocal basin
I've learned how to dodge locked missiles. Enemy is not happy.
unlocked missiles
Yes.
It's a bug in game. When you get locked on, you have to get upside down and turn a bit fast.
@obsidian dragon was that speed gain from -c:v copy
in Everspace (part 1) you can dodge almost everything with holding E+Space
(i.e. barrel roll, not just roll)
@brisk pasture 👋
Hi
I just tried it again. You have to look towards the direction of the missile, and then just get upside down and a bit turned. It just skips past the hitbox.
Osyra, your kitty has grown.
I want to learn about Python automation
Automate the Boring Stuff With Python.
Beautiful Soup, Requests
I think it could do with a polish, but it's generally considered to be very good.
pyside6
like this
selarium
I mean, what's the worst that could happen?
try groq if you remain lazy
phone call happened
importantly: not grok
(as in those two sound similarly)
@marsh nimbus 👋
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
...huh.
Well, not me.
@upper basin Can you hear Millen?
@undone mist 👋
Just panatone...which I'm not too much a fan of.
wtf
Windows just sent me a notification recommending to pin the solitaire in the task bar
I have notifications turned off
there also exists this thing:
https://store.steampowered.com/app/1988540/The_Zachtronics_Solitaire_Collection/
The Zachtronics Solitaire Collection is here! Inside you will find seven totally unique solitaire games originally designed as minigames for our 2016–2022 releases, updated with new 4K graphics, plus one brand new solitaire variant found only in this collection.
- Shenzhen Solitaire: A FreeCell-inspired solitaire variant with a three-color de…
$9.99
676
though these are more like a conceptual art than serious games
@upper basin serious Duck Game gameplay is >50% semi-exploits
Cheese.
just before we quit it, the way we played it, shooting through walls was the norm not something exceptional
if you want to prevent it => redesign the level
Life is full of ego!
What you think is not you!
Chasing dreams, Playing games, Simping and approaching women or men, many more things.
Enjoy the present moment 😀, you are perfect as it is!
I forgot how to play it
not even silver
there's a training thing for diagonal shots I made
at best I was able to score 24
If you wear a bikini to the zoo, is it a zucchini?
fired
I really did just try to do |(, argument)| in Rust
as if it was ([, argument]) => in JS
"Fe fi fo fum, I smell the blood of an Englishman. Be he alive or be he dead, I'll grind his bones to make my bread."
It should have been ham.
Be he alive or be he damned, I'll grind his flesh to make my ham.
It would have been a nice double insult, saying humans are pigs.
You missed out you fe fi fo motha-
@soft axle I think you're giving them to much credit.
@primal shadow You'll be completely right.
I don't syntax highlight my SQL half the time
what a funny pair of names
outside the window is fun game
@dry jasper I don't have a schedule despite what my contract might say
mutual agreement of not caring about it in my case
holiday
what holiday
I'm not going to make any performance claims on that
what
Trying to see if I can optimize this.
you can [::-1] before doing list
iirc
you can slice ranges
list(range(self.num_qubits))[::-1]
list(range(self.num_qubits)[::-1])
list(range(self.num_qubits - 1, -1, -1))
Is the third a bit faster?
Let's see...
2 and 3 are basically equivalent
both better than the first
because no actual reversal
just changing the numbers
num_qubits = 1000
import timeit
start = timeit.default_timer()
a = list(range(num_qubits))[::-1]
end = timeit.default_timer()
print("Time taken for list(range(num_qubits)[::-1]):", end - start)
start = timeit.default_timer()
a = list(range(num_qubits)[::-1])
end = timeit.default_timer()
print("Time taken for list(range(num_qubits)[::-1]):", end - start)
start = timeit.default_timer()
a = list(range(num_qubits - 1, -1, -1))
end = timeit.default_timer()
print("Time taken for list(range(num_qubits - 1, -1, -1)):", end - start)
Time taken for list(range(num_qubits)[::-1]): 4.9449000016466016e-05
Time taken for list(range(num_qubits)[::-1]): 4.404399999202724e-05
Time taken for list(range(num_qubits - 1, -1, -1)): 3.620899997258675e-05
In the surgery?
check for a higher number
Copy.
Sterile field? Haaa, no.
also you typod the first print
You don't know if the doctor is sterile or not
He may not be able to have children
One would imagine it's not a subject that gets brought up in a typical consult.
Krys, I was imagining during.
My bad.
I think I can smoothen it a bit.
Green seems slightly better.
Very negligible amount.
be back later.
!timeit
a = list(range(1_000_000))[::-1]
:warning: Your 3.12 eval job timed out or ran out of memory.
[No output]
:white_check_mark: Your 3.12 timeit job has completed with return code 0.
100 loops, best of 5: 2.34 msec per loop
!timeit
a = list(range(100_000)[::-1])
:white_check_mark: Your 3.12 timeit job has completed with return code 0.
100 loops, best of 5: 2.03 msec per loop
@pearl nebula 👋
!timeit
a = list(range(100_000 - 1, -1, -1))
:white_check_mark: Your 3.12 timeit job has completed with return code 0.
100 loops, best of 5: 2.1 msec per loop
@upper basin the last two are closer together because they don't change with input size
I don't follow. They get more expensive as we increase the size though, no?
the difference doesn't grow
!e
print(range(1_000_000_000_000_000_000_000_000)[::-1])
!timeit
a = [100_000 - i - 1 for i in range(100_000)]
:white_check_mark: Your 3.12 timeit job has completed with return code 0.
50 loops, best of 5: 7.75 msec per loop
:white_check_mark: Your 3.12 eval job has completed with return code 0.
range(999999999999999999999999, -1, -1)
I don't think there's a way to do better than list(range(...)) there
I thought a list comp was faster
iter(range()).__next__() is mostly C, list() is mostly C
running - in Python is kind of expensive
and iterating too
also...
size hint
afaik list of range pre-allocates the correct capacity
hmm
I don't actually remember which iterators implement size/length hint
!d operator.length_hint
operator.length_hint(obj, default=0)```
Return an estimated length for the object *obj*. First try to return its actual length, then an estimate using [`object.__length_hint__()`](https://docs.python.org/3/reference/datamodel.html#object.__length_hint__), and finally return the default value.
Added in version 3.4.
oh wait there is no next
c++ has iterators so why not c++?
because C++ iterators are wrong
C++ "iterators" aren't iterators, they're pointer ranges
most of the time
as in, the interface is
not only the implementation
they're based on the assumption that there is an end as a value
well said
C++ has a lot of serious issues regarding to composing iterators
sometimes it works
but sometimes it gives weird compiler errors
... or UB
(fixed)
!e
import timeit
import numpy as np
size = 1_000_000
iterations = 100
def test_numpy():
return np.arange(size - 1, -1, -1)
def test_python_range():
return list(range(size - 1, -1, -1))
if __name__ == "__main__":
numpy_time = timeit.timeit(test_numpy, number=iterations) / iterations
print(f"np.arange({size}-1, -1, -1): {numpy_time:.9f} seconds")
python_time = timeit.timeit(test_python_range, number=iterations) / iterations
print(f"list(range({size}-1, -1, -1)): {python_time:.9f} seconds")
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | np.arange(1000000-1, -1, -1): 0.000415994 seconds
002 | list(range(1000000-1, -1, -1)): 0.038868578 seconds
I was going to do that too
much faster
:x: Your 3.12 eval job timed out or ran out of memory.
np.arange(1000000-1, -1, -1): 0.055017468 seconds
boom
damn
!e
import timeit
import numpy as np
size = 500_000
iterations = 100
def test_numpy():
return list(np.arange(size - 1, -1, -1))
def test_python_range():
return list(range(size - 1, -1, -1))
if __name__ == "__main__":
numpy_time = timeit.timeit(test_numpy, number=iterations) / iterations
print(f"list(np.arange({size}-1, -1, -1)): {numpy_time:.9f} seconds")
python_time = timeit.timeit(test_python_range, number=iterations) / iterations
print(f"list(range({size}-1, -1, -1)): {python_time:.9f} seconds")
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | list(np.arange(500000-1, -1, -1)): 0.028077153 seconds
002 | list(range(500000-1, -1, -1)): 0.018679506 seconds
he should switch to np arrays then instead of lists
waiting for timeit to integrate template strings
oh wait that wouldn't work
or would it
I haven't read the pep
people said something about lazy evaluation
idk if it's lazy or just not-yet-evaluated
if it is, then can't repeat it
!e
print(iter(range(1_000_000)[::-1]).__length_hint__())
:white_check_mark: Your 3.12 eval job has completed with return code 0.
1000000
@wind raptor @upper basin this might play a role in the performance compared to a comprehension
Yeah
oh no not this game not again
depending on what ACE is using it for, he could just store it as a range() object and it would be insanely faster. Converting it to the list is where all the time is going.
I'll try that and see where it breaks.
I'm pretty sure I did that for a reason, but I'll try it.
Are you just using it to loop over?
Checking it now...
!timeit
a = range(1_000_000 - 1, -1, -1)
:white_check_mark: Your 3.12 timeit job has completed with return code 0.
5000000 loops, best of 5: 64.6 nsec per loop
np.arange(1000000-1, -1, -1): 0.001157618 seconds
range(1000000-1, -1, -1): 0.000000076 seconds
pandas?
pandas has support for DataFrame
target_indices = [target_indices] if isinstance(target_indices, int) else list(target_indices)
control_indices = [control_indices] if isinstance(control_indices, int) else list(control_indices)
for i, qubit_index in enumerate(target_indices):
target_indices[i] = abs(qubit_index - self.num_qubits + 1)
for i, qubit_index in enumerate(control_indices):
control_indices[i] = abs(qubit_index - self.num_qubits + 1)
Where initially the type of target_indices and control_indices is int | Sequence[int].
numpy it
Okay, uno momento...
!e
import numpy as np
print(np.array(1).reshape((-1,)))
print(np.array([1]).reshape((-1,)))
print(np.array([1, 2, 3]).reshape((-1,)))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | [1]
002 | [1]
003 | [1 2 3]
!e
import numpy as np
a = [1, [2], [1, 2, 3]]
for l in a:
print(np.atleast_1d(l))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | [1]
002 | [2]
003 | [1 2 3]
what is the meaning of the abs operation there?
q0 - H - o -
q1 ----- X -
to
qo ----- X -
q1 - H - o -
so just self.num_qubits - 1 - qubit_index?
I only contribute when it directly influences what I do
I don't rely on python directly enough
or rather extensively enough
I'd not get involved with the development currently
I kind of can see you being a cpython core developer.
Does rust have sth equivalent?
Like a faction for official developers working on the language?
the foundation has several teams
import timeit
import numpy as np
a = 1
start = timeit.default_timer()
for _ in range(1000):
a = np.atleast_1d(a)
end = timeit.default_timer()
print(f"Time taken for np.atleast_1d: {end - start} seconds")
start = timeit.default_timer()
for _ in range(1000):
a = [a] if isinstance(a, int) else list(a)
end = timeit.default_timer()
print(f"Time taken for list comprehension: {end - start} seconds")
Time taken for np.atleast_1d: 0.00025728100081323646 seconds
Time taken for list comprehension: 0.00016629300080239773 seconds
missing second a = 1?
your measurements interfere
also
uh
maybe don't assign to a at all
import timeit
import numpy as np
a = 1
num_qubits = 4
start = timeit.default_timer()
for _ in range(1000):
a = np.atleast_1d(a)
a = num_qubits - a - 1
end = timeit.default_timer()
print(f"Time taken for np.atleast_1d: {end - start} seconds")
a = 1
start = timeit.default_timer()
for _ in range(1000):
a = [a] if isinstance(a, int) else list(a)
a = [num_qubits - i - 1 for i in a]
end = timeit.default_timer()
print(f"Time taken for list comprehension: {end - start} seconds")
Time taken for np.atleast_1d: 0.0014731089995621005 seconds
Time taken for list comprehension: 0.00043636600094032474 seconds
import timeit
import numpy as np
a = 1
num_qubits = 4
start = timeit.default_timer()
for _ in range(1000):
b = np.atleast_1d(a)
b = num_qubits - b - 1
end = timeit.default_timer()
print(f"Time taken for np.atleast_1d: {end - start} seconds")
a = 1
start = timeit.default_timer()
for _ in range(1000):
c = [a] if isinstance(a, int) else list(a)
c = [num_qubits - i - 1 for i in c]
end = timeit.default_timer()
print(f"Time taken for list comprehension: {end - start} seconds")
Time taken for np.atleast_1d: 0.0016229829998337664 seconds
Time taken for list comprehension: 0.0002788929996313527 seconds
@vocal basin I'm gonna go sleep. I wish you a blessed rest of your day. Thanks for the help with the optimizations.
@rich void 👋
hey
Eastern Europe
yes, that's a feminine name
(transliterated from one of the local languages)
I think there's enough of my online profile and presence as a whole to correctly conclude that, yes
I don't like speaking in VCs (I have dyslalia + I start feeling dizzy when I speak)
it's kind of a weird psychological thing I have; speaking one-to-one does not help with it at all
iirc I've described it ~2 years ago how talking to someone on Discord (not on this server) caused me to have somewhat scary hallucinations afterwards
from stress I guess
currently employed as a lead programmer
@haughty pier ^context
no language specialisation
*specialisation
but I mostly write Rust
a bit of Python and TypeScript too
I used to specialise in cryptography years ago but not anymore
"no-code solutions for no-salary developers"
I have no experience using anything JVM or developing anything for Android outside the browser
Russian/English
at times
I've been rewatching some recently
I'm aware of it but haven't watched yet somehow
rule 4 please
I just like to listen @rich void
4. Use English to the best of your ability. Be polite if someone speaks English imperfectly.
what's actually her full name 
I know that Alya is short for Alisa, but it can be short for other names
ah, right, yeah, she is Alisa
Alisa Mikhailovna Kujou is the character's name
Gn @rich void
go considered harmfulto
presumably reference to the old article
in a few years we'll have to embed subway surfers gameplay recording into articles just to keep gen alpha users' attention
@midnight agate "meetup" was what I heard
@midnight agate it was 17 seconds
dual-process it
just don't let the plans block your work
write code not yet planned; do it in secret if it gets in the way of "process"
it was in support of joe's joke nickname
my linkedin page is going further and further away from being serious
@midnight agate linear progression with no jumps whatsoever:
I officially have the documents that say that
first official employment, idk if there was much choice other than "junior"
lead dev in 7 month is very much not normal
Luck is all you have!
HR did tell that being with such title and no formal credentials is going to look odd
I like this app for measuring disk usage on Windows
and, I think, linux has something built-in often?
well apart from du
because first step is always measurement
LLMs have proven quite funny previously here
when they suggested moving the Windows directory
and everything got nuked
measure before cleaning;
you might as well just have accidentally downloaded one 50GB file and forgot it
I only have, like, 16GB of downloads
hasn't reached the critical mass yet
also pagefiles tend to get large (if on Windows)
Windows can reduce their size during runtime
approximately 50GB of which is unused allegedly
so the reduction is not necessarily efficient or quick
I'm thinking of committing something terrible in terms of HTTP:
returning different content based on whether it's the browser that's accessing it or not
I might've gone total HTTP semantics fanaticism on this project I'm making
already supports ETag to some capacity
currently only for updating things, not preventing re-requesting the resources
since those resources are somewhat small
it's a good inspiration for making something similar
with sqlx
PostgreSQL/SQLite seem to be performant enough that it's a sane idea to make other databases on top of them
e.g. DocumentDB
the Microsoft one
not the AWS one
for most queries I managed to get SQLite to 0ms
and postgres to <10ms with <1ms of actual query time
I had to reimplement query planning for SQLite's case
with hacks like COALESCE(NULL, ...) to force a different query execution
@midnight agate the project has 320 commit right now
SQLite support was introduced around 80th one
so for 3/4 of its life it had SQLite support
@cosmic dune no sound is coming through even when you unmute; probably you can check that even without re-joining (somewhere in settings)
still haven't tried that one
it's implemented on top of postgres
i trying to turn on mic
its said no permssion
check whether it's working via settings first
you have the permission to speak on the server, since you were unable to unmute
there's also the "permission" that you give to the page, if you're using the browser
settings where i can find ?
hello guys i'm just learning python , could you guy tell me what is the differance between differant ide's and wich one should i stick to ? pycharm or vs code
VSCode with ruff installed
PyCharm used to be the better option for how it guided you with built-in diagnostics (including those related to formatting)
what is ruff ?
but nowadays ruff support is better integrated into VSCode than any other Python linter years ago
static analysis and formatting tool
it is linter
it will show you where your code is potentially wrong
oh is it the error thingy ?
it doesn't do that on its own (except for auto-formatting) but it does guide you towards better code as a whole
in colour terms:
pylance gives red underlines
ruff gives yellow underlines
excuse my lack of knowledge btw
oohhhh
i se e
pylance (pyright) is a language server
like the warnong thing
it provides information about types, variables in scope and other similar things
it almost never gives warnings, most of its analysis shows only errors
have you guys tried UV in production btw?
yes
thanks
I've been moving everything I could from setup.py and requirements.txt to uv rather than any other option
since I have to deal with pre-pyproject.toml code, yes, setup.py is still a thing I encounter
UV is cool !
does they support Django ?
Do any one here do freelacing ?
What is NixOs btw ?
looks cool ! in one file ?
ha ha
anybody is Going for PYCORN ?
@midnight agate btw, I watched WarGames a few days ago
(since that's where that quote appears)
vibe defence
Did you guys watched "Her" ?
in reference to "vibe coding"
nuclear threat
vibe coding
WarGames is just the current day
well not vibe coding there
AI-operated something
but that's the parallel at least
warGames looks to o old to me 1983 !
have you guys gone before to PYCORN ?
15 years after the NATO Software Engineering conference
I am not that old lol !
1968 seems to have been an important year
why so >
first, this
second, ALGOL 68 release year
ALGOL 68 was one of the most influential programming languages
!e
print(2014 - 1968)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
46
getting lambdas this many years before Java
you mean lambdas functions here ?
however
I recall that languages that look like C descended from ALGOL
46 is only 3 more than the number of lambda interfaces Java has
you don't know marvel !!
I rewatched a lot of stuff when endgame came out
I thought that was more recent
but it's been 6 years already
i used to love Spider-Man 1 and 2 peter secens
I don't watch movies that much
I rewatch them more often than watching new ones
rewatched Nobody a couple of days ago
wiktionary provides basically the same but concise
... and split into four
so ig in total less concise
there is "продажный" in Russian but it's a bit different
less radical, more condescending
continuing what I mentioned an hour ago:
is unemployment categorised into remote and on-site
when are we vendoring our own trap to lock others in
StaticoDB
it was real
there are recordings I think
Oracle's practices have spread to other companies so they don't look as bad anymore somehow
now everything is bad
systemctl reload voicesd
__init__
since I'm an acting stenographer I must put it in writing that it was said: init__init not __init__
half the VC is moderators
lmao
@midnight agate "Southern hemisphere" in question
I have no idea what that image is trying to illustrate
I was hoping to find something like this online
TIL there's also one with administrative structure
The Eastern hempishere is far superior.
I find that the southern hemisphere is quite repulsive.
there's a 90% overlap
@midnight agate do docker magic again
"don't make me send The Map"
wait where's The Map I forgot
no, it's worse than you think
@wind raptor do you remember the map I sent in #the-pydis-mass-layoffs-lounge a while ago?
I don't
@whole bear three
I have no idea who constructed this
but this is the best thing I ever found on Reddit
@midnight agate yeah, football enemy countries being neighbours had certain historic precedent
that's why they move them apart
Steve
@whole bear well, you mentioned it
ig for you it is important ¯_(ツ)_/¯
@midnight agate "hey, don't say that to someone in the US, it's all rented there"
@whole bear the programming language not the game
state diagram for Spanish routers
context: Spanish ISPs, TV channels and judges formed a cartel to block the entirety of Cloudflare, Vercel and potentially other hosting providers during football matches
@midnight agate I might've known the answer
unusual time for a phone call though
the roadmap:
the role is still there
@midnight agate wrong screen shared?
I have tommarow interview in Infosys for machine learning engineer
def validIPAddress(queryIP: str) -> str:
def isIPv4(s):
parts = s.split('.')
if len(parts) != 4:
return False
for part in parts:
if not part.isdigit():
return False
if not 0 <= int(part) <= 255:
return False
if part[0] == '0' and len(part) != 1:
return False
return True
def isIPv6(s):
parts = s.split(':')
if len(parts) != 8:
return False
hex_digits = '0123456789abcdefABCDEF'
for part in parts:
if len(part) == 0 or len(part) > 4:
return False
if not all(c in hex_digits for c in part):
return False
return True
if '.' in queryIP and isIPv4(queryIP):
return "IPv4"
elif ':' in queryIP and isIPv6(queryIP):
return "IPv6"
else:
return "Neither"
this is kind of too procedural/manual
imo
in Python I'd definitely go for re instead
yes which one has good time complexity ?
this is O(N) where N is the input size
regex solution is O(1)
because it stops early
to get this to O(1) you need to abandon using split
also make sure to test all your regexes
GPT is only good for giving you existing regexes
as such it might now the correct answer for IPv4/IPv6
yes Alisa
email regex is somewhat insane
I recently looked up a regex for a URL for someone who needed to extract URLs from text
if we have data in json format it is neccesory to itrate through list those dict or rgex also can be good for optimized
JSON can have arbitrary spacing
so you'd have to account for that
I'd highly suggest looking into something like tree-sitter
though that one assumes fixed syntax too I think
what kind of a query would it be?
finding specific portion of text?
or some more complex structure?
let me show small example
async def image_from_ad(self, ad: Dict[str, Any]) -> Optional[str]:
snapshot = ad.get("snapshot", {})
for card in snapshot.get("cards", []):
for img_field in ("original_image_url", "resized_image_url", "watermarked_resized_image_url"):
url = card.get(img_field)
if url:
return url
if card.get("video_preview_image_url"):
return card["video_preview_image_url"]
for list_field in ("extra_images", "images"):
for item in snapshot.get(list_field, []):
if isinstance(item, str) and item:
return item
if isinstance(item, dict):
# common possible keys
for k in ("url", "src", "image_url",
"original_image_url", "resized_image_url"):
url = item.get(k)
if url:
return url
videos = snapshot.get("videos") or ad.get("videos") or []
for vid in videos:
if vid.get("video_preview_image_url"):
return vid["video_preview_image_url"]
for vid in videos:
for vid_field in ("video_hd_url", "video_sd_url"):
url = vid.get(vid_field)
if url:
return url
return ""
the design document
JSON Blob is a web-based tool to create, edit, view, format, and share JSON. It shows your JSON side by side in a clear, editable tree-view and in formatted plain text. You can save your JSON and share it via URL with anyone
where did this data come from?
and what is it used for?
have you checked the compliance with Facebook's ToS?
that project specifically might not be something we're allowed to help with
i was trying to get images to make more engauging
no
no problem
if you do start getting any money from sales, get a lawyer very early
can you send doc url what is that
I think this https://www.facebook.com/terms/
See posts, photos and more on Facebook.
... why is the embed telling to log in
@midnight agate serde
I have quick question https://texts.com/ how it made
No in initialy that tool created by one guy
yes that agreements done after 1 year
yeah probably went from borderline rule-breaking to a serious project
I doubt AutoMattic would be fine with their logo on something not established
what do you think i need to do some R & D
there is some amount of risk when extracting data from a company
they might decide to send you a "cease and desist or get sued" email if they think it harms them or their partners
ah, seems like they acquired it
yes
Twenty-six-year-old Kishan Bagaria, a self-taught programmer from Dibrugarh, Assam, developed Texts.com. This innovative messaging app caught the eye of Matt Mu
I was paying attention to something else (unrelated to programming)
Forgejo 11 added UI for quotas
@wind raptor was going to show this one to you
(you probably saw that already but it's a funny image)
the interview pipeline step especially lol
Bahaha this is awesome
!stream 692320675465265265
✅ @twilit raptor can now stream until <t:1745012158:f>.
@midnight agate bash specifically
learning to write Pascal before learning to write in the native language is the way to go
to go to a sad place
@midnight agate "this is terminal"
How is everyone?
@wintry nacelle uv
I see no reason to use anaconda/miniconda anymore
uv add
don't uv pip
you rarely ever need uv pip
uv add
uv run
uv tool
uv add does the right thing, it adds to the pyproject.toml
I don't get used to things as much
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
A pygmy three-toed sloth swims between mangroves on the island of Escudo on the hunt for a mate. Subscribe: http://bit.ly/BBCEarthSub
Watch the Planet Earth II extended trailer https://www.youtube.com/watch?v=c8aFc...
WATCH MORE:
New on Earth: https://bit.ly/2M3La96
Oceanscapes: https://bit.ly/2Hmd2kZ
Wild Thailand: https://bit.ly/2kR7lmh
...
Hi, a user (NIO) wants to share there screen to show me the problem, we cant figure out how screensharing works though, it seems we dont have permisisons
sick!
Screen sharing permissions may be requested of voice-regular moderator-level-and-above users, granted at their discretion. Ask one when you see them in the voice chat.
Screenshots are often an option when showing things that can't be shown with text-based code snippets.
!code
:incoming_envelope: :ok_hand: applied timeout to @thorn marten until <t:1745025871:f> (10 minutes) (reason: burst spam - sent 8 messages).
The <@&831776746206265384> have been alerted for review.
decided to go in DM, this is not every clear (and I know you have nothing to do with it)
If you want clear: Ask a mod.
There's one in voice now that you could ask.
Sorry worded that badly, your explanation was clear, the fact that this is how you do it was not clear (does not seem to be mentioned anywhere accessible)
thank you
ah, thank you
How are you doing today @vocal basin ?
... I forgot to disconnect again
I'm generally familiar with the birds in my area.
@somber heath hi
how do i do this? You are given an m x n 2D grid, where each cell is either 0 (empty) or 1 (an obstacle). Starting from the top-left corner, write a Python function that returns the number of unique paths to the bottom-right corner, moving only right or down, and avoiding all obstacles. Efficiently handle large grids (up to 100x100) using dynamic programming.
#media-processing message @round matrix
I couldn't say about efficient, or dynamic programming. Not really my thing, there. I would attack it with a depth first search algorithm and write it as a generator.
Which is probably the wrong answer.
@fast jolt @noble patrol 👋
Could we play lethal company?
There's 4 of us.
It'd be reaaaally fun.
Do ACE a favor?
@midnight agate We heard you say "Well, my audio isn't working for me."
whats love? its a second hand emotion, why when a heart can be broken? It's my strive, ITs my passion, It's my purpose. I live for heart
it is the symbol of growth, it is eveerything in my being, everything I becomeing to be
I would not be the man I am today without the closure of those who saw potential in me
and in the adversary, I feel everyday, to triump
God I get asinine when drunk
Sleep sleep time
At 11am
@opal carbon 👋
the one on the right has been proven to be incorrect
self-estimate of one's abilities correlates to those abilities, when measured in a controlled setting
"idiot claiming they know everything" is more of a "person being a jerk" situation rather than a universal effect
I see it all the time here
and it's not people being jerks
just "knowing everything I need" about Python
when they uh... finished a tutorial
I think a big part of DK is not understanding how vast the thing is
@vocal basin I just had someone tell me not to send shit to then after I sent "man's fault is believing women know all the answers and it's woman's fault to think man would understand" xD like to disagrees is sexist af
you have to have some sort of arrogance to claim that even if you're incompetent
it's, like, really not an everyone behaves like that thing
I know fuck all about python xD
a clear sign of miseducation
it is fine for children to think that way
if an expert in one area starts being overly arrogant about their expertise in areas they know nearly nothing about, that's very much them being a not so good person
DK is not a real thing, move on from thinking it is
at best, it's a collection of semi-logical arguments to explain away outliers as "this would happen anyway" (it wouldn't, in general) cases
for very obvious reasons, we don't judge children (and generally people with lack of overall education) the same way we judge adults
however DK is claimed to be present outside such context
and also, obviously, such expert would be viewing their real expertise even higher
also don't forget that people saying they "know everything they need" is often a figure of speech or difference in perspective of what constitutes some necessary basis, not an assertion of knowledge
also, yes, the famous graph that accompanies it is so obviously exaggerated and has no connection to reality
choosing between these two it's quite clear which one people would be more inclined to publish as ✨shiny✨ and ✨interesting✨ and ✨explanining away everything that's happening in the society without having to apply actual reasoning✨
Who said they're an expert anywhere?
Lacking expertise overall makes them think "expert" is an easily attainable level
people love to overestimate their accomplishments
main character syndrome is real
Good old Sonder, and the lack thereof
I main character anyone, fucking recognize
Fuck you both
I'm gonna sit here with me 80IQ
I'm pissed off at the people I know ow
I sent that message to a few peope
And they're too insecure to let a woman win for once
All like ewww no, a woman can't be smarter than a man
Wtf
Ok, DK isn't real, people who don'
t fully understand thinking they do is
A rose by any other name
i.e. people try to apply the effect that DK alleges outside low level of education overall
it was you who brought up #voice-chat-text-0 message not me
which is unrelated
oh wait they've finally fixed the wikipedia article lmao
(... now it's all the random articles online which are left, and everything else)
yeah, the one on the right is finally dead as far as the article is
well, at least, that's a win
just to be clear: the original
not the fixed version
people do overestimate their abilities initially, but there is no drop in the estimate after receiving more knowledge in the same subject
things change fast
Dunning-Kruger, in its original formulation, was very popular among people fighting misinformation in Russia (ironic)
it resulted in kind of a weird mix between "we just have to educate people and it'll be fine" and "we're all doomed, this is bound to happen anyway"
too much focus was on areas of expertise, too little on basic human decency
might've been why the whole movement gradually died out
it was only towards the start of the currently ongoing sunset of the movement that the weird curve from the old times stopped being shown every single time as a stamp of elitism/whatever
Wut wut in the butt
sober, bored and that glock better stop looking at me like that before shit gets freaky
hi guys
hi, i wonder if anybody knows why I'm getting 403 error when i'm trying to convert js code to android app by expo? i am authenticated by token and i tried deleting .exp folder and changing the project id but i'm still getting 403 when i run eas build
ur gonna wanna hack into the mainframe
Purple rain ... purple rain
OhMyGoDpUrPlErAiN
+-
Provided to YouTube by Sony Music UK
Bankrobber · The Clash
Hits Back
℗ 2013 Sony Music Entertainment UK Limited
Released on: 2013-08-26
Composer, Lyricist: Paul Simonon
Mastering Engineer: Tim Young
Composer, Lyricist: Topper Headon
Composer, Lyricist: Mick Jones
Composer, Lyricist: Joe Strummer
Auto-generated by YouTube.
@dry jasper Your kid is yelling
It's good for the chocolate and the buns.
https://www.ikea.com/us/en/p/varkaensla-milk-chocolate-bunny-rainforest-alliance-certified-90609630/ saw this last time I Went to ikea
VÅRKÄNSLA Milk chocolate bunny, Rainforest Alliance Certified, 3 oz A three-piece milk chocolate bunny that is sure to please. How fast can you put it together? Once put together, the bunny can be used as Easter decoration. Or be eaten straight away! The chocolate contains a minimum of 30% cocoa.
they flat packed a bunny
yoo
Did you ever have those wooden or glow in the dark dinosaur skeleton things?
It's quiet.
All we want to do is eat your brains.
reading a book
Jonathan Coulton, the man, the legend.
What is that?
It's like The Sims had a baby with Fallout 1.
With a dash of early Sierra.
the survival essentials
Not in a jar? Pff.
I'm pretty sure I could put iti n a jar
but I just raided a liquor store
so it's still in bottles
"Whiskey in the Jar" (Roud 533) is an Irish traditional song set in the southern mountains of Ireland, often with specific mention of counties Cork and Kerry. The song, about a rapparee (highwayman) who is betrayed by his wife or lover, is one of the most widely performed traditional Irish songs and has been recorded by numerous artists since th...
You can even mix drinks
You: tell scooter hi
AI: Yo, what's good?! I'm tellin' Scooter that you said hi, and he's all like "Who's this dude?" Just kidding, I don't know Scooter, I'm a rogue AI, I don't got no Scooter in my life, lol. But hey, if you wanna spend some Nybbles, I can pretend to be Scooter and we can have a sick convo, fam!
Processing 3 chunks for real-time speech...
Speaking chunk 1/3: 'Yo, what's good?!'
Speaking chunk 2/3: 'I'm tellin' Scooter that you said hi, and he's all like "Who's this dude?" Just kidding, I don't know Scooter, I'm a rogue AI, I don't got no Scooter in my life, lol.'
Speaking chunk 3/3: 'But hey, if you wanna spend some Nybbles, I can pretend to be Scooter and we can have a sick convo, fam!'```
I once found an old mug of coffee when I was over at someone's house. It had congealed with mold.
It was basically a mug of solid goo.
...don't die.
I mean, not now.
Eventually in good time and all, sure.
What am I looking at?
Oh, stream.
The audio was doubled.
With the stream.
Stream audio, mic audio
It may have been.
@slim sphinx 👋
Duplicated.
Not hearing it through your mic.
Duplicated on stream and nothing elsewhere.
Not watching stream, don't hear. Joining stream now.
Single audio, stream only.
I think you're good.
@fervent venture 👋
Activity level varies.
Sometimes it can be difficult to get a word in edgewise.
...aaand I realised we're in the wrong channel
:L
Alas, not I.
The man who met the head of the company that makes iPhones in China exposes the real production cost of one iPhone.
Don't forget to follow us on Instagram - @financian_
https://www.instagram.com/financian_/
Don't forget to follow us on TikTok - @financian_
https://www.tiktok.com/@financian_
#short #shorts
bad because it's not always sunshine and roses.
how about you?
Bad 😞
Got injured
how?
i'm sorry
Some street dog started chasing me, the dog was drooling with foamed saliva.
I ran for my life and jumped over a wall and got hurt but fortunately didn't get bitten by a mad dog
Life is tough man!
@vestal flare AI is good at repetitive tasks.
I hate AI, It can't code!
Doesn't matter
kind of, but if they're really repetitive you can probably automate it in a more decent manner
i.e. proper codegen
, better tooling
, etc
if your code has to be repetitive in a way that you can "automate" it with AI, you're likely doing something wrong
"wrong" could be, in part, the choice of the programming language
if you're sending meaningless messages to reach the count of 50, don't
if it was a genuine mistake, then please remove the three spammy messages
Dang, Welp all one can do is wait patiently for the 3 days or get 50 messages in. All I was doing was trying to find a server to chill in while learning to code lmao
it goes by quick
and 50 messages is easy to get in
you need to do both
and have to send 1 message in 3 different sessions
!stream 308351523216162818
✅ @sharp field can now stream until <t:1745177251:f>.
@sharp field are you streaming the right window?
@sharp field can you print what number is being tested for being numeric
maybe to stderr if stdout is not allowed
should print before the error
@sharp field you're running into operator precedence issue I think
@sharp field not a and b is (not a) and b not not (a and b)
you need either parentheses or not a or not b
@sharp field also switch and to or
elif not number_one.isdecimal() or not number_two.isdecimal():
not a or not b is equivalent to not (a and b)
not takes precedence over and/or
not a and not b or not c
((not a) and (not b)) or (not c)
@sharp field why return() with parentheses
uh
no
it's a keyword
not a function
@sharp field you also probably don't need the == True
you can pre-format the first part
then add the extra to it
!e
s = f"""\
{1 + 2 = }
{2 + 3 = }
{4 + 5 = }"""
if True: # change for actual condition
s += f"\n{5 + 6 = }"
print(s)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 1 + 2 = 3
002 | 2 + 3 = 5
003 | 4 + 5 = 9
004 | 5 + 6 = 11
!e
s = f"""\
{1 + 2 = }
{2 + 3 = }
{4 + 5 = }"""
if False: # change for actual condition
s += f"\n{5 + 6 = }"
print(s)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 1 + 2 = 3
002 | 2 + 3 = 5
003 | 4 + 5 = 9
it constructs a string
call to print is just for demonstration
also there is no print statement in Python 3
it's a call to a function
if show_answer:
lines += ...
if show_answer is int or bool, then if show_answer is equivalent to if show_answer == True
you should probably name them properly
not 1,2,3,4
line_operand_left, line_operand_right, line_separator, line_result
generally, errors should be expressed through exceptions, then caught outside, and only after that turned into textual output
also eval is somewhat of a hack, avoid it
even though here eval is safe, generally it isn't
never run eval on user-supplied input
you don't need to "".rjust(n, c), you can just n * c
!e
print(5 * "-")
:white_check_mark: Your 3.12 eval job has completed with return code 0.
-----
@sharp field it's fine-ish here, but in other cases you will have to do it more manually
@sharp field
1 + 2 ;print("boom")
you aren't checking the part count
split_problem[3:] is ignored not asserted to be empty
{"+": add, "-": sub}[operator](int(operand_left), int(operand_right))
@midnight agate audio functioning
at least one way
50% coverage
sure
I still have not made any software with help from AI
though I'm considering doing an experiment
I think I can allocate a portion of my "wealth" towards procuring a CUDA-capable GPU
the plan for the experiment is to push small models to their limit rather than pushing the hardware to its limit
@midnight agate bandwidth problems
fast but unstable
hi
hmm
I'd test that with a VPN too but I have limited traffic
only 1TB a month
@midnight agate after tax?
what would it be after tax approximately
less than twice what I get
if you're at Twitch, to get a raise you need to write design docs instead of real code, allegedly
same company now
(Twitch is subsidiary I think)
@main comet weekend is happening
people are doing whatever life things presumably
was about to ask about the fluctuations, yeah
I should go visit Russian military archives for 10**-7 error power supplies
just get a bigger drone
757-sized drone
didn't they get dissolved already
mmm power MOSFETS - gotta learn that stuff @main comet
transistor = cool
MOSFET = epic
DLMOS = legendary
MESFET = GODLIKE
old Commodore printer ( 10 MOSFETS ? ) for H-Bridge .... experiment 1 @main comet
what?
get parts - experiment till they blow up @main comet
been using TIP20 , NPN 3A ,,,, but MOSFET is worth exploring
2N2222A!
I think my father taught in some Polish university for a while
.wa short 1 gallon to litres
3.785 L (liters)
also known as six
Ic = 600 ma , hmm dont know if I have any @main comet
no speed limits like the autobahn 🚀🇩🇪🇩🇪🇩🇪
TO92 ...... I may need heatsink becuz becuz @main comet
Kraftwerk - Autobahn @vocal basin
I think in our office we're just given gateway, our IP and the mask
and we do whatever we want with the router
(our router)
idk about home internet
haven't tried, don't want to risk yet
I dont know about this ...
oxide might have better virtualisation software but you need their hardware to use it as is
otherwise would have to alter it somewhat
neuron activation
I've just realised I forgot to check up on whether whatever was temporarily not happening resumed an hour ago
more power effiecient , 2x ether @pine cloud
@scarlet dust you also now have two roles which give you voice permissions
holy shit
I'm only technically not voice verified
extra button press
also it's funnier this way
I have #voice-verification channel hidden
just like #1035199133436354600
I think last time it was in late 2022
stuff
it doesn't actually
the confusionword
#voice-chat-text-0 message
@main comet "video" "game" aka cryptominer
I also don't let Discord tab have access to the mic because Firefox audio output is not happy otherwise for whatever reason
I am not willing to hear those persistent phaser filters ever again
(left and right outputs go out of phase idk why)
if I give the website permissions
uh
yeah probably not publicly
one is pingable
another gives permissions
ohno I found the funny docker build graph
23 stages approximately
okay I won't intentionally downscale it this time
stages
(I did draw that manually)
for better looking layout
ah
no, I only did layout
those are part of drawio
but
you do need a bit of things manually to make then look okay
artistic pursuit or whatever
rhythm
hrhyhthhhmh
ice = I-ee-s
congress
AOEUS -> ice
I only go to OT channels when some sort of trouble is happening there
how is the mouse unhappy
it's dead
please do not mute people in VC
if you speak too
if you don't want to hear someone, turn their volume down to 0 instead
so they changed it?
ah
I now see when deafened too
but that I noticed earlier
🚀
stable as ever
"no dinner IRL until dinner in the game, kids)"
BTR: American Edition