#python-discussion

1 messages · Page 523 of 1

ashen cipher
#

and that isnt an actual benchmark

grim hatch
dry basin
#

it just doesn't feel the same anymore

grim hatch
#

Let me search properly

iron pagoda
#

I think it's Ubuntu that receives a lot of attacks, if I'm not mistaken.

bronze dragon
ashen cipher
#

but ion wannaaaaaa :(

iron pagoda
#

Ubuntu and Debian receive over 200 viruses and intrusions per year, almost on par with Java and JavaScript libraries hahaha

bronze dragon
#

or, you could find benchmarks of tcc vs gcc/clang, which surely exist
and benchmarks of CPython vs gcc/clang
and correlate them

dry basin
#

he is referring to sources in like 2023 I think

grim hatch
ashen cipher
grim hatch
#

@ashen cipher

grim hatch
grim hatch
iron pagoda
#

It's very obvious who wins by a landslide.

bronze dragon
#

the point is to find out by how much

grim hatch
iron pagoda
bronze dragon
#

"landslide" is hardly quantitative

iron pagoda
ashen cipher
#

;-;

jagged belfry
#

Are we comparing box trucks to sedans again?

ashen cipher
#

sure

dry basin
bronze dragon
ashen cipher
iron pagoda
#

Scary

ashen cipher
#

:p

bronze dragon
#

surely there are benchmarks of TCC vs GCC online

ashen cipher
#

oh

iron pagoda
#

GCC He will be buried soon.

grim hatch
#

I'll make my own compiler

ashen cipher
jagged belfry
grim hatch
#

And it'll be, not 10, not 100 but 1000 times slower

junior wraith
#

The answer is a "it depends™"

iron pagoda
ashen cipher
dry basin
#

golden era for me

#

I was 12-13

grim hatch
iron pagoda
ashen cipher
# jagged belfry <https://github.com/nordlow/compiler-benchmark> has python and tcc

this really doesnt measure much imo ,,,

This will, for the C language case, generate a file generated/c/main.c containing

long add_long_n0_h0(long x) { return x + 15440; }
long add_long_n0(long x) { return x + add_long_n0_h0(x) + 95485; }

long add_long_n1_h0(long x) { return x + 37523; }
long add_long_n1(long x) { return x + add_long_n1_h0(x) + 92492; }

long add_long_n2_h0(long x) { return x + 39239; }
long add_long_n2(long x) { return x + add_long_n2_h0(x) + 12248; }


int main(__attribute__((unused)) int argc, __attribute__((unused)) char* argv[]) {
    long long_sum = 0;
    long_sum += add_long_n0(0);
    long_sum += add_long_n1(1);
    long_sum += add_long_n2(2);
    return long_sum;
}``` which is essentially useless in terms of any actual comparison of languages except maybe initial overhead of compilation
grim hatch
#

We only need C

#

And Python

iron pagoda
#

Mm

grim hatch
iron pagoda
#

C, Rust and Python

#

Good triad

#

Aristotle who planned

ashen cipher
#

if you combine C and rust you get crust

iron pagoda
#

It'll be alright! Trust me!

dry basin
ashen cipher
dry basin
ashen cipher
#

yum

kind thicket
ashen cipher
#

hi thuri

fiery yarrow
#

functools now has functools.Placeholder for partial
firEyes firHappy
in 3.14 or later
firThumpsobMeltdown

kind thicket
ashen cipher
fiery yarrow
#

there's a way to do it without placeholder, but it's kinda ugly iirc, involving lambda?

kind thicket
#

or at least compiling stuff across files

iron pagoda
fiery yarrow
#

can always alter the function order, of course

dry basin
#

i use python 3.13 and because of that I can't run stuff using pytorch and on my newly installed distro it can't get pytorch

iron pagoda
#

I'm new to Python.

dry basin
#

i can't wait until they get the wheels for it

dry basin
fiery yarrow
#

come to think of it:
the function i want to partial's signature is currently foo(tuple[int, str, int], thingy). i'm not actually sure that partial can do that, given only the first int and the thingy value. i think it probably can't

grim hatch
dry basin
#

don't worry about it you'll get it soon

dry basin
iron pagoda
#

Hah

dry basin
#

pytorch could work on the older versions

grim hatch
dry basin
#

just not this one

grim hatch
#

It's been a year

#

Mb

iron pagoda
#

I always use the latest versions.

grim hatch
#

What the hell am I saying

dry basin
#

idk they haven't even got one for 3.13

jagged belfry
#

just make a new function in place, and watch the scoping rules, they bite

grim hatch
#

Yo these pyjams looks fun

fiery yarrow
#

eh, i control the original one. i can alter its signature

grim hatch
#

Maybe I should participate

iron pagoda
#

I'm going to sleep, goodnight. SCmimidancing

grim hatch
#

I need to start participating in these challenges

#

They sound fun

brisk gazelle
grim hatch
brisk gazelle
#

Any distraction or any discomfort of any sort, my brain just nopes out.

#

So pajamas while programming...not the worst.

grim hatch
#

Someone should make that

prime mountain
#

Hi

wicked comet
#

I'm using pytorch on 3.13

dry basin
ember tulip
#

i just opened pytorch source code on vscode and its just frying my laptop just by being there lemon_warpaint

wicked comet
ember tulip
#

i got logged out of my system 4 times today because of OOM kernel panic

#

just by opening vscode 🙂

dry basin
wicked comet
#

No I think it's higher

dry basin
#

I literally just tried it on my python version

#

It doesn’t work

wicked comet
#

What version do you have

dry basin
#

Python 3.13.5

raw bramble
#

3.14.4 is the newest stable version

#

3.15 is being released later this year

wicked comet
granite wyvern
#

Should there be 11 more minor releases first. Just because it could be done? /jk

raw bramble
dry basin
wicked comet
#

Then reinstall it

#

Pip install torch

grizzled solar
#

Anybody wanna play chess?

dry basin
#

I can’t install it

#

Because it(pytorch) doesn’t have the wheels for it

dry basin
#

Or at least all my good stuff

granite wyvern
dry basin
granite wyvern
#

RAM? I doubt it. RAM's transient while you run programmes.

I don't know how a different install would affect your other builds, sorry.

You've visited this? https://pytorch.org/get-started/locally/

PyTorch

Set up PyTorch easily with local installation or supported cloud platforms.

#

Disclaimer: I've never used pytorch. These are just resources, not my advice.

dry basin
granite wyvern
#

Fair enough.

dry basin
#

it keeps running into that error when building the wheel for pytorch(maybe because they don't have the wheels for it)

sharp sinew
#

How do I capitalize the first letter of an input?

swift sparrow
#

!e

text = 'hello'
print(text.capitalize())
edgy krakenBOT
inland karma
#

good morning

spice hill
#

hi eivl

sharp sinew
swift sparrow
inland karma
dry basin
inland karma
#

what errors did you get?

#

and what exact install command did you run?

spice hill
# inland karma good morning

btw, I started reading the boar book. It feels like it contains too much information, but I am not able to absorb it very well. Maybe some of it will lay dormant in my head until I need it.

inland karma
sharp sinew
quartz fulcrum
dry basin
# inland karma what errors did you get?
:~/gaia$ pip install pytorch --break-system-packages
Defaulting to user installation because normal site-packages is not writeable
Collecting pytorch
  Using cached pytorch-1.0.2.tar.gz (689 bytes)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: pytorch
  Building wheel for pytorch (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Building wheel for pytorch (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [37 lines of output]
inland karma
#

yoou cant use system python

spice hill
#

smh pip names the parameter break-system-packages and people still use it

inland karma
#

you have to install python and make a venv fiirst

dry basin
inland karma
#

what cuda version do you have installed?

rare abyss
#

Im trying to make a random thing but this happens:

#

code: name = str(input("Whats your name?"))
age = int(input("How old are you?"))
if age > 12:
print(name.capitalize , "is older than Timmy")

edgy krakenBOT
#

Hey @rare abyss!

Please edit your message to use a code block

```py
print('Hello, world!')
```

This will result in the following:

print('Hello, world!')```
rare abyss
#

''' py

golden mortar
swift sparrow
brisk gazelle
#

You can drop the str call and you need to call the capitalize method by adding ().

rare abyss
#

Thanks! Now it works.

inland karma
#

remove this, we dont allow advertisements here

inland karma
#

that is the rule, you already said you had read them when you joined. now you prove that you lied. so remove it and go read #rules

rare abyss
#

How do I go to anoher line when typing in dc? When I push the enter button it just sends the message.

celest osprey
#

shift + enter

#

oop lol

rare abyss
#

Thanks!

inland karma
#

!mute 1442828389898653831 you need a break to read our #rules and one of the rules is that you listen to staff and moderators are part of staff.

edgy krakenBOT
#

:incoming_envelope: :ok_hand: applied timeout to @umbral dagger until <t:1777617359:f> (1 hour).

jagged belfry
#

!cleanban 1442828389898653831 spam

edgy krakenBOT
#

failmail :ok_hand: applied ban to @umbral dagger permanently.

rare abyss
#

Also what happens if I dont put py when doing

print("hello world!" *9999999999999999999999999) 
prime mountain
#

Hahahah

swift sparrow
rare abyss
#

Oh thats fun

brisk gazelle
quartz fulcrum
#

Coding has now become a hobby and free lance career
No longer any proper careers in it long term.

i am totally unaware about indian market...
any suggestion on what things should i stay updated

rare abyss
#

Does the same thing work for javascript or other languages?

brisk gazelle
#

There are codes for other languages, yes.

bronze dragon
paper kiln
#

Hello!

rare abyss
#

Thanks! Im going to bed. Gn.

quartz fulcrum
bronze dragon
#

Regular software engineering, like always

dry basin
inland karma
bronze dragon
quartz fulcrum
bronze dragon
#

I can say that from personal experience, and from market data

inland karma
#

pip install torch torchvision --index-url https://download.pytorch.org/whl/rocm7.2

quartz fulcrum
inland karma
#

you have to tell the installer that you want to use ROCm @dry basin

prime mountain
#

I hope to one day properly analyse the job market by webscraping job sites using python 😛

bronze dragon
inland karma
#

it is all documented on the pytorch install guide on their website @dry basin

prime mountain
inland karma
#

once installed in your venv, test it by running python and doing this

#
import torch
x = torch.rand(5, 3)
print(x)
prime mountain
#

@bronze dragon Hey, how're you?

#

I pinged casually. I'll not do it if you're not comfortable with it

bronze dragon
dry basin
prime mountain
prime mountain
inland karma
wicked comet
#

It works if you have it installed

prime mountain
dry basin
quartz fulcrum
#

youtubers say..learn to think first before you learn programming..
i mean isnt doing programming teach thinking?

prime mountain
#

I haven't specialised in any subgenres of programming yet.

inland karma
golden mortar
prime mountain
robust ledge
bronze dragon
wicked comet
inland karma
#

youtubers say what they need for you to not learn so you can watch their content instead @quartz fulcrum i have said so before, stay away from youtube if you want to learn

inland karma
bronze dragon
#

Yep, that's the classic method

prime mountain
inland karma
#

modify it and you can have it create bioms as well

velvet hull
inland karma
# quartz fulcrum mhmm

you learn from doing it yourself, you writing code, you reading text, you beeing active.. watching someone else do that is passive, and you cant learn from it

wicked comet
inland karma
#

only thing you can gain from that is recognition, and recognition is not learning

quartz fulcrum
#

sometimes it feels risky to study programming

wicked comet
#

AI and stuff

dry basin
inland karma
robust ledge
wicked comet
robust ledge
#

It always has been.

golden mortar
quartz fulcrum
bronze dragon
prime mountain
granite wyvern
prime mountain
prime mountain
#

Ok

golden mortar
prime mountain
tame vapor
quartz fulcrum
tame vapor
quartz fulcrum
#

little revision is fine..but watching the same notes again and again kinda exhausting,

swift sparrow
#

why are you watching the same notes again and again?

quartz fulcrum
gleaming knoll
golden mortar
gleaming knoll
spice hill
#

(predicting the future)

gleaming knoll
spice hill
golden mortar
gleaming knoll
#

unfortunately yeah, best bet is going somewhere rural and just having your own household

spice hill
#

depends on what counts as farming

quartz fulcrum
golden mortar
dry basin
#

@inland karma I finally got the new builds working now thanks bro

inland karma
#

great to hear

peak relic
#

hmm

modern hinge
#

when is it better to use a match statement instead of a bunch of if and elif? I have a program with 5 elif statements checking for an input, would it be better to use match?

swift sparrow
bronze dragon
peak relic
#

!pip farmbot is neat

edgy krakenBOT
swift sparrow
# modern hinge could you elaborate please

if you only ever expect to compare against various strings, then if/elif is perfect. If you might expect data to arrive in different forms (maybe a tuple with a specific order, or some other types), then match is what you want

modern hinge
#

oh alr thank you

quartz fulcrum
peak relic
finite mulch
#

Hi, I'm Mason.
New here.
I'm a python backend developer... Though not that solid yet.
I was hoping if anyone could help with a site or app or course for Django tutorial .
?

peak relic
mossy sigil
finite mulch
finite mulch
peak relic
# mossy sigil flask is better for a beginner right?

I personally prefer learning Flask for any new Python devs first. Django has a steep learning curve. So after learning Flask and understanding what files does what and how each plays a part, learning Django then makes sense.

brittle merlin
#

Is django worth learning? I'm currently learning basic web development (html css js)

#

I've made several projects with flask In the past for college

peak relic
inland karma
#

django has also evolved faster than authors writing books

brittle merlin
#

Mango

quartz fulcrum
#

what opencv can do and what tensorflow can do?

mossy sigil
inland karma
#

so.. even though, two scoops of django and a wedge of django are fantastic tutorial books and great education resources, you will have to use older django versions

#

if you are fine with learning an old version, and moving along to a newer version, i wholeheartily recommend them

brittle merlin
prime mountain
#

I want to code but I need to sleep

mossy sigil
prime mountain
#

Okay

inland karma
peak relic
quartz fulcrum
#

ok..

inland karma
#

though, nobody uses tensorflow anymore

quartz fulcrum
inland karma
#

its outdated

#

its like using python2

#

well youtubers that dont work with machine learning, try to teach tensorflow to people. so i guess someone use it. but not people that actually work with it.

brittle merlin
#

mainly used for learning

mossy sigil
#

You guys still use maths in machine learning or is that outdated too?

pallid garden
#

maths is never outdated

mossy sigil
#

Ok i'll add /s next time.

swift sparrow
#

we've all moved onto math 2 now

pallid garden
#

i got wooooshed...

wicked comet
#

Nvm

inland karma
#

what,. math 2.0 released! 😄

mossy sigil
#

Oh yeah! Math 2, did they remove the Thinking module from that one?

quartz fulcrum
swift sparrow
quartz fulcrum
#

oh

shy granite
#

why are there SO MANY vibe-coded repositories on github now

screams

brittle merlin
#

"vibe" coding

what vibes are people even catching nowadays?

shy granite
#

they finna catch these hands /j

deft pelican
#

cheese.

dry pike
#

nowadays, more like nowajay

brittle merlin
#

If I'm serious about a programming project,

Is it okay to use modules generated entirely by AI without knowing how they work?,

half pewter
#

"they used to call me BJ but I was like... nope, not good enough, I shall be AJ henceforth!"

brittle merlin
#

not the whole program but just parts of it, utilities, helper functions, parsers etc..

half pewter
#

that used to be a normal nickname...

swift sparrow
brittle merlin
#

well

#

I wanna learn and I am learning but

#

I equally care about the result

swift sparrow
#

then that's for you to decide

brittle merlin
#

and In this case I am kinda in control of the result

brittle merlin
bronze dragon
# brittle merlin If I'm serious about a programming project, Is it okay to use modules generate...

"okay" according to whom, for what purpose?
like if you care about learning something, then obviously using AI with no understanding for parts of the project will necessarily lead to reduced learning.
if you care about just getting something made, that's still suboptimal because you know less about your program, hence the correctness of the result and your ability to extend and debug the program is also reduced.

swift sparrow
#

if you present your work to people and say "I made this but btw AI did most of it", then would you proud of saying that?

bronze dragon
#

you don't need permission from us to use AI, but you should consider how it affects what you're aiming for

swift sparrow
#

would you proudly tell people you used AI or try and hide it?

brittle merlin
swift sparrow
#

AI or not

brittle merlin
swift sparrow
#

but it's rare that the exact code I need for my project just exists in its complete form

brittle merlin
bronze dragon
swift sparrow
#

I'm usually learning about the idea behind it and implementing it myself in a way that works for my own code

bronze dragon
swift sparrow
#

or would you rather make something you can proudly say you made 100% of

half pewter
brittle merlin
#

Like it reminds me of that really long one liner that I worte in my project and its shameful 😭😭👍

swift sparrow
bronze dragon
#

I mean, getting help in your project is not inherently bad... it's what we do here, after all.

#

but getting help != vibecoding / using code without understanding

swift sparrow
#

especially since we don't tend to give out full snippets of code here to help people

#

we help people work through the problem

#

I'm working blindly through some game code right now and I'm sure I'm making some mistakes, but I'm excited to get to the end of it so I can look back and see what worked and what didn't

half pewter
#

The thing about vibecoding is that once you learn what it's all actually doing you recognize how bloated it usually is

mossy sigil
#

No dude, it's just like the invention of a compiler or the garbage collector! /s

#

I shouldn't be like this, it breaks rule 54, 55 and 40 of the SQLite Code of Ethics. Please accept my apologies.

shy granite
#

symphonies are generally a vibe.

half pewter
# mossy sigil can you vibe a symphony?

I'm not sure what you're asking me, I expect chatgpt would import half a dozen libraries and do what it does. Whether you'd call it a symphony would probably depend on your taste in music.

mossy sigil
#

well i was trying to be funny but ig i have failed, its alright, i will get another chance

golden mortar
half pewter
#

an agentic symphony perhaps

pallid garden
#

can you ansible a symphony

ocean ridge
#

i have been working on a project (web project) without any ai

pallid garden
#

apologies

ocean ridge
#

oh alright

ocean ridge
#

like it beats around the bush for a lot of things.

#

theres an easy direct solution but the ai constructs a long ahh output to accomplish the same

pallid garden
#

why do I need AI when I already construct long ahh output myself

bronze dragon
#

I would be interested in seeing a self-critiquing mode where if it doesn't know it just says as much instead of cooking up some plausible BS code that doesn't work

pallid garden
#

if i understand tool calling correctly, that's what claude's loop already does, isnt it?

bronze dragon
#

hmmmm

golden mortar
#

I think you just shouldn't stop reviewing the output.

bronze dragon
#

of course

golden mortar
#

But I mean, compared to before, the output is so much better on average

#

It used to be kind of a waste of time to use it for anything other than like exploring solutions or research, but now it's basically fine to let it do almost all the heavy lifting and just make corrections after the fact.

bronze dragon
#

hmmm, I still see hallucinations with more obscure technologies
so I still just use it for research assistance

ocean ridge
#

like the code quality is mid.

golden mortar
#

It depends a lot on how you prompt, as well as what model and tool you use.

brittle merlin
pallid garden
#

AI produces good result: AI is making you more productive
AI produces bad result: you are using it wrong

wicked comet
#

Correct

#

100% agree

brittle merlin
#

AI produces bad results: ur too poor to afford claude

#

/j *

golden mortar
pallid garden
#

it's not so much whether it's right or wrong, it's the fact that some people's attitude towards this topic is "AI is infallible"

bronze dragon
#

well, if you examined it I doubt their attitude would really be that it's infallible

#

but more like, they manage to use it productively, so they're inclined to assume that if someone else doesn't get productive results, there must be something to improve in how they use it
which is not an unfair assumption, at least as an initial one

golden mortar
pallid garden
golden mortar
#

Understandable.

paper kiln
#

Have you heard about Cosmo TUI

frank sorrel
#

hello??

ocean ridge
#

hi

frank sorrel
#

hi how are you?

#

i can't understand what dictionaries are can you please explain me

ocean ridge
#

fine. this is #python-discussion . so if you have anyhting related to python you can talk here

frank sorrel
#

please tell me how they work

ocean ridge
#

lemme give you an example

jaunty dune
ocean ridge
#
user = {
"name":"Beast",
"age": 20,
"language":"python"
}

you see this. its a dict.

frank sorrel
#

ohh soooo

ocean ridge
#

if you want to see the name of user... you can type

print(user["name"])
#

and dicts can be nested too

languid token
#

Hey, I am currently learning python using the cs50 Harvard program, but i know how to write code using the tutorials, but when it comes to their problem sets i really struggle a lot and find myself seeking ai assistance, i want to be able to do it myself any help?? I'll appreciate it

frank sorrel
#

that is just one variable with a dictionary of discriptions??? i could put it that way right i get now though

jaunty dune
frank sorrel
#

yeah yeah i get it now @veltrix thankyou and @janford thank you too

ocean ridge
#

for example

a = beast

key here is a. value is beast

frank sorrel
#

okayy thanks so much

jaunty dune
#

yep

frank sorrel
#

yep i get it now

ocean ridge
#

you can store dicts as json

bronze dragon
ocean ridge
#
user = {
    "info": {
        "name": "Beast",
        "age": 20
    },
    "skills": {
        "language": "python"
    }
}
frank sorrel
#

by the way iam learning python through bro code but sometimes i get really confused what do i do

jaunty dune
frank sorrel
raven cairn
#

hello ppl

ocean ridge
#

and you would get value as Beast

raven cairn
#

can someone help me

jaunty dune
raven cairn
jaunty dune
slender urchin
#

Pick up a tutorial or book to learn the basics.

#

!slorb

edgy krakenBOT
raven cairn
#

ive watched a few tutorials still dont understand how am i supposed to start on training and such

languid token
raven cairn
slender urchin
bronze dragon
bronze dragon
raven cairn
slender urchin
raven cairn
slender urchin
#

That's why the tutorials I linked start assuming you know nothing.

frank sorrel
#

@ocean ridge you there??

#

@janford do you know python how long you been learnin

jaunty dune
# raven cairn thank u

id also reccommend that you set a simple goal for a coding project, like a simple calculator or automation

jaunty dune
frank sorrel
#

ohhh thats cool

#

but check it out i got how disctionaries work

raven cairn
frank sorrel
#

dang it can't upload pictures

raven cairn
#

do i need an app or website or where do i go

frank sorrel
#

really i would recommend pycharm

languid token
# bronze dragon why do you want to learn programming? is it to make something?

I had a unit on introduction to programming with python and during that unit I saw how some students were able to build cool projects and i got interested, now i want to lean more into the tech side of my course instead of the technical side i feel like I am drawn more into programming, right now I know the syntax, loops, data types and I can write basic programs, once i got to libraries, packages and API calls I started being overwhelmed and I decided to look for people to help me but I'm bad at real life socializing

bronze dragon
frank sorrel
#

vscode has ai assistant and all so it may be good

bronze dragon
slender urchin
bronze dragon
slender urchin
#

The most basic one you might know is notepad

frank sorrel
#

i mean i don't use it i use pycharm and iam happy with it

raven cairn
#

i know notepad

bronze dragon
#

imagine typing the start of a function on your assignment and Copilot fills in the rest automatically. learning opportunity ruined.

jaunty dune
frank sorrel
#

soul reason to leave v s code was because of the freakin ai system

slender urchin
bronze dragon
raven cairn
#

alrightt

frank sorrel
raven cairn
#

ill check out vscode

frank sorrel
#

@jeyjey are you not learning through a course or tutorial

jaunty dune
frank sorrel
raven cairn
jade robin
frank sorrel
#

watch dave grey if you wanna learn in detail bro code if you wanna learn quicker

raven cairn
#

let me at least learn the basics for now

frank sorrel
#

coding is a good interest you should not leave it

frank sorrel
raven cairn
#

thats why i started to actully go through witht the learning

raven cairn
frank sorrel
#

i just start learning 1 month ago too

raven cairn
#

nice

soft linden
#

What is vibe coding

frank sorrel
#

using ai assistants to code without having to code most of it yourselves

pallid garden
#

do you think it would be too difficult to understand an rpg if all characters act at the same time?

frank sorrel
#

you just gotta do debugging fix code and thats all you just relax and watch ai do the work not a good thing for beginners though cause they are gonna get exhausted anyways

pallid garden
#

like a turn based rpg

languid token
# bronze dragon you can ask and talk about Python here (it's also a better idea to ask here comp...

def main():
names = []
while True:
try:
name = input("Name: ")
names.append(name)
except EOFError:
break
main()
This is an example of a problem set i was working on, the instructions wanted me to prompt the user for a name until they pressed ctl + D but i didn't know how to write ctrl + D in a program so i had to look it up and found out it was a EOFError , now I'm stuck, i want to make it such that if the user enters 3 names it returns the first 2 names separated with a comma and the third and second name separated with an and, such scenarios is where i feel stuck, since i know the last item in the list can be accessed by -1 but i don't know how to continue

pallid garden
#

but instead of characters performing actions one by one, they all fire at the same time per turn

frank sorrel
#

yeah if you'r talking about a video game than it would be difficult never really a fan of turned based rpg's though

#

no i think all doing action at the same time would not be good

#

you can make it harder by increasing the speed of how quickly they perform their actions

jade robin
#

i like turn based rpgs, i wouldn't mind if a group of players/chars play in a single turn

pallid garden
frank sorrel
#

@pallid garden what game engine are you using?? iam also learning ue5

pallid garden
#

im just playing around with the elemental system now

#

so it's just cli

soft linden
#

What is vibe coding

frank sorrel
bronze dragon
# languid token def main(): names = [] while True: try: name = input...

the instructions wanted me to prompt the user for a name until they pressed ctl + D but i didn't know how to write ctrl + D in a program so i had to look it up and found out it was a EOFError
that's good.
if the user enters 3 names it returns the first 2 names separated with a comma and the third and second name separated with an and, such scenarios is where i feel stuck, since i know the last item in the list can be accessed by -1 but i don't know how to continue
well, I assume you can write the "if the user enters 3 names", using if and len
and you can access the nth element of the list lst using lst[n]
and you can add strings using + as "hello" + "world" -> "helloworld"

pallid garden
pallid garden
frank sorrel
#

oh okay

bronze dragon
jade robin
# pallid garden i would think so

you can probably serialize them with only the interacting ones acting together (and no one can make a move until the sequence completes) maybe

jade robin
pallid garden
bronze dragon
#

I see

pallid garden
#

hmm it might make sense to display actions performed targetting a single enemy, in each visual "step"

frank sorrel
#

anybody ever tried ursina engine?

languid token
bronze dragon
#

although you can do it without these concepts as well. do you know how to run a loop?

slender urchin
dry basin
#

hey guys

languid token
frank sorrel
#

its gonna be way more complicated iam gonna keep it to unreal engine 5

#

@slender urchin do you have any game dev intersets??

#

interests*

slender urchin
frank sorrel
#

hmmmm i mean iam learning python and ue5 in the part time iam vibing

#

i mean my lifes going good for now in terms of learning and creating

ocean ridge
#

it has no ai enabled and has an lsp too. debugger is also there if u want to debug something

ocean ridge
kind dust
#

Hey, does anyone here understand how to code and understand resursive functions?

inland karma
#

nah, i raw dogged it. did not use ursina or anything like that

inland karma
bronze dragon
kind dust
#

Well, I have practice hw for it, but I am struggling to understand how to code them. Like I've seen how factorial or fibonacci can be coded with recursion, but I don't understand how it works. I've also been shown how to do selection sort with recursion

spiral karma
#

Hi, can someone recommend me a good discord bot host with a big memory? ( I would preffer it to be cheap )

lean lantern
bronze dragon
# kind dust Well, I have practice hw for it, but I am struggling to understand how to code t...

it takes a while.
it helps to think of recursion as "reducing + combining". you reduce the problem to a simpler instance, and eventually combine them into the full solution.
this means that recursion works well for problems that can be easily broken down into simpler versions of themselves: Fibonacci is defined in terms of its prior terms. the factorial n! is just n multiplied by the smaller factorial (n-1)!.

lean lantern
#

for factorial you mentionned that it uses recursivity. This means that, if the number isn't 1 or 0 (your base cases), your function will calculate the factorial(n) based on factorial(n-1) until it reaches base case 0 or 1

bronze dragon
#

that's the conceptual part.
as for the mechanics of recursive function calls, think of each function call as independent.
if you're unsure of how the return values flow in a recursive call, then that suggests you might need to work a little bit on your understanding of functions itself.

native coyote
#

🫨

#

look at thsi emoji

kind dust
#

That's exactyl why i need some guidance

bronze dragon
#

hmmm, what do you mean by "accessor"?
it just gives back a value

kind dust
#

Well, I learned abt mutator and accessor methods

#

when I did java

bronze dragon
#

I see

celest breach
#

Do you know how a program's call stack works by keeping track of function calls? I'd say it's pretty important to know how that works to fully understand recursive functions @kind dust

spice hill
kind dust
#

hmm, I was looking at an article emphasizing thishttps://dev.to/gustavupp/the-recursion-explanation-i-wish-i-had-read-as-a-self-taught-developer-3g4p

#

Do u think it's worth reading fully?

lean lantern
celest breach
#

As long as you understand javascript

lean lantern
kind dust
spice hill
lean lantern
kind dust
#

So it does the same thing?

spice hill
spice hill
lean lantern
#

now if we try:
def random_function(x):
if x<10:
return x+1
else:
return f(x-1)
print(random_function(11))

kind dust
#

ohhhh, is it basically reitirating here? like since 200 is greater than 100, it will go in f(-200) and the function runs again and again (or goes back to the top with new parameters) until x <= 100?

kind dust
lean lantern
kind dust
spice hill
kind dust
#

lists like arrays? isinstance I'm not familiar with at all

spice hill
#

[1, 2, 3] <-- this is called a list in Python

#

!e
isinstance is a function that checks if an object is of a particular type: ```py
print(isinstance(42, int))
print(isinstance(42, str))
print(isinstance("banana", str))

edgy krakenBOT
kind dust
kind dust
static plank
lean lantern
cobalt flax
#

How could I like

#

open an image

#

actually ima ask python help

lean lantern
#

There is one case that is a bit confusing:
print(isinstance(42, (int, str)))

This will also return true because 42 is an int (but not a str). However, only one of the two datatypes has to be matching to return True

brittle merlin
#

oww

celest osprey
#

or even str | int

velvet trout
#

union operator seems better than a tuple

#

Unless ya on 3.9

lean lantern
spice hill
# kind dust Yeah, I've seen this before

In order to understand recursion in programming, I think you should have a solid understanding of recursion outside of programming. Recursion is a general tool for solving a problem in terms of itself. For example, you might want to define an algorithm to know if a positive number is power of two. You could do it like this:

  1. Is the number exactly 1? If so, it is a power of two (2**0 == 1)
  2. Is the number odd but not 1? If so, it is not a power of two.
  3. Otherwise (the number is even): if half the number is a power of two, then the original number is a number of two.

For example, if you want to know if 24 is a power of two:

is 24 a power of 2?
3. 24 is even, so we need to ask if 24/2 is a power of two...
    is 12 a power of 2?
    3. 12 is even, so we need to ask if 12/2 is a power of two...
        is 6 a power of 2?
        3. 6 is even, so we need to ask if 6/2 is a power of two...
            is 3 a power of 2?
            2. 3 is odd and not 1, therefore 3 is not a power of two
        ...6/2 is not a power of two, therefore 6 is not a power of 2
    ...12/2 is not a power of two, therefore 12 is not a power of 2
...24/2 is not a power of two, therefore 24 is not a power of 2
``` So it's not like you are jumping around in the same algorithm, it's just that one of the steps involves also asking the same question for a different value. You don't keep going forever, because at some point you can answer one of the questions without recursing further (which is called the "base case").
#

You can always rewrite a recursive function as a loop. Sometimes it's easy, but sometimes it's very hard. For example, here's a function that adds up a list of either integers or lists. The individual lists in turn contain either integers or lists, and those lists are the same, and so on. For example py print(add_up([1, 2, [3, 4], [[[[5]], 6]]])) # prints 21 here's how you could do it with recursion: py def add_up(a_list): total = 0 for item in a_list: if isinstance(item, int): total += item else: total += add_up(item) return total this time, we need to "ask" what add_up of a sub-list is several times for a single call

kind dust
hybrid nebula
#

fun fact: every instance of recursion gets rewritten as a loop at some point

#

CPUs can only handle 'loops', they don't really have a concept of recursion (or, for that matter, functions)

#

with modern branch prediction there is a tiny chance it might even, but it still has to act like it doesn't

cobalt flax
#

what do dunders mean

#

like i scroll through the dot methods after something in pycharm and i see a bunch of stuff with dunders on both sides

hybrid nebula
#

It doesn't mean anything more specific, if you give us the names we can tell you what they mean in particular

#

For objects, quite a lot of them specify what built-in functions (str, repr, iter) or operators (+, <<, !=) do when applied to them

cerulean ravine
hybrid nebula
#

_name just means 'private'
__name has... special treatment (don't use this unless you are aware)
__name__ is a dunder

spice hill
eternal glen
#

ddunders

brisk gazelle
#

Dunder methods are more formally known as "special methods".

#

Dunder is more of a nickname.

eternal glen
#

I've usually heard magic methods

#

is that dated?

brisk gazelle
#

Another common nickname.

cerulean ravine
eternal glen
#

mmm

silver plover
#

rednunder

hybrid nebula
slender urchin
#

!charinfo ⎕

edgy krakenBOT
slender urchin
#

Oh it's wider, i thought it was a character that didn't render lol

spice hill
#

https://docs.python.org/3/glossary.html

dunder
An informal short-hand for “double underscore”, used when talking about a special method. For example, __init__ is often pronounced “dunder init”.
special method
A method that is called implicitly by Python to execute a certain operation on a type, such as addition. Such methods have names starting and ending with double underscores. Special methods are documented in Special method names.

hybrid nebula
#

note that not all dunders are methods!

spice hill
#

yeah, __name__ and such exist

hybrid nebula
#

__file__, __all__, etc

spice hill
#

__debug__ is a keyword

hybrid nebula
spice hill
#

!e

__debug__ = 69
edgy krakenBOT
# spice hill !e ```py __debug__ = 69 ```

:x: Your 3.14 eval job has completed with return code 1.

001 |   File "/home/main.py", line 1
002 |     __debug__ = 69
003 |     ^^^^^^^^^
004 | SyntaxError: cannot assign to __debug__
eternal glen
#

it's unfortunate that none of the common nicknames fully capture the nature of these specially named things

#

a real blunder

hybrid nebula
#

is that in

slender urchin
#

blundermethods

cerulean ravine
hybrid nebula
#

!d keyword

edgy krakenBOT
hybrid nebula
#

this doesn't include __debug__

spice hill
narrow yew
spice hill
hybrid nebula
hybrid nebula
#

e.g. ⎕IO specifying the index of the first element in an array (0 for zero-indexing, 1 for one-indexing etc.)

hybrid nebula
#

what shoe company

slender urchin
slender urchin
narrow yew
spice hill
hybrid nebula
narrow yew
slender urchin
#

!e for = 3

edgy krakenBOT
# slender urchin !e for = 3

:x: Your 3.14 eval job has completed with return code 1.

001 |   File "/home/main.py", line 1
002 |     for = 3
003 |         ^
004 | SyntaxError: invalid syntax
narrow yew
#

so trying to overwrite it is just asking for a syntaxerror

spice hill
hybrid nebula
#

what is __debug__?

narrow yew
spice hill
#

exactly

hybrid nebula
#

why is that not in the keyword module wtf

spice hill
# slender urchin !e for = 3

I think this is because of what stage True, False, None and __debug__ are "keywordified". They are initially parsed as names, but later a restriction is applied that you cannot use those names like that.

slender urchin
#

I'm surprised to learn that they are considered keywords tbh

hybrid nebula
spice hill
#

no idea

#

but that's my caveperson explanation

narrow yew
brisk gazelle
#

I expect they're keywordified so they can't be shadowed.

#

Maybe, maybe not. I've always found it curious.

spice hill
#

yeah, they should be keywords

narrow yew
slow rivet
#

I guess they are suppose to behave like literals while looking like names

spice hill
#

weird that NotImplemented and Ellipsis aren't, is what I meant

pliant wave
#

hello guys

narrow yew
narrow yew
spice hill
#

In Python 2, __debug__ cannot be assigned to (which makes sense), but True, False can. So it was changed in Python 3, which is why I'm surprised that NotImplemented and Ellipsis didn't get that treatment

narrow yew
#

True, False, and None were promoted to keywords for a massive speed boost

hybrid nebula
#

I shall now assert __debug__ in every file to change absolutely nothing

twilit viper
#

I don’t think it was really about a speed boost, making True, False, and None keywords was mainly to prevent reassignment and clean up the semantics from Python 2.

narrow yew
brisk gazelle
#

Is there some bitwise significance?

#

It evaluates to 0.

slender urchin
brisk gazelle
#

Ooooh.

slender urchin
#

python -O my_file.py

twilit viper
hybrid nebula
brisk gazelle
#

Yep yep.

hybrid nebula
slender urchin
#

You can even do -OO

hybrid nebula
#

(0x0000 in modern syntax)

hybrid nebula
slender urchin
#

no clue

mortal hearth
#

Have anyone solved strivers sheet ?

#

Is it good for dsa ?

brisk gazelle
#

Anything that trains your brain to think is liable to be good.

spice hill
narrow yew
#

how do you get the helper role?

brisk gazelle
crisp jay
mossy sigil
bronze dragon
narrow yew
bronze dragon
#

!e Ellipses = 42

edgy krakenBOT
brisk gazelle
mossy sigil
spice hill
edgy krakenBOT
mossy sigil
#

and then click shut down, it will give you the role

craggy trench
mossy sigil
narrow yew
bronze dragon
#

@narrow yew helpers are nominated and selected internally by staff. you can't apply to become a helper. the only thing you can do is to simply be helpful so you get noticed.

pastel sluice
#

we strive to be constructive.

grand bramble
# narrow yew thank you

make issue reports on the github and solve issues, most effective way and supports the community

median pine
#

Why cant python do math... 🙁

#

Im dying inside

crisp jay
# median pine Why cant python do math... 🙁
>>> math.factorial(100)
93326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916864000000000000000000000000
bronze dragon
median pine
# bronze dragon wdym?

Im just having issues with trig. i made a post about it in python help, im just complaining here

bronze dragon
#

it's not really Python-specific

#

floating-point systems (and the tradeoffs inherent to them) are common across programming languages

#

it's a fact of computer systems and how we represent floats more deeply

knotty ice
mossy sigil
#

print("hello besties")

velvet trout
#

Chat

#

I have a design crisis

grand bramble
velvet trout
# velvet trout I have a design crisis

In a custom exception for option name conflicts, should the exception include the new option as well, or only the conflicting name and the existing option?

The new option is already passed by the caller when adding it, so they technically have access to it. However, including it in the exception could make debugging and error messages clearer, especially for third-party users.

Which approach is better?

grand bramble
velvet trout
#

Done

bronze dragon
velvet trout
bronze dragon
#

The relevant factor is the name, so I would question whether showing all the other field values is important

velvet trout
bronze dragon
#

I guess pass both, the catcher can decide

#

it's not any significant overhead to pass both

velvet trout
#

I just didn't want to make it clutter or too many redundant passes

#

ChatGPT also says pass new option too even if the caller has access to it pithink

velvet trout
bronze dragon
#

catching site != calling site, necessarily

velvet trout
#

ducky_concerned you're right

charred tusk
#

Some days I really hate Python

gleaming marten
#

😔

charred tusk
#
end_row = 2
while True:
  printer = str(worksheet.cell(row=end_row, column=1).value)
  if not printer.strip():
    break
  end_row += 1
#

ValueError: Row numbers must be between 1 and 1048576. Row number supplied was 1048577

#

Guess why?

gleaming marten
#

I see your problem

#

Its using openpyxl

charred tusk
#
Checking row 829208 for printer: printer='None'
Checking row 829209 for printer: printer='None'
Checking row 829210 for printer: printer='None'
wise imp
charred tusk
#

Had a presentation

#

Went great

wise imp
charred tusk
#

User tried the app
everything blew up

wise imp
#

at least it wasn't a live demo

#

right?

gleaming marten
#

ofc it was a demo

#

Its the law, demos never go right

charred tusk
#

The live demo on Wednesday also blew up with this same error

wise imp
#

of course

charred tusk
#

I saw that

ocean ridge
charred tusk
#

I just thought I cocked something up and it wouldn't come back up
But now it did so I have to look
At least its an easy fix

golden mortar
gleaming marten
#

Why do you hate python tho shen

#

Is it 1-based indexing in excel

charred tusk
# gleaming marten Why do you hate python tho shen

Because I have to do this

(labkit) @shenanigansd ➜ /workspaces/labkit (main) $ git diff
diff --git a/packages/untw-labkit-cli/src/untw_labkit_cli/kerp_cli.py b/packages/untw-labkit-cli/src/untw_labkit_cli/kerp_cli.py
index 17edc3b..fff73a3 100644
--- a/packages/untw-labkit-cli/src/untw_labkit_cli/kerp_cli.py
+++ b/packages/untw-labkit-cli/src/untw_labkit_cli/kerp_cli.py
@@ -54,7 +54,7 @@ def process_art_for_domestic_master(
     end_row = 2
     while True:
         printer = str(worksheet.cell(row=end_row, column=1).value)
-        if not printer.strip():
+        if not printer.strip() or printer.strip() == "None":
             break
         end_row += 1
 
edgy krakenBOT
#
Formatting code on Discord

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

For long code samples, you can use our pastebin.

charred tusk
#

Oh I only had two backticks on the bottom
Weird

ocean ridge
pastel sluice
bronze dragon
#

I feel like you should delay the stringification

pastel sluice
#
  p = worksheet.cell(row=end_row, column=1).value
  ps = str(p)
  if not ps.strip() or p is None:
#

that way you can make the comparisons you need unambiguously, without each stepping on the other's toes

wise imp
#

what is this hungarian notation

pastel sluice
#

I've dealt with similar things, where I wanted to work with the string value of something and its underlying value, and the best solution is to handle each separately

charred tusk
#

OH I'm doing the str()
I glossed right over that

charred tusk
pastel sluice
bronze dragon
charred tusk
#

man I need coffee

pastel sluice
#

but again - I think you see why this is the better way to do it

ocean ridge
#

can someone help me with refactoring my code

#

html and vanilla js. not python ^

charred tusk
ocean ridge
#

k

charred tusk
# pastel sluice but again - I think you see why this is the better way to do it

Yeah

From a5c71879f0f0b9784046aba88bfc5eb71a59c62b Mon Sep 17 00:00:00 2001
From: Bradley Reynolds <bradley.reynolds@tailstory.dev>
Date: Fri, 1 May 2026 12:56:57 +0000
Subject: [PATCH] Account for printer='None'

Signed-off-by: Bradley Reynolds <bradley.reynolds@tailstory.dev>
---
 packages/untw-labkit-cli/src/untw_labkit_cli/kerp_cli.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/packages/untw-labkit-cli/src/untw_labkit_cli/kerp_cli.py b/packages/untw-labkit-cli/src/untw_labkit_cli/kerp_cli.py
index 17edc3b..458ccbc 100644
--- a/packages/untw-labkit-cli/src/untw_labkit_cli/kerp_cli.py
+++ b/packages/untw-labkit-cli/src/untw_labkit_cli/kerp_cli.py
@@ -53,8 +53,9 @@ def process_art_for_domestic_master(
     worksheet = workbook["MSTR"]
     end_row = 2
     while True:
-        printer = str(worksheet.cell(row=end_row, column=1).value)
-        if not printer.strip():
+        printer_value = worksheet.cell(row=end_row, column=1).value
+        printer_string_value = str(printer_value)
+        if printer_value is None or not printer_string_value.strip():
             break
         end_row += 1
#

Very dumb patch to have to make on day 1

pallid garden
#

diff wall...

ocean ridge
#

bradley.reynolds@tailstory.dev

gleaming marten
#

I had the exact same issue

ocean ridge
#

did bro doxx his mail?

gleaming marten
#

str(None) should not be "None" i dont care what anyone says

stray oasis
#

yo guys

#

anyone knows how to convert a python file to exe file?

charred tusk
stray oasis
#

anyone knows how to convert a python file to exe file?

charred tusk
pastel sluice
ocean ridge
stray oasis
pastel sluice
#

tools like PyInstaller do tihs for you, but they are very clunky. I actually wrote my own tool because I disliked how PyInstaller worked

floral terrace
stray oasis
#

like in vc

pastel sluice
#

@stray oasis are you familiar with how to use pip to install libraries, and set up a virtual environment for your program?
(you need to know these things before attempting to use any of these tools)

stray oasis
#

no sadly

pastel sluice
#

you'll need to learn about those things first.

stray oasis
#

can u teach me

#

im 15

#

i dont rlly know

hybrid nebula
pastel sluice
#

I can show you some resources about them, we don't do one-on-one tutoring

fathom vortex
#

good evening fellas

pastel sluice
#

venvs, as they're called, are a really important tool for Python

hybrid nebula
#

if you want a .exe file, I'd heavily recommend using a language specifically designed with .exe files in mind (C# be mentioned, also C++, Go, Rust, Zig, and of course C and assembly if you really want to)

fathom vortex
#

why does one even want a .exe file

hybrid nebula
fathom vortex
#

hmm

pastel sluice
fathom vortex
#

fair

hybrid nebula
#

anyone who wants a .exe should first be forced to explain what a linker does

pastel sluice
#

and it's sometimes disappointing for people to discover Python doesn't have a strong story for redistributing apps standalone

fathom vortex
pastel sluice
fathom vortex
#

agreed

#

I once spent a weekend creating a little installer for me

#

it would unzip a portable python distrib and setup the python source files

pastel sluice
#

!pypi pydeploy-win this is my project

edgy krakenBOT
#

allow pip installable Python programs to be deployed as standalone applications (currently only on Microsoft Windows)

Released on <t:1772468019:D>.

fathom vortex
#

you're also making use of the portable distrib?

pastel sluice
#

yes, it's a nice convenient way to deal with the problem

fathom vortex
#

sweet

hybrid nebula
#

!d zipapp

edgy krakenBOT
fathom vortex
#

known that its stdlib but never have I ever used that

pastel sluice
#

zipapp only works for pure Python stuff, though - my solution was intended to work for things that might also have binary components

fathom vortex
#

I'd rather walk through my friend getting python installed

hybrid nebula
#

basically python.jar

fathom vortex
#

lol

pastel sluice
#

end result is something you can just unpack, and click to run

fathom vortex
#

yup, my go to for consumer sided apps is just Rust / Go rn. (I am only starting out w Go)

#

(Yes, I don't know any other compiled languages beyond their basics)

hybrid nebula
#

I should get into C# but the developent experience on Windows is...

fathom vortex
#

lol

hybrid nebula
fathom vortex
#

I hear java has gotten pretty good lately

#

I mean, I like rust

#

or maybe I am just larping out of desperation, who knows

hybrid nebula
#

Java is actually improving which is not something I'd expect but I'm here for it

fathom vortex
#

haha yes

#

instant boilerplate generator is actually getting better (fireplace ref)

pastel sluice
#

"larping"?

dull dune
#

genuine curiosity

fathom vortex
pastel sluice
fathom vortex
#

hmm, I personally am new to this term lol

fathom vortex
hybrid nebula
dull dune
fathom vortex
dull dune
#

maybe the go usecase question will help me understand?

fathom vortex
#

consumer apps can be in pure python too, but generally, how often do you see a consumer app shipping as source code

fathom vortex
dull dune
#

not rarely. source code has very little business value, its' not worth keeping a secret the vast majority of the time. the hinderance is that you don't want end users to hve to install third-party requirements, but you can package runtimes with yoru distribution sot hats' not such a large hurdle

dull dune
fathom vortex
dull dune
#

its' not

fathom vortex
dull dune
#

at least, it's actually not, but again businesses very often think it is

fathom vortex
#

everything I do is backend related

hybrid nebula
#

this really depends on how the app is structured

dull dune
#

that's what I'm asking, it sounds lik eyou're using go for things I haven't, and I'm curios how you're finding it

hybrid nebula
#

e.g. for web applications, the frontend code is usually not too important

fathom vortex
#

sorry, I'll rephrase it, I haven't used Go for consumer apps, but would like to try it out atleast once

hybrid nebula
#

but in single player video games, the source code is. all there is to a game

dull dune
#

and its' still not that valuable. the assets and game design are valuable. if it's a multiplayer game the service is valuable

#

take out thsoe things and no one cares about the source

#

rewrite the game from scracth and no one cares if those other things remain the same

hybrid nebula
#

if I publish a single player game for $4.99 on steam, and someone leaks the source code, I will probably make $4.99 in the remaining lifetime of the game

fathom vortex
#

the org I work with, the whole USP is our source code. recreating what we have is increadibly complex to the point that its easier to just not do it

#

Its a combination of source code and data

dull dune
#

so if a competitor got yoru source code they could just run it and provide just as much value as you do?

dull dune
#

I gaurantee the data is the value

fathom vortex
#

data was generated as a result of the source code

#

and can be recreated in its entirety using just the source code

#

just that, its too large, ie, say 5~6 TB of postgres

dull dune
pastel sluice
#

yeah, the main attraction of HN isn't the code, but the commuinity and the fact that it's an existing center of gravity for discussion

exotic depot
#

Hmm

pastel sluice
#

software is easy, community is hard

dull dune
#

and that article supports my suggestion

hybrid nebula
exotic depot
#

What's going on chat

hybrid nebula
#

or, in this context,

You can't build a Product People Use as a feature

pastel sluice
tame vapor
pastel sluice
# tame vapor you built a place people go to ?

yes, there's a small community I built that's for chat-based RPGs. I ran it for a long time, closed it down when I couldn't maintain it well anymore, and now I'm rebuilding it from the ground up. but the key thing is that many former users are coming back in, and without them there would be no point.

exotic depot
#

RPG game community??

bronze dragon
# hybrid nebula if I publish a single player game for $4.99 on steam, and someone leaks the sour...

Game cracks exist even for games without leaked source code. The real question is whether the average consumer cares enough to go out of their way to get a cracked version with the risk of viruses and whatnot.
Now, whether the average consumer does do that is one that varies by target demographic and so on, but from what I understand, Steam et al has made it so that people are generally fine paying for games
Might be wrong, I'm not much of a gamer. But I'm sure you could find cracked versions of any game with enough torrenting.

exotic depot
#

Oh or a chat bot rpg game kinda confused

pastel sluice
#

it's for people, not chatbots

#

it's closed alpha right now, I am only bringing in people I know personally, and that's for the sake of my own sanity.

exotic depot
ashen cipher
pastel sluice
robust ledge
hybrid nebula
pastel sluice
#

fair pricing is the best copy protection measure

ashen cipher
#

something something silksong something something

dull dune
#

for some reason that's a lesson large publishers and producers just cannot learn

exotic depot
dull dune
#

instead of "I must not be efficiently allocating my budget to address the market" they instead think "I must not be investing enough in fighting piracy"

hybrid nebula
#

I'd argue most people who go through the ordeal of pirating media do so because they can't acquire it through legitimate means

dull dune
#

(nevermind "I should probably just reduce my margin", no one's ever thought that)

pastel sluice
dull dune
#

there a way to see it/poke at it now?

pastel sluice
exotic depot
pastel sluice
#

(that's a slightly earlier rev screenshot, the sample data now actually has text for the posts and such)

exotic depot
#

Oh ic

pastel sluice
#

and yeah, to get back on topic, it's all Python

crisp jay
sudden basin
#

Yo, guys is pygame site not opening for me is it same for anyone else?

slender urchin
#

works for me

opal gull
#

which pygame site

slender urchin
#

Oh the old pygame site doesn't work.

#

The pygame-ce site does

sudden basin
sudden basin
opal gull
sudden basin
opal gull
#

you should use pygame ce anyway

sudden basin
hot glen
slender urchin
#

I'm getting a dnsfailure

shrewd pine
#

There’s no way it’s DNS

sudden basin