VirtualTam's bookmarks
56 bookmarks found
-
Each challenge is a computer program of two or more threads. You take the role of the Scheduler. Your objective is to exploit flaws in the programs to make them crash or otherwise malfunction.
-
Subclassing in Python Redux
2023-06-11 The conflict between subclassing and composition is as old as object-oriented programming. The latest crop of languages like Go or Rust prove that you don’t need subclassing to successfully write code. But what’s a pragmatic approach to subclassing in Python, specifically?
-
A class or other object knows too much or does too much, and is therefore difficult to test or change
-
Compact objects in Python
2022-05-29 -
- https://softwareengineering.stackexchange.com/questions/375441/repository-pattern-and-joined-queries
- https://softwareengineering.stackexchange.com/questions/389391/does-a-leaky-repository-implementation-defeat-the-point-of-a-repository
- https://stackoverflow.com/questions/20512723/generic-repository-and-leaky-abstraction
- https://stackoverflow.com/questions/14450138/will-my-unit-of-work-implementation-cause-memory-leak
-
389ds in containers
2021-01-20 - https://fy.blackhats.net.au/blog/html/pages/ldap_guide_part_1_foundations.html
- https://fy.blackhats.net.au/blog/html/pages/ldap_guide_part_2_searching.html
- https://fy.blackhats.net.au/blog/html/pages/ldap_guide_part_3_filters.html
- https://fy.blackhats.net.au/blog/html/pages/ldap_guide_part_4_schema_and_objects.html
- https://github.com/389ds/389-ds-base/blob/master/docker/389-ds-fedora/Dockerfile
-
- https://stackoverflow.com/questions/10622179/how-to-find-identify-large-commits-in-git-history
- https://stackoverflow.com/questions/223678/which-commit-has-this-blob
1git rev-list --objects --all \ 2| git cat-file --batch-check='%(objecttype) %(objectname) %(objectsize) %(rest)' \ 3| sed -n 's/^blob //p' \ 4| sort --numeric-sort --key=2 --reverse \ 5| head -n 150 \ 6| cut -c 1-12,41- \ 7| $(command -v gnumfmt || echo numfmt) --field=2 --to=iec-i --suffix=B --padding=7 --round=nearest
-
- https://stackoverflow.com/questions/415452/object-orientation-in-c
- https://sites.google.com/site/cinterfacesimplementations/
- http://web.archive.org/web/20190125125043/http://homepages.inf.ed.ac.uk/dts/pm/Papers/nasa-c-style.pdf
- https://www.maultech.com/chrislott/resources/cstyle/
- https://wiki.sei.cmu.edu/confluence/display/c/SEI+CERT+C+Coding+Standard
-
TL;DR: Hydrators are used to map arrays to objects, and vice-versa
- https://www.doctrine-project.org/projects/doctrine-phpcr-odm/en/latest/reference/query.html#hydration-modes
- https://codereview.stackexchange.com/questions/222/php-doctrine-array-hydration
- https://github.com/doctrine/DoctrineModule/blob/master/docs/hydrator.md
- https://framework.zend.com/manual/2.4/en/modules/zend.stdlib.hydrator.html
- https://github.com/phpro/zf-doctrine-hydration-module
- https://github.com/zendframework/zend-hydrator
-
Effective Go - Embedding
2018-09-20 - https://stackoverflow.com/questions/31505587/how-can-two-different-types-implement-the-same-method-in-golang-using-interfaces
- https://stackoverflow.com/questions/34079466/golang-embedded-struct
- https://github.com/golang/go/issues/22013
- https://golang.org/doc/faq#inheritance
- https://golang.org/doc/faq#Is_Go_an_object-oriented_language
- https://travix.io/type-embedding-in-go-ba40dd4264df
-