GitHub
An experimental open-source attempt to make GPT-4 fully autonomous. - GitHub - Significant-Gravitas/Auto-GPT at stable
1 messages ยท Page 120 of 1
An experimental open-source attempt to make GPT-4 fully autonomous. - GitHub - Significant-Gravitas/Auto-GPT at stable
honey
any reason my terminal would have gone bonkers on me
why terminal look brokey
please advise comrades
how do I fix-enschelieber?
i don't mean to spam here imp artially trying to just get these 50 messages my apologies
Wikipedia offers free copies of all available content to interested users. These databases can be used for mirroring, personal use, informal backups, offline use or database queries (such as for Wikipedia:Maintenance). All text content is licensed under the Creative Commons Attribution-ShareAlike 3.0 License (CC-BY-SA), and most is additionally ...
Kiwix is a free and open-source offline web browser created by Emmanuel Engelhart and Renaud Gaudin in 2007. It was first launched to allow offline access to Wikipedia, but has since expanded to include other projects from the Wikimedia Foundation, public domain texts from Project Gutenberg, many of the Stack Exchange sites, and many other resou...
Users first download Kiwix, then download content for offline viewing with Kiwix. Compression saves disk space and bandwidth. All of English-language Wikipedia, with pictures, fits on a large USB stick or external media (87 GB as of December 2021, or 47 GB with no pictures)
@midnight agate ๐
@trail sphinx ๐
any of yall know why github open like this
that could be the cause
seems to be working at the moment
popup blocker
oops i forgot i was in a call
๐
Utopia Series
Season 01
Trailer.
Created & Written by
Dennis Kelly
Produced by
Rebekah Wray-Rogers
Directed by
Marc Munden
2013
@slate light ๐
yes sure
ohhh okay no problem
i was just wondering
well humanty is stupid
what is utopia?
i can hear it from your accent
well no shit
utopia is diffrent for evry different person
Hello @somber heath
i dont know jeff is a complete baffun and elon is mad
no is just stupid
he given it self a medel for go to the space
amazon buys any competition
what... isnt asda for you?
well if you live in china you are a slave
@ruby brook ๐
do you use MS doors?
sudo -i rm home & rm usr
enables uberkernel privs
italy
im doing a course by the EU in cyber security consoltent
i like linux is lite weigh
red hat is good
like fedora
fedora is free
debian is nice
mint is nice
i use mint and majaro
i know but on the other i got invidia so i use mint is got good support
all distro are the same moore less
INKSCAPE
well if you want moore security is fedora and debian
if you want to test is arch
do never use rm if you dont know what it is
my first linux was linux 14.04
smoke legal weed for medication
ohh okay
okay i didn't know that
i use it for pain and enxaiaty
i got pain evry day so i dont want to fill up whit pain meds i use weed for now
i got a illens that is called microfibrosses and i missing a mussle on my legs
do you know about the illness?
and yes the legs part is different evrytime i walk my bones smash against it cider
Jesus, I'm sorry to hear that
hey guys, any idea on how and where i can learn web scraping
tysm, appreciate it
!yt-dl
Per Python Discord's Rule 5, we are unable to assist with questions related to youtube-dl, pytube, or other YouTube video downloaders, as their usage violates YouTube's Terms of Service.
For reference, this usage is covered by the following clauses in YouTube's TOS, as of 2021-03-17:
The following restrictions apply to your use of the Service. You are not allowed to:
1. access, reproduce, download, distribute, transmit, broadcast, display, sell, license, alter, modify or otherwise use any part of the Service or any Content except: (a) as specifically permitted by the Service; (b) with prior written permission from YouTube and, if applicable, the respective rights holders; or (c) as permitted by applicable law;
3. access the Service using any automated means (such as robots, botnets or scrapers) except: (a) in the case of public search engines, in accordance with YouTubeโs robots.txt file; (b) with YouTubeโs prior written permission; or (c) as permitted by applicable law;
9. use the Service to view or listen to Content other than for personal, non-commercial use (for example, you may not publicly screen videos or stream music from the Service)
curl probably has a python lib too
auto_guild/__main__.py lines 295 to 302
initialized = Session()
initialized.headers.update(
{
"Authorization": f"Bot {BOT_TOKEN}",
"User-Agent": "Auto-Guild (https://github.com/MrHemlock/auto_guild)",
"Content-Type": "application/json",
}
)```
@unreal laurel Check out the #voice-verification channel
I know a bit, haven't had an opportunity to use it much
why does the circle disappear if i open the inspect window or resize the window
ive got one of them Galactic unicorns displays and it works on Micro... i am trying to create a simple stop watch timer.. not getting anywhere..
I invented a fish-catching machine that catches the fish, chops off the head, and flips it right into a hot frying pan!
Greg is a self-taught survivalist from Canal Flats, British Colombia, who, since he was a boy, has read nearly every book on the topic. When he is not out in the wilderness, he is a professional dry-waller. He started his firs...
well, its hard to explain via chat.. because i am totally new to this stuff.
i tried to use chat GBT to help me sort my code lol
help out a noob here pls
!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 floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
@zenith radish is this cancelling ppl real time
i dont no.. sry
from machine import Timer
from time import sleep
import utime
from galactic_unicorn import GalacticUnicorn
from picographics import PicoGraphics, DISPLAY_GALACTIC_UNICORN as DISPLAY
# create galactic object and graphics surface for drawing
gu = GalacticUnicorn()
graphics = PicoGraphics(gu.WIDTH, gu.HEIGHT, display_type=DISPLAY)
width = gu.WIDTH
height = gu.HEIGHT
# initialize timer and variables
timer = Timer(-1)
start_time = None
running = False
def draw_time(duration):
graphics.set_pen(0, 0, 0)
graphics.rectangle(0, 0, width, height)
seconds = int(duration % 60)
minutes = int(duration // 60)
time_str = "{:02d}:{:02d}".format(minutes, seconds)
graphics.set_pen(255, 255, 255)
x = width // 2 - len(time_str) * 4
y = height // 2 - 4
graphics.text(time_str, x, y)
gu.update(graphics)
def timer_callback(t):
global start_time
duration = utime.ticks_diff(utime.ticks_ms(), start_time) // 1000
draw_time(duration)
def start_stopwatch():
global running, start_time
if not running:
running = True
start_time = utime.ticks_ms()
timer.init(period=1000, mode=Timer.PERIODIC, callback=timer_callback)
def stop_stopwatch():
global running
if running:
running = False
timer.deinit()
def reset_stopwatch():
global start_time
if not running:
start_time = utime.ticks_ms()
draw_time(0)
# main loop
while True:
# Check for button presses to control the stopwatch
# This is a placeholder, replace it with actual button handling
button = input("Enter 's' to start/stop, 'r' to reset, or 'q' to quit: ")
if button == 's':
if running:
stop_stopwatch()
else:
start_stopwatch()
elif button == 'r':
reset_stopwatch()
elif button == 'q':
break
sleep(0.1)
timer.deinit()
@unreal laurel So what is it doing that it shouldn't or not doing that it should
just doesnt work i get error extra keyword arguments given on line 9
file "<stdin>", Line 9 in <module>
TypeError: Extra keyword arguements given
Micro Python is a pain in the arse. Galatric Unicorn is a new Pico device.
Looking at the board
Taking a peek at some of the example codes they have
See if something jumps out at me
Cheers Mr, i just want a simple stop watch..
guys asking again incase u answered in vc
why does the circle dissappear if we inspect or rezise the window
how do i make it constant
ok
let me try
no worries take your time
the Clock.py is a good example to look at on the githun
github*
https://github.com/pimoroni/pimoroni-pico/blob/main/micropython/modules/picographics/README.md maybe something like PicoGraphics(display=DISPLAY) since you imported DISPLAY_GALACTIC_UNICORN as DISPLAY, idk
yep it is lol
its a pain in the bum!
my code is crap anyway... it doesnt work its so broken
all of it..
i have no programming experience lol.
Our journey of buying a WW2 boat with the dream of restoring her back to a usable condition!
After being left to rot in the mud, we face a massive challenge, with the boat itself and also working on her in the location where she is! And researching all of the history of the boat from WWII and what has happened to her since then.
Please follow ...
@rugged root it worked , it works for inspect tab as well since it resizes automatically
anyone up for helping me re-write my code? lol
thanks
maybe 3 out of 10?
Micro-pyhon.. tho...
Python is Python
Micro just has some of the built in libs stripped out
The general concepts are the exact same
yeah this is very magical like you said lol
If i wanted to make something like ms paint on js to draw and i wanted to select certain shapes and draw it how do i make it select, i just coded the part where it draws teh shape at the x and y coordinate its clicked at?
hard to work with
right ill be back in a few days when i get something working lol
where is the best place to learn Python?
tooo much html
ooo dayumn
professionalism in the cse community
thanks guys for the help! ill go check some example code out
the automate the boring stuff one is pretty good
and documentation
ahahaha
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
We also have a whole bunch of resources to thumb through
We have youtube links if that's more your jam
@rugged root new roles?? since when yo๐ฅถ
https://www.youtube.com/watch?v=e-whXipfRvg @near parcel this video has a checkout form part, possibly review this further along with Strip React document https://stripe.com/docs/stripe-js/react
In this episode, youโll learn how to accept payments with the Payment Element using React Stripe.js. Weโll also see how to leverage many types of payment methods with one single integration using automatic payment methods.
Matthew Ling - Developer Advocate at Stripe - https://twitter.com/mattling_dev
00:00...
What is Python Discord?
We're a large Discord community focused around the Python programming language. We believe anyone can learn to code, and are very dedicated to helping novice developers take their first steps into the world of programming. We also attract a lot of expert developers who are seeking friendships, collaborators, and who wish...
Yeah - I know how to implement it (specifically Stripe Checkout), but the issue is the approach that Stripe forces you to take. But I know how to implement it
Thanks though
A little while ago. I couldn't dedicate as much time as I wanted to for the Admin stuff, so I stepped down so that others who do could step in and continue the good work
do they have resources like this for js?
Possibly. When it comes to JS, I always recommend https://javascript.info
I always refer back to it when I'm re-learning JS
this looks good thanks
then how is snapchat doing a chatbot with how slow chat gpt is tho?
got a quick question: I'm coding a program that has authentication method which checks the password entered by user with the password that is hashed by SHA-256. Basically entered passwords gets compared with the hashed password. The question is, where can I store that hashed password in the system and in what file type? (system: MacOS)
"I'm sorry, but as an AI language model, I don't have access to real-time information about your current location or the location of ice cream stores. However, you can use a search engine or a maps application on your device to find the closest ice cream store to your current location. Just enter "ice cream store near me" in the search bar, and it should show you a list of nearby ice cream shops along with their addresses and directions."
For HS CompSci question
Database
My program is DBMS๐ for a specific business that holds like Employee Records and stuff, idk
I would think hashes themselves would be strings?
Not 100% sure honestly
#cybersecurity would know
thx
byeee guys , good luck with jailbreaking conspiracy theories
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
163 votes and 155 comments so far on Reddit
Holy pants ๐
i gtg ill bbl
I keep hearing "data racists" instead of "data races"
How does one save binary data in SQLite
Or is that a no no
Ohhh BLOBs
Okay
This might be helpful: https://www.sqlite.org/intern-v-extern-blob.html
โค๏ธ
A NoSQL (originally referring to "non-SQL" or "non-relational") database provides a mechanism for storage and retrieval of data that is modeled in means other than the tabular relations used in relational databases. Such databases have existed since the late 1960s, but the name "NoSQL" was only coined in the early 21st century, triggered by the ...
That's a "set comprehension" I think.
The syntax is pretty similar to list comprehensions in python.
In python, that would be like: ```py
E <= {
(x, y)
for x in V
for y in V
if x != y
}
Not quite because I've used tuples for the set elements instead of sets.
E <= {
frozenset({x, y})
for x in V
for y in V
if x != y
}
``` This is a bit closer I think.
In mathematics, set A is a subset of a set B if all elements of A are also elements of B; B is then a superset of A. It is possible for A and B to be equal; if they are unequal, then A is a proper subset of B. The relationship of one set being a subset of another is called inclusion (or sometimes containment). A is a subset of B may also be expr...
Mhm
Also maths is just one of those subjects you have to learn in a particular linear order to understand.
!charinfo \phi
\u005c : REVERSE SOLIDUS - \
\u0070 : LATIN SMALL LETTER P - p
\u0068 : LATIN SMALL LETTER H - h
\u0069 : LATIN SMALL LETTER I - i
\u005c\u0070\u0068\u0069
Yeah. V^2 is the set of 2-tuples (pairs) (x, y) where x and y are taken from V.
So like if S = {1, 2, 3}, then S^2 = {(1, 1), (1, 2), (1, 3), (2, 1), ...}
Gotcha, okay
Breathing is also too much work. jk
gtg ๐
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@rocky echo ๐
!e
from random import choice
x = {"Hello": "World", "Foo": "Bar"}
print(choice(list(x.values())))
@terse needle :white_check_mark: Your 3.11 eval job has completed with return code 0.
World
list = ["20180101 23:01:05.001|1001|101|98|25|20|99.9|TSTAT", "20180101 23:01:26.011|1001|101|98|25|20|99.8|TSTAT"]
!e
import sys
import subprocess
def printer(*args, sep=" ", end="\n"):
p = subprocess.Popen(
["cat"],
stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
)
out, err - p.communicate(
bytes(ord(x) for x in f"{sep.join(args)}{end}")
)
if err:
raise subprocess.CalledProcessError(err)
sys.stdout.buffer.write(out)
if __name__ == "__main__":
printer("Hello,", "world!")
@willow light :x: Your 3.11 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 21, in <module>
003 | printer("Hello,", "world!")
004 | File "/home/main.py", line 6, in printer
005 | p = subprocess.Popen(
006 | ^^^^^^^^^^^^^^^^^
007 | File "/usr/local/lib/python3.11/subprocess.py", line 1024, in __init__
008 | self._execute_child(args, executable, preexec_fn, close_fds,
009 | File "/usr/local/lib/python3.11/subprocess.py", line 1901, in _execute_child
010 | raise child_exception_type(errno_num, err_msg, err_filename)
011 | FileNotFoundError: [Errno 2] No such file or directory: 'cat'
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/irepinakiw.txt?noredirect
laughs in ORM
it's not better in an orm
laughs in matlab
.
boo
can you run a matlab calculation on 24,000 rows in 0.016 seconds?
clarinerd's pipe dream:
;
BRO WE WERE JUST TALKING ABOUT THIS YESTERDAY
What the fuck was that?
what happen
your microphone
?
is absolutely terrible
that wasn't a microphone that was a potato
words cannot describe the level of its awfulness
You need to listen to how you sound.
it was basically pure static interspersed with echoes of everyone else
fr??
yes
how to get it fixed
it was really awful
or do i need a whole new webcam mic
no idea
maybe use your phone
ah alr
You may need to contact your local exorcist.
@wind cobalt "readable languages"
DO ,1 <- #13
PLEASE DO ,1 SUB #1 <- #238
DO ,1 SUB #2 <- #108
DO ,1 SUB #3 <- #112
DO ,1 SUB #4 <- #0
DO ,1 SUB #5 <- #64
DO ,1 SUB #6 <- #194
DO ,1 SUB #7 <- #48
PLEASE DO ,1 SUB #8 <- #22
DO ,1 SUB #9 <- #248
DO ,1 SUB #10 <- #168
DO ,1 SUB #11 <- #24
DO ,1 SUB #12 <- #16
DO ,1 SUB #13 <- #162
PLEASE READ OUT ,1
PLEASE GIVE UP
use test your microphone
in discord audio settings
or try joining from your phone
phone microphones are often better
select [select],*,star as [as] from [from],[order] order by [by]
>+++++++++[<+++++++++++>-]<[>[-]>[-]<<[>+>+<<-]>>[<<+>>-]>>>
[-]<<<+++++++++<[>>>+<<[>+>[-]<<-]>[<+>-]>[<<++++++++++>>>+<
-]<<-<-]+++++++++>[<->-]>>+>[<[-]<<+>>>-]>[-]+<<[>+>-<<-]<<<
[>>+>+<<<-]>>>[<<<+>>>-]>[<+>-]<<-[>[-]<[-]]>>+<[>[-]<-]<+++
+++++[<++++++<++++++>>-]>>>[>+>+<<-]>>[<<+>>-]<[<<<<<.>>>>>-
]<<<<<<.>>[-]>[-]++++[<++++++++>-]<.>++++[<++++++++>-]<++.>+
++++[<+++++++++>-]<.><+++++..--------.-------.>>[>>+>+<<<-]>
>>[<<<+>>>-]<[<<<<++++++++++++++.>>>>-]<<<<[-]>++++[<+++++++
+>-]<.>+++++++++[<+++++++++>-]<--.---------.>+++++++[<------
---->-]<.>++++++[<+++++++++++>-]<.+++..+++++++++++++.>++++++
++[<---------->-]<--.>+++++++++[<+++++++++>-]<--.-.>++++++++
[<---------->-]<++.>++++++++[<++++++++++>-]<++++.-----------
-.---.>+++++++[<---------->-]<+.>++++++++[<+++++++++++>-]<-.
>++[<----------->-]<.+++++++++++..>+++++++++[<---------->-]<
-----.---.>>>[>+>+<<-]>>[<<+>>-]<[<<<<<.>>>>>-]<<<<<<.>>>+++
+[<++++++>-]<--.>++++[<++++++++>-]<++.>+++++[<+++++++++>-]<.
><+++++..--------.-------.>>[>>+>+<<<-]>>>[<<<+>>>-]<[<<<<++
++++++++++++.>>>>-]<<<<[-]>++++[<++++++++>-]<.>+++++++++[<++
+++++++>-]<--.---------.>+++++++[<---------->-]<.>++++++[<++
+++++++++>-]<.+++..+++++++++++++.>++++++++++[<---------->-]<
-.---.>+++++++[<++++++++++>-]<++++.+++++++++++++.++++++++++.
------.>+++++++[<---------->-]<+.>++++++++[<++++++++++>-]<-.
-.---------.>+++++++[<---------->-]<+.>+++++++[<++++++++++>-
]<--.+++++++++++.++++++++.---------.>++++++++[<---------->-]
<++.>+++++[<+++++++++++++>-]<.+++++++++++++.----------.>++++
+++[<---------->-]<++.>++++++++[<++++++++++>-]<.>+++[<----->
-]<.>+++[<++++++>-]<..>+++++++++[<--------->-]<--.>+++++++[<
++++++++++>-]<+++.+++++++++++.>++++++++[<----------->-]<++++
.>+++++[<+++++++++++++>-]<.>+++[<++++++>-]<-.---.++++++.----
---.----------.>++++++++[<----------->-]<+.---.[-]<<<->[-]>[
-]<<[>+>+<<-]>>[<<+>>-]>>>[-]<<<+++++++++<[>>>+<<[>+>[-]<<-]
>[<+>-]>[<<++++++++++>>>+<-]<<-<-]+++++++++>[<->-]>>+>[<[-]<
<+>>>-]>[-]+<<[>+>-<<-]<<<[>>+>+<<<-]>>>[<<<+>>>-]<>>[<+>-]<
<-[>[-]<[-]]>>+<[>[-]<-]<++++++++[<++++++<++++++>>-]>>>[>+>+
<<-]>>[<<+>>-]<[<<<<<.>>>>>-]<<<<<<.>>[-]>[-]++++[<++++++++>
-]<.>++++[<++++++++>-]<++.>+++++[<+++++++++>-]<.><+++++..---
-----.-------.>>[>>+>+<<<-]>>>[<<<+>>>-]<[<<<<++++++++++++++
.>>>>-]<<<<[-]>++++[<++++++++>-]<.>+++++++++[<+++++++++>-]<-
-.---------.>+++++++[<---------->-]<.>++++++[<+++++++++++>-]
<.+++..+++++++++++++.>++++++++[<---------->-]<--.>+++++++++[
<+++++++++>-]<--.-.>++++++++[<---------->-]<++.>++++++++[<++
++++++++>-]<++++.------------.---.>+++++++[<---------->-]<+.
>++++++++[<+++++++++++>-]<-.>++[<----------->-]<.+++++++++++
..>+++++++++[<---------->-]<-----.---.+++.---.[-]<<<]
>++++++++++>+>+[
[+++++[>++++++++<-]>.<++++++[>--------<-]+<<<]>.>>[
[-]<[>+<-]>>[<<+>+>-]<[>+<-[>+<-[>+<-[>+<-[>+<-[>+<-
[>+<-[>+<-[>+<-[>[-]>+>+<<<-[>+<-]]]]]]]]]]]+>>>
]<<<
]
waw
or better yet
fib 0 = 0
fib 1 = 1
fib n = fib (n-1) + fib (n-2)
this is beautiful
meet your new favorite language: haskell
OCaml is awesome
erlang has entered the chat
I prefer F# though because of the enviroment
meanwhile in lua
anything but JS plis
import express from "npm:express";
it's deno, which takes everything wrong with javascript and fixes it.
check out F*
it's got some interesting features on top of the usual FP stuff
does it work with .NET?
(def fib [n]
(match n
0 0
1 1
_ (+ (fib (- n 1)) (fib (- n 2)))
)
)
dis is elixir?
i think a subset of f* can transpile to f#, so sorta
I saw f* and the logo looks like some fascist regime
link?

am I wrong?
No
@wind cobalt https://en.wikipedia.org/wiki/Avoidance_speech
Avoidance speech is a group of sociolinguistic phenomena in which a special restricted speech style must be used in the presence of or in reference to certain relatives. Avoidance speech is found in many Australian Aboriginal languages and Austronesian languages as well as some North American languages, Highland East Cushitic languages and South...
this
Unacceptable ||/s||
๐ฆ
Open cheese? ๐ค
the camera app
ik
ligma gazma
zesty pc
it sux
It has the same processing power as a 2003 HP laptop
bc it is
nah
Love hy
=> (import functools)
=> (defn [functools.cache] fib [n]
... (match n
... 0 0
... 1 1
... _ (+ (fib (- n 1)) (fib (- n 2)))
... )
... )
=> (fib 100)
354224848179261915075
=>
they don't support windows 10
You pc is just a semi modern intel core duo
With 4 gb of ram instead of 1
hey can anyone teach me how to copy keyboard inputs to create something like a macro
I'd start here: https://automatetheboringstuff.com/2e/chapter20/
thank you sm
No problem. Feel free to ask a question in #1035199133436354600 if you have any difficulties following that guide.
I think you should be able to do something like that ๐ค
My SQL is a bit rusty.
currently using spatialite
in the process of switching to geopackage
with mycte as (select x.* where cast(x.area, real) is not x.area)
case
when x.id in mycte.id then cast(x.area, real)
else null
end
-- and then assign the result of that case to a column
Oh yeah. Using with clauses makes sql select statements so much cleaner.
they're dirty enough even using them
valid value: 7.8, 9, 12
invalid values: -1.3, $, *, foo, 6ty8, 0
hello
!tvmute 942471865123880960 1d If you can't control yourself and you're unable to stop yourself from talking over them, perhaps you need some time to practice. If this behavior continues after your mute expires, you will love your speaking privileges permanently
:incoming_envelope: :ok_hand: applied voice mute to @long iron until <t:1682453651:f> (1 day).
It's not an infraction unless you spell something wrong....
YOOO
brb
You could take a train to Alaska, then a short boat trip, then a train to France.
Nah different gauge
Yeah
That'd be an epic travel adventure
I think in Spain they have trains that can change their guage ๐ค
.xkcd 927
A train ferry is a ship (ferry) designed to carry railway vehicles. Typically, one level of the ship is fitted with railway tracks, and the vessel has a door at the front and/or rear to give access to the wharves. In the United States, train ferries are sometimes referred to as "car ferries", as distinguished from "auto ferries" used to transpo...
@mild quartz Sup
sup
ship often
measure impact
majority of swe work goes uselessly into the ether bc its not well aligned with what matters
thats just imo
Man I really need to get with the lingo...
"Who's my good little pedagogy? Yes it's you!"
import os
import requests
import logging
def get_data():
data = None
try:
r = requests.get(os.path.join("https://httpbin.org", "get"))
r.raise_for_status()
data = r.json()
except requests.HTTPError as http_err:
logging.error(http_err)
finally:
return data
The Nosbonsing and Nipissing Railway (N&N) was a portage railway constructed by Ottawa lumber baron John Rudolphus Booth. The 5.5-mile (8.9 km) line connected Lake Nipissing with Lake Nosbonsing to allow lumber to be portaged onto the Mattawa River, and from there to the Ottawa River. It allowed timber from a wide area across central Ontario to ...
@rugged root so, my barcode scanner program, it just will not work via wsl/venv .. seems to be something to do with pynput and wsl. went back to windows python, works fine. My goal is to pyinstaller it anyway, but I was trying to have everything I worked on in my venv
Hmm
@midnight agate ๐
Maybe an OS difference?
What distro is your WSL?
ubuntu 22.04
@silent sequoia Yo
It might just be that it's not picking the right backend for the Linux part
"howlett"
https://howlettlumber.business.site/
Holland is a region within the Netherlands that is now split into the provinces of North Holland and South Holland.
Holland may also refer to:
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 floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
^
@steep juniper here
pronounced "wuh-stuh"
I had a call from there the other day.
I was like .. "like the sauce?"
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Very cool
khakis - what you staht the cah with
When we say _____, we mean...
Bizah โ odd
Flahwiz โ roses, etc.
Hahpahst โ minutes after the hour
Hahwahya? โ how are you?
Khakis โ what we staht the cah with
Pissah โ superb
Shewah โ of course
Wikkid โ extremely
Yiz โ you, plural
Popcahn โ popular snack
gtg meeting cya
bye have fun
This is really dated lol:
Definitions:
Frappes have ice cream; milk shakes don't.
If it's fizzy and flavored, it's tonic. Soda is club soda. Pop is Dad. When we mean tonic WATER, we say tonic WATER.
The smallest beer is a pint.
Scrod is whatever they tell you it is, usually fish.
If you paid more than $6 a pound, you got scrod.
It's not a water fountain, it's a bubblah.
It's not a trash can, it's a barrel.
It's not a shopping cart, it's a carriage.
It's not a purse, it's a pockabook.
Brown bread comes in a can. You open both ends, push it out, heat it and eat it with baked beans.
They're not franks, they're haht dahgs. Franks are money in France.
The Great Molasses Flood, also known as the Boston Molasses Disaster, was a disaster that occurred on January 15, 1919, in the North End neighborhood of Boston, Massachusetts.
A large storage tank filled with 2.3 million U.S. gallons (8,700 cubic meters) of molasses, weighing approximately 13,000 short tons (12,000 metric tons), burst, and the r...
New local beer just dropped
Hey, can someone help me w this one giving invalid syntax error. Do I need to use try: ?
print("Naming multiples")
while True:
nammul = int(input("7x3?:"))
if nammul == "21":
print("Yep.")
break
else:
print("Think again")
break
except ValueError:
print("Enter a valid number.")
What are you doing to your input and what are you testing it against in the if? Also, the syntax error would be that you have an except without a try.
well since its like a game if they wrote the correct number, then its the correct number. if not, then its not. Idk what I can use instead if?
What do you do to your input call?
What type of object does nammul refer to?
What type of object are you comparing it to?
for now, 21?
Wym by type?
In Python, every object is of a class/type which governs what data and functionality should exist attached to objects of that type.
21 is an object of type/class int.
"21" is of type str.
Oh
5.1 is of type float.
You cast the return of the input call, an object of type str, to int.
You take the text of a number and convert it into an actual number.
But then you compare for equality that object against text.
So, I shoudnt have used int(input?
A number will never be equal to text.
I'm saying something has to give.
There are a number of different, valid approaches you could take.
OK, so what do I do?
That's up to you.
Well..?
yes
you cannot do this int(input("7x3?:")) without a try block
if the input is properly sanitized you can
meaning you are only entering numbers
it should be
print("Naming multiples")
while True:
try:
nammul = int(input("7x3?:"))
except:
print("Enter a valid number.")
continue
if nammul == "21":
print("Yep.")
break
else:
print("Think again")
continue
๐
There are a few things in this code that need work.
@thick pulsar๐
@somber heath hi
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@somber heath ty
can't speak.. ๐คฆโโ๏ธ
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
gonna need some time again.. ๐คฆโโ๏ธ
yess
I remember you
Yeah
We talked once, maybe?
You helped me a lott with my code LOL
This is that same acc... but fsr, I don't have the privileges I had before.. :/
Yeah, you got a point..
So, how've you been?
..? ๐คฆโโ๏ธ๐
You're not alone, mate... ๐๐
It's so hard, isn't it? ๐
Yeah, I get stuck in that one too... ngl I don't really don't know what I say sometimes.. ๐๐
Gosh, I can't say a thing for that.. ๐คฆโโ๏ธ
LOL
๐
Where are the help txt channels now..? ๐ถ
Jesus, I don't get the new system... ๐
Added role Legacy Help Channels Access
what does this mean?
Nah, I don't see that..
nvm that... I've already lost every roles I had...
Even my servers are gonee.. ๐๐
Hey @somber heath? Available for a few minutes? I have this weird bug that's driving me crazy.
bboxs /= scaling_val
bboxs = bboxs.round()
bboxs_index = torch.arange(bboxs.size(0), dtype=torch.int)
bboxs_index = bboxs_index.to(device)
bboxs = bboxs.to(device)
print("Getting things done!")
try:
roi_align = RoIAlign(args.roi_size, args.roi_size, transform_fpcoor=True).to(device)
roi_features = roi_align(feature, bboxs, bboxs_index)
print("Getting roi_features")
except Exception as e:
print('Error! Continuing...')
continue
This is in a loop and the 2 lines in the try are definitely causing an error but print("Error! Continuing...") is not being executed.
Getting things done! is printed so nothing is wrong the previous code.
Not right now. I'll take a look later.
import pdb
try:
breakpoint()
roi_align = RoIAlign(args.roi_size, args.roi_size, transform_fpcoor=True).to(device)
roi_features = roi_align(feature, bboxs, bboxs_index)
print("Getting roi_features")
except:
print('Error! Continuing...')
continue
chatgpt
num_batches = feature.size(0) # get the number of batches in the input tensor
batch_index = bboxs[:, 0] # extract the batch index values from the bounding box tensor
invalid_index_mask = (batch_index < 0) | (batch_index >= num_batches) # create a mask for invalid batch index values
if invalid_index_mask.any():
print("Invalid batch index values in bboxs tensor:", batch_index[invalid_index_mask])
# adjust the batch index values as needed
bboxs[invalid_index_mask, 0] = torch.clamp(batch_index[invalid_index_mask], min=0, max=num_batches-1)
@whole bear I would advise not supressing the exception so you can see what it's telling you.
The exception specification is very broad, too. Exception and a bare. When saying what exception to look out for, it's best to be specific.
The idea is you know a specific exception might happen, and that's what you want to ignore, knowing where it's come from and why you dion't care.
@candid zinc ๐
At MIT's Center for Bits and Atoms, Adam gets a glimpse into the future of making. He starts out his tour with some amazing nano-technologies, including a machine that can see the hairs on the hairs of a baby spider. Welcome to your new robot overlords!
This series and tour is made possible by The Fab Foundation
(http://www.fabfoundation.org/)...
@somber heath hii!
HEY ๐
hi guys ๐
Ben Goertzel is a computer scientist, mathematician, and entrepreneur. His work focuses on AGI, which aims to create truly intelligent machines that can learn, reason, and think like humans. Sponsors:
Brilliant: https://brilliant.org/TOE for 20% off
New TOE Website (early access to episodes): https://theoriesofeverything.org/
Patreon: ...
:ok_hand: applied timeout to @gentle flint until <t:1682422583:f> (10 minutes) (reason: attachments spam - sent 9 attachments).
The <@&831776746206265384> have been alerted for review.
!unmute 473859714162360320
ooof verboof
:ok_hand: pardoned infraction timeout for @gentle flint.
Thank you! ๐
Jacque Fresco introducing Sociocyberneering on Larry King. Aug. 19, 1974
Traffic in Naples Italy is absolutely crazy insane. If there are any rules, they sure don't seem to be enforced. This is video from a "left turn yield" intersection -- which really works out to be much more of a "left turn go" intersection. They don't yield in Naples, they just go!
oof
.
@whole bear You are unintelligible.
@somber heath I don't really need to handle certain exceptions. All I need to do is skip that iteration (file) if any error happened
Since I'm processing thousands of images, and each image takes a bit of time, I want to let it do its thing and leave it like that
There's like 0.1 chance an image would cause this error (I haven't yet discovered what images make the program crash)
The model already does this because I can see it's using multiple cores
In fact, I'm collecting features of clothes from each image
@frozen bobcat ๐
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Hello i found out i have big hole in my python understanding
why when doing something like using multiprocessing module i have to make the commands into a if name ='__main' statement
but in threads i am not required to?
or in general.. how come if i call the simplest function it does not make infinite loop of executions as in multiprocessing and other actions?
Aha, I thought so!
Thank you for helping:)
hello @rugged root , @gentle flint , @somber heath , @cyan stirrup
have a look at this hell of code
IntStream.rangeClosed(1, 100)
.mapToObj(i -> i % 3 == 0 ?
(i % 5 == 0 ? "FizzBuzz" : "Fizz") :
(i % 5 == 0 ? "Buzz" : String.valueOf(i)))
.forEach(System.out::println);
java
import java.util.stream.IntStream;
public class FizzBuzz {
public static void main(String[] args) {
IntStream.rangeClosed(1, 100)
.mapToObj(i -> i % 3 == 0 ?
(i % 5 == 0 ? "FizzBuzz" : "Fizz") :
(i % 5 == 0 ? "Buzz" : String.valueOf(i)))
.forEach(System.out::println);
}
}
this is the full code
It's good practice to do an if name in any case because there can be some differences between Unix and Windows based stuff.
First choral performance with reconstructed aulos of reconstructed ancient scores of Athenaeus Paean (127 BC) and Euripides Orestes chorus (408 BC), with the evidence presented and explained by Professor Armand D'Angour, Jesus College Oxford.
Callum Armstrong aulos solo here: https://www.youtube.com/watch?v=6JFa8BZt2B0
Some of the research ba...
for me it is really bad
@rugged root
Provided to YouTube by Epic
Hurdy Gurdy Man ยท Donovan
The Hurdy Gurdy Man
โ Originally released 1968 Sony Music Entertainment Inc.
Released on: 1968-09-01
Producer: Mickie Most
Composer, Lyricist: D. Leitch
Auto-generated by YouTube.
the same code in py seems so easy but as soon as i get in java the concept starts to get messed up in my mind
for i in range(1, 101):
if i % 3 == 0 and i % 5 == 0:
print("FizzBuzz")
elif i % 3 == 0:
print("Fizz")
elif i % 5 == 0:
print("Buzz")
else:
it is not complete
public class FizzBuzz {
public static void main(String[] args) {
for (int i = 1; i <= 100; i++) {
if (i % 3 == 0 && i % 5 == 0) {
System.out.println("FizzBuzz");
} else if (i % 3 == 0) {
System.out.println("Fizz");
} else if (i % 5 == 0) {
System.out.println("Buzz");
} else {
System.out.println(i);
}
}
}
}
this is the easier version but not correct way
if first statement is true then to second else to third
and then if second is also true then first output else second one
if nothing is true then show the freaking number
that worked
in my mind
do you know Java @rugged root
the thing is that the range function alternative in java is the IntStreamer class
does aliasing in Java work
no it doesn
't
but the thing is that every time you have write the whole class name to access it
does anyone have experience with django
i watched the movie
What's your question?
@lucid fjord 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
Yoooo๐๐ป
"In practice, you can assume that int is atomic."
https://www.gnu.org/software/libc/manual/html_node/Atomic-Types.html
what...
!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 floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
;compiler !e ```python
song = input("Please enter the name of a song (or press Enter to skip):") or None
print('You chose: ' + song)
while song is True:
your_name = song
your_name = input('enter your name please: ')
print('hello ' + your_name + ' we wanted to give you a call about your cars extended warranty! ')
gender = input('what is your gender? ')
def get_gender(gender):
if gender.lower() == 'm':
return 'male'
elif gender.lower() == 'f':
return 'female'
else:
return 'unknown'
user_gender = get_gender(gender)
if gender.lower() == 'male':
print('you are straighter than a pencil! ')
if gender.lower() == 'female':
print('you will be forever a hydbrid!')
name = input('what is your name? ')
print("welcome, " + name + "! you are already a attack helicopter!")```
the next one is much cleaner and efficient!
# Asking for user's name
name = input("What is your name? ")
# Check the name and react accordingly
if name.lower() == "mr.Hemlock":
print("Hello mr.hemlock!")
elif name.lower() == "stinkermctinkers":
print("Get out, stinkermctinkers!")
elif name.lower() == "griff":
print("Do not come back, griff!")
else:
print(f"Hello, {name}! Nice to meet you.")```
match input("What is your name? ").lower():
case "mr.hemlock":
print("Hello Mr.Hemlock!")
case "stinkermctinkers":
print("Get out, StinkerMcTinkers!")
case "griff":
print("Do not come back, Griff!")
case name:
print(f"Hello, {name}! Nice to meet you.")
hey how are we doing
ASUS has a range of wireless routers suitable for every purpose. Whether it's for your home, for business trips, or for any other need or environment, there's an ASUS router for you.
3.0.0.4.386.51255
I loved manjaro when I used it
also using the arch package manager is by far the best
If anything probably the most fun linux experience I think I have ever had
hardest part was after I riced the ever living crap out of it and did so with dated and conflicting packages
updating my machine often broke things
but I think manjaro was a great introduction into linux
atleast it was for me
๐
@mental ginkgo 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
This "Alignment" thing turns out to be even harder than we thought.
The Paper: https://arxiv.org/pdf/1906.01820.pdf
Discord Waiting List Sign-Up: https://forms.gle/YhYgjakwQ1Lzd4tJ8
AI Safety Career Bottlenecks Survey: https://www.guidedtrack.com/programs/n8cydtu/run
Intelligence and Stupidity - The Orthogonality Th...
https://youtu.be/nKJlF-olKmg?t=140 ignore the thumbnail)
an example of how difficult it is to specify objectives
AI systems do what you say, and it's hard to say exactly what you mean.
Let's look at a list of real life examples of specification gaming!
Related Videos from me:
Reward Hacking: https://youtu.be/92qDfT8pENs
Reward Hacking Reloaded: https://youtu.be/46nsTFfsBuc
What Can We Do About Reward Hacking?: https://youtu.be/13tZ9Yia71c
The list: http:...
god please unmute me @rugged root I want to participate in this conversation
that being said, I really agree with what @rugged root said
people just want to slow down OpenAI
and use public opinion to influence that
its not actually about the ethics, its about competition
Would an arms race be like a foot race but with handstands?
yeah exactly
suggest me something to learn which takes time but will def benefit me in future
(money wise and knowledge wise)
what genre
I think there could still be another AI winter yet ๐
They are apparently hitting a bit of a wall with the current models.
low level programming will be the last thing to be replaced by AI
C/C++
why is that
Ben Goertzel is a computer scientist, mathematician, and entrepreneur. His work focuses on AGI, which aims to create truly intelligent machines that can learn, reason, and think like humans. Sponsors:
Brilliant: https://brilliant.org/TOE for 20% off
New TOE Website (early access to episodes): https://theoriesofeverything.org/
Patreon: ...
its harder to understand code that works more directly with the hardware
C/C++ are not low level. Both are actually very high level programming languages
u want us to learn assembly?
I'm not sure that's true, given that optimising compilers already exist and aren't particularly sophisticated as far as AI goes.
papers like this have popped up in the past. In my opinion these kind of papers are flag planting for the authors to say they published one of the first papers on general intelligence
in truth GPT-4 is far from general intelligence
well that's the distinction. Any kind of byte code, machine code or assembly is low level
i mean i want to learn somehting which will def help me money wise if i learn it in future
mhm
there is no reason for a human to ever write assembly
I mean what is your time span, learning math helps with making more money
i mean i am 16 rn
soo prob max 2 yrs
oh what
i know people that write assembly ??
coz i will be taking a student loan for education next yr for college
you are so young
soo thats why i asked that
hmm
but anything related to computer science which might be much needed in next 3-4 yrs?
if u could suggest
I'm resolutely a behaviourist when it comes to AI ๐
And I have written my fair share of assembly but in the world as it is today there is no reason to write assembly. I would still say it's valuable to know how to read and write it especially if you want to go and write a compiler however llvm is rapidly removing even this requirement
yeh it helps if u are a reverse engineer
for security research its pretty standard
All living organisms share several key characteristics or functions: order, sensitivity or response to the environment, reproduction, adaptation, growth and development, homeostasis, energy processing, and evolution. When viewed together, these characteristics serve to define life. Different sources may use slightly different terms to describe these characteristics, but the basic ideas are always present.
Yeah I guess that would be true if you are disassembling binaries
or writing payloads
intelligence = information processing
It's very easy to allow for buffer overflows in C unfortunately
Yeah I'd agree with that
as someone who is finishing their masters in computer science in a week I can tell you with the utmost assurance that I wish I studied math and learned computer science in my free time. Math (or physics) has grounding in all things, things that generally pay incredibly well but more importantly things that are interesting.
I think there's a bit of an illusion of depth with the current batch of chat agents, given the sheer breadth of their knowledge (i.e. they've "read the entire internet"). Although there is some depth to their reasoning, you quickly see the limits of their sequential reasoning abilities when you e.g. ask them to multiply two 5-digit numbers.
math, and phy sure , but how does knowledge of maths make u money? tutions?
are you asking what jobs you can get with math and/or physics?
exec(s:='print("exec(s:=%r)"%s)')
I think one of the most widely accepted definitions is "the ability to behave optimally in a variety of environments".
At least, that's what a behaviourist would say.
@quick cloak Yup
Types of AI
https://www.spiceworks.com/tech/artificial-intelligence/articles/narrow-general-super-ai-difference/
Narrow Ai = chatgpt, alphaGo
AGI = GPT4+
I think that should be something you should look into. This is kinda the fun part. you are young enough to go off and explore, pick and choose, what you find interesting. Just keep in the back of your mind that math and physics has reaches that would suprise you. I know people who work within biology, finance and computer science that studied physics
Not real time, certainly
mhm
AI capabilities
https://docs.google.com/spreadsheets/d/1O5KVQW1Hx5ZAkcg8AIRjbQLQzx2wVaLl0SqUu-ir9Fs/edit#gid=1158069878
Summary: Current models (2023)
Permalink:,https://lifearchitect.ai/models-table/,Also at:,https://huggingface.co/spaces/adt/models-table
Model,Lab,Selected
playgrounds,Parameters
(...
I don't really agree with that ๐
https://www.youtube.com/watch?v=GbMHAaB0uI0
this video is quite intresting,
Copilot, ChatGPT and other AI models become a threat to hackers. We rely on insecure code, but when all developers moved over to code generated by AI, we will lose our job. We need to act fast!
Join the https://rAIsistance.com now!
Here is the three step plan to secure our future:
But wouldn't an AI with no input/output would be pretty useless ๐ค
"If we don't do it, somebody else will" is a horrifying sentence, depending on the context.
Giving to charity? If we don't do it, somebody else will.
Washing the dishes? If we don't do it, somebody else will.
Planet-cracking weapon? If we don't do it, somebody else will.
https://generative.ink/posts/simulators/ cool article
Simulacra and simulation in self-supervised models
It can, if u use robotics?>
I think what you're saying doesn't make very much sense. It's exactly like saying, we (humans) can't cause harm because we're stuck inside our own minds.
We have sensors and actuators with which we can affect our environment.
An AI without any would be useless.
Blink blink, whirr whirr.
right but if we always keep the brain unconnected to those sensors and actuators then we will always been safe
I mean main thing is , i dont think in the near future it gonna take jobs of devs atleast, idk about others
Wetware hacking.
But why would we do that? ๐
where do u guys read latests research papers on agi , ai researches etc?
"What were those flashing lights?"
"Dunno. Wanna go hook up this stuff to the internet?"
"Sure, let's go."
I mean we likely wont, but that is an error of humans
I honestly don't. Most of this stuff is waaaaayyyy above my head
hmmm
I just kind of extrapolate from my best guesses
I mean, what use is an AI agent with no inputs or outputs?
if you are truly worried about AI taking your job then just learn to do theater or dance. A skill that is only rewarded to humans. Any skill requiring an expertise or knowledge set will be replaced
So according to what you are saying, most humans would be useless ?
https://youtu.be/_iYU9h7FEw0 <generated by ai>
Giving you my best, aye
ai wont take our job, but if agi is made it will
will create new job as well,
wait this song isnt by any real person?
Probably that's the more pressing issue in the short term (misuse), although the other issue is worth thinking about (alignment).
it is not.
daaam
its not a question of zero inputs/outputs or all the inputs/outputs. Its a question of weighing the correct inputs/outputs that we want automated. Should we be able to ask the AI questions, sure. Should we give it the on/off switch to a missle launch sequence, probably not.
it was generated by an ai
this is also true
what will be result if agi starts playing a role in judicial role etc.
if thats rlly true , then what will humans do, makes no sense to me
Have they never seen Raiders?
I dont understand what you said here
i mean ur saying most human jobs will be overtaken by agi, then what would humans do
it isnt making sense
live in paradise becoming fat, dumb and happy while everything is automated around them
well humans in that year will figure it out.
You can't imagine ways a sufficiently intelligent AI could act though its restricted inputs/outputs to extend its reach?
I dont quite understand what you mean
can you reword?
brb
soo difference between rich and poor will not be there u mean?
"You can't imagine being fooled by an AI?" essentially ๐
I mean what we are talking about is science fiction. I dont know what will happen. I just assume when there is an entity that is smarter than every human to have ever lived, past and present, (that we can somehow control) that there would be no reason to work
no I can imagine being fooled. I assume that AI is going to take over regardless of how much we control it. We are building the thing that will likely make humans go extinct. Its just a question of how quickly and if we merge with AI during that process, i.e. uploading, cyborg, etc.
but again this is science fiction
AI alignment is an active area of research
Yeah I do actually think there could be another AI winter.
not like what there was in the 80s
the next winter will be because AI got dangerous or its normalized
That's what they thought in the 80s ยฏ_(ใ)_/ยฏ
in the same way that we are technically in an app winter
Yeah, that's called canola oil in the US I think ๐ค
the paper on ai mortarium https://futureoflife.org/wp-content/uploads/2023/04/FLI_Policymaking_In_The_Pause.pdf
It's a lovely colour though ๐
ai generated
you mean moratorium
mortuarium is a place to store dead people
Loooooooooooool, suggested correction didn't pay attention
ai generated

I was fooled by this one when I first saw it on twitter ๐
https://tenor.com/view/meme-made-creator-stolen-gif-20229431 "AI made this."
lol
wassup
what tool did you use to verify it was made by AI? @ Ravi
It definitely has a certain style of speech.
I'm not sure I could reliably detect it.
Although we do have to do that fairly often in this server to enforce rule 10.
free one just searched, and even asked chatpt itself that if the solution is generated by AI
i dont have permissio n to talk why/
Stackin' up my cash, now I'm living lavish
Used to be strugglin', now I'm living like I'm famous
Everything I do, I do it big, no small changes
Focused on my goals, and the rest is just arrangements
Money's not the only thing that's on my mind
I'm trying to leave a legacy, something to define
Something that they'll remember, long after I'm gone
My music's gonna live forever, my spirit's in every song
So I keep grinding, hustling day and night
I'll never stop until I reach the highest height
And when I finally make it, when I reach the top
I'll remember where I came from, I'll never forget my spot
Cause I'm a hustler, a fighter, a winner
I'll keep climbing until I'm shining like a sinner
I'll never let anyone bring me down
I'm a king, and I'll wear that crown. (generated by ai in style kanye west)
Yeah it's pretty good actually ๐
How i can verified ?
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
!voice
I've used it a bit as a learning aid.
Mostly asking it to generate practice exercises.
Read what it says in that channel.
https://www.youtube.com/watch?v=1LV1K69885E&t=37s&pp=ygUOZmlyZXNoaXAgbXVzaWM%3D
Tools for generating music ignore thumbnail
Google recently demonstrated how MusicLM can compose high-fidelity audio from a text prompt with generative AI technology. Let's make some predictions about how AI tech will affect the music industry in the future.
#ai #tech #TheCodeReport
๐ฌ Chat with Me on Discord
๐ Resources
MusicLM https://google-research.git...
I Need Help Python who can Help me
If you can keep your head when all around Are losing theirs and letting off sound If you can trust yourself when others doubt And keep the vibe alive, never drop out If you can flex and still keep your humility And get the crowd hyped with your ability If you can grind hard but keep your soul And still be true to your original goal If you can keep your focus in the darkest night And keep the flow tight, never losing sight If you can ride the beat and ride it well And let the bassline do the story tell If you can handle fame and not lose your way And still remember what you want to say If you can live your life with no regrets And keep the crowd jumping with no resets Yours is the stage and everything that's in it, And - which is more - you'll be a legend, Stevie, my friend!
dont ask to ask
What's your question, @neat frost
I can't run my python script can someone help me on appeal
I don't understand what you mean.
I can't run my python script
Right, what is your code
Yeah the closest thing would be #tools-and-devops
it's not a code problem they can't find the folder I want to launch in the terminal
brb
Learning all of the admin stuff around programming for me has always been more difficult than programming itself.
What error are you getting, can you elaborate?
Whait
@quick cloak https://pdm.fming.dev/latest/
C:\Users\GED\AppData\Local\Programs\Python\Python311\python.exe: can't find 'main' module in....
@rugged root
Double-check that the path to the Python script is correct. Make sure that the path is spelled correctly and that the file exists in the specified location.
@ivory horizon
Ok I'll look it up
Iterators are why you can do things like: ```py
for x in range(10**100):
...
Your best bet would be to ask in #data-science-and-ml
I'm not sure if there are any voice chat regulars who are data engineers ๐ค
!ban 644517210936705034 2d "Every time I come in here, it feels like I'm talking to a bunch of sex offenders." Learn to behave yourself, learn how to not be offensive. Please review our code of conduct and rules.
:incoming_envelope: :ok_hand: applied ban to @surreal lotus until <t:1682616313:f> (2 days).
SyntaxError: unexpected character after line continuation characte
why does she tell me that
?
!source
@civic zephyr
i love how amazon internals are accessible through gui
!e py for \ i in range(5): print(i)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | 0
002 | 1
003 | 2
004 | 3
005 | 4
!e py for \ ? i in range(5): print(i)
@somber heath :x: Your 3.11 eval job has completed with return code 1.
001 | File "/home/main.py", line 1
002 | for \ ?
003 | ^
004 | SyntaxError: unexpected character after line continuation character
\ is the line continuation character.
Once the interpreter sees that, it expects exactly one newline directly after it on that line and nothing else.
So something like the ? would be unexpected.
Line continuation characters are there for use, but it's generally preferable to avoid their use.
Reducing your line lengths in other ways is preferred.
i see so the for loop would run fine without the ? character
\ means "This line continues on the next line"
That's one aspect.
But just avoiding trying to write everything as oneliners.
Often, single lines are a compound of several, smaller subcompounds and so on.
So you can just untangle each nesting onto separate lines.
Welcome to my math notes site. Contained in this site are the notes (free and downloadable) that I use to teach Algebra, Calculus (I, II and III) as well as Differential Equations at Lamar University. The notes contain the usual topics that are taught in those courses as well as a few extra topics that I decided to include just because I wante...
!voice @bitter reef
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
dont spam
sorry sir
the zen of coffee and coding
Antoine de Saint-Exupรฉry was a french writer and aviator. With his two friends Henri Guillaumet and Jean Mermoz, he was a pioneer of international postal flight. He wrote several bestselling book like "Wind, Sand and Stars", "Southern Mail", "The Wisdom of the Sands", "Night Flight", "Flight to Arras" and "The Little Prince". Engaged in the batt...
This is a BEHIND THE SCENES video - so RAW and UNCUT.
In this episode, I record the "deep dive" into the April 2023 UAP public hearing.
I will have a chapter guide and links when the video goes on. This is behind the scenes, so, still working on all that ;)
...
puts gets.to_i*2**6
l,w,h=[int(input())for _ in range(3)] print(2*(l*w+l*h+h*w))
l,w,h=3.times.map{gets.to_i};puts 2*(l*w+l*h+w*h)
49 bytes
would something like this work?
probably, try it ยฏ\_(ใ)_/ยฏ
john =
{ first = "John"
, last = "Hobson"
, age = 81
}
no way opal is singing
Especially good for how you dictate the page structure:
view : Model -> Html Msg
view model =
div []
[ button [ onClick Decrement ] [ text "-" ]
, div [] [ text (String.fromInt model) ]
, button [ onClick Increment ] [ text "+" ]
]
^ Elm lang
gtg ๐
c++ is great!!!
Doing a code review? ๐
need help
FileNotFoundError: [Errno 2] No such file or directory:
I can't open a file in my script, it puts me like this
Hey ๐ Could I see the relevant code?
I recommend posting in the help forum btw. See #โ๏ฝhow-to-get-help
there are too many characters for a discord message
Ah ok. Post your question in #1035199133436354600. You can use our pastebin to share large amounts of code: https://paste.pythondiscord.com
Make sure to post the full error message (including the traceback). That will make it easier for people to answer your question.
okay thanks
I mean it's surely not too difficult to write yourself:
!e ```py
def ordinal(n):
if 1 <= n % 10 <= 3 and not 10 <= n % 100 < 20:
th = ['', 'st', 'nd', 'rd'][n % 10]
else:
th = 'th'
return f"{n}{th}"
for n in range(100):
print(n, ordinal(n))
there are certain conditions for it to find my file but I don't understand them
Oh sorry, I was responding to someone in voice chat ๐
came back for an hour-ish just to show off the epic graphs
4 days of social isolation and exclusively working with Rust absolutely paid off
this
Alright hot take alert ๐
@midnight agate that's the continuation of the monad stuff being implemented in Rust
Unless you were being mummified
it actually allows tracing the execution flow and rendering when and how stuff like requests to IO are being made
importantly, parts responsible for checking tree subsets (example code being traced) and parts responsible for collecting tracing data don't depend on each other
btw, first image corresponds to one algorithm optimisation missing
an it's visible in the graph that it takes more "external responses" to get the result
did what in?
visualisation?
my Rust code outputs coordinates of all rectangles to be drawn
and then those rectangles are thrown at Python PIL
It's not dynamic dispatch, it's just a flexible way to define the static type of a function.
!d typing.overload
@typing.overload```
The `@overload` decorator allows describing functions and methods that support multiple different combinations of argument types. A series of `@overload`-decorated definitions must be followed by exactly one non-`@overload`-decorated definition (for the same function/method). The `@overload`-decorated definitions are for the benefit of the type checker only, since they will be overwritten by the non-`@overload`-decorated definition, while the latter is used at runtime but should be ignored by a type checker. At runtime, calling a `@overload`-decorated function directly will raise [`NotImplementedError`](https://docs.python.org/3/library/exceptions.html#NotImplementedError "NotImplementedError"). An example of overload that gives a more precise type than can be expressed using a union or a type variable:
this
There is a single_dispatch decorator in functools.
and that too
!d functools.singledispatch
@functools.singledispatch```
Transform a function into a [single-dispatch](https://docs.python.org/3/glossary.html#term-single-dispatch) [generic function](https://docs.python.org/3/glossary.html#term-generic-function).
To define a generic function, decorate it with the `@singledispatch` decorator. When defining a function using `@singledispatch`, note that the dispatch happens on the type of the first argument:
```py
>>> from functools import singledispatch
>>> @singledispatch
... def fun(arg, verbose=False):
... if verbose:
... print("Let me just say,", end=" ")
... print(arg)
```...
Welcome to CS education ๐
there was quite a hard task that can be solved extremely cleverly
suppose you have the iteration abstracted via ControlFlow
and now you need to implement that for composition of Monads
spoiler: || ControlFlow<A, B> is isomorphic to Result<A, B> ||
Eclipse is newer than IntelliJ
Feel free to ask here, but your best bet would be to make a post in the help forum: #โ๏ฝhow-to-get-help
I don't think so
google the first release date
Also Python is older than Java ๐
IntelliJ is older
Same tbh ๐