frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

ReKindle – web-based operating system designed specifically for E-ink devices

https://rekindle.ink
1•JSLegendDev•36s ago•0 comments

Encrypt It

https://encryptitalready.org/
1•u1hcw9nx•37s ago•0 comments

NextMatch – 5-minute video speed dating to reduce ghosting

https://nextmatchdating.netlify.app/
1•Halinani8•1m ago•1 comments

Personalizing esketamine treatment in TRD and TRBD

https://www.frontiersin.org/articles/10.3389/fpsyt.2025.1736114
1•PaulHoule•2m ago•0 comments

SpaceKit.xyz – a browser‑native VM for decentralized compute

https://spacekit.xyz
1•astorrivera•3m ago•1 comments

NotebookLM: The AI that only learns from you

https://byandrev.dev/en/blog/what-is-notebooklm
1•byandrev•3m ago•1 comments

Show HN: An open-source starter kit for developing with Postgres and ClickHouse

https://github.com/ClickHouse/postgres-clickhouse-stack
1•saisrirampur•4m ago•0 comments

Game Boy Advance d-pad capacitor measurements

https://gekkio.fi/blog/2026/game-boy-advance-d-pad-capacitor-measurements/
1•todsacerdoti•4m ago•0 comments

South Korean crypto firm accidentally sends $44B in bitcoins to users

https://www.reuters.com/world/asia-pacific/crypto-firm-accidentally-sends-44-billion-bitcoins-use...
1•layer8•5m ago•0 comments

Apache Poison Fountain

https://gist.github.com/jwakely/a511a5cab5eb36d088ecd1659fcee1d5
1•atomic128•7m ago•1 comments

Web.whatsapp.com appears to be having issues syncing and sending messages

http://web.whatsapp.com
1•sabujp•7m ago•2 comments

Google in Your Terminal

https://gogcli.sh/
1•johlo•9m ago•0 comments

Shannon: Claude Code for Pen Testing: #1 on Github today

https://github.com/KeygraphHQ/shannon
1•hendler•9m ago•0 comments

Anthropic: Latest Claude model finds more than 500 vulnerabilities

https://www.scworld.com/news/anthropic-latest-claude-model-finds-more-than-500-vulnerabilities
2•Bender•14m ago•0 comments

Brooklyn cemetery plans human composting option, stirring interest and debate

https://www.cbsnews.com/newyork/news/brooklyn-green-wood-cemetery-human-composting/
1•geox•14m ago•0 comments

Why the 'Strivers' Are Right

https://greyenlightenment.com/2026/02/03/the-strivers-were-right-all-along/
1•paulpauper•15m ago•0 comments

Brain Dumps as a Literary Form

https://davegriffith.substack.com/p/brain-dumps-as-a-literary-form
1•gmays•15m ago•0 comments

Agentic Coding and the Problem of Oracles

https://epkconsulting.substack.com/p/agentic-coding-and-the-problem-of
1•qingsworkshop•16m ago•0 comments

Malicious packages for dYdX cryptocurrency exchange empties user wallets

https://arstechnica.com/security/2026/02/malicious-packages-for-dydx-cryptocurrency-exchange-empt...
1•Bender•16m ago•0 comments

Show HN: I built a <400ms latency voice agent that runs on a 4gb vram GTX 1650"

https://github.com/pheonix-delta/axiom-voice-agent
1•shubham-coder•17m ago•0 comments

Penisgate erupts at Olympics; scandal exposes risks of bulking your bulge

https://arstechnica.com/health/2026/02/penisgate-erupts-at-olympics-scandal-exposes-risks-of-bulk...
4•Bender•17m ago•0 comments

Arcan Explained: A browser for different webs

https://arcan-fe.com/2026/01/26/arcan-explained-a-browser-for-different-webs/
1•fanf2•19m ago•0 comments

What did we learn from the AI Village in 2025?

https://theaidigest.org/village/blog/what-we-learned-2025
1•mrkO99•19m ago•0 comments

An open replacement for the IBM 3174 Establishment Controller

https://github.com/lowobservable/oec
1•bri3d•22m ago•0 comments

The P in PGP isn't for pain: encrypting emails in the browser

https://ckardaris.github.io/blog/2026/02/07/encrypted-email.html
2•ckardaris•24m ago•0 comments

Show HN: Mirror Parliament where users vote on top of politicians and draft laws

https://github.com/fokdelafons/lustra
1•fokdelafons•24m ago•1 comments

Ask HN: Opus 4.6 ignoring instructions, how to use 4.5 in Claude Code instead?

1•Chance-Device•26m ago•0 comments

We Mourn Our Craft

https://nolanlawson.com/2026/02/07/we-mourn-our-craft/
1•ColinWright•29m ago•0 comments

Jim Fan calls pixels the ultimate motor controller

https://robotsandstartups.substack.com/p/humanoids-platform-urdf-kitchen-nvidias
1•robotlaunch•32m ago•0 comments

Exploring a Modern SMTPE 2110 Broadcast Truck with My Dad

https://www.jeffgeerling.com/blog/2026/exploring-a-modern-smpte-2110-broadcast-truck-with-my-dad/
1•HotGarbage•32m ago•0 comments
Open in hackernews

Costs and Benefits

1•dcdropbox•2mo ago
"There are no zero-cost abstractions" (https://www.youtube.com/watch?v=rHIkrotSwcc) is a good CppCon talk. It tells as to look for costs and benefits. For the C++ Core Guideline's Month abstraction here are what I see as the costs and benefits. Your choice whether you feel the benefits outweigh the costs :

#include <iostream>

// Guideline P1 is about expressing ideas directly in code. One part of that is // about using user defined types that express an idea better than say an int. // This file takes the Date/Month example in P1 and expands upon it.

// Neutral 1 : Despite wrapping the unsigned int it is no slower.

struct CalendarType { // Neutral 2 : The user does not know if the value is 0 based or 1 based.

   unsigned int value;

   // Cost 1 : Either the user has to use say month.value or we have to write boiler plate code for required methods.
   // Mitigation 1 : C++ 20 boiler plate for comparison operators is a couple of one liners.

   bool operator==(const CalendarType &other) const = default;
   std::strong_ordering operator<=>(const CalendarType &other) const = default;
};

// Cost 2 : We have a bit of boiler plate code to write. // Mitigation 2 : We've put the common code into a base class.

struct Year : CalendarType { explicit Year(int year) : CalendarType(year) {} };

struct Month : public CalendarType { explicit Month(int month) : CalendarType(month) {} };

struct Day : public CalendarType { explicit Day(int day) : CalendarType(day) {} };

class Date { public: Date(Year year, Month month, Day day) : m_year(year), m_month(month), m_day(day) { }

   Year year() const
   {
      return m_year;
   }

   Month month() const
   {
      return m_month;
   }

   Day day() const
   {
      return m_day;
   }
private: // Cost 3 : To fully understand, the reader needs to look at how Year, Month and Day are implemented.

   Year m_year;
   Month m_month;
   Day m_day;
};

int main() { // Cost 2 :

   Date date1 {Year(1970), Month(4), Day(7)};   // Benefit 1 : It's clear to the reader what each argument is.
   Date date2 {Year(1983), Month(1), Day(12)};
   // Date date3 {7, 4, 1979};                  // Benefit 2 : Code writer can't get them in the wrong order
                                                // (courtesy of explicit this wont compile).


   // (Yes, I've glossed over leap year edge cases)
   bool earlierInTheYear = date2.month() < date1.month() ||
        date2.month() == date1.month() && date2.day() < date1.day();

   std::cout << "1983-01-12 " << (earlierInTheYear ? "is" : "is not")
             << " earlier in the year than 1970-04-07" << std::endl;
}