#voice-chat-text-0
1 messages ยท Page 300 of 1
I'll go have dinner
Where are you based out of again? Like what country. If you're comfortable saying, of course
Because like I said, I don't know if the NOAA data will be super useful
Bye
It's a bit late for me to be using my brain.
oh
What do you expect to happen?
The mainloop call blocks.
Which is what you want, but it does make the enclosing while loop inappropriate.
the points is getting set to 1 for some reason
huh
wait it works when i remove the root.mainloop()
@stuck furnace have you used sphinx before for generating the doc html pages?
I'm trying to set it up for my dummy project, but having some difficulties.
Could I perhaps ask for some guidance please? If it's ok of course, I'd understand if you're currently occupied.
hmmm
do what?
I haven't, but I might be able to help anyway ๐คทโโ๏ธ
Demo MaxMindโs GeoIP databases by entering up to 25 IP addresses and access
valuable global IP geolocation and network data.
IP geolocation and network data from the creator of GeoIP. Download and host
the data locally to eliminate network latency and per-query charges.
Ok, so I am trying to generate the documentation with sphinx.
Even device data
It has this command
make html
which I don't know where to run.
It gives the cmdlet not found error when I run it in the vscode terminal.
๐ฆป
its free and easy to access
This is an IP geolocation library that enables the user to find the country, region, city, latitude and longitude, ZIP code, time zone, ISP, domain name, area code, weather info, mobile info, elevation, usage type, address type and IAB category from an IP address. It supports both IPv4 and IPv6 lookup.
@night sparrow https://pkg.go.dev/net/http#Request scroll down and see
// RemoteAddr allows HTTP servers and other software to record
// the network address that sent the request, usually for
// logging. This field is not filled in by ReadRequest and
// has no defined format. The HTTP server in this package
// sets RemoteAddr to an "IP:port" address before invoking a
// handler.
// This field is ignored by the HTTP client.
RemoteAddr string
You can retrieve it from request headers
what wrong with vpn ??:D
var ip2loc = require("ip2location-nodejs");
ip2loc.IP2Location_init("/path_to_your_database_file/your_BIN_file.BIN");
testip = ['8.8.8.8', '2404:6800:4001:c01::67', '2001:0200:0102:0000:0000:0000:0000:0000', '2001:0200:0135:0000:0000:0000:0000:0000', '2001:0200:017A:0000:0000:0000:0000:0000'];
for (var x = 0; x < testip.length; x++) {
result = ip2loc.IP2Location_get_all(testip[x]);
for (var key in result) {
console.log(key + ": " + result[key]);
}
}
ip2loc.IP2Location_close();
Yes of course, but it is a very common and normal thing to retrieve IP address. For example:
app.get('/', function(req, res) {
var userIP = req.ip;
res.send('Your IP is ' + userIP);
});
Although I wasn't listening on the convo
Dont know what exactly youre looking for
Express JS
@somber heath i did it :D
sup
@wack he need the geo location from ip.
Oh, whatever documentation you're using is expecting there to be a makefile? Make is a unix build automation tool.
I have the makefile.
Try to do it using classes and without using the global keyword.
What's new with you?
i forgot how lol
Feeling as though you need to use the global keyword is often an indicator that what you're writing should be written as a class.
new website ๐
(try disabling javascript ๐)
ye
You would also need to have GNU Make installed. I don't know how easy that is to do on Windows, or whether it works on Windows.
@upper basin Did you try the suggestion at the bottom of the error message?
I imagine you probably can't move the generated build files around without causing issues.
Also brb
sphinx-build -M html sourcedir outputdir
.. toctree::
:maxdepth: 2
usage/installation
usage/quickstart
...
extensions = ['sphinx.ext.autodoc']
.. automodule:: my_module
:members:
import os
import sys
sys.path.insert(0, os.path.abspath('..'))
@upper basin
https://www.mkdocs.org/
https://squidfunk.github.io/mkdocs-material/
https://github.com/mkdocstrings/mkdocstrings
Eeffoc and its funny
Peak lobotomycore
Stolen from insta
#. Step 1.
#. Step 2.
#. Step 3.
f"\n{index}"
use an f n index
sup
๐
@upper basin THOSE TABS BRO
my discord bot takes up more ram than his tabs, i promise
desktop or laptop he has?
I can vouch for that.
idk but this
Hehe
me?
smart fridge
it isnt really smart if it cant run Skyrim
@whole rover Oh mah gawd it's joe

joe mama
And Yoon! Sup
Word
Letter
Anyone so long as it's appropriate content. At first you just ask for perms as needed if there's a mod+ around. As we get more comfortable with folks, we'll put them on a probationary period where they just have the role. If they're responsible with it during that time, they get perma
oh
Like ACE has already gone through all that. Joe is staff so he has it anyway
Whats the probation period like?
3 weeks usually.
You just have the permission for that amount of time
Then we just evaluate after that period
Sounds good
I like the Tin Tin , in your profile @whole rover
Dude i can't find it and it's driving me crazy
# Configuration file for the Sphinx documentation builder.
#
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
project = 'Cwtch'
copyright = '2024, Joe Banks'
author = 'Joe Banks'
release = '0.1.0'
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
extensions = ['sphinx.ext.autodoc']
templates_path = ['_templates']
exclude_patterns = []
autodoc_typehints = "both"
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
html_theme = 'sphinx_rtd_theme'
html_static_path = ['_static']
My car doesn't seem to understand the difference between the two
thoughts on sydney sweeney?
Who?
@whole bear what's your profile pic?
Cup a" Conch
@whole rover I'll miss u
```py
code = 'pretty'
```
from rest_framework import serializers
from rest_framework.response import Response
from rest_framework.views import APIView
from core.models import Customer, Order, Product, Store
from core.models.order_lines import (
InsurableProductOrderLine,
InsuranceOrderLine,
OrderLine,
)
from .serializers_folder import DynamicFieldsModelSerializer
def create_all_fields_serializer(model, depth=0):
return type(
f"{model.__name__}Serializer",
(DynamicFieldsModelSerializer,),
{
"Meta": type(
"Meta", (object,), {"model": model, "fields": "__all__", "depth": depth}
)
},
)
CustomerSerializer = create_all_fields_serializer(Customer)
StoreSerializer = create_all_fields_serializer(Store)
ProductSerializer = create_all_fields_serializer(Product)
OrderLineSerializer = create_all_fields_serializer(OrderLine)
InsurableProductOrderlineDetailsSerializer = create_all_fields_serializer(
InsurableProductOrderLine, depth=1
)
InsuranceOrderlineDetailsSerializer = create_all_fields_serializer(InsuranceOrderLine)
class OrderSerializer(DynamicFieldsModelSerializer):
customer = serializers.SerializerMethodField()
store = serializers.SerializerMethodField()
order_lines = serializers.SerializerMethodField()
class Meta:
model = Order
fields = "__all__"
def get_order_lines(self, obj):
# TODO: man this == True feels shit , gotta find another approach
get_insurance_data = self.context.get("get_insurance_data", False) == "True"
orderlines = OrderLine.objects.select_related(
"insurableproductorderline", "insuranceorderline"
).filter(order=obj)
filtered_orderlines = [
self.append_subclass_details(ol)
for ol in orderlines
if (ol.type != "insurance_order" or get_insurance_data)
]
return filtered_orderlines
def get_customer(self, obj):
fields = self.context.get("customer_fields", None)
return CustomerSerializer(obj.customer, context={"fields": fields}).data
def get_store(self, obj):
fields = self.context.get("store_fields", None)
return StoreSerializer(obj.store, context={"fields": fields}).data
def append_subclass_details(self, orderline):
fields = self.context.get("orderline_fields")
base_data = OrderLineSerializer(orderline, context={"fields": fields}).data
attribute_mapping = {
"insurable_product": (
InsurableProductOrderlineDetailsSerializer,
"insurableproductorderline",
),
"insurance_order": (
InsuranceOrderlineDetailsSerializer,
"insuranceorderline",
),
}
for orderline_type, (serializer_cls, attribute) in attribute_mapping.items():
if orderline.type == orderline_type:
details = serializer_cls(
getattr(orderline, attribute), context={"fields": fields}
).data
base_data.update(details)
break
return base_data
{
"id": "f842d116-42bc-42f2-ac6d-4f473f1e457d",
"customer": {
"id": "f6056180-8a38-45ff-92eb-fecfaefd63a1",
"email": "test@example.com",
"contact_phone_number": "0646787566",
"first_name": "example",
"last_name": "example",
"country_iso": "NL",
"language_iso": "nl",
"birthdate": "2024-04-04",
"gender": "m",
"address": null
},
"store": {
"id": "15fcae3b-4a6c-466e-9454-f9debdfb5a9f",
"name": "Mediamarkt Breda",
"address": "95ab410a-5c02-48d8-82bf-065f778d3c1e"
},
"order_lines": [
{
"id": "38345f01-ac2a-44fb-9c2f-007e9581bfd8",
"line_number": 0,
"product_name": "iO 9s zwart Onyx",
"quantity": 1,
"status": "INSUREABLE",
"type": "insurable_product",
"order": {
"id": "f842d116-42bc-42f2-ac6d-4f473f1e457d",
"placed_at": "2024-04-04T15:26:06.715164Z",
"order_type": "insurance",
"vendor_reference_id": "40205005",
"life_cycle_state": "INSUREABLE",
"sales_channel": "o",
"customer": "f6056180-8a38-45ff-92eb-fecfaefd63a1",
"store": "15fcae3b-4a6c-466e-9454-f9debdfb5a9f"
},
"offer_count": 2,
"offers": [
{
"name": "FIX",
"price": 17.99,
"duration": 1
},
{
"name": "FIX",
"price": 29.99,
"duration": 3
}
],
"unit_purchase_price": "195.00",
"product": {
"id": "04fb1587-4649-4555-818e-e3d3067ee291",
"name": "iO 9s zwart Onyx",
"brand": "ORAL-B",
"category": "Oral hygiene",
"subcategory": "Toothbrush",
"pdp_url": "https://www.mediamarkt.nl/nl/product/_oral-b-io-9s-zwart-onyx-1-refill-1736010.html",
"image_url": "https://assets.mmsrg.com/isr/166325/c1/-/ASSET_MMS_96629261",
"article_number": "1736010",
"ean": "",
"country_iso": ""
}
}
],
"placed_at": "2024-04-04T15:26:06.715164Z",
"order_type": "insurance",
"vendor_reference_id": "40205005",
"life_cycle_state": "INSUREABLE",
"sales_channel": "o"
}```
class PostUpdateView(UpdateView):
model = Post
form_class = PostForm
def form_valid(self, form):
if form.instance.author.user != self.request.user:
return self.form_invalid(form)
return super().form_valid(form)
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context["title"] = f"Update {context['post'].title}"
return context
def get_success_url(self):
return reverse("post-detail", kwargs={"slug": self.object.slug})
@extend_schema(tags=["Information Retrieval API"])
class OrderDetailView(RetrieveAPIView):
authentication_classes = [TokenAuthentication]
permission_classes = [permissions.IsAuthenticated]
serializer_class = OrderSerializer
queryset = Order.objects.all()
lookup_field = "id"
lookup_url_kwarg = "order_id"
def retrieve(self, request, *args, **kwargs):
profile = kwargs.get("profile")
if not profile:
return self.bad_request("Profile name is required.")
profile_path = self.get_profile_path(profile)
if not profile_path.exists():
return self.not_found("Profile does not exist.")
instance = self.get_object()
context = load_profiles(profile_path)
context.update(
{
"get_insurance_data": self.request.query_params.get(
"get_insurance_data", False
)
}
)
serializer = self.get_serializer(instance, context=context)
target = self.request.query_params.get("target", "response")
return (
self.send_data_to_target(serializer.data, target)
if target != "response"
else Response(serializer.data)
)
def send_data_to_target(self, data, target):
headers = self.get_headers(target)
json_data = json.dumps(data, cls=DjangoJSONEncoder)
try:
response = requests.post(target, data=json_data, headers=headers)
response.raise_for_status()
return Response({"message": "Data sent successfully"})
except requests.exceptions.RequestException as e:
logger.error(f"Error sending data to target: {e}")
return Response({"error": str(e)}, status=status.HTTP_403_FORBIDDEN)
@staticmethod
def get_profile_path(profile):
return Path(f"information_retriever/profiles/{profile}.json")
@staticmethod
def get_headers(target):
cache_key = f"target_settings_{target}"
target_settings = cache.get(cache_key)
headers = {"Content-Type": "application/json"}
if not target_settings:
target_settings = TargetSettings.objects.filter(url=target).first()
if not target_settings:
logger.warning(f"No TargetSettings found for target: {target}")
return headers
headers.update({target_settings.header_key: target_settings.header_value})
cache.set(cache_key, target_settings, timeout=3600)
else:
headers.update({target_settings.header_key: target_settings.header_value})
return headers
def bad_request(self, message):
return Response({"error": message}, status=status.HTTP_400_BAD_REQUEST)
def not_found(self, message):
return Response({"error": message}, status=status.HTTP_404_NOT_FOUND)
Disney and marvel have become shit
How so?
It's political propaganda and they're just rehashing stories. Marvel absolutely is low tier amusement.
Wait how is it propaganda?
@stone olive If you're wondering why you can't talk, check out the #voice-verification channel
That'll tell you what you need to know about the voice gate
lol
I wanna stream
All their new material very clearly follows a particular modern ideology
What're you wanting to stream?
i need help
That's fairly standard. Movies do that over the years. Try to appeal to a more modern audience. It's why we don't have as much casual racism in movies like we did back in the 80's
Just is what it is
It's more or less corporatism
Do you think that's a recent change?
@whole rover quick question, apologies for the bother again, I was trying to experiment with the approach you taught me, but for some reason, it's not updating the HTML. Could you perhaps have a quick look at my screen if possible?
No rush at all.
It defenitely is, late 90s/ early 2000s disney still produced a lot of original content that is timeless
hump day?
They're targeting the youth of today. We aren't the target audience anymore
which bits aren't updating? what does your sphinx config look like?
So, I deleted all the other methods except one to see if it's actually updating, but it shows the same one, which is weird.
Here's my conf.py:
# Configuration file for the Sphinx documentation builder.
#
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
import os
import sys
sys.path.insert(0, os.path.abspath('..'))
project = 'Qoin'
copyright = '2024, Amir Ali Malekani Nezhad'
author = 'Amir Ali Malekani Nezhad'
release = '1.0.6'
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
extensions = ["sphinx.ext.autodoc", # Auto html doc generation from docstrings
"sphinx_autodoc_typehints",] # Automatically document param types
autodoc_typehints = "both"
templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
html_theme = 'sphinx_rtd_theme'
html_static_path = ['_static']
Call me old fashioned but I don't think it's particularly great content to remake cartoons into terrible live actions while trying their best to remove white people from the leading roles of those stories. I've obviously got nothing against other ethnicity's but then make a authenthic, interesting and original story. Don't just becomes that sad and pathetic pandering company
And I'm not even necessarily talking about myself, I am more so talking about it for my kids
Wait which one was pandering?
and my index.rst:
.. Qoin documentation master file, created by
sphinx-quickstart on Wed Apr 17 23:52:39 2024.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to Qoin's documentation!
================================
.. toctree::
:maxdepth: 2
:caption: Contents:
.. automodule:: qoin
:members:
:undoc-members:
Indices and tables
==================
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
hmmmm, what is the output of sphinx? if you delete the files and remake is it updating?
It says nothing changed HEHEHE
I even tried my stupid approach of deleting and then running make html command.
Just to see if it's not being overwritten.
Wait which one did they remove the white actors for?
I'm really really sorry for the bother hehe.
so if you delete the folder and run sphinx it says nothing changed?
maybe a bit out of the loop? But It's turned into a bit of a meme now almost how many movie leads were replaced in stories which had traditionally white actors. Then they make a remake and make them a black woman, regardless if they were a woman too
Is it caching it?
Does it really matter though? Why not try new things
It's become so bad south park made a whole episode about it called into the panderverse
because it isn't anything new, it's not a new story it's just race washing if anything
that's why it's so pathetic
Right but which of the Disney movies specifically did this that made you have this strong opinion on it
It's not just disney specifically, it's just that they are part of this pandering club
i'm not sure where it would be caching that, the only output data should be in build
Okay, and you can keep saying that, but without specific movie examples it's hard to take the criticism seriously
It feels just like a blanket backhand and a second hand opinion
If that makes sense
you didn't hear about the little mermaid? or peter pan and wendy?
wew now have black tinkerbell haha
Because it's shitty content, first and foremost due to the lack of originality
and then secondly because of the cheapness of including other races
instead of making interesting diverse stories from other cultures we get black tinkerbell or black little mermaid
It's just not interesting and sad
Would you have the same criticism if they kept with a white cast? It's coming off a bit racist is all.
help this guy is on a website im looking at (im trying to make a search engine)
Well I don't like the live remakes in general you're right on that
Right and that should be the focus, I think
Yeah, I deleted everything and re-did it, I think I'm doing sth wrong somewhere, I'll figure it out.
I don't think it's racist to say that making originally white characters black instead of making new black characters is racist though.
I get the distaste for rehashes, but I don't think it's due to the races
Really sorry for asking so many weird questions though hehe.
It's just cheap pandering
I guess?
well that's one of the reasons I dislike disney, you were the one questioning haha
Instead of doing interesting new things, they do remakes and pandering
For sure, we're just conversing about it
it's not worth your money in my opinion
And the remakes things make sense
Like, we love and want the old cartoons and movies, right?
But creating genuinely new content isn't easy. Nostalgia targetting is much easier
This kind of pandering and targeting has happened in media forever
I just don't think it's specfiically a new issue
I think recently it's become worse and worse
and with recently I mean over the past decade
80's cartoons were specifically pandering to kids. They were designed solely to sell toys
in all artforms
G.I. Joe, My Little Pony, Thunder Cats, etc.
And is it really pandering if they're just changing their content as the demographic and culture changes?
It feels like smart business
Stop trying to target an audience that is progressively shrinking
Eeffoc and its funny
Peak lobotomycore
Stolen from insta
i feel so fucking stupid for finding this as funny as i do
Those just don't look comfortable
Relive Alex Pereira's best finishes in the UFC. Brace yourself for an adrenaline-fueled ride through the highlight reel of one of UFC's most feared competitors.
Order UFC PPV on ESPN+ โก๏ธ https://ufc.ac/3NKBvmx (U.S. only)
Order UFC PPV โก๏ธ https://ufc.com/ppv (Non U.S.)
Subscribe to get all the latest UFC content: https://ufc.ac/3u8FIJp
Experi...
๐ฟ
many traditional things aren't
consider for instance a tie
@whole rover I think I found the issue. I think all this time it's been accessing the site-package (the pip installed qoin), and that's why it's not changing (we were always changing the src code, not the package site itself).
I uninstalled the qoin package site, and got the error that it can't find the qoin module now, so I think if I fix that to access the local qoin module, it should work.
Could I ask how you got sphinx to access your local module?
is there anybody here who can help me with some pythonm? getting some stupid errors and need it completed
Sure.
sent u a message
Please don't dm, if I can't solve it, then others can't help either.
i need to show u the problem
!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.
Just paste the code here.
It's 3 am for me, so I can't look at it for long, it'd be best if you put here.
ahhhhhh
I used poetry and ran poetry install to install it to a place sphinx could see
what do u mean
so thats the problem u able to help
Part of an issue I've been having for at least 3 hrs now, let's focus on your problem for a bit.
Is this your homework?
I see.
and need to know it
It's asking to write in Java?
or python
That means you're trying to iterate over a None object.
!e
a = None
for i in a:
print(i)
@upper basin :x: Your 3.12 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 2, in <module>
003 | for i in a:
004 | TypeError: 'NoneType' object is not iterable
See?
Have a look at the object you're iterating over, and see where it has become None.
I can hint you
ok sure
well so you know how you got the 'BestFirstSearchProblem'
so you use 'search.SearchProblem'
but something else you need to implement is missing
please tell me
if i was you id look into isGoal() and succesor()
But im not certain thats the problem
@wise cargo !help
Editors: Amit Dsouza, Frederick Kautz, Kristin Martin, Abigail McCarthy, Natali Vlatko
Announcing the release of Kubernetes v1.30: Uwubernetes, the cutest release!
Similar to previous releases, the release of Kubernetes v1.30 introduces new stable, beta, and alpha features. The consistent delivery of top-notch releases underscores the strength o...
the west has fallen
hai
@upper basin
That's perfect, I'm definitely adding Uwubernetes to my resume.
The hackernews response sums it up quite well:
@somber heath hai
https://pages.github.com/
https://docs.github.com/en/pages/getting-started-with-github-pages/creating-a-github-pages-site
@upper basin
No mic today, in the quiet study section of the library. Will be lurking.
ngl, was not expecting it to be an irs form
@amber raptor o/
@pastel marten ๐
working on a little something:
"The government provides protection from our enemies"
Then why do they use Microsoft Word?
For the bullet points.
cries in markdown
The tax laws are also super complicated because the lobbying efforts from the tax preparation industry.
Homeownership? Someone under the age of 65 owns a house? What is this witchcraft?
NH has 0 income tax, which means every time I have to use a tax prep software I have to get on the phone (which is the worst part of the whole thing) and explain to them that I need an exception for the state tax part of the app which isn't letting me submit until I fill it out.
I'm kicking myself for not buying a house in 2008...when I was 16.
My biggest financial mistake was being born in 1992.
At least according to CNBC
Statistically, the worst thing we can do is be born to poor folk.
#1 way to end up wealthy is to start that way
I sold scraper bots ๐
i let a friend use my PS5 buying bot for ยฃ5, does that count?
what did ur friend used the bot for?
for buying a PS5 ๐ it was when they would get bought up straight away
no i made one, and let my friend use it for a fiver
made it using selenium https://pypi.org/project/selenium/
@still herald
Some questions that you might wanna answer yourself off-chat:
What am I feeling?
Where is this coming from?
Continue from there.
After that, answer:
What do I wanna feel?
How am I going to get that feeling?
Continue from there.
but continue only goes to the next iteration of the same loop ๐ฅ
Has Microsoft learned nothing? https://en.wikipedia.org/wiki/United_States_v._Microsoft_Corp.
United States of America v. Microsoft Corporation, 253 F.3d 34 (D.C. Cir. 2001), was a landmark American antitrust law case at the United States Court of Appeals for the District of Columbia Circuit. The U.S. government accused Microsoft of illegally monopolizing the web browser market for Windows, primarily through the legal and technical restr...
Yes, government really doesnโt care. Microsoft v DOJ was last breath of Antitrust enforcement.
More like Conservative justice packing has gutted the abilities of the FTC to do it's job
Yea, Obama really did a number.
Don't forget Trump and Bush
Clinton didnโt help either. This has been bipartisan effort since Reagan until Biden.
This is a long term campaign by the Federalist society, Heritage Foundation, ADF, CFJ, JCN, etc... think tanks
Brooking Institute and others. This has been bipartisan "issue" since Reagan. This not "Republicans Bad, Democrat Good!" issue
mostly a matter of "America hates Americans"
Try taking a closer look at those think tanks, they are very similar to the neo-cons.
We got the same time zone and the same ethnicity
Nice
๐
made a bash script that plays every file inside /home/ (using pacat)
Kombucha is weird tea according to my warped view though I don't know what it actually tastes likle.
Enter Rainbolt
urm...
Might organise some stuff in my Notion
@rotund raft ๐
plase lock muto
Pardon?
@valid scarab ๐
hello
wealth in buillion
@whole bear ๐
Yo
Wsg
I need help
How do I use this??
And set it up
I've not used it, before. I'd only be reading the instructions.
But I do not understand the read me. Itโs not very beginner friendly
Have you asked in a js server?
Is there a js server?
Because from my limited knowledge, it seems everyone here does Python.
yes
Could you dm me it please
Thank you thatโs fine
@pine oracle ๐

๐
First week of Term 2 of Year 8: I got stressed and scared and embarrassed. expected
llama!
dang i dont what to do with that
Park it in your brain.
@astral chasm ๐

I'm under the impression it's a cat food scoop, I think.
Ahh
That or a partial Stielhandgranate.
Dyson blowdryer?
"I said glow up! Not blow up!"
uhh
slay, not SLAY!!!
Ahh
This was a lil joke I saw:
When males celebrate in gymnastics: "Slay... YOUR ENEMIES! ACHIEVE YOUR HONOUR! TAKE YOUR RIGHTFUL PLACE ON THE THRONE!!!"```
Alt ChatGPT that I have experienced on:
1 Claude-Very Similar to ChatGPT
2 Bard AI-Google manifestation to become a GPT
@sand talon ๐
@obsidian dragon how much did you bought ur printer for?
250usd
how long to print for your current project?
she had a call from a friend ...
hi guys i need some suggestions
i have to chose a topic for my final year project(CSmajor) which tackles and solves a social problem
@molten flax ๐
goatit
Amazon's cloud regions designed to host sensitive data, regulated workloads, and address the most stringent U.S. government security and compliance requirements. AWS GovCloud (US) is available to vetted government customers and organizations in government-regulated industries that meet AWS GovCloud (US) requirements.
Interesting
@rugged root you're now manually breathing
I was before
||you're also now manually blinking||
Same again
@eager tapir
what are they for?
ADHD
Well, ADHD, depression, and anxiety disorder stuff
But the one I meant was the ADHD one
Just imagining armed guards patrolling the sky making sure birds don't go through the clouds
Cloud Security
I feel no pity
See previous
@minor sapphire Yo
hello mr hemlock
"Here, knock out this heavy weight champ even though you've never exercised in your life" That's pretty much what you're asking some of us to do
One of my bosses is back here so I'm type only for now
@exotic moss Yo
Yo
yesterday was almost 20 hours of only doing programming
very reasonable schedule
Jesus, doing what?
"yesterday" being from 11am one to 10am next day
You gotten any sleep?
5-ish hours
different relatively simple things, which is why that was even possible
like
<10% of time was debugging
I discovered this thing
https://docs.rs/async-ffi
FFI-compatible Futures
"not only can't we prove it, we can't be bothered to"
there is FfiFuture, and I made FfiStream/FfiSink stuff on top of it
iirc those aren't included because Option/Result aren't ABI stable
and async-ffi by default doesn't depend on abi_stable
tokio doesn't handle dlls
Rust is very dll-unfriendly unless it's C/C++ integration
Fair
therefore this
https://docs.rs/abi_stable
For Rust-to-Rust ffi, with a focus on creating libraries loaded at program startup, and with load-time type-checking.
and some other crate
I think there was one more but I can't remember
aren't 127.?.?.? all loopback
127.0.0.53 is used relatively often too, iirc
I think that's very non-recent
I remember seeing a bee
there
127.0.0.1 is the loop back anything starting with 192.168.?.? is likely broadcast
isn't 192.168.?.? just default for the local network
ya
192.168.X.0/24
1981
"dissatisfied with one drive/google drive/etc.? just host your own cloud storage"
@still olive Nextcloud
self-hosted
I can't pay for foreign storage, and Yandex/VK cloud is questionable
red-hat
LOL
not allowed in there either
"Chief Data Officer" aka "person who forces us to pay money to Oracle"
there is a talk about who CTO and VPoE are
very terrible talk
but funny
Honestly, for a tech company, CTO is the most important role, and after that chief scientist.
after C* stuff it's mostly understandable
>job role
>student
@rugged root
this is the worst/most cursed talk from those two, highly recommended (if you ever manage to have 43 minutes available to watch it)
The .458 Winchester Magnum is a belted, straight-taper cased, Big Five game rifle cartridge. It was introduced commercially in 1956 by Winchester and first chambered in the Winchester Model 70 African rifle. It was designed to compete against the .450 Nitro Express and the .470 Nitro Express cartridges used in big bore British double rifles. Th...
I'll bookmark it
@rugged root how does this dialog box look?
Swap Save and Cancel
what does cancel do? reset changes?
It's fairly standard to have cancel as the furthest right option
ah
just cancels the closure of the window
makes sense
Save on the farthest left is most common, Cancel on the furthest right is most common
You want to stick with normal conventions otherwise your users are going to be super annoyed
any other changes you would make? Say them if you have any
Maybe make the buttons the same size
different colour for default/preferred option
(in this case save)
I made the text a bit smaller too
gau-8 for home defence
That's much cleaner
this?
I think the Tesla robot + usp is the best
Hi. How can I find APIs of a website if there is no docs for it ?
Read the code.
(I though about this)
this way it looks like it's disabled, imo
well the color the Save button is is the same color the screen flashes when you save
hmm
I made a Text Editor, I want to Show it, I want the streaming Permission, @rugged root.
I'm making a text editor too ooh
!stream 1127098519870771312
โ @plucky mica can now stream until <t:1713539255:f>.
what about this?
guys can sm1 help me make this look better
if you press ctrl+m in vs code, it switches to using tabs for navigation instead of indents. Press ctrl+m again to get back to original
@rugged root any more critiques here?
anybody experienced with BigQuery?
try resstaring onedrive
Our data team loves it, it's only GCP thing we have
I'm setting up a BigQuery instance w/ Terraform right now, migrating from InfluxDB finally thank the lord.
Nah, I think that's pretty solid
maybe you should be able to navigate the buttons using the arrow keys
but hmm
we use ark
I'm wondering about the most efficient/performant way to upload ~200 log files containing ~10,000 lines of test output data to BigQuery from our CI jobs, which now also live in GCP. @amber raptor
oh, that's NMP
Our original setup was doing all the processing and publishing within each build job. I'm thinking, I could save build time (and effort with parallelising) by just bunging all these files into a gcs bucket, then processing and publishing from there.
Thoughts? Maybe there's a simple route now that everything lives within GCP?
If it works, it works. This is 100% FAFO situation
Fair enough
now the question: esc and ctrl+q both quit the app, and right now only ctrl+q gives save confirmation. Should that be how it is?
I would expect both to prompt it
Studying for FAANG interviews
https://www.youtube.com/watch?v=vKBKQYjRqtQ
Added: ```yaml
Features added:
- ...
- Keyboard shortcuts:
- ...
- Esc | Ctrl + Q:
- Quits the program.
- Will show a pop-up if you haven't saved, asking if you want to save.
- Pop-up does not show if you have saved
How does Alt+F4 behave?
it still brings up the pop-up
same with clicking X on the window
!e
import numpy as np
integer = np.int32(0)
float = np.float32(1.2)
complex = np.complex128(1.2+2j)
print(isinstance(integer, np.number))
print(isinstance(float, np.number))
print(isinstance(complex, np.number))
Good good
Do you want it to exit the whole program or just the given file/page you're on?
@upper basin :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | True
002 | True
003 | True
I would expect Esc or Ctrl+Q to exit a given file or page
When you open a file, it opens in a new window, and esc | ctrl+q closes that new window
it doesn't affect any other open windows
I also just added pressing esc on the page asking if you want to save, it acts like you pressed cancel
Yep, I'd expect that as well
I'm trying to make this as intuitive as possible. Important in any project, but especially important in this one where my primary goal is for it to feel as fluid as possible to use
Yep yep, you're hitting the right notes on that
(if you hadn't guessed or I hadn't told you already, it's a notepad)
Yeah I think you mentioned it
one feature is automatic . at the end of a line, although still debating whether or not to remove that
I wouldn't have that personally
one thing which does need improving on is the file selection screen
(some notes censored for privacy)
it has no features except deleting, which is still kinda broken, and it doesn't even scroll so any more than 9 notes won't fit on the screen
it also orders them alphabetically and not by time save
although ideally I'd want it to sort by time save alphabetically /j
how would you say I handle spell check? I wouldn't want to forcefully correct the user's spelling, but then sometimes when using the tool I forget how to spell things
@peak depot https://boardgamegeek.com/boardgame/11/bohnanza
This one's fun too
I miss playing these kinds of things with folks
Does this look too cluttered with the keybinds there too?
Yeah a bit. Usually you'll use letters that are already part of the word, usually with the particular letter underlined to indicate which one you would press
well enter seems intuitive for Save, seeing as its pressed in
Hemlock, would the namespacing be based on the init, or based on the abs path?
Yes, but you can normally move the highlighted button around and then hit enter on any one
that seems too complicated for me to be bothered with
So it would be inconsistent to make Enter be for a specific option
Like should I have
qickit.circuit.Circuit
or
qickit.circuit.circuit.Circuit
It's standard dialog box stuff
ig I have to then
Here I have a module called circuit, a .py inside this module named circuit, and a class inside this .py called Circuit.
Feels like a mouthful, qickit.circuit.circuit.Circuit.
Like you could have Save as the one that is selected/highlighted/focused on whenever the box pops up, but normally you can then move between the other ones by either using tab or arrow keys
does it matter which one? Since I want arrow keys
Arrow keys for this would be the norm
@rugged root I have returned to somewhat competitive minesweepering
Added to the list of things to add. Also this notepad has sound effects
I'm too old, I think
My hands are too shaky
What kinds of sound effects? Like what triggers the noises
Opening, closing, typing, saving
Personally I would really recommend against having one for typing
what about 2?
same but I'm able to control it
For every keypress it makes that noise?
it switches randomly between them, and yes
sound for every blink of the cursor
I..... Maybe if it's something that auto types for you but I would really hate it
good idea!
But again, this is me personally
what about people in general?
For any kind of text editor like this, it would be really really uncommon and there's likely a reason why they don't have those kinds of sound effects
also you get used to it, and at some point I'll add an options menu which will probably have the ability to turn off sound effects
I still make mistakes and the whole thing is more about stopping early enough before mistakes rather than having perfect accuracy
(for me anyway) it makes typing on it more satisfying
especially when you save a note
Does that not support auto flagging? Just auto opening? Like if it's an area where it could only be flags
can anyone give me references for market analysis bot
I'd ask folks.
flag chording isn't a thing in most minesweeper implementations
I mean certainly have a way to turn it off and on at the very least
Fair, But lame
auto-flagging influences times
what is the link to the site where you paste code?
which is a breaking change for a competitive game with leaderboards
!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.
thanks
github
minesweeper tetris has it
it also has drag-chording instead of on-release
Back up, Minesweeper Tetris?
IntroductionMinesweeper Tetris is a new 2D casual game that combines the best elements of two classic games, Minesweeper and Tetris.The main difference from traditional Minesweeper is that the minefield in Minesweeper Tetris is constantly growing upwards, and the game does not end immediately when hitting a mine by mistake. Instead, a punishment...
I'm top one in one of the categories
field gets filled => game over
all mines flagged => line removed
may I dm you a video of the notepad in action, so you can hear the sound effects?
You can do it here too so more people can give their thoughts
too private
12, 8, 3,
52, 14, 2,
91, 60, 112,
18, 8, 5,
556, 189, 1,
(5x3 categories)
last one (mistake count) requires actually trying
and I tried and won
mistake => extra lines
less than four lines on the field => many extra lines
can somone please help me with my deep q network? when i run it i get the following error: File "C:\Users\iddob\PycharmProjects\Neural2\DQN.py", line 84, in train
action = self.action(state)
^^^^^^^^^^^^^^^^^^
File "C:\Users\iddob\PycharmProjects\Neural2\DQN.py", line 60, in action
q_values = self.policy.forward_prop(state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\iddob\PycharmProjects\Neural2\NeuralNetwork.py", line 96, in forward_prop
layer_before = np.dot(inputs, self.weights[i]) + self.biases[i]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (2,) + inhomogeneous part.
the code is in here https://paste.pythondiscord.com/VUBA
i know the neural network i made works because i have used it before
one of the inputs has weird shape
not a matrix
i.e. something like this
[
[1, 2, 3],
[4, 5, 6],
[7, 8],
]
(seems like)
thats wierd, it dose not make since to me because the inputs i get from gym are in the right shape
verify that they're of the right shape
the state?
try calling np.array on inputs and self.weights[i]
Live coding to create a small simple GUI application with Rust and the Slint toolkit (https://slint.rs)
unfortunately the notepad does not prevent itself being closed by the task manager
i will try
one of them will likely fail
and that one will be a sequence
on that sequence, look into what lengths the items are
..... it should NEVER prevent itself from being closed via task manager
Ever
Ever ever ever
That way lies malware
im sorry for being uneducated about this topic, but i have no idea what a sequence is lol
in numpy's view, it's anything foreign to it like a list
thanks
agreed, quite a lot of windows system software is malware
I want to disagree but...
You should check out collections.abc. Basically, imagine the methods __len__, __iter__, __getitem__, __setitem__, __contains__, etc. being like boxes you can check. collections.abc then provides some built-in abstract collections where you have collections including only a specific subset of these methods.
And the god of modesty it seems
some software handles closing from task manager as window close, iirc
dog of python
so that's, like, SIGTERM handling but for windows ig
Your creation is slow, fix it.
@whole bear I keep reading your nickname and thinking it's a "They Might Be Giants" reference
I was really hoping people would misread it as TheMightyConch
Ah that works too
I need to watch The Mighty Boosh again
@solid perch You sound like you're feeling less sickly
Join us at the annual information security conference in Deadwood, SD (in-person and virtually) โ Wild West Hackin' Fest: https://wildwesthackinfest.com/
Wild West Hackin' Fest 2017
Presented by Deviant Ollam: https://enterthecore.net/
Description: Many organizations are accustomed to being scared at the results of their network scans and dig...
Today I learned that de-esser tools exist
So like when someone speaks into a microphone, "s" sounds can end up sounding harsh or unpleasant. And apparently there's tools to help adjust that
I see there's some project going on
"everyone's doing something wrong
we're going to do it right wrong but our way"
What's tripping you up with it?
I don't know how to do it
As in how to use API's in general? I'm just making sure I know where to start
I mean just this Spotify API to integrate with my application
Like i wanna make a mood based music recommendation system
Mood detection part is done
Now I wanna use it as like if the mood is detected happy, i wanna play happy music
And so on
Ah, okay I getcha
So would u be able to help me out with it
I can take a look but I'm usually better if there's specific questions or spots you're having trouble on
Oh well I'll let u know then
first thing i heard , the rabbits george , and knew what it wazzz @rugged root
looney toons did a play on it , big dog , little dog , yes from mice and men
@rugged root
aa
aaa
aaaa
aaaaa
just like those css classes I've sent some time ago
funny how emoji repo display cobol as its language because of code size
truly shows the verbosity
I will Love him and squeeze him and call him George. And if he misbehaves, I will punish him and stroke his fur the wrong way.
some where in this collection of Georges ny Mel Blanc ,, just for you @rugged root
@Anokhi that 100% accurate ...
links expire after 24 hours <-------------------
Explore the world of large language models and learn how to choose the right LLM model for your Raspberry Pi 4B. Discover the CPU requirements for LLaMA, Alpaca, LLaMA2, and ChatGLM models and find out how to overcome resource limitations when deploying them.
Well with a small cheat is 5 sec avg
Back later
We investigate the optimal model size and number of tokens for training a transformer language model under a given compute budget. We find that current large language models are significantly undertrained, a consequence of the recent focus on scaling language models whilst keeping the amount of training data constant. By training over 400 langua...
I have 5000 ping for some reason.
its ok
Hehe
I see, miss you alot.
Really sorry for always asking questions and running you out of the vc.
did you create a rogue Quantum AI , now its awake and ping ping @upper basin
@rugged root sir, the server is messed up again (getting 500 ping), can you please reset the server if possible?
can run ubuntu off a data stick as experiment @wise loom
true, it runs a bit slower but it's fine
a second hand computer that a office company sell off is good , I got a dual core 3 Ghz , 8 Gig , 160 SSD , liscenced W10 for $100 @wise loom
office companys are always getting rid of stuff cheap
offices have small footprint desktops , there great
if your studying you need a study environment anyways - soa small room at home , you will be reading and taking notes all the time anyways
you dont need a super machine to learn to code , i guess in python @wind warren
web developer ? @wind warren
a lot of online SDR websites use JAVA as the public interface , so I see the need @wise loom
@wind warren is a bully
@wind warren
<html>
<head></head>
<body>
<script>..code..</script>
</body>
</html>
@thorn egret ๐
@somber heath ๐
Hello ๐
@main raptor ๐
'You have sent less than 50 messages.'
hello
@main raptor ๐ Hello
h
ask some questions in general
Hello @main raptor
Chand par ponch gaye ๐
what do you mean?
I mean what are you learning now a days
I recently started learning the basics from last few days.
like functions, conditionals,loops
data types,etc
i am gonna start OOP
hello @earnest quartz
I can not speak bro
Great let me know if i may help
i need voice verified role for that.
sure, I will message you if i'm stuck somewhere,
Hey
I don't have a mic, no.
Not too shabby
Yourself?
Kinda just hangin around
I do play some piano in my free time.
That's pretty cool.
I've never really done much in python
Kewl!
Yeah. Unfortunately I don't think I have the time to dabble too much
meh, hanging around is fun, but idk.
hello everyone
Hey there,
Where are you from??
I am from pakistan
Ooh nice I am also from pakistan. Really beautifull country you know.
from which city?
Cityyy
I am from a City near Kabul ๐
@peak depot cat
sorry, doing school project
mic verification in not completed yet
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
frieren is a funny gril
Umm actually... wait... hmm...
being called a "funny girl" gives me a tingly feeling
not because I'm a totally cis male
uhh

Melanie??
I am voice verified, and people do say that I have a pretty deep voice
same!
Unironically the most difficult assignment I've ever had
nup
uhh
idk
accuracy, formalism and order
communism
Well the core concepts of it are... somewhat agreeable
But the... execution is... uhh
yeah
i... what?
missed like half of that while trying to become the thinker
Values are tough
uh
i'm dylseixc so i just like... half of that was gibberish
not really
But I kinda wasn't payin attention
so stuff just went right over my head
ahh I understood that
See, simple sentences for simple person
buh

oke

I'm not crying, I'm just... allergic to this type of music
@peak axle 
@austere hornet that is already in my favorites
good choice
It's definitely not making me tear up shuddup
When I started learning Neural Networks from scratch a few years ago, I did not think about just looking at some Python code or similar. I found it quite hard to understand all the concepts behind Neural Networks (e.g. Bias, Backpropagation, ...). Now I know that it all looks quite more complicated when you see it written mathematically compared...
What are the neurons, why are there layers, and what is the math underlying it?
Help fund future projects: https://www.patreon.com/3blue1brown
Written/interactive form of this series: https://www.3blue1brown.com/topics/neural-networks
Additional funding for this project provided by Amplify Partners
Typo correction: At 14 minutes 45 seconds, th...
@obsidian dragon you disrespected me by refusing my invite to my server to demonstrate my ai discord bot
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
welp
@obsidian dragon it was to demonstrate solutions to how to resolve the problems you've been facing with your bot
It was to help
so guys, you have done python for a while i guess eh
im fairly new
???
really
shit
i got a JS quiz coming up
exam not quiz my b
lmao
the story of an avg software engineer
starts with web dev, and moves away to something new with time XD
idk
???
lololol
im trying to make a bot
but its legit so dead
50 messages taking real long today
doubt
@peak depot April 20th is 4/20
conch what abt u, what do you do?
420 smoke weed everyday
bad things, not do
DMAN
where did that come from
ayo nah
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
are you guys ok if i get through 20 messages quickly?
like in this chat?
i need that many to get voice perms
my bot will destroy your bot
my bot is supposed to ban people when it feels it wants to
good idea
yeah true, like in those manhwas, when they kill they generate karma and when it reaches a certain level they become cursed
and then keep dying slowly
not a bad idea
not going
to lie
yeah imagine
just dropping suns cuz why not
yeah exactly
bruh 4 texts to go
3
now 2
and 1
then there was 0
!voice
its always pen and paper
Welcome to GitHub's home for real-time and historical data on system performance.
@waxen fern ๐
@somber heath hii
@somber heath i cant talk yet
@upper lance @whole bear ๐
yeah im new to it
ive wanted to be able to program for a while
just didnt know how to start
sounds neat
how did you guys learn to program
thats a good idea
what site was that?
@stark river Your audio is faint and distorted.
@primal shadow you work as a programmer?
how did you become one? did it take years of learning on your own and going to a college or something
does this field of work pay a lot
so how can i get started on coding
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
@main raptor ๐
yeah im in the us
hey
kaggle, realpython, and automatetheboringstuff are all great for python
tbh ive tried to get into it before
like i want to learn to code and program
but whenever i try to its way too aimless
I started learning python few days ago. Do you guys have any websites or something so that I can practice the theory by solving some problems. I have covered the basic stuff for now like data types,conditionals,functions,etc and I will be starting OOP in few days.
ok bro thanks for the help.
ok
if you need help with your first one I can walk you through the process, it was very confusing to me at first what they wanted
ive tried learning python before but nothing clicks idk if its over for me
The first hump in learning programming can be harder to get over than the rest, its not over unless you want it to be over
I will try it by own for now. but I will ask for the help for sure. Thank you so much for the help.
yeah but i cant even begin
when i try to learn anything its just aimless information
Are you building something or just following along a course or tutorial
probably closer to a course or tutorial
You gotta build something, however small
It'll usually teach you loads more than following along. Your brain doesn't get to actually make the connections needed if you only follow along
Have you learned about the fundamentals?
no
Variables, methods, conditionals
You gotta learn the bare essentials, the concepts and then just put them into practice

