Code Monkey home page Code Monkey logo

awesome-falsehood's Introduction

Awesome Falsehood header image

Yᴏᴜʀ Pʀᴏᴅᴜᴄᴛ ʜᴇʀᴇ!
Add a link to your company or project here: purchase a GitHub sponsorship.


The logic of the world is prior to all truth and falsehood.
— Ludwig Wittgenstein[1]

A curated Awesome list of falsehoods programmers believe in. A falsehood is an idea that you initially believed was true, but in reality, it is proven to be false.

E.g. of an idea: valid email address exactly has one @ character. So, you will use this rule to implement your email-field validation logic. Right? Wrong! The reality is: emails can have multiple @ chars. Therefore your implementation should allow this. The initial idea is a falsehood you believed in.

The falsehood articles listed below will have a comprehensive list of those false-beliefs that you should be aware of, to help you become a better programmer.

Contents

Meta

Arts

Business

Cryptocurrency

Dates and Time

Education

  • Falsehoods CS Students (Still) Believe Upon Graduating - A list of things (not only) computer science students tend to erroneously and at times surprisingly believe even though they (probably) should know better.
  • Postdoc myths - “Lots of things are said, written and believed about postdoctoral researchers that are simply not true.”

Emails

Geography

Human Identity

Internationalization

On character encoding, string formatting, unicode and internationalization.

Management

Multimedia

Networks

Phone Numbers

Postal Addresses

Science

Society

Software Engineering

Transportation

Typography

Video Games

  • The Door Problem - All the things you have not considered implementing for your doors in games.

Web

Contributing

Your contributions are always welcome! Please take a look at the contribution guidelines first.

Footnotes

This list gathered some popularity in social medias over the past few years. See it being discussed and mentioned elsewhere.

The header image is based on a modified photo taken in February 2010 by Iza Bella, distributed under a Creative Commons BY-SA 2.0 UK license.

[1]: Notebooks, 1914-1916 (Liveright, 2022) - source: page 14e. [↑]

awesome-falsehood's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

awesome-falsehood's Issues

Falsehood: Weather affects the entire world equally.

Weather is different in different places!

1) Not everywhere has a sunrise/sunset:

http://web.archive.org/web/https://twitter.com/AustinJ/status/1144655793612107778

image

2) December != Winter and August != Summer

Seasons aren't the same everywhere. Too many times, I've had a friend from the Southern Hemisphere complain about getting a little snowman animation in their weather applet or on the Google homepage during December, when it's the middle of a blazing Summer for them.

3) Temperature doesn't mean the same everywhere:

What might be "Mildly sunny" in one part of the world might be dangerous to those who live in a country without air-con in the slightest, legislated double-glazed/vacuum-insulated windows, brick-walls and with people who are not used to wearing sun-cream or how to prevent heatstroke.

Falsehoods programmers believe about benchmarking

Preliminary checks

Summary

Benchmarks are notorious for being hard to get right, with mistakes and oversights on so many levels, and should be a prime candidate for a Falsehoods list.

Sorry for not bringing any links, this is a bit of a drive-by idea. Google gives more results for "myths" and "pitfalls" but they're mostly blog post, I couldn't find any decently sized lists on the first page.

Validate Links

Hello, I wrote a tool that can validate README links. It can be run when someone submits a pull request or a commit is pushed to awesome-falsehood.

For example, you would see that

https://pozorvlak.livejournal.com/174763.html redirects to
http://pozorvlak.livejournal.com/174763.html

Which may not be interesting, but you could also see if a link was broken

This tool is currently being used by

Examples

If you are interested, connect this repo to https://travis-ci.org/ and add a .travis.yml file to the project (you can also use Circle CI or other CI services).

See https://github.com/dkhamsing/awesome_bot for options, more information
Feel free to leave a comment 😄

People born sequentially may have out of order birth times

I'm not sure how to put this but:

If you give birth to twins right around the time daylight savings kicks in you can end up with the first born twin being (according to records) younger than the second born twin.

http://people.com/human-interest/second-born-twin-is-actually-older-than-brother-thanks-to-daylight-savings-time-twist/

Maybe we need a set of falsehoods programmers believe about birth records (like assuming they exist...) and other forms of government records (in past times hospitals have burnt down, taking all the paper records of births with them, leaving a number of people in a difficult state to prove that they exist officially).

Do we need to add something about "a place, such as a city, being in one time zone"?

URL of the article or project

https://www.aljazeera.com/news/2023/3/26/lebanon-awakes-to-two-times-of-day-amid-daylight-savings-dispute

Motivation

Seems there are places with more than one time zone in operation at the same, err, time.

Affiliation

  • I am the author of the article or project
  • I am working for/with the company which is publishing the article or project
  • I'm just a rando who stumbled upon this via social networks

Self checks

Falsehoods that aren't explicitly factual or related to programming

Falsehoods Programmers Believe About "Women In Tech" seems incredibly combative and toxic. It's also not really factual and doesn't fit in with the other examples that are really related to programming falsehoods, like how to validate emails. It's more like an angry agenda piece.

Same for "Falsehoods about Gender". This seems like a political agenda piece that is not related to programming.

Why not keep this list strictly related to things that are actually about programming and not controversial? Like i18n or build systems, etc. It's distracting from the rest of the list, and takes away credibility.

Falsehood: People's names are more than one letter long

Preliminary checks

Summary

Human Identity

Falsehood: People's names are more than one letter long

This is an article for the evidence:

https://www.lematin.ch/story/la-vie-n-est-pas-simple-quand-on-s-appelle-o-663259215523

I translate the appropriate excerpt:

Le nouveau secrétaire d'État Cédric O, note BFMTV, ne peut par exemple pas se réserver un vol à bord d'Air France en ligne: il faut deux caractères pour s'inscrire. Idem pour la SNCF. Lui vient d'être nommé. Mais pour d'autres madame ou monsieur M, X ou O français, impossible aussi… de s'inscrire à Pôle emploi!

The new secretary of state Cédric O, according to BFMTV, cannot book a flight with Air France as a name with at least two characters is required to register. Same with [train trips on] SNCF. He has just been nominated, but others French Miss or Mr M, X, or O cannot enrol as job seekers!

Add relationships falsehoods, especially heterosexual.

Obviously this is a loaded issue and not for the faint hearted. But if you want to see how the falsehoods get propagated just look for some of the subreddits that are getting quarantined in 2018.

But the truth will be discovered one way or another.

IBAN description text misleading

Falsehoods About IBANs - International Bank Account Numbers are not immune to mistakes.

In the linked article I cannot find the claim that IBANs are not immune to mistakes. The closes I found was that IBANs don't help in "find the source of an input problem".

Falsehoods Programmers Believe About HTML

URL of the article or project

https://www.aartaka.me.eu.org/falsehoods-html

Motivation

HTML is the basis for all the web, including the interfaces we're communicating with in this issue. But it's still surrounded with some misconceptions worth refuting. So here's one with falsehoods about HTML.

I'm opening an issue because there seems to be no obvious category for this link in the README. I trust you judgement on where it belongs.

Affiliation

  • I am the author of the article or project
  • I am working for/with the company which is publishing the article or project
  • I'm just a rando who stumbled upon this via social networks

Self checks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.