Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<item>
<title>RISC-V is sloooow</title>
<link>https://lobste.rs/s/ta3jjk/risc_v_is_sloooow</link>
<guid>ta3jjk</guid>
<pubDate>Tue, 10 Mar 2026 14:49:53 -0500</pubDate>
<description><![CDATA[**The Gist:** The author, an ARM developer, shares their experience working with the RISC-V port of Fedora Linux over three months. While they've successfully triaged bugs and sent 86 pull requests for Fedora packages, a significant challenge is the "sloooow" performance of current RISC-V hardware, leading to drastically longer build times compared to aarch64, i686, ppc64le, s390x, and x86_64 architectures. For instance, building the binutils package takes 143 minutes on RISC-V, versus 25-46 minutes on others. This slowness necessitates disabling Link Time Optimization (LTO) to conserve memory and reduce build times. Current RISC-V builders typically have 4 or 8 cores and 8-32GB RAM, with performance comparable to older Arm Cortex-A55 cores.
<?xml version='1.0' encoding='utf-8'?>
<rss xmlns:ns0="http://www.w3.org/2005/Atom" version="2.0">
<channel>
<title>Lobsters</title>
<link>https://lobste.rs/</link>
<ns0:link href="https://lobste.rs/rss" rel="self" />
<description />
<pubDate>Thu, 12 Mar 2026 01:48:59 -0500</pubDate>
<ttl>120</ttl>
<item>
@puf
puf / lobsters-digest.xml
Last active March 12, 2026 13:20
Lobsters Digest Feed
<?xml version='1.0' encoding='utf-8'?>
<rss version="2.0">
<channel>
<item><title>Lowdown Manpage Support</title><link>https://kristaps.bsd.lv/lowdown/mdoc.html</link><description>&lt;p&gt;&lt;strong&gt;The Gist:&lt;/strong&gt; The linked content introduces new manpage support in Lowdown 3.0.0, aiming to simplify the process of writing manpages for libraries or programs, especially for those put off by the complexity of traditional manpage languages. The author's involvement with the &lt;code&gt;mandoc&lt;/code&gt; team suggests a high quality implementation.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The Lobsters Take:&lt;/strong&gt; The discussion revolves around the value of making manpage creation easier and explores alternative tools and the nuances of manpage markup. User &lt;a href="#c_nnbjmg"&gt;dzwdz&lt;/a&gt;, the submitter, highlights the new Lowdown feature and the author's expertise. User &lt;a href="#c_bcxwmh"&gt;acatton&lt;/a&gt; suggests &lt;code&gt;scdoc&lt;/code&gt; as an alternative. User &lt;a
@puf
puf / cal-events.xml
Last active March 13, 2026 15:00
Classic Albums Live RSS (AI Generated)
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>Classic Albums Live Events</title>
<link>https://classicalbumslive.com/events/</link>
<description>Upcoming Classic Albums Live events.</description>
<item>
<title>Fleetwood Mac – Rumours - New Braunfels, TX (Mar 12th, 2026)</title>
<description>Concert by Fleetwood Mac – Rumours in New Braunfels, TX on Mar 12th, 2026.</description>
<link>https://classicalbumslive.com/events/</link>
@puf
puf / lobsters-digest.xml
Last active March 13, 2026 09:08
Lobsters Digest (AI)
<?xml version='1.0' encoding='utf-8'?>
<rss xmlns:ns0="http://www.w3.org/2005/Atom" version="2.0">
<channel>
<title>Lobsters</title>
<link>https://lobste.rs/</link>
<ns0:link href="https://lobste.rs/rss" rel="self" />
<description />
<pubDate>Thu, 12 Mar 2026 01:48:59 -0500</pubDate>
<ttl>120</ttl>
<lastBuildDate>Fri, 13 Mar 2026 05:09:32 GMT</lastBuildDate><item>
@puf
puf / lobsters-digest.xml
Last active January 16, 2026 04:37
Lobsters Digest
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Lobste.rs Digest</title><item><title>Test</title><description>Setup works!</description></item></channel></rss>
@puf
puf / lobsters-feed.xml
Last active December 26, 2025 14:07
Lobste.rs Daily Links RSS Feed - Updated December 26, 2025
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Lobste.rs Daily Digest</title>
<link>https://lobste.rs/</link>
<description>Daily curated links from Lobste.rs</description>
<language>en-us</language>
<lastBuildDate>Wed, 24 Dec 2025 14:05:56 +0000</lastBuildDate>
<atom:link href="https://gist.githubusercontent.com/" rel="self" type="application/rss+xml"/>
@puf
puf / charts.ipynb
Last active July 31, 2025 23:02
Test chart for sentiment post.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@puf
puf / Listen for authentication state.java
Created January 5, 2021 23:35
Listen for authentication state in Android
// In Firebase it is often better to *react* to authentication state
// changes, instead getting the current authentication state everywhere.
// To respond to auth state changes, use an auth state change listener
// like this:
FirebaseAuth auth = FirebaseAuth.getInstance();
auth.addAuthStateListener(new FirebaseAuth.AuthStateListener() {
@Override
public void onAuthStateChanged(@NonNull FirebaseAuth firebaseAuth) {
if (firebaseAuth.getCurrentUser() == null) {
Log.i("firebase", "AuthState changed to null");
@puf
puf / Detect write errors in Firebase Realtime Database in Android.java
Last active January 5, 2021 23:02
Detect write errors in Firebase Realtime Database in Android
// To detect when a write operation is rejected by your Realtime Database
// security rules, add a completion listener to the `setValue()` call and
// throw the exception if the task failed.
val ref = FirebaseDatabase.getInstance().getReference()
ref.push()
.setValue(ServerValue.TIMESTAMP)
.addOnCompleteListener(new CompletionListener() {
@Override
public void onComplete(Task<Void> task) {
Log.i("firebase", String.valueOf(task.isSuccessful()))