@ifixcoinops Google gets things like this wrong, hilarity ensues, and yet companies still piss away their money to buy profiles of people that Google has. You'd think these mistakes would make the companies that buy profiles from Google stop and wonder how and why they're making mistakes like this so frequently.
@brianna i have had this problem in the past!
let me tell you what you want.
you want rainbow parentheses! look for it for your $EDITOR.
Manifestation devant «la résidence du premier ministre»
Les opposants aux mesures sanitaires n’avaient vraisemblablement pas fait leurs recherches avant d’aller manifester dimanche après-midi devant une résidence cossue qu’ils croyaient être celle du premier ministre François Legault, alors qu’il s’agissait en réalité d’une banale maison de Westmount.
«Les manifestants se sont trompés de maison... Et peut-être de combat...»
i actually know somebody from abbotsford who is the sweetest of sweethearts, but
why is everything that happens in that city such a "yikes"?
Abbotsford, B.C. kids told to research positives of residential schools
Children were forcibly taken from their families and placed in the schools, which the 2015 Truth and Reconciliation Commission found perpetuated “cultural genocide.”
Up to 6,600 children are believed to have died in residential schools, while many others faced physical or sexual abuse at the institutions, which operated for more than 120 years.
There's a new "experimental feature" being tested in Firefox 83: sponsored sites in the URL bar.
"Mozilla works with advertising partners to place sponsored tiles on the Firefox home page (or New Tab) that would be useful to Firefox users. Mozilla is paid when users click on sponsored tiles."
You can disable this by setting `browser.newtabpage.activity-stream.showSponsoredTopSites` to `false`.
what about this: a loi 21 but for christians
the christmas music has already begun. it's everywhere. in november. how did this happen? does it actually spread faster than covid?
maybe when i'm subjected to nasheed every time i'm in a public space for over a month, i'll start caring about hijabs on the bus.
Stop checking for NULL pointers!
just to be extra-clear, i am not the author of the piece i linked! :^)
i am not sure there's a meaningful difference between dereferencing it and passing it to something else which will.
that said, i actually appreciate a good `assert(ptr);` even if the function is not going to directly use ptr.
ideally, whoever first takes the address of an object should be responsible for ensuring its validity!
in the example given, that does not require a change to the documentation. the behaviour of that function is undefined if the pointer points to anything other than a null-terminated string.
C does not provide any mechanism to check most of these cases, so there is nothing to be done other than document them.
hm. it seems to me that if an invalid pointer is passed to a function such as the one described in the article, a programming error has _already_ occurred. in your opinion, what should that function do if it gets an invalid argument?
i think the piece makes a pretty compelling argument for omitting a null pointer check in specific circumstances. have you read it?
opinions expressed are my own.
i have a blog! https://danso.ca/blog/
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.