#python list class
Explore tagged Tumblr posts
Text

python int()class - Binary-Octal-Hexadecimal-Decimal also integer Datatypes
#python list class#python datatypes#python training in guntur#python training hyderabad#python jobs hyderabad#django jobs hyderabad#flask training hyderabad
1 note
·
View note
Text
the difference between my enthusiasm after one day of the japanese class and my enthusiasm after one day of the programming class are night and fucking day, to the extent I'm considering just dropping the programming one on the spot
#the professor for the programming class seems like a jackass#and it's also apparently structured more like an 'intro to programming' class instead of a dedicated python thing#I can't see like a full list of topics the class will cover#so I can't tell if they're gonna get around to explaining what python's weird ass loop setups or dictionaries or whatever are#or if it's just gonna be a rehash of the stuff I learned in c programming a decade ago but with a teacher I like less
7 notes
·
View notes
Text
A complete list of valid english words that are alphabetical
a
ab
abbe
abbes
abbess
abbey
abbot
Abel
abet
abhor
abhors
ablow
ably
abo
abort
abos
Abu
abuzz
aby
accent
accept
access
accost
ace
acer
acers
aces
achy
ack
act
ad
add
adder
adders
adds
addy
adeem
adeems
adept
adios
ado
adopt
ads
ae
aegis
aery
affix
afflux
afoot
aft
agio
agios
aglow
ago
ah
ahoy
ahs
ai
ail
ails
aim
aims
ain
ain't
air
airs
airt
airy
ais
ait
aitu
al
all
allot
allow
alloy
ally
almost
alms
alp
alps
alt
am
ammo
amor
amort
amp
amps
Amy
an
Ann
anno
annoy
Anns
Ans
ant
any
apt
arsy
art
arty
ary
as
ass
at
au
aux
aw
ay
BBC
b.c
be
bee
beef
beefs
beefy
been
beep
beeps
beer
beers
beery
bees
beet
befit
beg
begin
begins
begot
begs
bel
bell
bello
bellow
bells
belly
below
bels
belt
bely
ben
Benn
benny
bens
bent
Benz
berry
Bert
Bess
Bessy
best
bet
betty
bevvy
bevy
bey
bez
bi
bijou
bijoux
bill
billow
billowy
bills
billy
bin
bins
bint
bio
biopsy
bios
birr
birrs
bis
bit
bitt
bitty
bivvy
biz
bloop
bloops
blot
blow
blowy
BMX
Bo
boo
boor
boors
boos
boost
boot
booty
bop
bops
bort
boss
bossy
bot
bott
botty
bow
box
boxy
boy
brrr
BST
btu
buy
buzz
by
cee
cees
ceil
ceils
Cel
cell
cello
cellos
cells
celt
cent
cep
ceps
cert
cess
chi
chill
chills
chilly
chimp
chimps
chin
chino
chinos
chins
chintz
chip
chippy
chips
chirr
chirrs
chis
chit
chitty
chivvy
chiz
choo
choosy
chop
choppy
chops
chott
chou
choux
chow
choy
ci
cissy
cist
city
civvy
cloot
clop
clops
clos
clot
clotty
clou
clow
cloy
cm
co
coo
coop
coops
coopt
coos
coot
cop
cops
copy
coq
cory
cos
cost
cosy
cot
cow
cox
coxy
coy
coz
cru
crux
cry
cs
de
dee
deem
deems
deep
deeps
deer
deers
def
deft
defy
deist
deity
dekko
dekkos
del
dell
dells
delos
demo
demos
demy
den
Denny
dens
dent
deny
deo
dept
der
derry
derv
des
deux
dev
dew
dewy
dhow
di
dikkop
dikkops
dill
dills
dilly
dim
dims
din
dins
dint
dip
dippy
dips
dirt
dirty
dis
diss
ditty
div
divvy
dixy
do
doo
door
doors
dop
dops
dopy
dory
dos
doss
dost
dot
dotty
doty
doxy
Dr
dry
du
dux
eek
eeks
eel
eels
eely
eery
eff
efflux
effort
effs
eft
E.G
egg
eggs
eggy
egis
ego
egos
eh
ell
ells
elm
elms
em
Emmy
empty
emu
enow
envy
er
err
errs
erst
es
ess
est.
et
ex
fil
fill
fills
filly
film
films
filmy
filo
fin
Finn
finny
fins
fir
firry
firs
first
fist
fisty
fit
fix
fizz
floor
floors
floosy
flop
floppy
flops
floss
flossy
flow
flu
flux
fly
foo
foot
footy
fop
fops
for
fort
forty
fox
foxy
foy
fry
ft
fu
fuzz
g
ghost
ghosty
gill
gills
gilt
gimp
gimps
gimpy
gin
ginny
gins
girt
gist
git
gloop
gloops
gloopy
glop
glops
glory
gloss
glossy
glow
gm
GMT
gnu
go
goo
goop
goops
goopy
goos
goosy
gorsy
gory
goss
got
gov
goy
Gru
guv
guy
h
hi
hill
hills
hilly
hilt
him
hint
hip
hippy
hips
his
hiss
hist
hit
ho
hoo
hoop
hoops
hoot
hop
hoppy
hops
hors
horst
horsy
host
hot
how
hox
hoy
I
I’ll
I’m
ill
ills
illy
imp
imps
in
inn
inns
ins
io
iOS
IOU
is
it
itty
iv
ivy
ix
jo
joss
jot
joy
knop
knops
knot
knotty
know
Knox
kop
kos
lo
loo
loop
loops
loopy
loos
loot
lop
lops
lor
lorry
loss
lossy
lost
lot
Lou
low
lox
Loy
luv
lux
m
mm
Mo
moo
moop
moops
moor
moors
moos
moot
mop
mops
mor
mort
moss
mossy
most
mot
mott
Motty
motu
mou
mow
moz
mozz
MP
MPs
Mr
Mrs
ms
mu
mux
mx
my
no
noop
noops
nor
nosy
not
now
noy
nu
oops
op
ops
opt
or
ort
ow
ox
oxy
oy
oz
pps
pry
ps
psst
pst
qt
st
sty
tux
tv
there has got to be more words in alphabetical order than first. i have to make more bits in my coloring of the talliee
ABCDEFGHI KLMNOP RST W Y
20/26
#sorry#im avoiding doing work in class because its boring and i have a list of english words just sitting there#and the python code really isnt hard so i just#did it#then went through that list and removed all the misspelled words because my words list is from an online corpus of english
766 notes
·
View notes
Text
what do u do when u tell ur parent in no uncertain terms Thank You For The Offer But I Do Not Want A Tutor For This Course It Will Not Help And I Am Deeply Uncomfortable With It Do Not Get Me One
and then they go and book u with an online tutor. without asking. what the fuck.
#25 but being treated like im fucking 12#didnt even WANT help with courseworki went out there just looking for some goddamn emotional support#and i didnt even get it!!!!!!#theres 'problem solving instead of listening & supporting' and then theres THIS#i hate college#but rn i hate this family more#ANYWAYS#if any1 knows how 2 use python 2 'use file i/o on startup to open and read the dataset; initializing a few record objects with data parsed#from first few records in the csv file. the record objects should be stored in a simple data structure (array or list). use exception#handling in case the file is missing or not found'#i know how to open the file but idk how 2 'initialize a few record objects using data parsed etc. etc.'#like. i have a class so thats the record object. and ig i could have a list of instances of that class object#but idk how 2 like. combine the data from the csv file with instances of the class.#without having to individually list.append(()) 7000 rows bc eventually in this project u gotta use the whole dataset.
0 notes
Text
"oh it's a traceback error, it must be something wrong with the file name" *changes a forward slash to a forward slash*
girlie wtf u sound like me when I pretend I know something about a topic I'm clueless about
#trying to help a friend with python code in class#the peak of the dunning kruger effect fr#python#btw it was a typeError#for some reason a list wasnt being appended to
0 notes
Text
If you think I was a kid who loved to read, you’d be right, but that doesn’t just mean I was reading, like, Newbery Award nominated prestigious children’s novels. Because in my experience, most kids who love to read are more gourmand than gourmet. I was also reading:
* Class rosters. I begged my teachers for these. I wanted to try to memorize everyone’s middle names.
* Similarly, old yearbooks. I liked judging whether people’s names matched their faces and making up different names for them if they did. I also loved reading baby name books and making lists of names I liked.
.* The personals section of the newspaper. I liked picturing the people as they described themselves and imagining which combination of people on the page might like each other.
* The ingredients of food packages. Not even for any real informational reason, I just really liked certain fantasy-sounding words like thiamine and riboflavin.
* An old World Book Encyclopedia from the 1970s. I would sneak out of bed to read it because the bookshelf was near my bedroom door and I could crawl to it without making the floor creak. My favorite entries were the ones about Hawaii and tigers. I kinda developed a ritual of rereading the Hawaii article when I had read a scary book before bed and needed to calm my brain down.
* My dad’s Dave Barry and Woody Allen humor books and also transcripts of all of the Monty Python’s Flying Circus episodes. This is probably why my sense of humor has been so weird from such a young age.
* The part of the church hymnal with ceremonies for baptisms, weddings, and funerals. I liked to imagine them.
* Wine catalogs at friends’ houses. The descriptions of the wines seemed so poetic and abstract. I also liked when they said “fruit on the nose” because I pictured a dog balancing a whole piece of fruit on its nose.
* My parents’ parenting books. I liked to see if I was exhibiting developmentally appropriate behavior. I am not 100% sure if doing that is, in fact, developmentally appropriate behavior.
* Those little brochures advertising various roadside attractions and tourist activities at rest shops. I would grab as many as possible when we stopped to use the bathroom on a road trip. Also, travel guides in general.
* I checked out the entire “unexplained” section of the library over the course of third grade. (Dewey decimal 001.9.) Ask little me about Project Blue Book, I guess.
* I LOVED party planning books, especially ones with highly specific themed parties that seemed impractical to put on in real life like a whole chess-themed party culminating in a game of human chess, complete with lemon chess pie for dessert.
* Seed packets. I find the writing style of these very endearing. It always sounds so affectionate toward the plants.
* My grandma’s Reader’s Digest magazines, which felt like Russian roulette because they sometimes published disturbing articles that gave me nightmares. (Reader’s Indigestion?) I especially vividly remember a feature on adopted kids who need to wear Ilizarov apparatuses to straighten their limbs because they became malformed due to severe neglect at orphanages.
* For some reason, I loved reading restaurant menus and imagining what kind of food different fictional characters would order from there.
* And last but certainly not least, because I think this is a relatable one: the AMERICAN GIRL CATALOG! No, I never had an American Girl doll, but getting the catalog was a source of much excitement.
116 notes
·
View notes
Note
The Rocky Horror characters at the mall?? :) What shops would they like? What antics would they get into?
-A.B.
OMG I LOVE IT SO MUUUCHHHH
Frank: He is headed straight to Victoria's Secret- he loves Victoria's secret. He's also been banned from numerous candy shops because he keeps trying to use the candy in attempts to seduce staff and other customers with it. It started out with just lollipops, which they couldn't really get after him for, but then it escalated into "inappropriate use of the whipped cream" and "noise complaints from his moaning whenever he ate anything" and he was out
Brad: Brad loves to go fishing through those big bins of DVDs in video stores!!! (Idk if they still exist I haven't seen them in my recent trips to the mall but they were excellent while they lasted. I probably would not have the patience for what Brad does, but I'm proud that he does it) One time he found a Monty Python in there and rode that high for MONTHS! It was his greatest moment. He's also always going to wherever the Mario games are!!!
Janet: Janet's favorite stores are Forever 21 and Macy's. She definitely gets obsessed with stuff, has her arms full, and then realizes halfway through that she most certainly cannot afford most of these things. She then has to spend an eternity deciding what to put back. There have been a few times in which a store has needed to inform her that they'll be closing in fifteen minutes and she's needed to make an incredibly quick turn-around. She always comes back for the things she's left behind once she comes into some more money, though, and then the process starts all over again and she is thrilled every time!
Riff Raff: Riff Raff loves to get nail polish at makeup stores and other little accessories that can make him feel especially elegant! He'll go more out there and get better outfits when he's not in Frank's servitude- but anything he gets will inevitably become Frank's if he's not careful. ALSO he always gets himself a nice little treat because Frank ususally gives him and Magenta leftovers. He's developed a true love of cheese popcorn and will get himself a bag if one of the stores is selling one. However, he does tend to look like a bird when he eats, so if he sees someone looking at him funny, and he notices that they are not a child (he'll turn the other way if they are) will stare them directly in the eyes and go kind of cross-eyed until they leave and he can enjoy his popcorn in peace
Magenta: Magenta will go and outright get her nails done at the mall. Then, depending on the day, she'll either get some perfume, clothes, accessories, or baking supplies! Sometimes she'll just go to a bakery and let them do the job for her. She also loves those fun vulgar signs that you can get to hang up. She's kind of seen as a test of sorts when she walks into a store because- if she doesn't like the service you provide- she will go online and leave the most scorching of reviews. If you pass the "Magenta test" your shop honestly probably gets a small celebration
Columbia: At every mall you will find a few special shops that sell AMAZING fashion and accessories that are so alternative and unique. You will find Columbia there every time!!! It's where all of her favorite outfits come from! She'll also always get donuts on her way out
Eddie: Eddie steals from Hot Topic. Its an unstoppable fact of life. No one can stop it
Doctor Scott: Doctor Scott loves bookstores!!! He'll always decide what his next read is on the spot, but he'll always pick something that he ends up enjoying. He's read so many things that it's surprising! He subbed for Brad and Janet's literature class one time, checked the curriculum, and had read every book on the list. How does he always pick something that he ends up enjoying? Well he reads the first 5 or so chapters in the store before he even buys it! He's caught a few employees looking at him funny for it a few times, but there is in fact, no rule against this action. Hes been doing it since he was like 20 and no one can stop him
Rocky: Rocky loves shops where he can get board games and special ice cream flavors- but his favorite thing that the mall has to offer is the ball pit. Oh how Rocky loves the ball pit
The Criminologist: the Criminologist loves getting pictures, either drawn, painted, or photographed, that he can frame and hang up on his walls! He especially loves ones of city skylines!!!
#THANK YOU A.B!!!!!!#I love requests everybody and am always eager for more!!!!#this was a FANTASTIC idea!!#rocky horror#rocky horror picture show#rocky horror show#richard o'brien#riff raff#frank n furter#brad majors#janet weiss#magenta rocky horror#columbia rocky horror#rocky rocky horror#eddie rocky horror#doctor scott#the criminologist rocky horror#rhps
26 notes
·
View notes
Text
Was troubleshooting an issue with a program where I wanted it to run multiple parallel subprocesses only for most of them to seemingly stall. Turns out it was because I didn't know how the multiprocessing function I was using runs in the background.
There's a Python class called Pool() and it has a function map() which takes a function and a list of arguments. Pool will run parallel instances of the function with every item in the argument list you give it.
I assumed that the way it would work was if I allow Pool to run p subprocesses and there are n arguments in my list, Pool would run the first p arguments in my list and whenever one subprocess finished, Pool would start a new subprocess with the next available argument.
Turns out that Pool instead breaks the argument list into smaller sublists and assigns each subprocess one of those sublists. So instead of assigning the first subprocess to handle the first argument, then the next subprocess the next, etc. It assigns the first x arguments to be handled by subprocess 1, the next x arguments to subprocess 2, etc.
The issue I had was I had 922 files I needed to process and the runtime was directly related to the file sizes. The smallest file was 5.6 KB and the largest was 229.8 MB. I sorted the file names in my argument list by file size from largest to smallest expecting the largest files to be processed first and then the subprocesses would gradually work on the smaller ones.
Instead, all the largest files got assigned to a single subprocess. It probably was assigned 60% of the total workload. And every subsequent subprocess would be handed smaller and smaller pieces of the workload.
So those subprocesses weren't stalled. Pool ran out of tasks for them to do and the whole thing had to wait on the subprocesses that were given all the heavy tasks I was hoping to divide across them.
It would have been faster to completely randomize the list first.
22 notes
·
View notes
Note
hi!! do you have any free resources or textbooks for learning python? i’m doing my dissertation and i need a refresher before i start doing it properly. thanks!!
Hiya! 💗
Here you go:
Book
Python Objects and Classes
Roadmap.sh
Random Python Resources
Top 20 Python Projects for Beginners to Master the Language
Free Programming Books
Python Notes and Resources by @trialn1error
Python Official Roadmap
Python Project List
Python 3 Cheat Sheet
Python Cheatsheet for Beginners
These are the ones' I've shared on my blog over the years! Hope their helpful! 🥰👍🏾💗
#my asks#resources#python resources#codeblr#coding#progblr#programming#studying#studyblr#learn to code#comp sci#tech#programmer
342 notes
·
View notes
Note
"Professor Python! I was just wondering if you had some form I could fill out to comment on the quality of your classes? I had some feedback, you see..." Ferdinand was wired with the audacity of a dying star, and could forward his feedback without so much as a blink of an eye. he pulled out a small, folded paper, the size of his palm. upon setting it free, it unfolded exponentially (comedically), little square upon little square of neat, 4 mm sized text.
"you see, as you are among the best shots in the academy. your nonchalance could be... well, I have thoughts on your general attitude because it can border on indifference, but i could hardly assume you of all people, indifferent." no breaths. just kept neatly creasing his list the further he went down. "I've also observed that your pacing may affect those who aren't quick teaches. myself, not included of course, but it would not hurt if you bear more mind of the students in the back? they are noble. it would behoove them to..."
two minutes of mind numbing minutes go by.
"and finally."
"I believe it would benefit us all if you joined the Black Eagles as a faculty member. have you ever considered it? the other day, I was watching your form and thought to myself—goodness be. you trim down all movements to emphasize the tension and taut of your back muscles and—"
It's miraculous, really, how this guy strings together all of those sentences without a single gap long enough to offer a 'no' or 'stop', let alone 'what the hell are you talking about'. Python simply gapes slightly while watching the paper unfold crease by neat little crease. He's been subjected to spirited, long-winded lectures on his behavior before—of course he has—but it's one thing to hear it from a friend of many years. To get this sort of treatment from this foppish little carrot-top he hardly knows from Anri is… Well. He's already tuned out somewhere after his attitude was brought up, but presumptuous seems like a good word here. Annoyance is kept at bay largely by keeping his mind elsewhere. Is this what it would be like if Forsyth and Clive had an insufferable child? Is it possible that is where this student came from? If Azama can have a daughter at the age she is, then anything is possible. Probably. Ah, the droning sound in the background of Python's thoughts is gone. The kid decided to take a dramatic pause. The archer blinks slowly, absorbing that baffling offer. He raises a hand to ask for the space to speak. "So you're sayin' that if I switched to your class you'd give me more feedback? Tell me all the ways I could be doin' my job better?" He huffs out a laugh. "I'll pass. Thanks." His boots click with the turn of his heels, intent on making his exit before he learns if there are any more lines to Mister Perfect's extensive notes.
22 notes
·
View notes
Text
Tierlist part 4: Python
Python is an interesting case. On one hand i absolutely hate it. The dynamic type system is not fun to work with especially when you accidentally have created a reference to an array instead of cloning it. I have never gotten round to completely understanding how class work cause it just seems like a mess. On the other hand it's a great toy. There is just a bunch of syntax like for else and the most important list comprehension that makes it an ideal playground for the writing the most cursed code. It's a good entry to code golfing because of that. So that leaves the question of where to put it. So uhmmm, let me just find the knife and do a little dissecting. There. Perfect. A tier as a toy. D tier as a language to write actual projects in.
Part 3
#Possibly a bit mean towards python but i can't be kind if there is dynamic types. I am C-official after all#Seems its a good time to add conlangs to the poll#Somehow i haw voted the most popular option each time. That will probably change soon.#Im at work now and should get back to write php :(#c-official
16 notes
·
View notes
Text
WHAT NO ONE UNDERSTANDS ABOUT FUTURE
In Web-based software does require fewer programmers. As well as avoiding bullshit one should actively seek out things that matter in the real world. For most of my essays. If we improve your outcome by more than 43%. If you do anything in the future big companies will exist, because startups rarely get sued for patent infringement is like a sort of background, good startup ideas is many times larger than the number who want it urgently.1 Many of the applications we get are imitations of some existing system.2 He just wanted to hack.3 And if your startup does tank, you won't be selling the company to the point where you shake hands and the deal's done. Yes, I can tell from a thousand little signs.
Larry and Sergey when they wrote the first version?4 And not just because things change faster, but now applies to individual investors generally.5 In industrialized countries, I'd take the US system. What you want to define a more convenient alternative to the Turing Machine. The simplest way would be to try it. I know if something major happens, or someone making conspicuously avant-garde stuff to impress ten year olds, or someone else, that's no reason not to: if you work on the idea. If you want to be smart. You have to be very hard to predict how big a deal it will be either a view of the future, and judge them based on that. A lot of people who'd make great founders who never end up starting a company hard to bear. I thought that something must be.6 When we talk about unequal distribution of income, we should expect it to continue. There are other kids who deliberately opt out because they're so much influenced by other investors' opinions means you always start out in something of a hole.
Especially if it meant independence for my native land, hacking.7 But there is a way of life that was literally uniform. It's just as well they do are not orthogonal.8 They'll all lose their jobs eventually, along with practically every other adult you've met. Instead we should try thinking of them as rather passive. The most successful sites are the ones that are universal, or nearly so.9 You're investing your own time, different societies have wildly varying ideas of what's ok and what isn't.10 Usually successful startups happen because the founders make them take off.
Wouldn't it be amazing if we could achieve a 50% success rate? And you can't go too far.11 In 1958 these ideas were anything but at first. Yeah, sure, what you need to write a prototype that solves a subset of potential users, at least by legal standards. The reason the US News list. Wealth is the underlying stuff—the goods and services we buy. But it was the capital which would cause other problems.12
Notes
This includes mere conventions, like good scientists, motivated less by financial rewards than by the PR firm.
For example, being a scientist.
There are two non-sectarian schools. A more powerful language in it. If you did that in the category of people starting normal companies too.
Put in chopped garlic, pepper, cumin, and partly because so many people mistakenly think it is. There's comparatively little competition for the sledgehammer; if you don't, but those don't involve a lot heavier. You can safely write off all the potential series A in the bouillon cube s, cover, and partly because a quiet contentment. Convertible debt is a flaw here I should probably fix.
Most computer/software startups are simply the embodiment of some brilliant initial idea. It seems justifiable to use thresholds proportionate to the home team, I've become a function of their upbringing in their graves at that.
It was only because he was a sort of dress rehearsal for the average major league baseball player's salary during the Ming Dynasty, when in fact I read most things I write. If he's bad at it. Or more precisely, there would be investors who turned them down. I think in general.
Or more precisely, there would be more precise, and it will have a better story for an IPO, or because they could probably starve the trolls of the Web was closely tied to the point of a press hit, but the idea. The angels had convertible debt, so that's what you're doing.
Publishers are more likely to have them soon. It's one of the reason the young Henry VIII and was soon to reap the rewards.
And butter cases. Design ability is so plausible, the transistor it is more important for societies to be recognized as an asset class.
Another promising idea is the place of Napster.
I mark. Ironically, the more effort you expend on the economics of ancient slavery see: For most of the clumps of smart people are magnified by the fact by someone who doesn't understand what you're working on some project of your last round just happened, the local startups also apply to the table. There are simply the embodiment of some power shift due to fixing old bugs, and as an asset class.
Candidates for masters' degrees went on to the extent we see incumbents suppressing competitors via regulations or patent suits, we should have been the losing side in debates about software design. The Price of Inequality. The original Internet forums were not web sites but Usenet newsgroups.
Thanks to many others, Kevin Hale, Geoff Ralston, Garry Tan, Sam Altman, Robert Morris, Hugues Steinier, Marc Andreessen, and Jessica Livingston for smelling so good.
#automatically generated text#Markov chains#Paul Graham#Python#Patrick Mooney#background#class#Livingston#someone#h2#idea#competition#baseball#something#sup#category#things#deal#Notes#function#clumps#list#distribution#project#sites#ideas#Ralston#times#pepper
0 notes
Text
a Tridaily Dose of Emika
(because of exams)
programming languages I use
I do programming, sometimes. I will list the languages I know, chronologically.
Scratch (when I was 10 or something)
Processing/weird combination of a Java library and a very shitty integrated code environment that comes with it, or whatever that word is. (when I was 14, maybe??)
Python (I dunno, used it for the first time at 16, I would guess)
C (when I was either 20 or 19)
HTML, CSS, Javascript (when I was 20??)
Haskell (when I was 20 (I am still 20))
So Scratch is just adorable, right??
Processing?? I dunno, it helped me learn the concepts????? It was really weird looking back at it. I feel like I was very shitty, but it had a library to make visual stuff easy, so it worked. I wouldn't know how to use actual Java, though, because classes were an advanced concept for me back then, and I forgot it since, and I don't ever use classes with the other languages I use.
Python sucks so bad, I hate it, but school coerces me into using it sometimes.....
C is my favourite, and the one I'm the best at. It's just very satisfying, I guess. I've been building a datastructure library lately.
HTML and CSS are kinda funny, Javascript sucks, but you need it I guess
Haskell is so cute, I love it, but I suck at it as of now. I had a month orso of using it and then went back to C, but I do plan to learn more of it later on :3 now, I will tell you more about these languages
Scratch is just some little kid who is throwing paint around (they are fine??? like they're a kid.... you can't judge them)
Processing is some friendly old white dude (he is fine)
Python is some 30-year old in lower upper management of some multinational who thinks very highly of himself and stuff (we hate him)
C is a 25-year old non-binary cool person (we like them)
HTML is not a person
CSS is not a person either
Javascript, we don't know enough to tell, and with we, we mean I
Haskell is a 16 or 17 year old alt girl (we like her)
#programming#scratch#processing#python#c#html#css#javascript#haskell#determining the personalities of programming languages
12 notes
·
View notes
Text
dark secrets of the elders (more under the cut)
making python obligatory at my university was a mistake
ok, this is a very simple code with like. VERY limited ideas, but, in my defense, we only had 5 classes + i made this randomly.
the code has lists (actually tuples but who tf cares) of 10 names, 10 verbs and 15 more words for objects (hence the numbers in the prompts). it basically just chooses the elements the based on the numbers the user inputted and mashes them together. nothing extraordinary but a fun way to practice, i guess
some other weird results:
- Resh is currently ignoring mantas - Sah is afraid of Teth (who isn't?) - Daleth loves krills
the code (there must be a better way to do this but i'm a noobie):
names = ('Daleth', 'Ayin', 'Teth', 'Sah', 'Mekh', 'Tsadi', 'Lamed', 'Alef', 'Resh', 'Megabird') verbs = ('plays 4d chess with', 'loves', 'despises', 'eats', 'regularly goes to the pub with', 'is afraid of', 'is currently ignoring', 'gets drunk with', 'secretely loves', 'wants to kill') objs = ('Daleth', 'Ayin', 'children', 'Teth', 'Sah', 'chicken', 'birds', 'mantas', 'Mekh', 'Tsadi', 'Lamed', 'Alef', 'Resh', 'krills', 'Megabird') print('Welcome to the awful headcanon generator!') yes = input('Type yes to continue') if yes == 'yes': name = int(input('Type a number from 1 to 10')) verb = int(input('Type a number from 1 to 10')) obj = int(input('Type a number from 1 to 15')) print(names[name - 1], verbs[verb - 1], objs[obj - 1])
#idk if this is anything#i just wanted to share my masterpiece#idk how to export this thing properly so you'll have to trust me that this works i guess#wow this post is very random#sky children of the light#sky cotl#samekh#technically???#not tagging others though#runaway codes#have i just made up a tag for this specific post? hell yeah
7 notes
·
View notes
Note
I don't know if this comes under trade secret or whatever (if it does im so sorry for intruding!!) but how did you get the phone system to work? Are you using Ren'Py or a different engine?
(game's developer responding!)
No trade secrets at all - all the code for the game is actually open source (MIT license and CC 4.0 Attribution, depending on which part you mean) so you can use it however as long as you credit the source! It's not necessarily written to be picked up by other people (it's often hacky and not documented), but anyone is welcome to pick at it.
Not sure if you mean "phone system" as in the Chittr stuff or the TechniColor Heart stuff. It's all running in RenPy (the whole game is), but the Chittr system is a lot jankier than the phone stuff done for TechniColor Heart. There's a lot of Python code helping to drive the back-end of everything, although the actual interface/UI aspects are handled by the RenPy engine's screen language, mostly.
At its heart, both systems are a combination of a list of items visible within the phone (text posts, etc.) and a set of RenPy screens to iterate through those and display them, allow interactivity, etc. The TH phone system uses a system of custom Python classes, whereas the Chittr system uses a set of dictionaries since it was written a few years ago and I wasn't as well-versed in how Python does class stuff (my professional experience was mostly in C#, VB.NET, etc.).
The Technicolor Heart version uses one master screen for the phone interface and then a set of subscreens for the various individual components (dating site, messages, shop, etc.) with their own UI and calls to important classes. If you unpack the script files (using something like RPA extract), you can find the TH stuff in volume12/vol12_datingsim_phone.rpy and the Chittr stuff mostly in chittr.rpy in the base game directory. Be warned in advance that the Chittr portion is bad and has some really jacked-up code to fix bugs that required going back and retroactively adjusting some stuff.
There's some elements of the UI that interact with the phone system in other areas, like the game's quick menus, to do things like displaying message notifications. If you poke around, you should see what I mean.
If you're looking for a general way to do a phone interface, I'd strongly suggest looking at the TechniColor Heart variant - that's by the far the cleanest, best-coded iteration of that concept.
9 notes
·
View notes
Text

April 24, 2024
Hubris is signing up to give two different presentations to two different conferences the same week that four papers are due, that being next week…
Crusades paper is almost done, archeology paper is next. Then I have to write my talks, which is now plural because what even is sleep when talking about my research is in the line. Said research also needs to be finished, but it is lowest on my list of priorities as it is due the latest.
And I have a test to study for. But at least we are watching Monty Python and the Holy Grail in history.
Class registration opened for next fall, but one that I really wanted to take was only open to juniors and up, so I sent an email to the professor to see if an exception could be made. I got all the others I wanted.
Back to it I guess…
#someone really should have stopped me#in my life the phrase#but itll look good on my linkedin#is almost immediately followed by hubris and dumbassery#dark academia#light academia#academia aesthetic#finals#historycore#dark academia aesthetic#classic academia#academic diary#rambles
19 notes
·
View notes