#voice-chat-text-0
1 messages · Page 397 of 1
back in 2
@chilly wolf Were you the one who was working on a tetris AI solver?
If so, I have time now if you like to chat and go through some code.
!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.
@copper perch
hey @sweet inlet
lucky arch then
lucky its not in the bin
@wind raptor hey
Helo
hi
@wind raptor
i heard some time ago that u can make custom dc activities but it was really hard is there any module or something to make it easier by now?
a simple (and probably terribly overdone) blackjack game
for the udemy class 100 days of code python
I have to run! It's past my bedtime! Thanks guys 🙂
@dry jasper Does that mean you're not allowed to drive?
Sounds like you probably...shouldn't?
Yeah i think so to
I live in a Farmer area so i dont really drive over the Highway, if i would drive i could stop each moment
why dotnet community is far better than python /
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.
He is helping me with my neural network
Ahh! Got it.
i thought he's explaining some new thing that came
earlier
Just giving some points. He's well-versed in it himself.
@rugged root drop by goddammit. I miss the shit out of you.
Check the chat, I'm right here
hi guys hope you all are doing well , somone can help me i need a little project using graphical interface to my presentation for tmrw at the university ,somone can send me the code and i will try to run it and understand it ,thank you !
I don't think anyone is going to write the code for you, but if you tell us what you need we'd probably be willing to help
Can't do the whole thing for you. Have you written anything thus far?
wait, opalmist and hemlock are not the same person?
No.
I think I've listened to a single song for >100 times by now;
it's been out for only 3 days
Which song?
Got it
Is there a specific reason you like it or just the rhythm of it?
sklearn/cluster/_kmeans.py line 174
centers, indices = _kmeans_plusplus(```
bot is reading your mind bro
sklearn/cluster/_kmeans.py lines 181 to 183
def _kmeans_plusplus(
X, n_clusters, x_squared_norms, sample_weight, random_state, n_local_trials=None
):```
1196
init : {'k-means++', 'random'}, callable or array-like of shape
(n_clusters, n_features), default='k-means++'
Method for initialization:
* 'k-means++' : selects initial cluster centroids using sampling \
based on an empirical probability distribution of the points' \
contribution to the overall inertia. This technique speeds up \
convergence. The algorithm implemented is "greedy k-means++". It \
differs from the vanilla k-means++ by making several trials at \
each sampling step and choosing the best centroid among them.
* 'random': choose `n_clusters` observations (rows) at random from \
data for the initial centroids.
* If an array is passed, it should be of shape (n_clusters, n_features)\
and gives the initial centers.
* If a callable is passed, it should take arguments X, n_clusters and a\
random state and return an initialization.
For an example of how to use the different `init` strategy, see the example
entitled :ref:`sphx_glr_auto_examples_cluster_plot_kmeans_digits.py`.
default='k-means++'
_BaseKMeans
75
sklearn/cluster/_kmeans.py lines 1019 to 1026
if isinstance(init, str) and init == "k-means++":
centers, _ = _kmeans_plusplus(
X,
n_clusters,
random_state=random_state,
x_squared_norms=x_squared_norms,
sample_weight=sample_weight,
)```
here
''''
File "Flowers_Clustering.py", line 262, in <module>
main()
File "Flowers_Clustering.py", line 229, in main
k_labels = Tester_Cluster_Initializer.cluster_initalizer_tester(reduced_feature_vector, number_of_clusts, RANDOM_SEED, None, None)
File "/Users/thomaswebbers/Documents/Study/VU_MSC_FINAL/MSC_Thesis/K-Cluster_Analysis_Benchmark/K-Cluster_Analysis_Benchmark/Code/Tester_Cluster_Initializer.py", line 108, in cluster_initalizer_tester
init = check_array(init, dtype=X.dtype, copy=True, order="C")
File "/Users/thomaswebbers/opt/anaconda3/envs/tf/lib/python3.8/site-packages/sklearn/utils/validation.py", line 915, in check_array
array = _asarray_with_order(array, order=order, dtype=dtype, xp=xp)
File "/Users/thomaswebbers/opt/anaconda3/envs/tf/lib/python3.8/site-packages/sklearn/utils/_array_api.py", line 380, in _asarray_with_order
array = numpy.asarray(array, order=order, dtype=dtype)
ValueError: could not convert string to float: 'k-means++'
(tf) PinkWin
sklearn/base.py line 820
data = check_array(data, accept_sparse="csr")```
there will never be another outage again
// featuring Alexis Gay: https://www.instagram.com/yayalexisgay
// more krazam scenes: https://www.patreon.com/KRAZAM
just passing the wrong thing into the function?
classic indeed
sklearn/utils/validation.py line 915
array = _asarray_with_order(array, order=order, dtype=dtype, xp=xp)```
how's your renderer work going @unique wyvern ?
def kmeans_plusplus(
lyrics and singing style mostly
sklearn/cluster/_kmeans.py line 446
est = KMeans(```
examples/cluster/plot_kmeans_plusplus.py line 31
centers_init, indices = kmeans_plusplus(X, n_clusters=4, random_state=0)```
sklearn/cluster/_kmeans.py line 446
est = KMeans(```
it's in the public interface
def kmeans_plusplus
non-_-prefixed functions are not expected to be called from outside
examples
I'll have to listen with lyrics then.
sklearn/mixture/_base.py line 134
_, indices = kmeans_plusplus(```
idk what branch its' from
what are we currently trying to find
and why
I'm not looking at branches, I'm search through the repository
1.3.x
commits are branchless
hey my menu still not working can i zip the file then u import to see how it looks ?
Would be better if you put it on a repo and link it that way
it's not an implementation detail
I'm not super comfortable with people sharing a .zip and asking folks to run it arbitrarily
@cloud fulcrum you should run through the code with a debugger so you actually see what calls what
step-by-step
I don't believe in the "they forgot" hypothesis
!e
import numpy as np
import matplotlib.pyplot as plt
data = np.array([[150, 50], [160, 55], [165, 60], [170, 65], [175, 70], [180, 80], [190, 90]])
plt.scatter(data[:, 0], data[:, 1], c='blue', label='Data Points')
plt.xlabel('Height (cm)')
plt.ylabel('Weight (kg)')
plt.title('Height vs Weight')
plt.legend()
plt.show()
I don't think the python bot has sklearn installed.
:warning: Your 3.12 eval job has completed with return code 0.
[No output]
# Validate init array
init = self.init
init_is_array_like = _is_arraylike_not_scalar(init)
if init_is_array_like:
init = check_array(init, dtype=X.dtype, copy=True, order="C")
self._validate_center_shape(X, init)
"kmeans++"
@small anchor Namaskar!
Traceback (most recent call last):
File "Flowers_Clustering.py", line 262, in <module>
main()
File "Flowers_Clustering.py", line 229, in main
k_labels = Tester_Cluster_Initializer.cluster_initalizer_tester(reduced_feature_vector, number_of_clusts, RANDOM_SEED, None, None)
File "/Users/thomaswebbers/Documents/Study/VU_MSC_FINAL/MSC_Thesis/K-Cluster_Analysis_Benchmark/K-Cluster_Analysis_Benchmark/Code/Tester_Cluster_Initializer.py", line 108, in cluster_initalizer_tester
init = check_array(init, dtype=X.dtype, copy=True, order="C")
File "/Users/thomaswebbers/opt/anaconda3/envs/tf/lib/python3.8/site-packages/sklearn/utils/validation.py", line 915, in check_array
array = _asarray_with_order(array, order=order, dtype=dtype, xp=xp)
File "/Users/thomaswebbers/opt/anaconda3/envs/tf/lib/python3.8/site-packages/sklearn/utils/_array_api.py", line 380, in _asarray_with_order
array = numpy.asarray(array, order=order, dtype=dtype)
ValueError: could not convert string to float: 'k-means++'
init = check_array(init, dtype=X.dtype, copy=True, order="C")
what other variables are in scope of that function/method (cluster_initalizer_tester)?
# subtract of mean of x for more accurate distance computations
if not sp.issparse(X):
X_mean = X.mean(axis=0)
# The copy was already done above
X -= X_mean
if init_is_array_like:
init -= X_mean
!e
import numpy as np
print(repr(np.asarray("hi")))
original code (from scikit) is not doing that with init
:white_check_mark: Your 3.12 eval job has completed with return code 0.
array('hi', dtype='<U2')
!e
import numpy as np
print(np.asarray("hi").ndim)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
0
a[()]
That's so much
It's like a small bead is how much you use
!e
import numpy as np
arr = np.asarray([["hi", "hello"], ["bye", "goodbye"]])
print(arr)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | [['hi' 'hello']
002 | ['bye' 'goodbye']]
Okay so
Once he presses it it'll spread though.
Take the processer out
!e
import numpy as np
arr = np.asarray([["hi", "hello"], ["bye", "goodbye"]])
print(arr.ndim)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
2
Yeah take the processor out, wipe it off with some isopropyl alcohol, add a small bead, take a card and spread it thinly
Covering it evenly across
Oh
Then slot it back in and then put the heatsink back on
Oops I just wiped it with alcohol pad in socket
Got it
Also, why are you me?
Idk I found this picture in my camera roll from like 2 years ago and it reminded me of the good old days
!e
import numpy as np
a = np.array(["a", "b", "c"])
a.view(np.int32)[:] += 1
print(a)
Probably my only good picture of me
young hemlock looks like a good guy
:white_check_mark: Your 3.12 eval job has completed with return code 0.
['b' 'c' 'd']
Na I like the modern one
Both are amazing in their own ways
Do I just have a different definition of a pebble?
Eh, that's probably fine
Just see how thinly it spreads
Again, I highly advise against just plopping the heatsink on there
If you have an old credit card or gift card, that's your best bet
Butter knife it is
It likes it there
HA
Also compressed air cans suck
Shit gets too cold and then sizzles
Sounds like it’s abouta blow up
Just using daddy’s air compressor now
Wait
While the processor is in there with the bare thermal paste on there?
Where the dust could now settle in the paste?
I just wanted to get the heavy stuff off the fan holes
You're a fan hole
Okay so
Ik this will prob trigger someone
Said it's too little.
that's perfect actually
I was under the impression you had to cover it fully.
that's just some woke media myth
My performance begs to differ, but sure.
from sklearn.cluster import KMeans, kmeans_plusplus
import numpy as np
k=50
trials=1
np.random.seed(9)
X = np.random.random(size=(1000,3)) # data set
centers, indices = kmeans_plusplus(X, n_clusters=k, random_state=0,n_local_trials=trials)
km=KMeans(n_clusters=k,init=centers,n_init=1)
km.fit(X)
print("inertia = ",km.inertia_)
faked a thesis ?
Inspired by the work of Sabetta Matsumoto and Julianna Abel, we have been looking at programmable automatic knitting machines on the cheap. Several scientists research the creation of unique metamaterials by programming them with lattices of slip-knots, a process colloquially known as knitting. A low-end industrial programmable knitting machine,...
$4 raise ... there saying .. please stay @chilly wolf
they are aware of head hunters , poaching staff
prop is ok ,
good code that doesnt have to be re-written or constantly checked is a good deal
non supervised neural net for Tetris ? @chilly wolf
I wanted to make a AI , tic-tac-toe , got lost in pygame stuff
motion analysis of security cam stuff is crappy @chilly wolf
He develops a AI that becomes aware @chilly wolf
Nokia was the GOAT before the smart-phone era
Had a great Nokia Xpressmusic 5310 back in the day
Had everything I needed except for WiFi support
Had to put together a shelf
I now have another shelf to put together
I enjoy the variety in what I do
I'm just very very out of shape
def example_settings_menu_options(self, owner, tabname, master): #self is the tab, backwards way of doing it, but we move
item = ctk.CTkLabel(self, text="Example Settings", font=("Fixedsys", 40)) # create a title
item.pack(fill="y") # pack it and make it stretch on the Y axis
spacer = jscu.return_label_spacer(self) # add a spacer line under the label
example_file_ask = jscu.simple_file_directory(self,
master,
master.addons["example_root"],
return_file_dir,
"JSC Folder Example")
#insert the simple file directory, which calls return file dir
example_slider = jscu.simple_slider(self,
master,
master.addons["example_slider_val"],
slider_val_update,
"JSC Slider Example")
example_color_ask = jscu.simple_color_asker(self,
master,
master.addons["example_default_color"],
example_apply_colors,
"Example Frame")
def example_apply_colors(self, owner, selection):
print(selection)
def slider_val_update(self, owner, selection):
self.example_slider_val = int(selection)
def return_file_dir(self, owner, selection):
self.example_root = selection #this is a callback from the button, if you wanna save the value it is not automatic
@unique wyvern "if no other solution works, exit(123) everywhere so you iteratively find out what pieces of code are reached and which aren't before the segfault"
technically™️ gives some debug information
@rugged root
80 is concerning
reminder:
.xkcd 2407
wait why is tetris effect journey practice only half the whole campaign
some levels are cut off
hmm
ohno
VPN and steam don't mix well
@neon shore it's directly connected to the game if I understand correctly
it's not an external thing
@sweet inlet yes unfortunately
grid = [[0 for _ in range(GRID_WIDTH)] for _ in range(GRID_HEIGHT)]```
I am having to deal with it quite a bit
def get_state_feature_vector(state, device):
try:
grid = np.array(state['board'])
except Exception as e:
raise e
grid = np.expand_dims(grid, axis=0)
return torch.tensor(grid, dtype=torch.float32).to(device)```
def get_game_state(grid):
state = {
'board': grid
}
return state```
@neon shore i am arab
guess
nah
💀 what country speak arabic ...
it's in the gulf
😅
kuwait and bahrain ?? ok and mr.z ?
what is your guess mr.z
final answer mr.z kuwait or ksa ?
kingdom of saudi arabia
correct
it's weird
if you don't want rice don't go to a main rice dish place
@neon shore that's my grandpa too cousin
something else
what is salt actually doing ?
promising progress. Lot's of instances of this where it intentionally places blocks together
sick man
bro in Egypt and Argentina and Brazil was killing each other on the stadium
guys my old cpu was intel Pentium gold
that was in my cs (computer science)prime...... i ran blinder on it it was hell
@tawdry viper ahah
now it's i5 the ram was 4 now it's 8
my old computer was the worst
i was runing 3d on gpu...
you have a good point
but it was around 3000 sr =799.81 usd
cuz it have touch screen and some stupid feature
this is what my wife said about Ezekiel making semi-good moves at times
see you soon guys i need to study for the network midterm
see you masn
me, watching Ezekiel almost make a good move then immediately lock in a terrible one
https://media3.giphy.com/media/v1.Y2lkPTc5MGI3NjExMjR4dzR2NWdxbXJwbDNvYTd3ZnV4ZHdvbnJzdDhxanRpOW12N2Y0ZiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/8vUEXZA2me7vnuUvrs/giphy.gif
wooow
nice
can i have the source code , i mean any github link ? @unique wyvern
@rugged root I'm making further questionable Windows decisions;
still not reinstalling it, but, at least, updating it to (seemingly) 22h2
!pypi batgrl
That is so cool
@wicked fox hi
@wicked fox restart it
can you hear me?
na
hehe
hold on
@somber heath howdy
@cloud kindle 👋
@somber heath i was ask
hi
I just got here
yes
very well spoken 😂
I have a small block of code for a class I'm taking. The block works but I want to understand it better
do you think you could help?
!code
print('Hello world!')
def populateArray(self, start, increment):
for i in range(len(self)):
self[i] = start + i * increment
Okay, so.
all I'm not getting is the bottom part "start + i * increment"
Hm. Okay.
When posting code, please post it as text according to the bot post above.
sorry, I'll try to figure that out better
You understand that start is coming from the function parameter?
So also increment. You understand that * is a multiplication operator?
I see you have a self parameter, but it doesn't look like this function is part of a class.
this is my third college level programming class, so I have a basic understanding
I have 3 separate python files working simultaneously for this assignment
I was not told to assign this function to a class
It's fine, it won't stop it from working if you call it correctly, it's just nonstandard.
!e py start = 7 increment = 3 for i in range(10): print(i, start + i * increment)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 0 7
002 | 1 10
003 | 2 13
004 | 3 16
005 | 4 19
006 | 5 22
007 | 6 25
008 | 7 28
009 | 8 31
010 | 9 34
So that looks like start + (i * increment) in terms of order of operations.
😂 funny enough, this assigment is purposefully making us use arrays to understand them
but normally we would just use lists
ok
wow that's so simple
I am not sure why that wasn't clicking
thank you
Whoops.
Not that one.
This one.
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@regal peak hi
hewo
i wanted to ask one thing about dictionaries in python
wait 2 min
!e
accounts = {}
def create_account():
print("===Create an account===")
acc_no = int(input("Enter an Account Number: "))
name = input("Enter your full name: ")
accounts.uptade({name:acc_no})
is this code correct?
like is the last line correct?
oh right
idk about that
uptade is should update
ik
accounts[name] = acc_no
# or
accounts.update({name: acc_no})
ohh i get it
how to do that ??
like that code ui
!code
ok
ohh so u made a key called name and then access its value and changed it to account no.
i get it
thanks
bye
@wind raptor howdy
fine working on my freelancing project
client what an card printing web app
it more complex cant explains properly
client have other clients that will use this service
very much
!stream 99041425483653120
✅ @chilly wolf can now stream until <t:1737775809:f>.
!stream 99041425483653120 2h
✅ @chilly wolf can now stream until <t:1737783478:f>.
hi
hello guys
i first time tried warp today, its very good terminal
how is goin? too much code?
does it have autocomplete
this one
It's a neural network playing the game and learning
awsome
@brisk bridge its not for windows
is it
i got early access
i mean waitlist
it got ai features and autocomplete
ui looks good
u creating a game from the ground or just traning with a open source project?
im just a curious guy haha sorry for the many questions
!pep8
PEP 8 is the official style guide for Python. It includes comprehensive guidelines for code formatting, variable naming, and making your code easy to read. Professional Python developers are usually required to follow the guidelines, and will often use code-linters like flake8 to verify that the code they're writing complies with the style guide.
More information:
- PEP 8 document
- Our PEP 8 song! :notes:
Bye
bye sus
gratz! @wise loom
do u put 6 cuz you have 6 layers in above of code?
forget
ooh nice, thx
perfect explanation
Yahoy.
I'm not sure I follow.
just climate change, im joking with desgrace... sad days
hey guys, I hope I'm close to my 50 messages lol
I feel like a probie
But its kind of a cool way to keep people engaged and weed out spammers and trolls
How's life
Ayeee perfect prnounciation
hello queen!
im close to my 50 messages too
super cool. I am deciding if I should dive into python, or stick to node and dive deeper there.
"im the destroyer os uranus" hahahaha im already your n°1 fan @faint raven
very cool
I have been working with Jekyll and Ruby and Docker at my job (transitioning into a Software Dev position), but I'm trying to convince them to move to Next.js, React, TS.
Jumping into python seems exciting but maybe too much of a stretch. Node seems closer. What do you ya'll think?
I just keep seeing so many advancements in AI man. Bolt.new just builds entire sites with plain text prompts. Web dev is gonna go bye bye lol
return Python === future ? Python : Javascript (maybe?) lol
meehaul which area u wanna work with python? data, ai, automation...
AI for sure man. Integrating AI into everything lol. Building models, training models, and only doing the SWE that the AI can't do well...yet
AI creates the algos to automate anyway haha
LOL
css and html is fire. Human designs will always be relevant.
Nice
guys, in ur jobs u using gpt, stackoverflow or documentation?
sry for errors in my sentence, im learning english too haha like u can see, cleary not my first language
me too, i have to use documentation or smt when the error got deeper
haha true
copy and paste docs into GPT
lol
and ask it to break it down into bullet points
sometimes it hallucinates though
so be careful
but it honestly doesn't really hallucinate if you copy and paste the whole documentation into it
critical reading will always be a valuable skill for sure
do u paste the whole documentation and use gpt to navigate more faster in docs?
yes
agree
summarize docs
smart move
yea man. You got this. Always find the problems that don't already have solutions or have bad solutions and work on those
don't try reinventing the wheel. Unless you want to learn how the wheel was made.
precise
Actually React kind of says otherwise. That's why Tailwind and React are so good for prototyping. Yes you should always diagram out your code first, but don't fall into paralysis by analysis.
@primal shadow
But with DSA, yes always pseudo code and diagram first
Automate the boring stuff!
i used to write pseudo code in my book or smt and then start code
but not for all problems i face in my job
I should check out kaggle after I am a little more confident in node.
But I am definitely going to keep to the JS ecosystem before I jump over to python
My little cousin is a freaking wizard in python and he's 16 lol
ok @primal shadow u make me take an existential crisis in 01:40am hahaha
but thx for the crisis
for sure i have to visit those concepts
Also guys, check out SCRIMBA
super cool project based lessons
some debug statements really helped me sort it out
y = 0 being top and y = 20 being bottom is really bad
im so deep in dumb problems in my job and forget how to write a code from the scratch
do u guys feel this sometimes?
what are you doing for your job @woven flare ?
im working in a meterology+AI company in my crountry
but im begginer in that company, so i have contact with simple code, refactor things etc
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
oh ok
I can't seem to remember what the key I used to encode the flag. Can you help me?
Encoded Text: BA0KAhk5NAoQPjk6DRM0PS0zNFZUUl5TVBw=
i finally got my permission to talk in chat, now i have to lost my fear to talk in english hahaha
the text was intially coded by base 64
^^ in blender
import random
def find_winner():
# choose a move
choice = random.choice(["rock", "paper", "scissors"])
# find winner
if choice == "rock": # rock beats paper
winner = 2
if choice == "paper": # scissors beats paper
winner = 3
if choice == "scissors": # rock beats scissors
winner = 1
# get user input
print("1 for rock, 2 for paper, 3 for scissors")
inp = int(input("> "))
if inp == winner:
print("[*] You win!")
return True
else:
print("[*] You lose! (or tied, idrc)")
return False
main function
def main():
print("Rock, paper, or scissors?")
# run 10 games
for _ in range(10):
if find_winner():
print("[*] Moving on to next round...")
else:
print("[*] GAME OVER")
exit()
# this will execute if you win all 10 games
print("[*] Printing flag...")
print(open("flag.txt").read())
run the main function
if name == "main":
main()
does anybody know some flaws in the code above that i can exploit to win everytime?
what will that do
make yourself a venv for the project
yeah
this happened
type ls in terminal please
ok
to make sure u created the venv
how do I create the venv
I input the code above
and the thing that were in ls before
are still there
People talking over one another cranks tension.
this is a very restricted linux command line btw
Specifically mine.
yes
it gives me a rock paper scissors ame
but that is too low chance of winning to receive the flag
so I was thinking about exploiting an error in the py code
am I right in doing that?
i never heard about, sry haha
i know how to create in windows and linux
JOY OF PROGRAMMING - Software Engineering Simulator is an immersive 3D programming puzzle game about automating and controlling realistic machines, robots, drones and more using real Python code. Build actual coding skills while playing, solve exciting bite-sized programming challenges and progress to unlock new programming features and improved...
$12.59
215
after what
this?
yes
@bright agate you might need to install python
install python then you will be able to create a venv
which will have a "miniature" python to use with a "miniature" pip
sudo apt-get install python3
oh
this may be a bummer
but I cant use aot
apt
sudo
or any of that
this is super restricted
thats why I am having difficulty
@calm smelt https://roadmap.sh/python
Gonna eat breakfast.
which country u live?
canada
One of the most successful health campaigns in Australia's history was launched in 1981, when a cheerful seagull in board shorts, t-shirt and hat danced his way across our TV screens singing the jingle.
'Slip, Slop, Slap!
It sounds like a breeze when you say it like that
Slip, Slop, Slap!
In the sun we always say 'Slip, Slop, Slap!'
S...
# Store transition and train if not player-controlled
if not player_actions:
try:
agent.store_transition(state, action, reward, next_state, game_over)
agent.train_model()
except Exception as e:
logging.error(f"Error storing transition or training model: {e}", exc_info=True)
pygame.quit()
sys.exit()
@chilly wolf
hi
@drifting dune 👋
@next orbit👋
@hoary tapir👋
hey👋
guys rate my totally amazing C code:
#include <stdio.h>
int main() {
int string[] = {72,101,108,108,111,44,32,87,111,114,108,100,33};
for (int i = 0; i < *(&string + 1) - string;i++) {
printf("%c",(char)string[i]);
}
return 0;
}
A loop to add 1 to the integers?
what?
@lilac bear👋
Yet to be voice verified ugh
What does chigga mean?
Probably an amalgamation of the words "Chinese" and "N*gga"
So it can be bigga as well?
@sick pecan👋
"British" + "N*gga"?
Why its offensive to use N - word?
What happened?
My text disappeared
if it dissapeared, maybe you're not supposed to say it
It was link
what was the link about
It was about the n-word, and its history..
It didn't mentioned why they find it offensive
I don't know, because they don't mind if black person use this word
The bot auto-deletes words containing certain words. As for the offensiveness of the n-word, it's related to its racist use (as words' meaning derive from their use).
And that black dude can say the n word to non black
We're not the place to discuss this, I would think, just don't use racial slurs here.
But how come they can use the same word in rap / hiphop.
They can use this word to refer any non black or black.
But they find it offensive if someone else use it other than black people
Yeah, well, that's just how it is. We don't need to discuss this here.
Okay
doesnt let me talk
can hear you @storm dock
but I'm not voice verified yet
can relate bro
same, even though I should be more serious lmao, with internship coming up and all
How long you been using python
on and off about 2 years
What did you make
Machine Learning project where we utilised diabetes data to predict if a patient had diabetes
a Fuzzy Logic project where we utilised skfuzzy library to help us make better investing decisions
a rudimentary image processing project where I used mediapipe and openCV. The project basically detected if you fell and sent the notifications to a caregiver's phone (primarily for use in old homes)
oh yeah, a telegram bot based on a funny character
a rudimentary quiz app utilising NLTK and other NLP libraries, where you basically parse in a paragraph or text, and it generates questions for you (this was before ChatGPT was mainstream)
yo
this one was in collaboration with @upper basin btw
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Can you get your voice perm?
You'll need to visit the voice verification channel, linked above.
less than 50 messages
can't spam either
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
yep, the reason is "You have sent less than 50 messages."
Opal, meet my classmate Zubayer. Great guy.
Ah, give it time, you'll get there in no time.
The 50 messages are like 50 mini quests
you complete them one by one
and eventually you get the reward
which is, being able to speak in the VC
oh wow
you're not gonna belive this, but
I was actually doing a life reflection on that very theme just now
seeing this message made me get goosebumps

hii guys
hello
Where the VC squad at
Less likely to assemble on the weekends.
Opali
I can't open my mic
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@whole bear 👋
Can anyone help with installing Linux mint as of now I have no os on my laptop
Hi 👋
What computers do you have access to?
I flashed a usb to use Linux mint but some changes that I had done to my system and I can't access my usb os and I tried different ways still I got the same response
I'm inexperienced with newer hardware and what they're doing these days.
May be Linux files corrupt..
@soft axle cant even find 20k year job
sad days
did you try googling
this was the literal first result for "failed to start mokmanager"
https://www.reddit.com/r/pop_os/comments/16tf1vl/something_has_gone_seriously_wrong_import_mok/
it says it has to do with secure boot
@soft axle me
@chrome thicket @neon wasp 👋
which one
I installed it from official site then flashed it using balena ether
im considering a second degree, but Im not sure which to do
Btech in I.T
Hey @somber heath I dont have permission to speak
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
only consider if you want to become an researcher
researcher??
I mean to strengthen my skills
Maybe hardware problem
dont waste your money on degree invest in markets
market?
secure boot does seem to be near many such problems often
what did you study?
if anything
❌
@soft axle i study for free
i got admission in public college
with scholarship
i just invents my money in other things
Good day
yes i am doing my bachelor in I.T
can you show me your program? I wanna compare it to mine
im also kinda doing IT
ok
you dont need to show the website or college! just the classes
class names
@wicked verge 👋
check dm
@novel sleet @terse rose Bye 👋
hello guys
and ladies
@primal shadow let me thank you again for the conversation yesterday, im reviewing concepts i forgot like a try except and other stuffs
orders_data = [{key: (value.isoformat() if isinstance(value, datetime.datetime) else value) for key, value in dict(order).items()} for order in orders_data]
async def get_contacts_data():
try:
config_data = await get_site_data()
return config_data.get("contacts", {})
except Exception as e:
return {}
except Exception as e:
return JSONResponse(content={"message": "An error occurred while processing your request."})```
Consolas, 'Courier New', monospace
when?
!stream 99041425483653120 30M
✅ @chilly wolf can now stream until <t:1737834437:f>.
discrete mathematics
Everything in discrete math is relevant to computers 😄
yes and it is not the same calculus
it's tough to choose a topic from discrete math, you just have to !pick one
https://www.khanacademy.org/math/multivariable-calculus --- if you want to teach yourself before the semester begins.
or have a secondary source for calculus
I was like 3/4 done ;~;
@cinder vale you mean conscience not consciousness, right?
Knowing morally right from wrong
conscience is closer to that
yes thats what I meant
I believe if you want to climb the corporate ladder, then you need to surpress the conscience-thoughts.
all hail corporate leaders
hail?
@hasty shore a lot of C and Erlang in-between the computers is happening to make packets reach their locations
those are called modems?
@hasty shore https://www.coursera.org/learn/computer-networking
get some hot apple CIDR and enjoy the coursera
wouldn't say that
they are so ruthless because they care so much about their companies
that's too positive of a description for Musk
wouldn't even call him cynical, he's too emotional and insane to be called that
In my country, people are taking Tesla to court because they cannot agree on terms because Teslas are actually bad cars.
if you want real example of a "apex predator" business leader, Jeff Bezos
Perfect, I forgot about him
Teslas are getting worse over the years
gradually lowering production quality
zig
there have been production-ready projects in Zig for a while
most famously tigerbeetle
(idk if bun counts)
rustlings
ziglings
C++ messed up everything
These entrepreneurs have a strong vision for their companies and therefore are willing to look past human emotions.
a thoroughly broken language
all the "errors as values are better vs exceptions are better" arguments are BS in almost every single point,
until you limit the scope a lot
@wind raptor
help me pick some classes rq?
Software is taking the planet by storm and Centennial College's Software Engineering Technology program will provide you with three years of learn
This is my program
@hasty shore ChatGPT slows down learning
you MUST write it yourself, that's the whole point to learn
you're not competent enough to use ChatGPT yet
if you can't write the same thing yourself and proofread what it gives you, don't use it, otherwise it will cause a lot of problems
also learning must go through difficulty (and a bit of suffering)
or else you just don't learn
unfortunately that's just how the brain is
@hasty shore then learn how to make that task easier to complete
make your own tools
Is True
if you choose ChatGPT now, you also choose it to be the source of your suffering
delaying and prolonging the pain
I will admit though since I am studying further maths occasionally a topic will be almost impossible to find online and so I will use chatgpt to hint which direction to go and then do the rest myself
@hasty shore it's not
it just isn't more efficient
you might feel it is
but it's not
ye doing something yourself will always make you learn faster
Approaching a new language can be scary and time consuming. The author has been a C++ programmer for quite some time and has tried to give Rust a chance many times over the years with not much success. But this has changed.
In this talk we will:
- Go over the basics of Rust (enough for the talk to make sense).
- Talk about different learning st...
and, once you get into a job, you'll realise it's in every single way
Nothing is right or wrong
not only at using it for learning, but also at writing production code
do as you want and you will see the results yourself
copilot and alike are way more useful, because it's just a faster auto-complete;
don't rely on it to write code for you, just save a few keystrokes on boilerplate
@frosty shell nice blender stuffs
all that assumes you're working in a fucked up environment where you're not allowed to choose appropriate technology and tooling that would allow you to reduce boilerplate
which, tbf, is a large portion of corporate jobs
important context: I'm only talking here about AI codegen, not using it as a search engine
ah thanks for clarifying
reasons why I'm opposed to using it as a search engine are very different
I use copilot for autocomplete - its useful for configs on kubernetes and such. But that's work related after 12 years of being out of school.
does python have template meta programming?
stash?
jesus christ the jetbrains ai is good
tl;dr, analogy:
if you hire 1000 junior engineers which are just clones, you get 1 junior engineer worth of intelligence
AI has its biases
replicating those biases at speed is suboptimal
@whole bear https://mustache.github.io/
you must use different models which are not just fine-tuned versions of each other
love you 🙇♂️, thanks
they must "come from different backgrounds" just like regular engineers at a company
god I wish I could get away from ai, it's everywhere I go!
@hasty shore you can use AI to create learning plans for you , but directly giving you the solution on a platter is getting the answer without doing the work. Don't get the answer without doing the work. Do the work, ask chatgpt for help studying as a study buddy, not as a direct-answer route.
i am a prompt engineer and i made a full stack app using AI
idk why u guys are against it
yeah, the point of us saying "ChatGPT is bad for you" is kind of:
"you are not to blame for it being a bad experience for you"
it's not a problem with you, it's problem with the technology
people say "oh, it will definitely help you", and it just won't
@whole bear it's more of , "Don't ask your friend for the answer instead of doing the work yourself"
GAAAAHHH I just got an advert on the music I was listening to for an ai powered washing machine!
true
A WASHING MACHINE
he can help you understand it but don't say "hey bro give me the sol please"
T-T
this @hasty shore
@tacit crane
Bryan Cantrill, Chief Technology Officer at Oxide, recently shared his valuable insights in Rokt's Tech Leader Speaker Series. In his talk, titled "Things I Learned The Hard Way," Cantrill delved into the world of software engineering, covering topics ranging from acquiring new skills to organizational lessons gained throughout his career.
Part...
One of the most common attitudes with respect to AI today is the so-called “doomerism,” the idea that AI technologies are inevitably fated to present an existential risk to humanity. This talk takes that idea on head first, systematically examining the theoretical risks versus the reality on the ground, taking a skeptical but thoughtful view to ...
it is not limited it depends on your prompt
the problem it's not using it's depending
❌
if u mean its limited in the sense of finding a sha256 reversing algorithm then yes but cant build a full stack app, then no
statements like this are way too close to blaming the user
(don't do that)
@frosty shell Listen to how I use AI to learn python. I start by doing tasks on CodeWars and I try to solve myself and after a while I give up and use AI to give me the answer and then I actively learn by concertizing. I concretize by writing the solution in word and then try to understand each component and write in precise sentences and then confirm if my understanding is correct. What do you think of the method?
"oh you're just using AI wrong" is the same as "oh you're just investing in wrong tokens" from cryptobros
good method, it's not school related, and you're working through understanding the problem
i mean technically it is tbh :/ , depends on the prompting skills but i would love to see AI not dependent on the prompt and can answer the same as it does on a good prompt
i mean technically it is tbh
sickening
tbh everyone is using AI wrong, if u wanna use it right, start building a tokenizer and improve the sandwiched llm models
if it's in the beginner level then search about it read doc and watch YouTube
In this programme, you will study advanced power electronics, electrical machines with strong focus on control engineering, optimisation and reliability, and integrating renewable energy systems for application sectors. You will study these topics analytically, numerically and experimentally in an innovative research environment.
full stack app
... that no one wants
does it talk to users of said app?
preferred without chatgpt , yes.
communicating to consumers is way more important that just coding the thing
sure you can build something that technically starts up and maybe works
but, yeah, needs a lot guidance
This was my first python project:
https://pastebin.com/qE0q5jn4
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.
@hasty shore conscience
If you wanted to check out my bad code @wind raptor
Did this about 5 years ago
They don't recommend gpt 😦
yeah, in this level "the harder and longer time to gain the info the better it is to stay" to build better understanding
When I wrote my bachelor thesis and I was able to recieve C but I felt bad using it
"yeah, I understand you want to use Linux, we are all guilty of wanting to be able to just google the stacktrace"
-- bcantrill, paraphrased
most of the "efficiency, efficiency, efficiency, productivity, productivity, productivity" approaches don't actually work
more code per minute != more efficiency/productivity
deliver sooner, not faster.
@hasty shore if you don't know ...you can say "hey GPT give me a road map with links or something like that" or "explain what is the error (no sol)"
Learning all the ways NOT to do something is just as important as learning the correct path
though what they said, "if I don't see immediate benefit, I don't do it", is actually quite sane
I'm not going to argue with that view because it's not wrong
@hasty shore What is your end goal? If it is for learning, then it is preferred to not use GPT or use sparingly, If you are using it for writing code for you, it is like letting someone else do the code for you- you don't learn anything. It is not always correct and takes awhile to troubleshoot /moddify - longer than if you did it yourself.
also I suggest learning the definition of "road", "map" and "road map" if you ever do that;
unfortunately "roadmap" has been used incorrectly by people way too many times, so likely the AI picked up on it too
roadmap.sh, for example, is mostly not a roadmap
it's a s i n g l e r o a d
lizzard do you know a thing or two about computer vision?
@tawdry viper other than the opencv libs, not a lot
i want the theory side and the lib names
I don't like the "GPT fundamentally can't think" arguments
@tawdry viper : there's this: https://www.youtube.com/watch?v=jSdABcWaIZg
In this tutorial, I’ll walk you through the new Llama 3.2 Vision Model just released! Many example are using the text only version of the model (1B, 3B), but I discovered that using it for image recognition (11B) is a bit more challenging to set up. So, in this video, I’m going to break it down for you: how to use the model, deploy it as an API,...
if we are to criticise AI, we can demonstrate claims like that only through statistical data
thanks man i am on a program and when i open the slide it's all figures and pictures
@hasty shore do you mean like a mod in a game ??
C++
my condolences
I'll never trust AI to write even a single line of that correctly
this new smolagents course is starting on feb 2nd im super excited to start it and im learning smol agents with week, wanted to share the course for anyone else that wants to apply and get the smolagents certificate 🙂
https://huggingface.us17.list-manage.com/subscribe?u=7f57e683fa28b51bfc493d048&id=9ed45a3ef6
https://github.com/huggingface/smolagents/tree/main
https://www.youtube.com/watch?v=c8EpB4zmXG0
Hugging Face Email Forms
🤗 smolagents: a barebones library for agents. Agents write python code to call tools and orchestrate other agents. - huggingface/smolagents
In this video, I look at the latest agent framework launched from Hugging Face called small agents. We look at how it works, what you can do with it, and how to build some agents with it.
Colab: https://drp.li/FBIMG
Blog: https://huggingface.co/blog/smolagents
For more tutorials on using LLMs and building agents, check out my Patreon
Patreon:...
I don't remember what the specific company was, but there was a case where someone wrote a script to get through a learning course to get a certificate
a worse example of "outsourcing" learning
is auto complete code build on the logic that i use when i code ? because some organisations band LLM but's it is okay to use auto complete
??
if LLMs are banned, that includes copilot and similar
yeah i know
if the IDE itself bundles an LLM -- you should probably discuss with the company
it's google collab
IntelliJ/VS proper have their own advanced auto-complete, it used to be non-LLM, idk about now
Just remember, if you don't flex a muscle, it will entropy. If you are great with something and then outsource all of that to AI, you will be less good at it after a while.
@hasty shore this ^^
and one TA said it is okay to use the default auto complete
AI learning everything is a problem of its own
it's not opinionated
or, when it is, not coherently so
yeah i think the google collab is like this
if you want an example of opinionatedness going wrong, see Devin
"just push to main ffs"
it completely broke Primeagen
It was so funny
Who knew it was programmed not to ever push to main
The problem was that it said it could
lol
you must limit what you learn;
this might be a difficult truth to accept
@unreal thicket Agile is not a framework
Scrum is
100 megabits not megabytes presumably
10 megabytes => 80 megabits
so that's approximately same
lmao
screenshotting incomplete results is funny
it's actually only
my VPN is acting up
it did not like that test
hmm
@dusk raven this is what I tried to send before connection died:
attempting to reconnect
this is not Agile
SAFE is not Agile
nor is Scrum
they're failed attempts at making something agile by ignoring fundamental rules of agility
this is Scrum