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 28, 2026 05:14
Lobsters Digest Feed
<?xml version='1.0' encoding='utf-8'?>
<rss version="2.0">
<channel>
<title>Lobsters</title>
<link>https://lobste.rs/</link>
<description />
<pubDate>Fri, 27 Mar 2026 11:56:16 -0500</pubDate>
<ttl>120</ttl>
<lastBuildDate>Sat, 28 Mar 2026 05:08:13 GMT</lastBuildDate>
<item>
@puf
puf / cal-events.xml
Last active March 27, 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>
<lastBuildDate>Fri, 27 Mar 2026 15:00:28 +0000</lastBuildDate>
<item>
<title>The Eagles – Greatest Hits - Orono, ME (Mar 27th, 2026)</title>
<description>Concert by The Eagles – Greatest Hits in Orono, ME on Mar 27th, 2026.</description>
@puf
puf / lobsters-digest.xml
Last active March 26, 2026 05:13
Lobsters Digest (AI)
<?xml version='1.0' encoding='utf-8'?>
<rss version="2.0">
<channel>
<title>Lobsters</title>
<link>https://lobste.rs/</link>
<description />
<pubDate>Wed, 25 Mar 2026 11:50:49 -0500</pubDate>
<ttl>120</ttl>
<lastBuildDate>Thu, 26 Mar 2026 05:10:28 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()))