Better HN
topnewbestaskshowjobs
Log inSign up

Spakman

1,321 karma · joined Feb 5, 2009 (17y ago) · 111 submissions

Submissions

comment 4y ago · link · parent

I'm not nearly educated enough about this subject to try to summarise it, but the research being carried out by Michael Levin's group into how organisms control anatomy growth is completely fascinating and has the feel of a breakthrough. Almost all the talks I've seen are good, for example:

https://www.youtube.com/watch?v=Z-9rLlFgcm0

Creating new species without genetic changes seems wild!

comment 4y ago · link · parent

Excellent link, thanks!

One of the linked papers[1] in that article is highly recommended.

1. https://www.usenix.org/system/files/conference/osdi14/osdi14...

comment 4y ago · link · parent

Thanks for clarifying.

I agree that reliably writing files is a sneakier problem than it first appears and that the likes of SQLite have already solved it.

Despite that my preference these days is still for a DB, like almost all dependencies, to have to justify its existence in my projects rather than defaulting to it as many seem to favour. It's straightforward to add SQLite but I'd typically rather take a little extra pain around the filesystem upfront to not have to deal with all the extra complexity of an SQL database if I can avoid it.

Naturally, this kind of simplicity is just one factor among many such as the size and shape of the data, expected access patterns and a host of others to weigh up during the trade-off decision.

comment 4y ago · link · parent

Is the swap technique you mention writing to a tempfile and then performing an (atomic) rename to overwrite the existing file? I understand how that could cause data loss if the process exited before the rename but I don't understand how it might cause corruption. Are you able to expand on that?

A related thing I discovered recently is the potential non-atomicity of writes using O_APPEND on Linux[1], although I couldn't get the attached test program to fail on my machine. I would love to find some kind of confirmation that this behaviour has been changed and that appends can be relied upon to be atomic.

In the application I'm working on at the moment I've managed to get add more certainty around this stuff since I'm only ever appending to the file in 4096 byte chunks, so can perform a simple file size check to see if data was written completely or if the file needs to truncated to the nearest multiple of 4096. I'm fortunate that it prevents having to do something like open it read only to verify contents as you mentioned.

1. https://bugzilla.kernel.org/show_bug.cgi?id=55651

comment 5y ago · link · parent

> I have a deGoogled phone running Lineage, but even with that, no Google Play Services, and some custom settings (like changing the captive portal URLs), there's still network traffic to Google.

I'm running LineageOS without Play Services too and didn't about know this!

Do you have any reference materials (I guess getting busy with Wireshark and the source is my next step)? I found this Reddit thread[1] talking about a connectivity check but am keen to start tracking down any others.

https://www.reddit.com/r/LineageOS/comments/5qnfxf/why_linea...

6.

Declaration of Digital Autonomy (draft 0.1)(techautonomy.org ↗)

1 points · by Spakman · 5y ago · discuss

7.

COVID-19 Aerosol Transmission Estimator(docs.google.com ↗)

4 points · by Spakman · 6y ago · 1 comment

8.

Creativity Is Not Enough (2002)(hbr.org ↗)

2 points · by Spakman · 6y ago · discuss

9.

Risk-First Software Development(riskfirst.org ↗)

3 points · by Spakman · 6y ago · discuss

comment 6y ago · link · parent

When nearing your final resting place and contemplating all the rich intricacies of your life, do you want to be one of those people who didn't learn to juggle? No. That would be silly.

So take up juggling!

Aside from obvious things like becoming more coordinated and increasing your spatial awareness, it will teach you a lot about learning. It's fascinating when a challenging new pattern moves from deliberate and entirely conscious effort to straddling the conscious/unconscious divide until it gets bedded in to your nervous system and you can do it without thinking.

Juggling is almost entirely non-competitive and jugglers are overwhelmingly supportive and eager to teach and learn new tricks from each other. It doesn't seem to be possible to get into it without also wanting to teach anyone who wants to learn. There aren't many egos getting in the way, which I find rather pure and beautiful.

Contemporary juggling is hugely varied. You can go from technical and accurate numbers jugging (high number of objects) to flowing improvised moves to something that is as much dance as circus stuff.

Also siteswap[1], a notation for juggling patterns, is cool!

https://en.wikipedia.org/wiki/Siteswap

11.

Simple Software Manifesto(arewesimpleyet.org ↗)

82 points · by Spakman · 6y ago · 87 comments

12.

Simple software manifesto(arewesimpleyet.org ↗)

1 points · by Spakman · 7y ago · discuss

comment 8y ago · link · parent

Thank you very much! I hadn't realised my email address isn't visible here. Maybe I need to move it into the "about" section.

In case you aren't aware, your email address isn't visible in your profile either. I've emailed the GMail address that I found on your website :)

comment 8y ago · link · parent

Another thing you might want to investigate (for Linux, not sure about cross-platform alternatives) is OverlayFS[1], which allows you to create union filesystems where some layers are read-only and the top layer is read-write. This can allow destructive operations like rm without actually removing anything from the lower (read-only) layers, using whiteouts.

I'd have replied to this on lobste.rs but don't have an account. I'm not a heavy poster but I'd love an invite if anyone has one going :)

1 - https://www.kernel.org/doc/Documentation/filesystems/overlay...

comment 8y ago · link · parent

I've had very positive experiences with Mail-in-a-Box for exactly the sort of situation you describe. I think it's a great project that pulls together other packages very nicely.

I was fed up with configuring everything constantly and tuning this, that and the other. These sort of threads always seem to have plenty of people who have a bad time running their own mailserver (and of course your mileage may vary), but I don't really have to touch it at all.

comment 8y ago · link · parent

That sounds like an interesting and varied role. Are you enjoying it and getting much from it? Anything you don't like about it?

comment 8y ago · link · parent

I hear you! I'm in my late 30s and, although I don't have a family, I'm in a similar sounding situation myself. My first act sounds pretty similar to your own and, for one reason or another, in the last few years I've undergone a similar sounding shift.

Although it's all for the good, I've found the shifting identity tough (I've always had a very clear self identity). When talking to others, any description of myself or something in my life that I've come out with has been accurate but several years out of date.

Very recently (last month or two) I've started to notice a little bit of change around this. I suppose enough things have happened to this version of myself that I'm starting to build some identity around that, as well as just being more comfortable with the new situation in general. I have also been reading and thinking about a lot of Buddhist philosophy, which I think has helped give me some perspective.

I hope you're able to find whatever viewpoint you need to move through this situation. I'm sure that you will - life has such a broad and deep variety of experiences and there are many different avenues for adventure and reward.

comment 8y ago · link · parent

That birthdays are stupid. I love celebrating life and try my best to do so in every moment, but this forced celebration is a total turn off.

comment 8y ago · link · parent

Coffee Lab, perhaps? I thought it was a really cool coffee shop when I was there last year and, as you say, very much a hang out sort of place.

comment 9y ago · link · parent

I'm a big fan of solving your own problems. Your problem seems to be coming up with problems to solve. Perhaps you could work on something that helps people to find problem to solve?

comment 9y ago · link · parent

Yeah, I agree with that!

comment 9y ago · link · parent

I really have difficultly seeing how this could be considered anything other than natural. We, our actions and our impacts on the rest of the environment are, after all, born of the very same nature.

23.

US leads missile interception tests in Scotland in response to nuclear threat(independent.co.uk ↗)

1 points · by Spakman · 9y ago · discuss

comment 9y ago · link · parent

Radicale for CalDAV and CardDAV. Simplest way I've found to sync my Android contacts and calendar to somewhere I own.

comment 9y ago · link · parent

I have have a hard time seeing what there is to mock about your opinion of shells. I absolutely consider them languages - better at some things, worse at others.

comment 9y ago · link · parent

Seems like a good time to point to Urchin, the Bash-ish like shell I wrote that also allows writing Ruby directly on the command line. I've been using it happily for years but haven't packaged up a release for a recent version:

https://github.com/Spakman/urchin

comment 9y ago · link · parent

Just to narrow that down a little more, I associate that with more of a London accent/locale. You don't hear it much here in Scotland.

comment 9y ago · link · parent

Thanks a lot for this comment. It made a lot of connections form in my brain.

comment 9y ago · link · parent

Ah, that first road! I had forgotten all about that feeling :-)! I can still vividly remember the tick-tick-ti-ti-ti-tick-tiiick noise of the trains.

I was probably a bit too young to understand all the complexities but have such happy memories of it too. Happy that you had the same experience :-)!

1234