#ot1-perplexing-regexing
1 messages Β· Page 87 of 1
:incoming_envelope: :ok_hand: applied timeout to @sleek kernel until <t:1706970888:f> (10 minutes) (reason: duplicates spam - sent 4 duplicate messages).
The <@&831776746206265384> have been alerted for review.
rip jerry
Sorry for your loss.
I found the solution. In brief, what is wrotten here only seems to work on linux
- name: Install platform-specific requirements (Windows)
if: runner.os == 'Windows'
run: |
choco install mkvtoolnix --no-progress --yes
Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1
refreshenv
$mkvmergePath = (Get-Command mkvmerge).Source
$mkvtoolnixPath = Split-Path -Path $mkvmergePath -Parent
echo $mkvtoolnixPath | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
# We need to conserve mkvtoolnix in the PATH env variable.
# From https://stackoverflow.com/a/73981698/15835974
damn gpt gatekeeping
What does pulling a p4 look like
get the person, a 4
g
it's easy just hide it
hey so I have a mysql database with over 15 million rows
and a simple query like this one
takes over 30 seconds to finish
anyone an idea how I can speed up such a process
yeah, that needs a full table scan
its too big for an int
because 4-byte integers MAX_INT is smaller than that one
so what would u sugges
t
do you often need how many rows there are ?
no, this was just for checking
i mean an index on that column
smth like this also takes up a lot of time
SELECT *
FROM flight
WHERE scrapeDate = (SELECT MAX(scrapeDate) FROM flight);```
then you should use more indexes
I will read up on it thanks
im very new to sql so i dont completely understand how to use it correctly yet
you said you have an index on the hash column already?
no that was false, I thought you meant primary_key
like i said im new
i dont have any indexes yet
oh ok. then you want to make indexes for those two columns
an index basically lets you find things faster
so in your case, when you want to find the max, or you want to find a specific hash, those will be much much faster, probably a few milliseconds rather than 30 seconds
my interest has been piqued, anyone know of the convo behind the name
Half price appetizers and violence.
Is there a reason not to index a column
Like why don't they get indexed automatically
Because from what I've read it makes sense to index each column in my db
Ohh and last question, if I index a column, and then add new entries, do I have to index it again?
there is a cost to maintain that index.
And so that means that the cost each write to the db gets some additional work and space used for each column
Plus sometimes, you want an index that covers multiple columns. So you may end up with a combinatorial issue
ohh okay thank you!
also is there a way when adding new entries to check quickly if exactly this entry already exists in a subset of the database
I would imagine just hashing the row I want to commit (except for the primary_key) and comparing it to hashes of all the other rows in the db
couldnt find anything bout this on the internet
that's what hash index is for
great thank you
you clearly are, typehints are amazing
i know they are
but perhaps it's just the syntax
what if it was int def add(int a, int b):
I dont really see how thats better
and the current one matches the order I usually think about them, I first think about what I need (i.e the name), and then I can think about what type it will need to be
them being put as a "postfix" for stuff is a great parser-friendly way to easily tag it as optional
ngl, me neither
like def add(a, b): would not have to backtrack
i think i need to rest
π€
ah yes the langdev side
ok another question
when is it okay to use relative imports
why do i even try to create a programming language
when they're in a package i think
i've got 2 constant names that are reserved for the exact same value
because its fun?
what
even though they already have frozen/unfrozen versions
for the type system?
you know, thats one big benefit of tuples, you can give each element a specific type
(1, 2, 3) /; frozen tuple
(:1, 2, 3) /; unfrozen tuple
[1, 2, 3] /; unfrozen list
[:1, 2, 3] /; frozen list
i remember describing the difference as "one of them is always sorted"
which is so niche
wait... : either means frozen or unfrozen depending on the data type? that doesnt seem like a good idea tbh
no
the tuple one is just inconsistent
all the rest (list, set, dict) has : if frozen, none if not
Is there a way to combine different bash commands with same parameter
like touch open foo.java
for f in touch open; do $f foo.java; done is the simplest I can come with
why, it's a good solution for long chain commands
thanks I suppose
aleks
actually, what may be more useful to you is
touch foo.java
open <alt+.>
``` alt . inserts the last argument of the previous command
Boys I'm 500
starting on line 3223 of the bash man page is the section for history expansion. There are event designators, word designators, and modifiers.
if you do something like $ cmd arg1 arg2 then on the next line you should be able to do $ ^cmd^newcmd and substitute
also you can do like $ !! to repeat the last command
all sorts of neat stuff you can do
is that russian name for alex?
I remember havin an aleksei in class 10 years ago
idk if it's the same
ks is just for languages that don't have x naturally. Like I had both Aleks and Aleksander in my year at uni, both Poles - there's no x naturally in Polish
For Russian and other languages written in other alphabets it's a bit more complicated because you might use different rules to transcribe Cyrillic to Latin alphabet - like international rules are based on English, but Slavic languages that use Latin alphabet might have direct translations
E.g. I had a Π―ΡΠΎΡΠ»Π°Π² (Ukrainian) in my year at uni. Official international transcription made him Iaroslav, but in Polish we just have the name JarosΕaw...
Now that I'm checking, international transcription from Russian uses ks instead of x, probably because Russian uses ΠΊΡ, there's no one letter that's like x.
I suppose X(twitter) is called KS in Poland then π
intersting
Eks dee
no.
we call it
||twitter||
what the fuck is an X
Someone you went out with before but don't anymore
Oh so that's what the X app is for
@shell raptor re: Roc. Sure, it can be fast, but why is that the most interesting thing about the language? And if it isn't, why is it the first thing on the page?
It does look neat though
Everybody wants a fast language because nobody wants people to complain about their language being slow
You dont make a fast language by saying it is fast
That is true!
I am just very allergic to A fast, friendly, functional language. being the tagline
The important bit there is functional
I agree
I could see friendly too
there are languages that are very much not designed to be beginner friendly
Python: a fast and working language
it's all over rusts garbage and good libraries both - the fast linter, the fast library, the fast webserver
if fast is the most important thing about your project, maybe it's kind of a bad project.
you mean, π blazingly fast π
sure
Jai is a meme but I like that its design prioritizes experienced and knowledgeable programmers
Is Jai real yet?
I don't think so
But I think that's a tradeoff that can be worthwhile if you want your language to be used for projects with advanced programming requirements
people handle advanced requirements in python all the time
I do agree that randomly doing inconsistent things to make easy things easy is questionable
but there is more about a language being suitable for "advanced" projects than just ... not having beginner-focused features
That's not what I'm saying. There is nothing inherently wrong with beginner focused features. But making things more intuitive and friendly for beginners does tend to come at some cost to making things more useful for experts.
Jai wants to cater heavily to the types of people who write game engines from scratch in C++
So the tradeoff is very intentionally made to prioritize what will be most useful to that type of person
I think it's fine to advertise a language as friendly if that's legitimately a design goal of it
I don't think friendliness is a given
Or even necessarily highly desireable
If so then I agree they shouldn't advertise it
Odin >
Odin is a real programming language you can download and use
yeah and it looks close to odin syntactically
I hate since jai projects on github
u're open source coding I cannot even compile
and u just want me to trust u that ur compiled binary is safe to use
they have gotten to a beta at this point, which is ... good
u have to have an invite to get the compiler
indeed you do
which makes it pointless to use for anything other than ur own private project
to be fair, that's what its for
there's people making open source projects in it on github
like the Focus editor
They are of course free to do so
but yeah, won't have any contributors
which is probably fine
sure they are
still makes the open source part of it pointless if no one can compile the thing
weirdest part is it has a reasonable amount of contributors
but personally I'd prefer odin to jai
syntax is nicer, it's open source and the compiler takes seconds to build
the creator is nicer and less condescending
but to each their own :)
also odin is actually used in production
really?
there's like over 500K lines of code in odin in production at JangaFX
holy hell
it's used to write a particle simulation software that's used by big hollywood studios
I truly put it on the level of like... V
V is a real programming language
Odin is free open source and in production
it's not at all the V that was promised
but you can use it and get programming done
it's a decent GCd language with cross compilation
but to be honest it doesn't interest me much
also I'd take a language like odin that's proven by having software used by many
than V
ye, that's why I was surprised
Good! Thx for asking
i heard this one LOL
i think
nvm i talk about something else
yeah meant to continue this
what website is that?
π
u r missing the quotes arent u
oh god it is super annoying at hitting space at the wrong time doesnt jump you to the start of the next word, I keep getting desynced and getting a bunch of it wrong
it leads to stuff like this, this is correct, it was just shifted to the left one
lol
missed the joke
fuck this shit
you cant even ctrl backspace
ctrl d backspace probbaly works
wait nah ctrl backspace works for me
but ctrl d doesnt
it just deletes once
u want to delete 1 word right?
jokes are only funny if they compile
yeah
lmaooo
idk I use python
compile what is that
not a word you wanna split into its two syllables
things r different in window10 ig
in that website because I can do it anywhere else
idk why I just popped into my head to code an html source to DOM tree converter
Hello cyph
Hello interesting set of emoji I wish I recognized π€
I've been okay \π© How've you been?
great. I'm not even gonna bother with that one
I'm aight
junior year, so the workload is kinda more than it was before
I got selected to go to regionals for my school's debate team, though π
π how's that going
I'll be 18 this year π₯΄
Horrible, I won't lie, but oh well
rip
I'll probably need it
Oh, yes. Good luck to you, too
Nice talking π©
Nobody ever mentions how stinky wild animals are.
I've heard fox piss smells like death
All of the guides on this live safari I used to watch say that predators especially are pretty filthy and can actually carry some infectious stuff.
stinky kitties
How do you guys find motivation to do software projects? Software design is not really one of my interests but I do it because some of the things I make are useful for myself (and potentially others).
It's probably different for everybody.
But I think developing a tool that you actually use (and thus are invested in) is a good thing.
money
boredom
What are you interested in?
Electrical engineering, computer hardware
no, what are you interested in?
those are two very broad categories
I mean you don't need to tell me per se, just figure it out yourself.
But if you spread yourself out too thin that's a recipe for burn out.
It's also okay to move from thing to thing.
because interests change
O
Wtf, im paying for this shit why is just turning off
my data keeps saying no service randomly throughout the day
um hello
Tf does that mean
My data
joke
oh, turned off by your carrier
who is your carrier?
Android on my ASUS sometimes shows that when there is no cellular service somewhere
weird thing for the system to assume
@jovial oriole in times of network congestion a carrier may reprioritize services
I've seen both AT&T and T-Mobile do it.
My interests on it are generally broad, but one thing I do enjoy is digital circuit design.
is that raw blokes
what that means?
robe locks
yes
or...
Scarier than this?
First thing you see is shit about being billed
@placid warren forgot to ping lmao
click on the x and youre done
make conway's game of life with leds
hey idk where to ask this but ive been wondering this. Im using pycharm rn and i was wondering if this setup looks right? is the app.py in the right spot?
app.py? i don't see it
its called Calculator.py in this case
looks like a reasonable spot
it wont cause any problems down the road with files, etc?
not inherently
alright thanks
in ```py
def fun(num: int) -> None:
pass
is num actually declared?
where is it documented?
!pep typehint
Converting to "int" failed for parameter "pep_number".
be smarter bot :P
wdym "declared"
I mean is it instantiated as a thing in memory
no that doesn't make sense
nevermind, I'm an idiot
I was reading somebody's question in #1035199133436354600 and got stuck in a rabbit hole I guess. a dumb rabbit hole.
@young shoal do you know where typehints are processed/discarded in the cpython implementation?
no
thanks anyways
You ever get so distracted by stuff you turn into a complete moron?
I sometimes think that is the base state and when you're distracted it's what you return to, like a ground state of an electron
or conversely it's because all your energy is gone
idk
i mean it is stored in fun.__annotations__ i believe
godlygeek answered my question ivan
it is stored in __annotations__
I mean godlygeek answered it indirectly
and btw thats for all variables
it's not instantiated as a thing in memory
sorry i didnt see it...
at least here
they didnt answer
it's in bytecodes.c in the cpython distribution
This happens constantly
My data just stops working through out the day and starts 10 minutes later
What carrier?
Ye, it showed it for a second then it just disappeared
Virgin mobile
Im in canada
Its essentially a subset of bell
I'm curious if you're roaming when it happens.
LTE?
@jovial oriole Do you get charged for incoming sms?
f that
I'll get a flip phone and a pager.
:incoming_envelope: :ok_hand: applied timeout to @lament cairn until <t:1707275446:f> (10 minutes) (reason: attachments spam - sent 7 attachments).
The <@&831776746206265384> have been alerted for review.
!unmute 589779308063490055 fewer spam pics pls
:incoming_envelope: :ok_hand: pardoned infraction timeout for @lament cairn.
Oops.
Does anybody knows p5js?
please don't crosspost your question in multiple channels
anyone know how i can get the heart to overlap with the gray and the white in CSS?
could you make a codepen for this? https://codepen.io
Sure
Don't mind the console.log('xdd'); its just me testing if some stuff works
i think it's because your heart is made out of the before and after pseudo elements
setting z-index to the actual element doesn't make a difference
How would I go around it, I'm fairly new at CSS π
i think you can get the ::before and ::after elements using a CSS selector (document.querySelectorAll) and set the z-index of them individually
For each of the pseudo-element?
yeah
but would that do anything due to me attaching the heart object onto the note object?
idts
overflow?
whoever is receiving this site is lucky asf
@blazing hemlock you'll need to update us once you send that
is anaconda fr malware?
anaconda is really popular in data science -- did you get a false positive from your AV?
probably people who installed it from anywhere other than https://www.anaconda.com/download or false positives
Thanks!
today my age: ??. :βD
pypy is nice but kinda fucky to work with sometimes, library support and stuff
well here it was just speeding up a very hacky script i made
#!/usr/bin/python3
import json
with open("result.json") as f:
conversation = json.load(f)
def find_message(id_: int) -> dict | None:
global conversation
for message in conversation['messages']:
if message['id'] == id_:
return message
else:
return None
message_topics = 0
from_id: int | None = None
last_from_id: int | None = None
for message in filter(lambda m: m['type'] == "message", conversation['messages']):
last_from_id, from_id = from_id, message['from_id']
try:
reply_id = message['reply_to_message_id']
except KeyError:
pass
else:
if (
(reply_message := find_message(reply_id)) is not None and
reply_message['from_id'] == from_id
):
continue
if last_from_id != from_id:
message_topics += 1
print(f"Total approximate message-topics in conversation: {message_topics}")
ig
finally pypy isnt ancient
it just counts how many messages were sent in a convo in telegram
while also

collapes
such
messages
so that like if you send 3 messages but you have to read as 1 message it will be counted as a single message
its hacky
pypy is goated for hacky scripts
i wonder should i put functools.cache on this...
lets you rightfast stuff without the pain of having to actualyl write better code
fr
profile it
cause the hash isnt always worth it
ngl python performance is rly rly weird
i mean searching among... idk even how many messages
wait
let me check how many are there
this looks like something that can be improved with some DSA tbh
>>> with open("result.json") as f: messages = json.load(f)['messages']
...
>>> len(messages)
33336
>>>
likee why not just use a hash table from the start
well, a has can do that fast
you are only doing an equality check here
hash tables can deal with that
if it was an inequality check like an < it would be adiff story
Is conversation["messages"] a list? π€¨π€¨π€¨
yes
ask telegram
not me
Oh, not your code?
well the script i wrote is mine
The api
Unbased telegram api
{id_: message for message in conversation['messages'] if message['id'] == id_}
why not do something like this
single pass
API problem?
not really
theoretically, its O(n^2) -> O(n)
i am just amazed how does it even work
its a mess of HTTP and not HTTP
at least for bot api
@rough sapphire https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10244611/#:~:text=Interruptions were found to cause,forgetting about the primary task. for instance
"The results showed that interruptions increase more time to complete
in cognitive tasks and produce more errors in skill tasks. Also, similar types of primary-interrupting
tasks were more susceptible from interruptions. Thus, based on task composition of work process,
we can estimate different effects from the interruptions and memory load, and task similarity in
primary-interrupting task relationship were considered a main factor"
The interesting point here is similarity: if you're coding, and someone asks you a question about a football game, it's probably not as disruptive as a coworker asking you a coding question.
so simply put long story short if my absolute care is just maximizing focus basically no music
Interruptions were found to cause more annoyance and anxiety, increase stress and frustration, and lead to errors in the primary task, less task accuracy and to longer task competition times or to the use of suboptimal strategies as well as to forgetting about the primary task.
Can confirm, my phone buzzing in my pocket is a massive source of anxiety, since it usually means I have to deal with something.
For me, that's not at all helpful. Music and background noise can also reduce your interruptability.
Ever work in an office with zero background noise? We installed white noise generators in our office, and it was so much better
again, for me, I don't notice the background music I have playing. I can sleep to heavy metal.
like the reason, we even need white noise, black noise, brown noise, whatever is because of annoying noise, and chatter and talk, but it would be amazing. Just have absolute silence with no noise like a closed off room that was like soundproof.
My wife, tho, can't. But, she can work with the TV on, and I can't.
I have chill downtempo music usually
Stuff with no or few lyrics cause i find myself singing along and getting distracted
I just have the same playlists for everything
My vibe changes every day. Pretty much everything but country.
I think that goes to show I have the best music taste and my choice of songs are universally applicable to every situation
Hmm, is my spotify linked? I don't really know how that works.
through discord? Nah, can't see it
you can link accounts through settings
what sort of music do you listen to? π
Lemme find my garth brooks playlist
Oh, i thought it was linked. Oh, that's cuz I was invislb.e maybe?
#1 highest grossing domestic artist gang
Curious, would you mind checking now? I think if visible it shows
oh, are you talking about the status?
I thought if it's linked, it'll show what I'm listening
I was on mobile, that might've been it
I'm on my desktop now, and I can see it
just discord being discord, I suppose
ah, ok interesting
In a browser I can see your Spotify status @granite tree
I can see it on mobile
I usually listen to the same thing on repeat, though I usually end up less exhausted if I listen to calm music vs intense music while coding.
this might be super stupid, but do you guys think through human evolution, high frequency or lower frequencies increase alertness?
I have 5 playlists
the real goat was turntable.fm
Never heard of 'em.
and I mostly just cycle through those
@glossy niche its holy shit faster like this:
#!/usr/bin/python3
import functools
import json
with open("result.json") as f:
conversation = json.load(f)
messages: dict[int, dict] = {message['id']: message for message in conversation['messages']}
message_topics = 0
from_id: int | None = None
last_from_id: int | None = None
for message in filter(lambda m: m['type'] == "message", messages.values()):
last_from_id, from_id = from_id, message['from_id']
try:
reply_id = message['reply_to_message_id']
except KeyError:
pass
else:
if (
(reply_message := messages.get(reply_id)) is not None and
reply_message['from_id'] == from_id
):
continue
if last_from_id != from_id:
message_topics += 1
print(f"Total approximate message-topics in conversation: {message_topics}")
Same idea?
although I've kind of just been listening to hindi/urdu music exclusively recently
if i just "preindex" all messages
holy hashmap π
Do you have a sample json file? I might have some magic for that problem.
its uhh
has confidential info
The factorio ost is built different.
its a literal dump of a chat with me and my gf
like how different?
But did you time it
i was just curious how many messages we sent each other
it went from ~18s to <4s
You can count that with awk probably
thats linear time for u 
ivan did u try studying DSA?
leetcoding
It has a good chance of putting me into the zone like when playing factorio, where time ceases to exist.
or did u go straight to rust
4s for 18k messages still sounds kind of a lot?
how do i know <4s? my shell prints the time of execution only if takes >4s
it feels more like 0.5s
Measure-Object
i am on linux
maybe pavlovian response?
Wait, is that it?
thankfully
Holdup
@outer sundial It's a nice OST
...
@outer sundial I have blown hours on that game.
like hundreds
there we go
whats DSA
data structures and algorithms
i went python then rust
short hand for leetcoding lol
Ok thats better
like 2 major languages
its a language agnostic thing
in which i actually invested time learning
and aside some time was learning C/C++ and Java and C#
eh
i suggest you do some leetcode easy/mediums, they are fun and teach you a lot
didnt find use for them
idk if i want to tbh
i dont have that motivation
You can swap out the try except with dict.get btw
Peak pavlovian response is reproducing the state you get in when playing games to get the same effect. I suppose that may be part of why I like using the cadence of hyrule and ultrakill osts for work, since when I'm playing them it demands 100% of my focus.
ultrakill is bananas
iirc it says its literally try except under the hood
so doubt there would be any perfomance gains
So far just missing P-2 before I have all levels P-ranked sharpshooter only.
aside from more if-statements
and wulrnuses
quite intersting: pypy is now actually slower than cpython
with that script
~0.6 vs ~0.55
ic
try pyinstrument
its pretty easy to use
from pyinstrument import Profiler
profiler = Profiler()
profiler.start()
print(do_shit(1, 2, 3))
profiler.stop()
profiler.open_in_browser()
with that addition they are pretty much on par now
Β‘ban
(sp)(h)am in multiple channels
I'm reminded of the "design your own burger" app image montage.
The one that I oughtn't post here.
Is it just a stack of patties
HOW IS WINDOWS EXPLORER SO PATHETICALLY SLOW
PIECE OF SHJTI
IM GOING TO STOP WHO EVER MADE IT FLAT
Why are you still using it?
what exactly is the alternative here? linux?
or a different file manager?
ok fuck it im gonna go back to the FOSS one
its unusable
on an NVMe SSD
hmmmmmmmmmmmm windows store has AI summaries for review new, neat use for LLMs
#python-discussion message @dusty narwhal cs?
customer service
Oh, yeah unless you're a Pro/Business customer you're outta luck
apparently I've heard negative reviews on trust pilot and reddit about their name registrant customer service being wack
it's not blowing-out-of-the-water type of mark up
ok i can kinda now see why people would pay just a little more to have a better service
Yeah, CF is cheaper but not by much
I considered Porkbun while moving my domain but wasn't sure - I also thought the massive amount of support from selfhosted and other places was suspicious
I use Cloudflare DNS anyway so I thought might as well go all in


My kindle finally bit the dust after 10 flawless years π
Oh no. Was it one of the ad-free ones? Or did Amazon even do that 10 years ago?
I have an iPod classic gen 6 and it's still kicking
the lock button is broken though
I keep it in a pretty severe case
what do you think guys about short wave radio
@fresh basalt if I got a friend in another country lets say USA and am in Spain and both of us have short wave radio so we can talk freely ?
directly? no
Well you can encrypt a signal before you send it out.
But it's still radio
Also you want to check your country's laws beforehand because some governments frown on encrypted transmissions by citizens across the globe.
@young shoal what's the lovefest role about?
was that an event?
indeed
ironic
π€¨
π
yeah it was, this was one of their early models
we really live in a capitalist hellscape
I was either going to get that or get a Nook
But then I just got a samsung tablet on the cheap from ebay
I require e-ink for reading books, otherwise the eyestrain is too much for extended periods of time
TBF I haven't used to to just read for extended periods of time yet.
I got it so I can put it on my digital piano and follow along with lessons.
I'd presume I probably would have issues with eye strain.
huh?
you question
You mean amateur radio, where both of you are licensed in the respective countries, have a decent tranceiver and a good antenna outside the house
And your conversations can be heard by anybody else with a receiver
why no
amateur radio is same as short wave radio ?
short wave radio can be just a receiver for listening to Voice of america, BBC world service etc.
so short wave radio cannot be used for input voice ?
Amateur radio is about tranceiver where you can transmit as well as receive, which you can do in HF (i.e. Shortwave), VHF and other bands, depending on your licence
Short Wave is a frequency band, within that frequency band there are broadcast bands, amateur bands, ship to shore and air to ground communications etc.
also with Amateur it comes with a plugged white antenna on it, no need to add another one right ?
If you want to speak to people within 50 km maybe you get away with a handheld and the antenna on it
you were talking about transatlantic contact
there you definitely need a serious set up with a good antenna
so the Short wave radio I cannot talk to someone who is far in another country cause you cannot input your voice right ?
with a shortwave (HF) receiver no. With a shortwave (HF) tranceiver maybe, if you have a good setup, use the correct frequencies for the time of day, the propagation is favourable for the country you are trying to talk to etc.
Like these are receivers https://www.tecsun-radios.com/product-category/tecsun-ssb-radio/
This is a tranceiver https://www.nevadaradio.co.uk/product/kenwood-ts-590sg-all-mode-hf-transceiver/
these are cheaper handheld tranceivers but they are VHF/UHF, so will only work within so many km, not across the Atlantic ocean https://www.nevadaradio.co.uk/category/amateur-radio/transceivers/filters/product_cat[handheld-transceivers]/
Do I detect a fellow amateur licence holder?
?
we just talking about how things works
A lapsed one, I was always more of a shortwave listener π
These days not even that
Me too. I don't use it much these days but I keep it anyway.
you have a short wave radio
wow
you can get a shortwave radio for $20
normal or transceiver ?
No, Ive only ever owned cheap uhf and vhf sets. I rely on other people for hf kit!
receiver
so the transceiver can send voice and receive voice right ?
means 'transmitter + receiver'
so both transmit voice signal and receive voice signal
Also it says "Article not available"
It can transmit and receive radio signals. Voice is one thing you can send over that signal, but it's not the only thing.
well, you can always connect computers and use data modes
ah
So I need to have a license from Police authorities or what ?
ok mate, there are equivalent products if you search around π
In most countries, you need a licence. How you get that differs between countries
usually with an exam
Do I pay for the license ?
Again, differs between countries
yes, nothing is free in this world
omg they make things complicat#ed
I'll already pay VAT when buying the product they jus want to pick money oof
Spectrum is regulated, transmitting is serious business, you can't let everybody transmit on any frequency with any power they want and interfere with legitimate users
then we'll use different channels for not interfering
there are license exempt options in some countries PMR 446 etc.
But that won't get you across the atlantic
So basically I have a friend in USA and am in Spain and want to talk to him. Will the transceiver be able to send signals from Europe to USA ?
or too far
To be honest with you, the easier level of the license (talking about UK where I know better) is VHF only
you need to be effectively an advanced radio amateur to be licensed for HF (shortwave)
You're both going to need licences, decent hf transceivers, very good antennae, an understanding of how weather and reflection off water and atmosphere affect radio propogation and a big slice of luck.
It's not a substitute for Discord let's sayπ
what you mean ?
like chatting with voice on discord
It's doable, but there's a lot to learn and that will take time. The kit you need also isn't cheap.
there is a much higher barrier to entry
voice on discord using voice over ip i think
is hf trsnsceiver comes with integrated antenna like this picture (one sec):
or I need an antenna like this:
more like this https://www.hamradio.co.uk/aerials/amateur-antennas/hf-base-antennas/beam-yagi-antennas-dipole/cushcraft-beam-yagi-antennas
Cushcraft Beam/Yagi Antennas products from Ham Radio. Specialising in new & used Ham (Amateur) Radio, Commercial Two-Way Radio, Marine & Aviation equipments.
I've used https://www.allstarlink.org in the past for this kind of stuff
Repeater Controller with VoIP linking for Ham Radio
so this is weak for long distances ?
Sorry all, need to go
ok thx
good luck, it's an interesting hobby to get into
but transatlantic contacts is on the advanced side, you got to walk before you run
Good night
guys its not c++ but stick with me, im using vsc for da first time
I've used it, got used to it went to Linux
Now it's lagging like a complete tumorware
Cause Wayland
Plus buggy Nvidia drivers
If you planning on moving to Linux ever, seek native IDE
I beg you
Still better than cringecord
are there any local amateur radio clubs you can find?
hi
Here's your reminder: this
[Jump back to when you created the reminder](#ot1-perplexing-regexing message)
Here's your reminder: it's birthdayin time
[Jump back to when you created the reminder](#ot1-perplexing-regexing message)
happy birthday (again) @grave cove
Your reminder will arrive on <t:1738909355:F>!
Successfully deleted the following reminder(s): 6555
!remindme 365d birfday
Your reminder will arrive on <t:1738995785:F>!
Neat
why didnt u just change the duration instead of deleting it
You can do that?
!remind edit
Can also use: remind change, remind modify
Commands for modifying your current reminders.
Subcommands:
!remind edit content <id_> [content]
Edit one of your reminder's content.
!remind edit duration <id_> <expiration>
Edit one of your reminder's expiration.
!remind edit mentions <id_> [mentions]...
Edit one of your reminder's mentions.
Hi can someone please explain me why the following query takes 4 seconds
while this one only takes 0.2 seconds
all columns in the queries are indexed
altho its weird that direction_index has such a low cardinality
Your first stop when debugging a query should be its execution plan
what do you mean?
Im sorry, im pretty new to sql
What db is this?
mysql
Your db should offer functionality to explain the execution plan for each query
This can be hard to understand at first, you could post your plans for the two queries in #databases
okay thank you
I recently acquired the Sennheiser HD250BT headphones
I very quickly found out that they do not work (as a sound emitting device) while charging. This is stupid and annoying. Is there a way to override that? Is there some good reason why it is like that?
seems like there's no way, but it'll work with an aux cable
The reason for this is afaik that cheap batteries can't both charge and discharge at once.
Sennheisers arent really supposed to be cheap
Wouldn't surprise me if they used all their budget on sound and just cheaped out on the rest
i wonder what would happen if AWS was down for just 24 hours
nukes start flying
red alert 3 is one of the games of all time (tim curry for scale)
i had to google his name because i cant tell tim and jim curry apart
https://discordapp.com/channels/267624335836053506/470889390588035082/1205541278343757834
I remember seeing a tweet on a dev who was hired to continue work on a game
they were asked whether they wanted to be paid per lines of code or a fixed amount
when they saw the existing code, it was clear the previous devs were paid per line - everything was streched out between multiple lines as much and as often as possible
Certified yanderedev moment
sorry
get a wired backup pair? that's what I did
average snob product actually just being terrible π
it's the BT module
I mean a lot of things with Bluetooth like that are a little dodgy.
And you can get really good Senns
https://discordapp.com/channels/267624335836053506/267624335836053506/1205563016691847259 i blame bootcamps and "get rich quick" influencers
Blame the human spirit.
@young shoal doesnβt seem worth engaging in that discussion, imo. Likely an alt, if I were to guess
disagree. english actually englishes
Yah, thatβs where I wasnβt sure, i just mean more that itβs a ridiculous take, even if not alt, canβt be serious
account was also in the server for a while
if it's an alt that's a lot of dedication and patience
it's ok, class is boring
https://discordapp.com/channels/267624335836053506/470889390588035082/1204412453962784868 i refuse to believe they're 29 and acting like this https://discordapp.com/channels/267624335836053506/470889390588035082/1205592757372977172
You don't ditch school when class is boring?
That's what I did and look at me now! :P
boring doesn't mean I don't have to learn it
Are you really learning it though?
of course
o.o
Discord: https://discord.gg/JDEBC7H
Nature finds a way. A colony of Australian black house ants decided a Sega Dreamcast controller was the perfect place to create a thriving nest!
Npe
No
Ye i have lte
bruh, aws is serious about its js runtime 
not very useful tbh....
after some searching what Iam locking about is "Semantic token provider"
also called as "Semantic Highligting"
for some reason (sadly) it requirs typescript
What is it you're trying to do?
creating an extenten for my programming language
my problem is... i dont even know where to put the typescript file xD
yes
i created this
but the problem as you see in line 9 for example "result" and "num" is not colered
I found this: https://www.youtube.com/watch?v=5msZv-nKebI
Today, I will show you how to create custom syntax highlighting for your own programming language which is not detected by Visual Studio Code. I will point you to the correct tool (Yeoman Generator) which help you out.
#syntaxhighlighting
#vscode
#softwarecodingtutorials
I haven't watched it so I don't know how helpful it will be.
ok let me check it
I don't use vs code.
what do you use then
nano
python ide ?
vim
ok
Notepad++
its not useful tbh
I used Notepad++ a bit a long time ago. It's probably changed a lot.
What are you trying to do specifically?
.
.
tring to color the defined thing outside the definition line
Right, are you trying to learn how to define keywords to be highlighted or have you already done that but don't know where to put the configuration or what is it you're trying to do?
see i defined the keywords to be highlighted but for an example when i use the keyword "var" then the word after it should be colored and this is what happen but when i try to use this variable again it is not colored
https://www.youtube.com/watch?v=5fIq05lxatI check this video here.. this is exacly what i am tring to do
Today's VS Code tip: semantic highlighting
Semantic highlighting lets VS Code use language smarts to color your code. This can help you identify at a glance if a property is readonly, or if a reference points to a value vs a function.
That link that l3viathan gave you has a section on semantic highlighting.
Is that not sufficient?
It seems fairly thorough.
MS documentation is usually fairly good fwiw.
do you mean this link ?
what is fwiw ?
also MS ?
for what it's worth, Microsoft
That's what I see
on the left, under syntax highlight guide there is semantic highlight guide
no its not a guide.....
it sais what does it do
https://code.visualstudio.com/api/language-extensions/semantic-highlight-guide but this... this is a guide
that is REALY complicated
What you want to do is complicated.
yes
That is exactly what it links to when you click on the semantic highlight guide
oh. when you said "no its not a guide" I thought that's what you were referring to
i thogh you meant the text itself
also i just realized that rn
that will take lot of time to make
I womder if I can use any of these APIs to make.it so that my editor turns the keyword true into adachi
this image basically
<@&831776746206265384> normally i wouldn't ping u for this
but i dont want this to keep happening so
Could you use @polar knoll instead? Presumably this is occuring in DMs?
well i would use it normally
i just dont want him to continue doing it
he said in the group that he made a website
sent me link in private
Same !
You should DM ModMail
alright i will next time
No mate everything is okay. Ty !
just wanted to flood it up in here
np
Don't bring drama here if it isn't necessary. If you have a moderation concern, then DM Modmail
I think they want you to do so now
for this report
alright
pretty sure its not the case
If you want moderators to handle it, DM ModMail
yea he meant for this report to report it also to modmail
i'm pretty sure its not needed anymore
but next time i will, sure
anyhow i'll be back to python discussion
Kat's message implies they didn't handle it because it wasn't sent to the mod mail
i'm pretty sure he talks about next times
I am talking about now.
heading to gym
wooo
@vale raven this is it: https://github.com/Fiddle-N/material-incognito-dark-theme
Basically just a JSON file though
In terms of like to effort ratio, this was pretty high up there
@vale raven Oops. You might get a giggle out of this one.
https://github.com/Preocts/python-src-template/issues/151
Oops
Me: Why the heck is my venv breaking all the time!?
Also me: oh....
@manic coral lol, they left the server π€£
What the...
Yup?
Oh yeah thatβs what you get when you have Right-To-Left text inside Left-To-Right text
A mess :)
average discord
Do you write right to left often π€¨
Porque?
What's it like having multiple tongues?
how do they fit
Maybe it's like a tongue extension
Stacked tongues
DI tongue?
Maybe it's like that isopod that replaces a fish tongue
@glossy niche Do you have an isopod for a tongue?
ich spreche kein Turkisch 
Have you seen the video of isopods attacking a shark?
Based trigun meme
one day I'll finish that show
In the pitch darkness of the deep sea, all manner of monstrosities lurkΒ β including giant, shark-eating isopods. From the demonic anglerfish to the hellish vampire squid, the sea creatures of the abyss have evolved to fuel nightmares, and the giant isopod (Bathynomus giganteus) is no exception. Dwelling between 500 and 7000 feet below the surfac...

Let's all go down to the deep.
OK that's way more giant than I remember lmao
or this is one small shark
longest confirmed was ~20 inches
What about girth
cuddly
They're meaty.
I wonder what they taste like.
Probably not good because they feed on anything.
Pigs eat trash and yet theyre so yummy
pigs don't eat trash
You dont know my diet
source?
The logical implications of that statement are not anything I wish to investigate.
Pork is the shittest meat
Most other meats taste better
Im you
i like the kenthusiasm
look at this dumbass
Snep
"where you go i go.."
anyone know of a nicer way to prove that for any integer k and a function f with the property that f(x)=f(x+Ο), we have that
without separating into different cases for negative and positive k
yeah
proof:
- just trust me bro
QED
proof by knowledge handed down from on high
i was planning on just replacing it in the working because it is kinda trivial
but having to split into negative and positive is just nontrivial enough that i was a bit iffied about it
like i know to do that now, but maybe later on i forget or something
whats the source of the problem?
just writing up a decently rigorous proof of this
if tau is a real integer, then easiest proof coming to mind is to split the integral into intervals from 0 to tau + tau to 2tau + ... + (k-1)tau to k \cdot tau
er then use u-sub to make the bounds same for all the integrals
i'm implicitly already doing that
the issue i'm asking about is that that method doesn't work if k is negative
because you end up having to invert the integrals, but the identity still holds because it's negative
i'm asking if there's a better way to do it that doesn't involve separating into k positive and k negative
oh concise solution lemme thing
will direct u-sub yields f(1/k)lnk dk = k f(t) dt with integral with bounds 0 and tau on both sides help
stickie
@crystal spruce
nevermind k is the constant π₯΄
have u tried kings theorem
@crystal spruce
π
So the song doesn't have lyrics as such, but if it did have they would be 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111
Alright, well I'm looking forward for the complete song! π₯ π₯
Sounds good so far
here is what I have
Sounds like a lot of bits^^