awesome-falsehood
date
awesome-falsehood | date | |
---|---|---|
50 | 24 | |
23,045 | 3,039 | |
- | - | |
7.5 | 5.5 | |
9 days ago | 15 days ago | |
C++ | ||
Creative Commons Zero v1.0 Universal | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
awesome-falsehood
-
Ask HN: Did you encounter any Leap Year bugs today? How bad was it?
Billing. It always has to be the billing. For a list of all other edge cases, you have: https://github.com/kdeldycke/awesome-falsehood#readme
-
24 GitHub repos with 372M views that you can't miss out as a software engineer
Falsehoods Programmers Believe in: https://github.com/kdeldycke/awesome-falsehood
-
Why is it still a practice to not allow special characters in name fields?
Also, a list of other falsehood-programmers-believe collections: awesome-falsehood.
-
Bjarne Stroustrup Quotes
> I feel like there's a "Fallacies programmers believe about text" that should exist somewhere
I got you covered.
https://github.com/kdeldycke/awesome-falsehood#international...
http://garbled.benhamill.com/2017/04/18/falsehoods-programme...
https://jeremyhussell.blogspot.com/2017/11/falsehoods-progra...
https://wiesmann.codiferes.net/wordpress/archives/30296
-
Ask HN: How to handle Asian-style âFamily name firstâ when designing interfaces
There's an excellent GitHub repo that lists a lot of common falsehoods regarding names. I'm not sure how useful it'll be to OP, but the repo in general should probably have way more attention than it already does.
https://github.com/kdeldycke/awesome-falsehood#human-identit...
-
Facebook must pay $100.000 to Norway each day for violating our right to privacy
A decent list for this about prices and currency https://gist.github.com/rgs/6509585 and the full list of other falsehoods https://github.com/kdeldycke/awesome-falsehood
- Falsehoods Programmers Believe In
-
How to organize structs in the code
If you're interested in this sort of thing there's a whole bunch more: https://github.com/kdeldycke/awesome-falsehood
-
Store your epoch times as 64-bit floats
It's saddening to see the number of people who critique the idea of storing time as an unsigned integer by immediately responding that that means that times before 1970 cannot exist. This bespeaks of a continuing poor knowledge of the subject, despite all of the "falsehoods that programmers believe about" documentation that has grown up.
* https://github.com/kdeldycke/awesome-falsehood#dates-and-tim...
Microsoft, for one example, has been modelling times as a 64-bit unsigned 100-nanosecond count since 1601 (proleptic-Gregorian proleptic-UTC) for about 30 years, now.
* https://learn.microsoft.com/en-us/windows/win32/api/minwinba...
Daniel J. Bernstein in the late 1990s chose a 0 point for an unsigned count so far back that it pre-dates most estimates of the point of the Big Bang.
* http://cr.yp.to/libtai/tai64.html
1970 is not the mandatory origin for every timescale. (Indeed, in the early years of Unix itself there wasn't even a stable origin for time.) It is not a valid reason for dismissing the idea of storing time as an unsigned integer.
It's also sad to note that the headlined page's first sentence has one of the very falsehoods that programmers believe about time in it.
date
-
Ask HN: Did you encounter any Leap Year bugs today? How bad was it?
> but I'd be surprised if there was not a modern date library for C++
The standard library now includes . AFAIK: It was mostly written by Howard Hinnant. He now has more date/time libs that expand upon : https://github.com/HowardHinnant/date
-
Why no std::chrono::year_month_day::operatator+=(const std::chrono::days&)?
Ah: https://github.com/HowardHinnant/date/issues/178 https://stackoverflow.com/questions/62734974/how-do-i-add-a-number-of-days-to-a-date-in-c20-chrono
-
Converting text to std::chrono::timepoint
If youâre using an earlier standard you can use this, which the âofficialâ date/time zone stuff was based on: https://github.com/HowardHinnant/date
-
std::chrono Calculating an ordinal date and get the week number from an ordinal date
If you don't have C++20, or if your vendor hasn't shipped it yet, here is a free, open-source, header-only preview of this part of C++20 that you can use: https://github.com/HowardHinnant/date
-
Libstdc++ Gets C++20 Chrono
C++20 adds the timezone/caldendaring/formatting from Howard Hinnatâs Date Library https://github.com/howardhinnant/date .
So calendrical calculations and time zone support.
-
need help with constructing time with std::chrono
Unfortunately only implemented in MSVC right now, for other compilers and/or if you want to do anything with dates I suggest you use https://github.com/HowardHinnant/date directly, chrono is good enough for measuring time but if you do more complex things it can get a bit wild.
- Is there a port of the C++20 chrono library to C++17? MSVC and GCC
-
Is there any Date library like datetime from python
Here is the original calendar library that was adopted in C++20 (corrected link).
-
How to get epoch time to a specific date in C++? (Using std::chrono)
In lower C++ standards I would highly recommend including this as a header-only library: https://github.com/HowardHinnant/date. This was the basis for the new date/timezone functionality in C++20, so it's nearly identical and works down to C++11.
-
working with std::chrono
So you want date time functionality? Those come with c++20 otherwise you can use this. The author Howard Hinnant is the author of c++ chrono had have a few excellent video on YouTube explaining how to use chrono.
What are some alternatives?
libphonenumber - Google's common Java, C++ and JavaScript library for parsing, formatting, and validating international phone numbers.
pandas_market_calendars - Exchange calendars to use with pandas for trading applications
nocode - The best way to write secure and reliable applications. Write nothing; deploy nowhere.
abseil-cpp - Abseil Common Libraries (C++)
tinygettext - A simple gettext replacement that works directly on .po files
rescript-date - đ Date manipulation in ReScript.
awesome-gbadev - A curated list of Game Boy Advance development resources
zeitkatze - time cat -- literally. Available as AUR package
vscode-gitlens - Supercharge Git inside VS Code and unlock untapped knowledge within each repository â Visualize code authorship at a glance via Git blame annotations and CodeLens, seamlessly navigate and explore Git repositories, gain valuable insights via rich visualizations and powerful comparison commands, and so much more
nepali-datetime - Python's core datetime inspired Bikram Sambat (BS date) & Nepal Time (NPT) packageđłđ”
awesome-remote-job - A curated list of awesome remote jobs and resources. Inspired by https://github.com/vinta/awesome-python
DataFrame - C++ DataFrame for statistical, Financial, and ML analysis -- in modern C++ using native types and contiguous memory storage