News for hackers. Stuff that matters.

akirk

Re:Mozilla to shut down Pocket on July 8 on Thursday May 22, 2025 @02:32PM (#44065180)
WordPress + Friends + Post Collection plugins (+send to e-reader), see https://youtu.be/kHaODAUazwE?t=214
Re:Flappy Bird for Android, only C, under 100KB on Sunday September 22, 2024 @05:13AM (#41615748)
Great work! Good to see what only it takes to run on Android! On the other hand it also shows how much comes "for free" or made easier by using the provided sdks. For example volume control doesn't work while running this. Also resuming the game after switching away. Maybe that's relatively easy to save and restore state, though.
Re:Ask HN: What apps have you created for your own use? on Wednesday December 13, 2023 @04:01AM (#38624542)
I also use a QWERTY keyboard and I use a custom keyboard layout that maps alt-a to ä, alt-u to ü, alt-o to ö, alt-s to ß (plus the same for uppercase for the first 3). That works well for me without the need to post-process.

On macOS it's relatively easy to create using a tool called Ukulele (https://software.sil.org/ukelele/). You can also download my layout here: https://alex.kirk.at/USUmlaut.keylayout

Re:Show HN: Relative Bookmarks Browser Extension on Saturday November 13, 2021 @11:10PM (#29215293)
You can use a bookmarklet like this:

  javascript:location.href='/about'
An easy way to create a bookmarklet from scratch is to create a bookmark from some other page and then modify the URL.
Re:Subscribing to RSS Feeds on your E-Reader on Monday September 20, 2021 @10:41AM (#28594301)
Indeed! Although the beauty when using a reader that supports this is continous individual delivery of new posts to your e-reader.
Re:Subscribing to RSS Feeds on your E-Reader on Monday September 20, 2021 @10:24AM (#28594117)
> You can't do this natively on a Kobo, Nook, etc.

That's correct but there are other e-readers that support a similar technology, such as Pocketbook, or the Arta Tech Inkbooks.

While not supported by the plugin (yet), many readers support syncing new content via services like Dropbox, therefore you could use a service that uploads file via e-mail to Dropbox.

Overall the workflow part of converting an RSS feed item to an E-Reader format (i.e. ePub or Mobi) is covered, it seems viable to add more delivery mechanisms. Due to the market I am in (Europe) I've investigated the possibility to deliver to the Tolino platform via libraries like https://github.com/hzulla/tolino-python, but also adding Dropbox might be a possibility.

Re:Subscribing to RSS Feeds on your E-Reader on Monday September 20, 2021 @09:18AM (#28593473)
The title of the submission originally continued: "using your own WordPress blog." This is kind of important, since one of the goals of the plugin is to reduce dependency on third parties.

The dependency on external feeds remains of course but you have control over your own blog, where you host it and what software you install there.

While one of the main goals of the plugin is to provide an infrastructure to connect to your friends' blogs and potentially exchange private posts with them, an important aspect is that it is a versatile RSS Reader (see https://wpfriends.at/consume-the-web-your-way/) that can be used with another plugin (like demo-ed) to then send new articles to your E-Reader (converted to .mobi or .epub).

Re:We should replace Facebook with personal websites on Friday December 21, 2018 @05:11AM (#18732428)
I've been actually building something like this on the side with the Friends plugin for WordPress: https://wordpress.org/plugins/friends/ (source at https://github.com/akirk/friends)

It's based on the idea that you'd publish to your personal website either publicly or privately. The private posts can only be read by your friends (who own personal websites themselves and have established a friendship connection using a friend request).

The implementation is just a (not yet standardized) friend ship request REST protocol plus authenticated RSS feeds (using a secret key exchanged by the above process).

Since the whole decentralized social network idea is a chicken-and-egg game, I've constructed the plugin in a way so that it is useful to use by yourself: You can subscribe to RSS feeds, filter feeds with your own rules, and get full-content e-mail notifications for all or selected posts.

The plugin also implements Emoji-Likes on posts and allows recommending posts to your friends. It doesn't have an automatic recommendation engine (yet?).

Actually, there is no need to have this restricted to WordPress since it uses very much established technology, so it could interoperate with any other compatible platform. I just implemented it with WordPress for its ecosystem and that you can use existing mobile apps to read on it and share to it.

Overall the whole endeavor allows you to have your personal social network decentralized, ad- and spam-free since you select who you listen to.

The plugin is already well usable but it only progresses at side-project speed, so help is welcome (not only development work but also trying it out, posting about its features with screenshots/-casts, etc.)!

You can read more about some technical details at https://alexander.kirk.at/2018/11/03/decentralized-social-ne... and take a look at the presentation: https://alexander.kirk.at/2018/11/08/wordpress-meetup-presen...

Re:OS X 10.10 – Source Code on Friday October 31, 2014 @10:39AM (#8538962)
I would be awesome if there were a plugin (for your favorite text editor) for that. It should be easy to add automatically and remove when you uncomment it.
Re:War in the womb on Saturday August 09, 2014 @05:06AM (#8156548)
I think it is a very important detail to understand that new life has to grow in water.

When life moved out of the water, different life-forms discovered a way to take that environment away from the water to have their embryos grow: Birds keep the water in eggs, mammals in their womb.

While egg-laying animals create self-contained environments, mammals need much more energy to develop therefore have to be live-fed. So they feed this separate, new creature. Of course they have to protect themselves from them.

Re:Api.wordpress.org Secret key URL on Sunday August 03, 2014 @04:36AM (#8127446)
This should be renamed: WordPress.org secret-key service

As it says in the default wp-config.php of a WordPress installation:

    /*
    * Authentication Unique Keys and Salts.
    *
    * Change these to different unique phrases!
    * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
    * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
    *
    * @since 2.6.0
    */
    define('AUTH_KEY',         'put your unique phrase here');
    define('SECURE_AUTH_KEY',  'put your unique phrase here');
    define('LOGGED_IN_KEY',    'put your unique phrase here');
    define('NONCE_KEY',        'put your unique phrase here');
    define('AUTH_SALT',        'put your unique phrase here');
    define('SECURE_AUTH_SALT', 'put your unique phrase here');
    define('LOGGED_IN_SALT',   'put your unique phrase here');
    define('NONCE_SALT',       'put your unique phrase here');
This page is meant to generate the code to be pasted into a new wp-config.php
I agree. It would be very useful to conveniently have HN, reddit, etc comments already there when I visit the site. Then I could comment on those.

On the other hand it should automatically submit the link to my preferred site, e.g. HN, and post my comment, thus creating a new source for comments.

Maybe something like this already exists?

Re:Unix Tricks on Friday July 04, 2014 @05:09AM (#7987927)
Which is fine if you never need to generate characters using the Option key. For example on a German keyboard you need the Option key to write { or }.
Re:Unix Tricks on Thursday July 03, 2014 @10:30AM (#7983239)
You can get any parameter of the previous command by using "Esc, <number>, Esc, .". If you repeat pressing "Esc, ." you get the n-th parameter from the command before the previous one, etc.

More details in this Stackoverflow answer: http://stackoverflow.com/a/4010170/578588

Re:Stripe: Alipay support on Tuesday June 24, 2014 @04:39PM (#7940464)
Austria1 It seems like easy deal because almost everything works the same way as in Germany, tax wise.
Re:Why is Stack Overflow so negative of late? on Saturday April 26, 2014 @06:20AM (#7650919)
I think the being patronized is an effect of the flood of the huge amount low quality. It is assumed that you did little to no research because this is the case most of the times.

What kind of question are you referring to that are banned?

Re:Why is Stack Overflow so negative of late? on Saturday April 26, 2014 @06:00AM (#7650888)
I believe that there should be a higher burden for beginners to ask their question, before it can go live.

New users need to prove that they have done research, this can be done with a few questions like "name the three google search terms that you have used to find a solution", "how much time did you spend on researching?" (easily faked, but maybe it gives people a hint to step back and try harder).

There could also be a new-user queue where higher reputation users would review a question (but are unable to answer it) before it can go live, with the possibility to go back and forth before the question goes online.

In my blog post I have detailed what I'd propose: http://alexander.kirk.at/2014/04/26/stack-overflow-ways-out-...

Older »