@rose Only works if your processor use a two's complement representation and your language is too laxist to check for integer overflowing.

@juliobiason As an exercise, I wrote the same code in Rust and Go. It's a simple computation function but with the constraint that the code can be called from C/C++ (from dlopen).
The Go version looks like a dirty hack compared to the Rust version (Go uses comments for compiler directives, and it requires the declaration of a useless main function).

@loke The theorem is the generalization of that drawing to any right rectangle (as ABCD is always a square by construction).

Do you want drama? Here's some.

github.com/standard/standard/i

TL;DR a popular JS library will display paid ads right in your terminal when you run your code.

eye contact 

On m'a dit qu'il était temps de se préparer pour Halloween, alors voilà...
Une toile d'araignée a été ajoutée dans la boutique.

etsy.com/fr/listing/729623139/

RT appréciés

#Halloween

@rose where is .tpp ? I saw that used for implementation of templates (implementation of the templated methods provided outside the class declaration) which gets included in the header file anyway because how templates work in C++.

@tuxicoman À Voix Égales a aussi un très fort taux dans cette commune, alors qu'à l'échelon national, elle est au même niveau que le Parti Pirate.

@philipwhite I wonder. Maybe to keep the context, since indicating to which mail you are replying to may not be supported by some servers. You need an identifier in the original message to be able to do that, but it may not be present, so you cannot keep the context that way.

Mastodon is based on ActivityPub which is a mail-like asynchronous protocol, however, in that protocol, every object has an identifier, so you can indicate to which element you are replying to.

@philipwhite The differences are in fact not in the UI, but in the supporting technologies.
You can build chat-like interface on top of email protocol, but may not receive the messages in the right order, and may not know who is in the discussion in case of public mailing lists.
You can build email-like interface on top of chat protocols, but you will loose messages when you are disconnected.

@philipwhite Public chat rooms are similar to mailing lists, forum topic or newsgroup. Private chat rooms where you invite who is in the room is similar to how mail is usually used.
There is a big difference is in the underlying protocols. In synchronous comm, servers push updates to clients, while in asynchronous comm, clients fetch updates from servers. It means that in synchronous comm, the client need to be always connected to the server, while it's not needed in an asynchronous comm.

@juliobiason Reminds me the Basic on CPC 464. It only says "Syntax Error" when there is an error.

@juliobiason I'm unsure how to respond to that person. The problem here is that Python is too lax to authorize numeric operations on booleans. Conceptually, booleans are enumerated values, not numbers.

@phoe It's on the unicode roadmap, but probably waiting for copyrights to end in... 2044 (Tolkien died in 1973).

@MutoShack The answer is in the FAQ of the website. It's deliberate. Since it's called "Webpages That Suck", it should sucks too.

Way out of character. Lego geekism 

@kaniini Day ONE

A hacker comes into a restaurant and discovers that the salt shaker on the table can be unscrewed and one can pour anything into it. The hacker goes home and writes an angry letter to the manager of the restaurant: "I, meG@Duc, found a vulnerability in the salt shakers at your restaurant. An attacker can open them and pour poison inside! Take action immediately!"

Day TWO
The manager, among other business letters, requests for food deliveries and courier receipts finds the notification letter and shrugs: "Who could even come up with this nonsense?"

Day FIVE
The hacker comes into the restaurant and pours poison in all the salt shakers. Three hundred people die, the manager is dragged three months in courts to prove the absense of a crime. The Hacker writes a letter in the style of "Well, I told you!".

Day 96
The manager orders his staff to buy specially designed salt shakers with a combination lock. Visitors of the restaurant feel like they are missing something very important in the meaning of life.

Day 97
The Hacker discovers that the holes in the salt shakers pass salt in both directions. And not only salt, anything! He writes an angry letter to the manager after pissing in all the salt shakers. Three hundred people stop visiting the restaurant forever, thirty get admitted to the hospital with food poisoning. The hacker sends an SMS to the restaurant manager: "How are you doing?". The manager is dragged through courts for three months and is released on probation.

Day 188
The manager vows to no longer work in any kind of food establishment, and to peacefully cut timber in Siberia. Engineers are working on a new one-way valve for a salt shaker. Waitresses in the meantime withdraw all the old salt shakers and distribute the salt by hand.

Day 190
The Hacker steals a salt shaker from the restaurant and carefully studies the device at home. He writes an angry letter to the manager: "I, meG@Duc, stole the salt shaker and I find this fact outrageous! Anyone can steal your salt shakers!" The previously fully sober manager goes home and drinks a bottle of vodka.

Day 193
The Hacker discovers that all the salt shakers in the restaurant are chained and nailed to the table. He arrives at a hacker conference and reports on his progress, getting a well-deserved reward for the protection of the interests of society and consumers. Fortunately, the manager never hears anything about it and will not die of alcohol poisoning, for now.

Day 194
As part of a diabolical, genius elaborate operation, BLACKHAT hackers break into the restaurant and pour all the salt from the salt shakers in their pockets. The Hacker meG@Duc writes an indignant letter to the manager, alluding to the fact that there is no concern for the visitors in the restaurant as any criminal can deprive honest people from salt in an instant. A salt dispenser with a one-time authorization is just necessary!

Engineers work in sweat on a new salt shaker, while waitresses hand out salt manually, again. The manager goes on vacation to the
Seychelles and has dinner only in his room, avoiding any canteens, restaurants and bars.

Day 200
Visitors of the restaurant find in horror that in order to pour salt, they must go to the waitress, show their passport and get a special 8-digit one-time code to the shaker. For pepper they should repeat the procedure.
Show more
Functional Café

functional.cafe is an instance for people interested in functional programming and languages.