date
Phoenix
date | Phoenix | |
---|---|---|
24 | 111 | |
3,044 | 20,600 | |
- | 0.4% | |
5.5 | 9.3 | |
17 days ago | 3 days ago | |
C++ | Elixir | |
GNU General Public License v3.0 or later | MIT License |
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.
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.
Phoenix
-
Idempotent seeds in Elixir
A standard Phoenix app contains a priv/repo/seeds.exs script file, which populates a database when it is run, so that developers can work with a conveniently prepared environment.
-
Ask HN: Did you encounter any Leap Year bugs today? How bad was it?
There was one in the Phoenix Framework (Elixir) about issuing certificates with an invalid end date: https://github.com/phoenixframework/phoenix/issues/5737
Interestingly, Azure had this bug some years ago too leading to an outage. https://azure.microsoft.com/en-us/blog/summary-of-windows-az...
-
Aplicando MVVM en Phoenix LiveView
Official website: https://www.phoenixframework.org/
-
Things I like about Gleam's Syntax
Since you mention Rails, have you seen https://www.phoenixframework.org/
-
Building Apps with Tauri and Elixir
Thus, we set out to build a desktop application using a LiveView from the Phoenix Framework in Elixir. For the uninitiated, a LiveView is a process that receives events, updates its state, and renders updates to a page as diffs. The LiveView programming model is declarative: instead of saying “once event X happens, change Y on the page”, events in LiveView are regular messages which may cause changes to its state.
-
Has anybody compared Phoenix Framwork vs. Blazor?
It seems though like Phoenix is similar like Blazor Server (using web socket), but Phoenix is: SEO friendly (first render is plain html) Light weight, scales well and concurrency is first class Easy to develop (runs a local server so you see live updates) Compiled With auth out of the box https://www.phoenixframework.org/
-
Ask HN: Why isn't Phoenix/Elixir more mainstream?
Sorry to hear this. Phoenix v1.7 changed how it structures files in disk and that broke quite some of the getting started material. However, the guides are always kept up to date, so you can give it a try: https://hexdocs.pm/phoenix/overview.html
You can also see the resources on this page listed by year: https://github.com/phoenixframework/phoenix/blob/main/guides... - the recent launched ones are most likely up to date.
-
Emoji Generator with AI
Yes! I love Elixir :) [Phoenix LiveView](https://www.phoenixframework.org/) is really amazing. I feel so fast working in it. I got hooked after watching Chris McCord's ['Build a real-time Twitter clone in 15 minutes'](https://www.youtube.com/watch?v=MZvmYaFkNJI&embeds_referring...), and things have improved a lot since then.
-
Ask HN: What's the best modern back end?
I still work on a lot of Java projects. As of JDK 17 Java has most of "ML the good parts" and has the same scalable, reliable and high-performance threading Java is famous for. JAX-RS provides a Sinatra style framework that makes it easy to write JSON API back ends. JDK 21 is just about to come out as a long term supported version and it will be even better.
I do my side projects in Python with aiohttp and think it is a lot of fun even though people tell me it is suicide (I guess if you block the thread you are in trouble)
I think "Next.js" really wants a node.js backend which has the big advantage that you can share code with the front end and back end. It's basically single-threaded but I know people who are happy with it.
The system I'd most like to try is
https://www.phoenixframework.org/
which is just great if you want to do stuff with websockets that is more interactive than what most people are doing.
- Ask HN: Leetcode for Back End and Server Development
What are some alternatives?
pandas_market_calendars - Exchange calendars to use with pandas for trading applications
Django - The Web framework for perfectionists with deadlines.
abseil-cpp - Abseil Common Libraries (C++)
sugar - Modular web framework for Elixir
rescript-date - 📆 Date manipulation in ReScript.
hotwire-rails - Use Hotwire in your Ruby on Rails app
zeitkatze - time cat -- literally. Available as AUR package
kitto - Kitto is a framework for interactive dashboards written in Elixir
nepali-datetime - Python's core datetime inspired Bikram Sambat (BS date) & Nepal Time (NPT) package🇳🇵
trot - An Elixir web micro-framework.
DataFrame - C++ DataFrame for statistical, Financial, and ML analysis -- in modern C++ using native types and contiguous memory storage
RIG - Create low-latency, interactive user experiences for stateless microservices.