#voice-chat-text-0
1 messages · Page 358 of 1
tonte, tomte, tonttu etc
"One smart fellow, he felt smart"
alv
älv
joki
Gordon Shumway
how did we get from good retro games to this conversations
It's all in your imagination , like this room and everything else , its actually a simulation inside a crystal sugar cube on a aliens desk
I honestly just want to see AF play minesweeper more hehe.
Makes me feel like windows vista.
I saw cat eater gif I can't unsee it now
have you seen how the arena gameplay looks like?
Arena, I don't think so?
cuda
gouda
cheese wedge hats
well that was an uninteresting arena
oh, a funny one now
I enjoyed watching it.
@rugged root you can see now what cursed arenas look like
Now I get how you reply so fast.
random colours + 100% efficiency
the most exhausting one to get with random colours is no flags
You were doing great, I had to switch back to fix sth in my tester.
whuh
You would peep I guess?
basically it's a NG
but
you can get stuck
and when do truly need to guess
you ask the magic button
Not gonna lie, I'm tempted to make my quantum chess just to see you make it your promiscuous gal.
Me today: In a superposition of continuing to code and erasing my codebase.
can i steam
Sure, just close the window before you do.
time for sleep see you guys 🥱
AF, I just noticed we've been in the VC for 12 hours straight hehe.
(I woke up later than 12 hours ago)
I joined vc from 2 (I woke up at 12-ish), and I could swear you were here from the time I was.
It's 2 am now.
well at least this mode functions
most of the time guesses required and guesses allowed do align
Do you like the mechanic of it?
it's somewhere in the middle between standard and NG
adds the necessity to realise you're stuck to NG
but, compared to standard, order of guesses is different
in standard, you must guess as early as possible
if you know you can't go further without guessing
whereas in the new thing, clearing out as far as possible first is the right way
steamer
I'm gonna go sleep, I feel my skin burning.
Tomorrow's A.C.E is gonna be pissed when he finds out how little I did today.
Good thing I'll cease to exist once he wakes up.
Cya!
yay spiders
Please go see the doctor
def programmer_life():
while True:
code()
eat()
sleep()
if is_weekend():
break
try:
social_life()
except NameError:
programmer_life()
early return condition should come first
I waited ~2 hours for a device to come out of OOM situation
not a happy time
especially at 1 a.m.
hi
lol
Been there, nothing done. I just have to fix my sleep schedule to get some of the brain function back hehe.
I wasn't this slow before.
why i can't open my mic in the voice chat?
!voice
I'm...okay?
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
You are?
I am a quantum state.
I'll measure you, one sec...
(√2/2)|okay⟩+(√2/2)|meh⟩
@tranquil violet@drifting abyss👋
hi
hello
@torn yarrow👋
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Drat.
hi, thaks for info!
@sharp horizon@inland creek👋
still working on one, i'll share it soon
yep?
What approaches are you using?
@whole bear 👋
@whole bear Then rest it. Type.
I do have those, sometimes.
Hey @wind raptor 😊
just wanted to see how everyones doing
I should get back to top 500 on minesweeper.online
relatively close to that
@wind raptor iirc after first move, there do exist rules restrictions on that type of analysis
You would do this research before a game
yes
not during... during is called cheating
regardless of whether it's analysis of the position or just looking at the opponent's detailed stats
I should add post-game analysis to CCMS
Kaggle
except that no one is playing it anymore
Practical data skills you can apply immediately: that's what you'll learn in these no-cost courses. They're the fastest (and most fun) way to become a data scientist or improve your current skills.
@upper basin wouldn't that be a semi-lattice/DAG not a tree?
(if you ever allow multiple subsequent steps to depend on a single one)
It's a DAG yeah.
You can represent circuits as DAGs, but I don't natively, so I don't have a builtin feature for that. Qiskit does, they do pulse -> DAG -> Instruction -> QuantumCircuit iirc.
Mine is just QuantumCircuit.
I accidentally found something relative non-recent
was trying to find if GPUs have any form of pipelining similar to CPUs
@wind raptor have you seen the new record?
top 430 by speed
https://minesweeper.online/game/3753839970
I think I still haven't got any record that's within top 100
closest was something like 138 with a win streak
8 expert games in a row
now that's a top 364 result
the last time I crossed top 500, it wasn't because I did someting, but because the rating system changed
they now include efficiency stats
124% on expert
(min clicks to solve without flags)/(clicks used)
for difficulty, I have the minimal that's enough to get the maximal trophy count
?
100K for 100 trophies
doesn't go higher
difficulty does, reward doesn't
I need to improve arena results
non-trivial
L8 endurance arena is easy but takes time, as the name suggests
@pastel chasm👋
@upper basin Can you help?
With what?
I am installing packages but when I import them they are not working
What error are you getting?
I can show you.
Yep.
see my screen
Thanks
It is deleting I gave it the path
@upper basin Thanks! Working perfectly.
Hello!
it prints the memory address of the object + its class name
@midnight goblet 👋
👋
mute!
@midnight gobletPlz mute yourself
Ok
Thank you
@rugged root
np
if you think their behaviour is beyond appropriate, write to @rapid crown
What project are you guys doing?
thare was somme problme in the voice chat 0 but i think it is over
Making note taking app
so you mean notes?
rn figuring out whether OpenProject is viable
permission settings table takes up 10 pages if saved as pdf*, so that's a lot*
yeah
Ok nice
@small mason 👋
Hi 👋
@agile stream 👋
activities are just disabled
there is no process for giving a permission for those
helper role gives VC perms
so many buttons
sup
in my way to be verifyed x-x
yep
how are u doing ?
niice
im good thx
what ure project about ?
waw thas so cool ^^
nicce
im in highschool i need to make a noughts and crosses
yey
yey noughts and crosses was not as profesionnal as his project he leaved xD
any one else here is alive ?
I'm semi-alive
almost dead ?
more ill than usual
(and yet, still attempting to sing despite throat being in a suboptimal condition)
no self-preservation instinct ✅
Hey there
#include "C:/coding-projects/CPP-Dev/bassil/src/headers/SNBP.h"
#include <algorithm>
#include <stdexcept>
#include <fstream>
#include <limits>
#include <strsafe.h>
#include <windows.h>
#include <iostream>
#include <string>
#include <vector>
#include <sstream>
#include <iomanip>
#include <io.h>
#include <fcntl.h>
#include <wbemidl.h>
#include <string_view>
#include <regex>
#include <shlobj.h>
#pragma comment(lib, "wbemuuid.lib")
#pragma comment(lib, "user32.lib")
#pragma comment(lib, "gdi32.lib")
#pragma comment(lib, "shell32.lib")
Is this to many includes lol?
are all of them used?
you generally need to worry about #includes when you do them multiple time with the same file
its just a big collection of helper functions
it's more of a last-resort duplication prevention mechanism
issue with including multiple ifndefdefineendif headers is that the whole file gets pasted multiple times
which means the file put into the compiler is giant
since ASM is on there,
https://marabos.nl/atomics/
useful even if you work with multithreading in C/C++ not Rust
@plain mica 👋
@whole bear if those libraries come from GitHub too, you can include them via git submodule
so they don't show up as part of your project directly
@solemn orchid 👋
also probably don't store .exes and .dlls directly in Git
those aren't via LFS yet, right?
(I don't remember how to check that via the web interace)
guessing by absence of .gitattributes, they aren't
for others' compiled assets, LFS
for your compiled assets, release attachments, packages and action artifacts
if I understand correctly, there is no "raw" package repository (just a versioned file)
@whole bear there was some stuff bleeding through their mic earlier iirc
you weren't the only one who muted them because of that
@left creek 👋
hey
each time I interact with package manages in wherever, it makes me miss all the stuff that Gitea/Forgejo support
the only one I saw with same/better range of supported packages was artifactory
Im not that good with git
so I would not know what that is
or how to use it
turns out this is a redirect now
https://docs.github.com/submodules
oh Git docs have a funny header
try reloading the site a bit
unlearn singletons until 5 years from now
Java:
if (object::instance().get().format().auto().convert() == instance)
singleton, the pattern, is extremely hard to get right if you ever hope to keep the project extensible and maintainable;
so don't resort to just using it for a "checkmark" of using patterns, explore different uses of it instead, especially in terms of whether those uses are even correct/adequate to begin with
https://en.wikipedia.org/wiki/Cramer's_rule
This has been one of the best things I learnt when it comes to liner algebra
In linear algebra, Cramer's rule is an explicit formula for the solution of a system of linear equations with as many equations as unknowns, valid whenever the system has a unique solution. It expresses the solution in terms of the determinants of the (square) coefficient matrix and of matrices obtained from it by replacing one column by the col...
some languages provide support for similar access pattern without restriction on uniqueness
https://en.cppreference.com/w/cpp/keyword/thread_local
https://docs.python.org/3/library/contextvars.html
@vocal basin I sent a dm
I've read it
lol
lol
!paste
If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.
do we really need to post that clip again
do we really
well I guess a gif
@loud tapir this channel
You can't stream until you get permission from moderator or admin (you can ask when they are in vc)
hi
@loud tapir
taken_time = models.TimeField(auto_now=True,null=True)
developer very much needs to participate in those discussions;
full top-down approach does not work
PMs can't take that much of developers' responsibilities and knowledge
so for the ORM, right?
@calm smelt speaking of Rust, are you aware of ruchei crate?
https://docs.rs/ruchei
Utilities for working with many streams
Excel does not support datetimes with timezones. Please ensure that datetimes are timezone unaware before writing to Excel.
how are you exporting it to Excel?
panda
data = LogsC.objects.all().values()
df = pd.DataFrame(data)
# Create an HTTP response with the Excel file
response = HttpResponse(content_type='application/vnd.openxmlformats-officedocument.spreadsheetml.sheet')
response['Content-Disposition'] = 'attachment; filename="your_model_data.xlsx"'
# Write the DataFrame to the response
df.to_excel(response, index=False, engine='openpyxl')
return response
yes the datie timeone
unrelated to django
!code
df = pd.DataFrame(data)
# Create an HTTP response with the Excel file
response = HttpResponse(content_type='application/vnd.openxmlformats-officedocument.spreadsheetml.sheet')
response['Content-Disposition'] = 'attachment; filename="your_model_data.xlsx"'
# Write the DataFrame to the response
df.to_excel(response, index=False, engine='openpyxl')
return response ```
data = LogsC.objects.all().values()
df = pd.DataFrame(data)
# Create an HTTP response with the Excel file
response = HttpResponse(content_type='application/vnd.openxmlformats-officedocument.spreadsheetml.sheet')
response['Content-Disposition'] = 'attachment; filename="your_model_data.xlsx"'
# Write the DataFrame to the response
df.to_excel(response, index=False, engine='openpyxl')
return response
data = LogsC.objects.all().values()
df = pd.DataFrame(data)
# Create an HTTP response with the Excel file
response = HttpResponse(content_type='application/vnd.openxmlformats-officedocument.spreadsheetml.sheet')
response['Content-Disposition'] = 'attachment; filename="your_model_data.xlsx"'
# Write the DataFrame to the response
df.to_excel(response, index=False, engine='openpyxl')
return response
step 1: do you know what the problematic column is called?
@vocal basin yes
what is its type currently?
a string acquired from datetime?
or datetime directly?
@calm smelt jhin
datetime ```
do you know how to format a singular date to the format you need?
!d datetime.datetime.strftime
datetime.strftime(format)```
Return a string representing the date and time, controlled by an explicit format string. See also [strftime() and strptime() Behavior](https://docs.python.org/3/library/datetime.html#strftime-strptime-behavior) and [`datetime.isoformat()`](https://docs.python.org/3/library/datetime.html#datetime.datetime.isoformat).
and then use this to modify the column
https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.apply.html
@calm smelt I might've missed the answer
(if you answered)
provide a lambda function that calls strftime on its argument to apply method call
although
hmm
you'll still need to index/assign afterwards
data[taken_time]
df["taken_time"] = df["taken_time"].apply(lambda dt: dt.strftime("your format goes here"))
(I don't know what format you need)
any thing that excel accepts
it's also odd that you don't get proper xslx there from datetime
how strftime works is listed here:
https://docs.python.org/3/library/datetime.html#strftime-strptime-behavior
'datetime.time' object has no attribute 'strptime'
ah, so it's just time you have there
oh yeah
does dt.isoformat() works well enough or still getting a timezone suffix?
or do you need to shift it to a specific timezone?
I miswrote, I meant strftime
strftime for formatting
strptime for parsing
we got back to the first problem
Excel does not support datetimes with timezones. Please ensure that datetimes are timezone unaware before writing to Excel.
in django debug
okay
if can sharemy screan somewhere
you might have more columns that are datetimes/times
there is 2
yeah, you need to adjust both
also
another way might be to convert them to naïve time
for now, try with text, and if that works, then try removing tzinfo
df["return_time"] = df["return_time"].apply(lambda dt: dt.strftime("your format goes here")) ```
'NoneType' object has no attribute 'strftime'
dt and dt.strftime("...")
what should i type in this ?
lambda dt: dt and dt.strftime("your format goes here")
this ensures it stays None if it's None
df["taken_time"] = df["taken_time"].apply(lambda dt: dt and dt.replace(tzinfo=None))
df["return_time"] = df["return_time"].apply(lambda dt: dt and dt.replace(tzinfo=None))
^ this should erase timezone information
Excel does not support datetimes with timezones. Please ensure that datetimes are timezone unaware before writing to Excel.
print(df.dtypes)
ensure there is no other datetime/time column
there allegedly is a shorthand for the same action we did:
df["taken_time"] = df["taken_time"].tz_localize(None)
df["return_time"] = df["return_time"].tz_localize(None)
idk if it works for nullable
it might
id Logs_car_ins_id Logs_employee_ins_id created_at taken_date taken_time return_date return_time ended_at carIsInUse carNote
0 54 968 2707 2024-09-20 14:40:38.432726+00:00 2024-09-20 19:06:19.068775 None None 2024-09-20 14:40:38.428727+00:00 False
1 55 968 2701 2024-09-20 14:44:56.829885+00:00 2024-09-20 19:06:19.068775 None None 2024-09-20 14:44:56.824067+00:00 False
2 56 968 2701 2024-09-20 14:58:36.131985+00:00 2024-09-20 19:06:19.068775 None None 2024-09-20 14:58:36.113784+00:00 False ```
Making your own JSON Database | Autonise | Django
you need to do the same action to created_at too
What's up
df["created_at"] = df["created_at"].tz_localize(None)
df["taken_time"] = df["taken_time"].tz_localize(None)
df["return_time"] = df["return_time"].tz_localize(None)
It's weekend take a break
it's Friday ¯_(ツ)_/¯
index is not a valid DatetimeIndex or PeriodIndex
on df["created_at"].tz_localize(None)?
yes
ther is ended at aswell its a datetime field
ended_at = models.DateTimeField(null=True, blank=True)
py ended_at = models.DateTimeField(null=True, blank=True)
ended_at = models.DateTimeField(null=True, blank=True) .py
back to lambda approach, does this one work?
df["created_at"] = df["created_at"].apply(lambda dt: dt and dt.replace(tzinfo=None))
df["taken_time"] = df["taken_time"].apply(lambda dt: dt and dt.replace(tzinfo=None))
df["return_time"] = df["return_time"].apply(lambda dt: dt and dt.replace(tzinfo=None))
df["ended_at"] = df["ended_at"].apply(lambda dt: dt and dt.replace(tzinfo=None))
ended_at = models.DateTimeField(null=True, blank=True)
for code highlight:
```py
# code here
```
# df["created_at"] = df["created_at"].apply(lambda dt: dt and dt.replace(tzinfo=None))
df["taken_time"] = df["taken_time"].apply(lambda dt: dt and dt.replace(tzinfo=None))
df["return_time"] = df["return_time"].apply(lambda dt: dt and dt.replace(tzinfo=None))
df["ended_at"] = df["ended_at"].apply(lambda dt: dt and dt.replace(tzinfo=None))
for all dates and times or only some?
(remove space before py to get text highlighting)
Excel might be expecting a different date format
e.g. because of locale
df["created_at"] = df["created_at"].apply(lambda dt: dt and dt.replace(tzinfo=None))
df["taken_time"] = df["taken_time"].apply(lambda dt: dt and dt.replace(tzinfo=None))
df["return_time"] = df["return_time"].apply(lambda dt: dt and dt.replace(tzinfo=None))
df["ended_at"] = df["ended_at"].apply(lambda dt: dt and dt.replace(tzinfo=None))
and remove space after py
#df["created_at"] = df["created_at"].apply(lambda dt: dt and dt.replace(tzinfo=None))
df["taken_time"] = df["taken_time"].apply(lambda dt: dt and dt.replace(tzinfo=None))
df["return_time"] = df["return_time"].apply(lambda dt: dt and dt.replace(tzinfo=None))
df["ended_at"] = df["ended_at"].apply(lambda dt: dt and dt.replace(tzinfo=None))
yes
df["created_at"] = df["created_at"].apply(lambda dt: dt and dt.replace(tzinfo=None))
df["taken_time"] = df["taken_time"].apply(lambda dt: dt and dt.replace(tzinfo=None))
df["return_time"] = df["return_time"].apply(lambda dt: dt and dt.replace(tzinfo=None))
df["ended_at"] = df["ended_at"].apply(lambda dt: dt and dt.replace(tzinfo=None))
for some reason discord can't take if there's any extra space after ```
here we don't take payment for help
see rule 9
@vocal basin do you have paypal
!rule 9
What
helping is voluntary and I don't take any money from abroad
its a free playground..
I have to deal with time zone issues at work too, but we haven't yet integrated pandas widely
also having time data across four separate languages adds to the confusion
especially thanks to JS
dump the dataframe to a dict, and run an algo on it to correct and adjust timezones.. would be my approach
you can .apply the function directly to columns like above
without resorting to dicts and in-python loops
i deal with many formarts, helps to be able to idenify then.. sometimes i need extra proccessing.. ie if its linux time vs utc.. etc..
The IBM Series/1 is a 16-bit minicomputer, introduced in 1976, that in many respects competed with other minicomputers of the time, such as the PDP-11 from Digital Equipment Corporation and similar offerings from Data General and HP. The Series/1 was typically used to control and operate external electro-mechanical components while also allowin...
hey ya
Electricity is the set of physical phenomena associated with the presence and motion of matter possessing an electric charge. Electricity is related to magnetism, both being part of the phenomenon of electromagnetism, as described by Maxwell's equations. Common phenomena are related to electricity, including lightning, static electricity, electr...
@grim hatch 👋
what's this
LMFAO
what video!
I'm a bit surprised the template and category for IBM minicomputers doesn't have template/category for IBM mainframes adjacent enough
:D
yaaaaay!
:3
I probably remade the picker mentioned in the video a couple of times since then
my current one is
🔔
is it your channel
yep!
oooooh cool
@calm smelt deafening implies muting unless you're server-deafened
i'll sub
the graphic that appears in every damn yt video in the bottom right
yeah :D 💛🩷
💜
blue and red hearts are better
purple heart is classic
🖤 -- deals damage on destruction, quite useful
used to use that one before I realized I was trans
♥️❤️🧡💛🤎🩷💜💙🩵🩶🤍
I love this reference
to possibly nothing, but it feels so correct
trying to remember if the game had more than four in total
you haven't joined RPLCS?
the other Rust server
I'll tell you more
I left the main one
people there are too smart
the server felt very dry
Please don't spam to get <@&764802720779337729> and read #voice-verification
"hmm...
I shall pick a sticker that will convince you to join RPLCS..."
nah i am a shy person, i won't even open my mic even if i get verified lol
:3
thats's how i actually write btw to become cool lol

also whale
!e
print(chr(sum(range(ord(min(str(not())))))))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
ඞ
woah wtf
truly incredible
is it noting an empty expression?
!e
print(type(()))
print(bool(()))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | <class 'tuple'>
002 | False
looks better in VSC
!e
dbg = lambda x: (print(x), x)[1]
dbg(chr(dbg(sum(dbg(range(dbg(ord(dbg(min(dbg(str(dbg(not dbg(()))))))))))))))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | ()
002 | True
003 | True
004 | T
005 | 84
006 | range(0, 84)
007 | 3486
008 | ඞ
we have reached Lisp levels of parenthesising
my god
yeah
@whole bear type() fails
and so does my brain
"1 or 3 arguments" refers to constructing either from a value or from members
the highlighting for it in helix is also simple by default
they misspelled vscode
range and str are classes that's why they stand out
btw, a lot of generator-like functions in itertools are classes too
ohhhhhhh
vsc
but
they typed in VSA first
there's also another category of highlight
I also got confused about that
2 times
that category is builtin funtion/class
wonderful rainbow
I feel that @whole bear
yeah makes sense
I still am planning to learn more about treesitter
Yep looks nice!
which some IDEs highlight as same
so that I could, obviously, sit on trees better
and configure highlighting for everything
I like git status -s a lot
🤯
that is a lot
for a single commit
my 4 hours of progress is way less lines
so it's wowie
I need to get used to making intermediary commits and then rebasing them to squash
yes @whole bear
you are audible
and satoshi is not
so that I can still have nice history points
without them making no sense in the final commit history that I push
especially easy to do now in lazygit, which I started using recently
that's epic
love that
do you know about hyfetch!!
it's endeavor os!
DAMM I HATE WINDOWS
hyfetch is basically exactly like neofetch, but you can choose the gay that you want
mac address? windows address when 🤓
if you ever have IPv6 enabled on windows -- that you should never post
current security state of it is:
disable. now.
ip was so good they made fucking six
@whole bear
https://conan.io/
Conan is an open source, decentralized and multi-platform package manager for C and C++ that allows you to create and share all your native binaries.
only because Forgejo supports it
yeah it seems like a project to be made for fun
and so does Codeberg, I'd expect
I wrote my own tool for installing Rust tools I compile
nice :D
for now only x86-64 but I will support aarch64 later
won't be that hard since I'm already using Zig for cross
compiling from glibc system to musl target
semi-trans :D
(can't LLVM and others skip the ASM step and go directly to machine code?)
yesss :D
I love finn
@whole bear I'm sussed out too
@calm smelt just like with Rust, there is no original idea behind Zig that translates perfectly to its modern use
@whole bear lmaoooooooooooooooo
Hi @vocal basin 👋
How are you?
:3
gyat
he is so hot I love her
chest gyat
"his pronouns are she/her!"
and that!!
HardwareInfo getProcessorInfo(WMIService& wmi) {
HardwareInfo info;
info.category = L"Processor Information";
auto results = wmi.executeQuery(L"SELECT * FROM Win32_Processor");
for (auto obj : results) {
info.properties.emplace_back(L"Name", WMIService::getPropertyValue(obj, L"Name"));
info.properties.emplace_back(L"Manufacturer", WMIService::getPropertyValue(obj, L"Manufacturer"));
info.properties.emplace_back(L"Max Clock Speed", WMIService::getPropertyValue(obj, L"MaxClockSpeed") + L" MHz");
info.properties.emplace_back(L"Number of Cores", WMIService::getPropertyValue(obj, L"NumberOfCores"));
info.properties.emplace_back(L"Number of Logical Processors", WMIService::getPropertyValue(obj, L"NumberOfLogicalProcessors"));
}
for (auto obj : results) obj->Release();
return info;
}
spot the error
remember TenMouse?
no 🥺
he donated over 300,000 $ to finn over like 3 years
open window: someone outside can hear
closed window: the echo is deafening me
there is no optimal variant
Announcing the "Abstract" language.
A new language that will make it useless to learn any other language.
A language for both software and hardware engineers.
A language that will work for building high-performance software, web apps, scripting, meta programming, concurrent and parallel programming, digital hardware description, analog behav...
std::vector<IWbemClassObject*> executeQuery(const wchar_t* query) {
std::vector<IWbemClassObject*> results;
IEnumWbemClassObject* pEnumerator = NULL;
HRESULT hres = pSvc->ExecQuery(bstr_t("WQL"), bstr_t(query),
WBEM_FLAG_FORWARD_ONLY | WBEM_FLAG_RETURN_IMMEDIATELY,
NULL, &pEnumerator);
if (FAILED(hres)) return results;
IWbemClassObject* pclsObj = NULL;
ULONG uReturn = 0;
while (pEnumerator) {
hres = pEnumerator->Next(WBEM_INFINITE, 1, &pclsObj, &uReturn);
if (0 == uReturn) break;
results.push_back(pclsObj);
}
pEnumerator->Release();
return results;
}
static std::wstring getPropertyValue(IWbemClassObject* obj, const wchar_t* property) {
VARIANT vtProp;
HRESULT hr = obj->Get(property, 0, &vtProp, 0, 0);
if (SUCCEEDED(hr) && vtProp.vt == VT_BSTR) {
std::wstring result = vtProp.bstrVal;
VariantClear(&vtProp);
return result;
}
VariantClear(&vtProp);
return L"N/A";
}
};
@calm smelt this one might be easier to know creation history of, and ideas behind
https://docs.rs/metatrait
API documentation for the Rust metatrait crate.
amazing
so grateful to past me for putting the safechecks in
Java and JavaScript both have CPU design targeting them
What do you mean?
ARM going further and further away from RISC
woah! wth
okay what we're currently hearing is literally nothing
it's just not signal/noise ratio at this point, it's noise/noise ratio
@surreal wyvern ARMv8 and earlier
starting with 8.1 there's been some things
e.g. 8.1 introduced special operations for atomic which cover some cases x86 don't
the main thing about RISC-V is open-sourcedness
not RISCness
RISC is a loose term describing many architectures
ARM, especially earlier versions definitively fall into the category of RISC
@calm smelt do you know what's the term opposite to RISC?
@surreal wyvern RISC takes less on average
for same compute, it's considered more efficient
can we at least ffs stop mixing up RISC and RISC-V
RISC is a category
RISC-V is a specific architecture
Total cost of ownership vs total cost of operating vs both.
for minimal compatibility and maximal efficiency -- ASIC
for open-source architecture -- RISC-V
Compared to risc arm is more energy efficient
ARM IS RISC FFS
for okay compatibility and good efficiency -- ARM
for maximnal compatibility and good performance -- x86-64
you meant RISC-V
compared to CISC, RISC is more energy efficient
RISC-V and ARM are both RISC
most RISC-V systems currently cannot achieve performance of what we commonly think of "normal" ARM or x86-64 CPU
RISC stands for `reduced instruction set computer'
it is not a specific architecture
ARMv8 is more RISC than ARMv8.1 is
RISC is just a classification label
x86-64 is an architecture
RISC-V is an architecture
ARMv8 is an architecture
ARMv8.1 is an architecture
x86-64 is CISC
RISC-V is RISC
ARMv8 is RISC
ARMv8.1 is RISC
arm is both the name of the company.. and the cpu architecture they use. CPUs built using this architecture are in 90%+ mobiles
Arm offers top processor IP for AI, ML, and all device types, from IoT to supercomputers, & addresses performance, power, and cost with a broad core range.
just like how "bad architecture" is not a specific architecture, RISC is not a specific architecture
@vocal basin saying 'cpu architecture' rather then 'architecture' would be more intuitive
maybe
Can the world's fastest Arm desktop handle gaming? And before that, can it even install Windows?
See my first video on this desktop here: https://www.youtube.com/watch?v=wl5H5rT87JE
Adlink/Ampere did not pay for this video or sponsor it in any way, and had no input into the content of the video. They did, however, supply the hardware under tes...
long story short:
PC/Laptops have CPUs that run on Intel's and AMD's architectures .. the main problem with which is cost (charged as royalty) and transparency (closed/proprietary source code)
Mobiles/Small Devices use ARM's architecture based cpus.. which are more energy efficient, and more transparent then Intel/AMD
But its still is not enough for a world where people really care about 'Freedom, Justice & Equality'
Hence many people are working on making RISC-V based CPUs available in near future (it takes time)
there is a LOT more architectures in RISC category not shown there
The Mars CM is neat. But is it an adequate replacement for the Raspberry Pi CM4?
Links:
- Mars CM: https://milkv.io/mars-cm
- ARACE store: https://arace.tech/products/milk-v-mars-cm
- Mars CM test data: https://github.com/geerlingguy/sbc-reviews/issues/22
- StarFive VisionFive 2 review: https://www.jeffgeerling.com/blog/2023/risc-v-bus...
there were RISC-I, RISC-II, RISC-III* and RISC-IV* prior to RISC-V
* not primary names
rp2350 going dual-architecture is quite an unusual move but ig makes sense to still keep the compatibility
@surreal wyvern what OS?
In windows in my python application I want to see microphone state if an app is using microphone.
almost no accent for both
I probably have a worse pronunciation of the language then either of you two lmao
poiseimai what is religion
@vocal basin would appreciate your help on this .
I've tried to look through the API, couldn't find what you were looking for
except for hooking into events
that might be useful
there are connect and disconnect events, and they seem to be associated with sessions not devices
Is using microphone is a session or only playing audio
depends on the device I'd expect
uh wait there is no connect callback
okay this seems completely unrelated
I have no idea how to actually hook into whether other apps are using the audio
huuh arabic
looks like wmi will tespond with a stateful as active
@vocal basin How many years of expertise in prog
what do you count as expertise?
experience
I've been using Python since 2017
Rust -- since 2022
there was also some Pascal
in 2006~2017
Pascal is used for teaching Pascal
non-extended Pascal is a dead language, almost everyone moved one to OOP variants of it
same for BASIC
I've never taught programming professionally
back then, it was just occasiona use of the language rather than anything systematic
I include it just for reference of when I got into programming
I only really consider 2017 and beyond
Oh. So, ~10 yrs
started using C# a week before Python
stopped in 2022
I don't teach professionally but I do write code at a more or less proper job
You were moving and answering all topics like a pro
at work, mostly Rust+TypeScript(+React) and some occasional Python/C/C++
From Django to electronics
I have to deal with CPU architecture nuances because both Python and C++ live very closely to C and ASM
also all that in the context of threading
in Python, that is dealt with by GIL (i.e. you don't get to use threading)
in C++, you actually need to worry about atomicity of operations
which is something that works differently across CPUs
thankfully Python and Rust just hide that all behind mostly safe abstractions
I haven't worked with Django directly; most of my knowledge comes from documentation and helping other people
for ORMs I only used SQLAlchemy and whatever ASP.NET use (I think that was an ORM? not sure)
my bad i must go
Helping without information? Or Collab Projects
people sometimes ask Django-related question in #1035199133436354600 or here
and, as with most problem-projects combinations, docs are enough to resolve the issue
its an minecraft launcher in python
for modded mc$
1.16.5 forge
here is a screenshot
@still herald what you describing is quite normal
it's also important for the society to realise that people in that age are still quite vulnerable/easily exploitable
https://www.youtube.com/watch?v=VzdVSMRu16g
Once upon a time, an investor proposed a "college replacement" by gathering up 18 year olds in order to give them money in exchange for future earnings. It was not a particularly thought through take, but it spurred this talk, which is a particularly thought through take. And heart-felt. And poignant.
you should be striving to be more responsible but immature acts and feelings while you're still young aren't something to be ashamed of
some other people may think they can shame you into growing up, but that's really not an optimal approach
this does differ culture-to-culture
personality is personality, it does change (as in be ready that others' personalities may change) but it's hard to change (as in don't be entitled to changing others' personalities)
cult leaders be like
if you do think that changing your behaviour is something you can take on, it's going to be easier to "fix" specific patterns others might be not okay with
e.g. learning not to interrupt others -- that will make it easier to fit in
and at that point that becomes more about the skill of communication rather than "fixing"/changing/whatever yourself
that's at least how I view it
(which is not really important, and I might start thinking of this all in a totally separate way at any point lol)
cult leaders very much tend to prey on the exact opposite thought of bettering oneself
what JSON
where JSON
I only heard JSON
I'm listening to deathcore at high volume so I you're lucky I even heard that part of the question
@whole bear testing in prod isn't as cursed as doing all the development in prod via Vim
im doing it SSH-ed in to prod server using vim
🙂
I often have multiple layers of SSH
via tunneling
just because the target machine isn't directly reachable
I think I work at a startup
I don't really know
I'm back
(was away)
did youmajor in something else, or are you just naturally talented?
Natural talent it is I see XD
.
working at a job, making open source projects
yes
Rust and React
my part is related to infrastructure software mostly
(programs that control other programs)
company as a whole does many things related to computer vision
not for now; not until it's out of semi-startup status
most of GitHub repositories I have in this organisation
https://github.com/orgs/parrrate/repositories
there are some forks there
oh wait
I found how to filter
^this
two of these are running in production as is
ruchei and ruw
this is the important one
https://github.com/parrrate/ruchei
it's a library
and it can work with more than just websockets
it just so happens that most tests use websockets for convenience
I try to avoid using TCP/UDP directly if I control both ends of the communication
Hold up I need to get in on this convo
if you're dealing with messages over TCP, use ZeroMQ instead
(or whatever else, including MQTT)
TCP is responsible for error-correction
ZeroMQ is responsible for framing and reconnection
as for socket-level interaction, there are some protocols other than TCP/UDP which might be useful
for example, TIPC
(does not work Windows as far as I know)
has clustering and load balancing built-in
TIPC is around that old
it's been in the kernel for a long time
and ZeroMQ is quite old too
the default AMQP protocol (0-9-1) is 2008
ZeroMQ can run on top of that (although with limited functionality) and some more protocols
NORM, (E)PGM are there too
I've read all of ZeroMQ documentation, and these protocols were there
oh, and also VMCI, forgot that one
iirc that's a VMware thing
namespace protocol_name
{
static const char inproc[] = "inproc";
static const char tcp[] = "tcp";
static const char udp[] = "udp";
#ifdef ZMQ_HAVE_OPENPGM
static const char pgm[] = "pgm";
static const char epgm[] = "epgm";
#endif
#ifdef ZMQ_HAVE_NORM
static const char norm[] = "norm";
#endif
#ifdef ZMQ_HAVE_WS
static const char ws[] = "ws";
#endif
#ifdef ZMQ_HAVE_WSS
static const char wss[] = "wss";
#endif
#if defined ZMQ_HAVE_IPC
static const char ipc[] = "ipc";
#endif
#if defined ZMQ_HAVE_TIPC
static const char tipc[] = "tipc";
#endif
#if defined ZMQ_HAVE_VMCI
static const char vmci[] = "vmci";
#endif
}
wss:// might be somewhat difficult to run since it requires certificate chains set up
those both are for multicast
this thing is used there as a dependency
we haven't integrated ZeroMQ yet
I think my software can run over ZeroMQ if configured correctly
most protocols don't actually care if it's TCP specifically
that's how TLS/SSL can be put as a "middleware"
wrapping stream as a different stream
unix sockets are stream sockets too
similar to TCP but not TCP
the whole streams thing is to implement request-reply and publish-subscribe patterns
for communication between programs
there's another project I have that uses ruchei
and there the other side of the connection is a browser
I can't elaborate too far because at some point it's patent-adjacent
specifically implementation of syncing across tabs/windows/devices for this game
https://ccms.parrrate.ru/
and also reconnect
Russia
chess clock minesweeper
it syncs across tabs
I've opened a second tab
and it shows the same thing
except flags, those aren't synced because they aren't sent to the server
it halves the time on each mine
also premoves are allowed
I don't know
I don't really do much except for programming
probably singing is the biggest thing
well, given the style, wouldn't really sound like a princess
instead of regular whatever princess story birds, it's hawks and vultures
hard rock vocals are relatively mild compared to what deathcore has
in my case it was a university not a college
specifically:
There has been drama around Rust in Linux since the very beginning, but this recently came to a head with a situation where one of the major contributors to rust for linux decided to retire from the project citing some non technical drama.
==========Support The Channel==========
► Patreon: https://brodierobertson.xyz/patreon
► Paypal: https://b...
there is a total of one song ever released that has me in it
(but, to my knowledge, it's not available worldwide)
ZeroMQ is a brokerless message queue
ZeroMQ is an answer to the complexity of AMQP
ZeroMQ is a communication library abstracting multiple protocols
do you see coding as a job or you enjoy from it?
quite sure I'll be doing programming for a while
no it's not partnered
hasn't been for a while
thats cool ,we can collobrate on some side projects if you enjoy it
@indigo sparrow spamming for verification is moderated separately
plus two weeks
you two can move to the other VC and have each other muted there
but while you're with others, having someone muted and talking can and will lead to you interrupting whoever you muted
None of us can speak yet lol but we like to listen to the high level conversations lol
(is that the proxy?)
yeah proxy
yay memory functioning
.yamling
@green kindle there's a whole certification industry set on making Java hard
well, this is concerning
it's from sccache stats
sccache fails/refuses for cache something for many reasons
crate-type reason means that something isn't a lib crate
hmm
although splitting didn't help
"buy an e10k and host on-prem;
for only a three-four orders of magnitude increase in cost"
Analyze all the things?
@calm smelt just optimise TIPC enough to make it global scale
TIPC due to its clusteredness mostly targets local networks, for interservice communication
neither is Claude going to learn anything out of that
speaking of rick roll
that's what opening my IP via HTTP(S) redirects to
on that note,
be back in ~12 hours
20 years in the making. But what does a Real-Time Linux Kernel mean for most of us? Let's talk about how PREEMPT_RT works, what caused it to take over 20 years to get into mainline Linux, and what it means for the average Linux user.
More from The Lunduke Journal: https://lunduke.com/
https://youtu.be/ni-iNJ-njPo?si=MgFnGid1t_1aXRXA big 🗞️📰
Does anyone know about networking? I need someone to help me to understand what I am to do for a project. Many details.
In this talk given at Netdev 2.1 on the 7th of April, John Maloy describes the details of the architecture and algorithm of the new neighbor monitoring algorithm for TIPC which was introduced in Kernel 4.7.
time to see if that ever impacts vxworks
sup
Hi! How are you doing?
im fine what about you ?
Good
!stream 537775568507240471
✅ @versed parcel can now stream until <t:1726921109:f>.
https://regex101.com @versed parcel
!stream 776004461659160577
✅ @bleak copper can now stream until <t:1726922478:f>.
oh, thanks
It's a great resource to build your regex in and test on the fly
@wind raptor have you seen PM2 before?
https://pm2.io/images/home.gif
I haven't
I'd expect involving JS and many hard-coded values
it stops at 3 rows
then stops being square
they also have big resizable space on the right in the form of graphs
so they can just have fixed size for the grid
!stream 776004461659160577 1h
✅ @bleak copper can now stream until <t:1726927564:f>.
Sounds like an easier use-case than you
e.g. allow for some squeezing of size
before it crosses into 4 rows and so on
this makes me think they don't do any of that and just stop at 3
they absolutely could've fit it in a single row with okay proportions
oh, wait, no, that's not how maths works
hmm
near small row/column count it's difficult
because resizing it in both ways is ugly
as in both reducing and extending width
reducing width is kind of excusable
uh
very non-trivial
!stream 886227712056885309
✅ @sharp idol can now stream until <t:1726924768:f>.
@candid verge 👋
@somber heath Hi
I made it fill up to the end
by sacrificing squaredness
I need a collab to help me debug.
@tulip kiln 👋
I used to have it on Autocode but that went downhill fast
@somber heath hello
@tepid jackal 👋
yo
I have the code mostly finished I just need help debugging Can someone just take a look? Oh crap I don't have voice permissions let alone stream permissions.
@past arch 👋
= RESTART: C:\Users\scale\AppData\Local\Programs\Python\Python312\Deck-of-Many.py
Traceback (most recent call last):
File "C:\Users\scale\AppData\Local\Programs\Python\Python312\Deck-of-Many.py", line 1, in <module>
import discord
File "C:\Users\scale\AppData\Local\Programs\Python\Python312\discord.py", line 1
pip install discord.py
^^^^^^^
SyntaxError: invalid syntax
that error was
Import discord
Import random
Import OS
I did do it in Command prompt
Can someone tell me, what Jeremy is doing currently, i think i get some of the things, but it would cool to know what he is working towards as an end goal
"Discord is not defined"
discord is always in flux.
@whole bear 👋
ah, i can use it when im doing projects with regex in it
Hello @somber heath
@scenic ermine 👋
hi
Howdy
Is there anyone here who could possibly teach me the basics of python coding? I downloaded 3.12.6 version but idk how to use it, it's my first time
There isn't anything specific I would like to learn, but I'm willing to learn anything
@somber heath
@zenith pewter I highly reccomend https://www.youtube.com/watch?v=bY6m6_IIN94
𝙎𝙩𝙖𝙮 𝙞𝙣 𝙩𝙝𝙚 𝙡𝙤𝙤𝙥 𝙄𝙉𝙁𝙄𝙉𝙄𝙏𝙀𝙇𝙔: https://snu.socratica.com/python Python is a clean and powerful programming language. You can use it to build websites, analyze data, write utilities, and create many other kinds of software. In this series we will teach everything you need to know to begin writing your own code in Python.
Start Python Playlist HE...
you guys all use django?
not me
django is more for web application?
@somber heath finally an old name around here i remembet 🙂
i have to see more about, but I want use python for web
so django is what I need?
my stack is js
react node
yes rsrsrsr
PyScript is a platform for Python in the browser.
i know sql but never need use
thankyou
yo whats good
morning, that's close enough on pronounciation lol
actually yes perfect
ye nerd stuff
brazil
I'm in Chicago, currenlty at a coffee shop learning SQL
I think you know where I am from
I've been in this server for a minute, still not sent enough message to voice :x
me neither
I'm in Flatiron bootcamp currently
samee
it's an academy?
Yea basically
Flat iron
Lol I coudl see that 🙂
Trying to get nerd af on a SAturday morning
I've sent less that 50 messages still . lol I'm ded
do you know SQL rodrigo
just a bit
ooo
transposing do you mean?
ooo okey
I've developed a code to automatize data collection for a teacher of mine