encukou / blog Goto Github PK
View Code? Open in Web Editor NEWHome Page: encukou.cz/blog
Home Page: encukou.cz/blog
Zoradeny zoznam (list) operácie pridávania, mazania, na začiatok, koniec alebo pred / za určitý prvok. Sú menitelné. Můžu mař rozličnú dlžku a můžu obsahovař polozky různych dátových typov.
Zásobník (LIFO = Last In First Out = v Pythone sa s nimi pracuje pomocou zoznamou. Pridávanie nových prvkov pomocou append. výber prvku pomocou metódy pop() - vyberie vrchny prvok alebo pomocou metody pop(i) vyberie ity prvok. Su menitelne.
Fronta (FIFO - First In First Out) - implementovane v pytone pomocou zoznamu, aj ked to nie je velmi efektivne. Pracuje sa s nimi pomocou collections. Operacie pridavavania prvkov, mazania, a test prazdnosti fronty.
Ntica - je rovnaka ako zoznam. Namiesto hranatych zatvoriek obsahuje kulate a je nemenitelnou datovou strukturou.
Mnoziny - obsahuju polozky bez duplicit. Zoznam mozeme konvertovat na mnozinu pomocou prikazu set.
Narozdiel od statickeho sa v Pythone datovy typ nedefinuje. Pri deklaracii premennej sa urci sam automaticky. Pocas prace sa moze zmenit.
Osetrenie pomocou exceptions napriklad. Kod doplnim potom .
Differences between
alias - vytvorenie a = b
plytka kopia objektu - pracuje sa iba s odkazom na objekt, pri zmene sa zmeni aj povodny objekt a = b[:]
hlboka kopia objektu - vytvori sa v pameti novy objekt deepcopy. Pri zmene sa povodny nezmeni.
Hi, I noticed that your Twitter profile links http://encukou.cz/ and when clicked, browsers show the broken lock icon. Turns out, GitHub Pages don't redirect to HTTPS for you. Sometimes, the related setup just gets broken on the GH side over time. I think that turning
[x] Enforce HTTPS
off and on again should fix it.
The setting is here: https://github.com/encukou/blog/settings/pages.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.