Struct: with inline comments for structs and memory memory padding / boundaries https://play.golang.org/p/hZRNwaKrMb we want to fit values based on size inside same byte boundaries. Memory Padding ift's 2 byte value - 2 byte alignment 4 byte value - 4 byte alignment (compiler does this) Bools lose their 0 value b/c of padding.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am Lyoness on github. | |
* I am lyoness (https://keybase.io/lyoness) on keybase. | |
* I have a public key whose fingerprint is 9E34 ACEE E789 1428 A118 2E76 E74A 8F28 50FB C1A4 | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##Notes, linkdump, for golang-studygroup-1 on 9-August-2016 | |
https://play.golang.org/p/dJLQZz-hVY - byte fun | |
iota - what is it? | |
Golang truthiness numbers? | |
https://golang.org/pkg/log/#New | |
Constants |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ActiveRecord::Base.connection.execute('set statement_timeout to 300000') | |
sql = "SELECT distinct repository_id FROM builds where id BETWEEN 148806987 AND 152728050" | |
repository_ids = ActiveRecord::Base.connection.execute(sql).map{ |row| row['repository_id'].to_i } | |
affected_repositories = 0 | |
repository_ids.each do |id| | |
repo = Repository.find(id) | |
changed_builds = repo.builds.select {|b| b.created_at > '2016-08-09' && b.created_at < '2016-08-16' && b.previous_state == 'passed' && (b.state == 'failed' || b.state == 'errored') }.count |
Happy New Year! We are excited to confirm Tuesday 31 January at 1530 UTC for our first CUE Community Call of 2023.
Please reply with any questions/topics you would like to see covered.
- Project updates
- Release updates
- Follow-ups from Community Call 2022-11-29
- Community Updates
- Spotlight on...TBD. (If you would like to be featured on monthly spotlights, let us know!)