Better HN
topnewbestaskshowjobs
Log inSign up

begriffs

3,039 karma · joined Aug 10, 2011 (15y ago) · 383 submissions

Submissions

comment 1y ago · link · parent

I created a lightweight shell script to check many url combinations on a site for feeds.

https://github.com/begriffs/findrss

The combinations came from what I observed in the big list of blogs I follow. The script works pretty well for most sites.

comment 2y ago · link · parent

> DDD is still maintained?

Absolutely. I wrote about its features here https://begriffs.com/posts/2022-07-17-debugging-gdb-ddd.html

Since the article was written, the maintainers fixed the issues I pointed out. No need for many of those workarounds now. Versions 3.4.0 and 3.4.1 are substantial.

comment 2y ago · link · parent

I see CMSIS definitions for the RP2040 at https://github.com/raspberrypi/CMSIS-RP2xxx-DFP but none for RP2350. Maybe they'll eventually appear in that repo, given its name is RP2xxx? I thought vendors are legally obligated to provide CMSIS definitions when they license an ARM core.

comment 2y ago · link · parent

I have a hard-copy of this book, and it seems like the PDF isn't the final version, judging by the hand drawn illustrations at least.

The book does dive into some old and arcane object file formats, but that's interesting in its own way. Nice to get a comparison of how different systems did things.

After reading that book and other sources, I examined how people typically create libraries in the UNIX/Linux world. Some of the common practices seem to be lacking, so I wrote an article about how they might be improved: https://begriffs.com/posts/2021-07-04-shared-libraries.html

Edit: That covers the dynamic linking side of things at least.

5.

How to build dependable bare-metal ARM firmware with Unix tools(begriffs.com ↗)

1 points · by begriffs · 3y ago · 1 comment

comment 3y ago · link · parent

Interesting, maybe it depends on the reader. I tried a channel just now in newsboat and it wasn't smart enough to find the feed, even though I see the page contains

    <link rel="alternate" type="application/rss+xml" title="RSS" href="...">

comment 3y ago · link · parent

Oh yeah, gotta love the secret feed link.

    https://www.youtube.com/feeds/videos.xml?channel_id=$FOO
I follow a number of channels this way. I'm grateful and sort of surprised YouTube hasn't killed it off.

comment 3y ago · link · parent

I still follow many RSS feeds (about 250). Sometimes it's hard to find the feed on a site, because the feeds aren't always advertised and their URLs can be tricky. Based on the URLs I've seen, I created a simple script to check if a site has a feed:

https://github.com/begriffs/findrss

comment 3y ago · link · parent

I've been meaning to give Motif a try for cross-platform C GUIs. Can anyone share their perspective with that, and compare with IUP?

comment 3y ago · link · parent

https://learnbchs.org/index.html

11.

Ask HN: How to protect blog from AI search?

4 points · by begriffs · 3y ago · 1 comment

comment 4y ago · link · parent

I put together a list of the best linear algebra books, classified by type. Proskuryakov's practice book is one of them. Here's the full list:

https://begriffs.com/posts/2016-07-24-best-linear-algebra-bo...

comment 4y ago · link · parent

As I got more into C programming, I started looking for data structure libraries. Found a few [0]. Also evaluated sc, but it had too much pre-processor magic for my taste. It also bundles random "stuff" like a URI parser, a thread abstraction, etc.

Eventually I rolled my own [1] more focused library. It's basic and portable.

0: https://begriffs.com/posts/2020-08-31-portable-stable-softwa... 1: https://github.com/begriffs/libderp

comment 4y ago · link · parent

Good idea to just abort it. :)

However, I tried your suggestion from another terminal, and gdb appears to shield the program somehow. What ended up working is running "signal SIGABRT" from within gdb.

One thing that's still lacking is gcore's ability to take a snapshot of the core without killing the program. "Unlike after a crash, after gcore finishes its job the program remains running without any change." https://www.man7.org/linux/man-pages/man1/gcore.1.html

comment 4y ago · link · parent

> OpenBSD, where you get core files by default

By this, are you referring to the behavior: "By default, this memory image is written to a file named programname.core in the working directory, provided the terminated process had write permission in the directory[...]" (from https://man.openbsd.org/core.5) ?

Also, do you know if there's a way to obtain a core file from a running process on OpenBSD? I don't see a port of gcore, and (e)gdb on OpenBSD doesn't support the generate-core-file command (it says, "Can't create a corefile").

16.

Dynamic Linking Best Practices(begriffs.com ↗)

134 points · by begriffs · 5y ago · 10 comments

17.

Dynamic Linking Best Practices(begriffs.com ↗)

4 points · by begriffs · 5y ago · discuss

comment 6y ago · link · parent

The ##C freenode channel's webpage has a great list of books as well:

http://www.iso-9899.info/wiki/Books

I like that it includes books to avoid, and ideas for further topics.

19.

Tips for stable and portable software(begriffs.com ↗)

84 points · by begriffs · 6y ago · 63 comments

20.

How to write programs that won't break in a year(begriffs.com ↗)

3 points · by begriffs · 6y ago · discuss

21.

Tips for Stable and Portable Software(begriffs.com ↗)

1 points · by begriffs · 6y ago · discuss

comment 6y ago · link · parent

More unicode, in more minutes:

https://begriffs.com/posts/2019-05-23-unicode-icu.html

23.

Show HN: multipart MIME email that looks great everywhere(begriffs.com ↗)

3 points · by begriffs · 6y ago · discuss

24.

Generating multipart MIME email from markdown(begriffs.com ↗)

3 points · by begriffs · 6y ago · discuss

25.

Show HN: Impeccable MIME Email from Markdown(begriffs.com ↗)

2 points · by begriffs · 6y ago · discuss

12345
13