Lurker News
Hi HN, I'm curious to see what cool things everyone's building. What side projects are you developing? What are you applying to HN with?

Comments (1,232) 661 threads

Earlier comments
eivarv5 replies#
https://cleave.app

Cleave is an application that lets users persist OS state as a "context" - saving and loading open applications, their windows (and their positions), tabs, open files/documents and so on. Think of it as a workspace or project manager from an IDE, but on the OS-level.
Started because of frequent multitasking of heavy work with limited resources. Made it because I wanted to switch between studying, working, reading, looking for an apartment, etc. without manually managing all states or consuming all resources.
I'll release an Open Beta (macOS) as soon as I finish license verification and delta updates, but I keep getting sidetracked...

topnde#
Wow this is a really nice idea. Signed up.
lonesword#
Nice. My solution to this (on arch linux) was to maintain a script that would open the stuff I need on specific workspaces. I'd always need the following to get work done:

1. Browser on workspace 1 2. Pycharm/IDE on workspace 2 3. Terminals ssh-ed into the compute server on workspace 3 4. Workspace 4 is empty - I use this as my scratch workspace 5. Workspace 5 contains slack and spotify
i3 provides you a way to map each application to each workspace. So it was pretty easy to get ^ this setup at the press of a button.

ftruzzi#
This is awesome. I have found myself needing such a tool many times. I'm using tab managers in Chrome but this looks so much better. Good luck!
sdfhbdf1 reply#
Nice idea but have you considered just using built-in MacOS spaces for that? What't the limiting factor for you in them?
eivarv#
Resource (and battery) usage + human context switching/information overload.
2rsf1 reply#
This would be awesome if it works well and for every app
eivarv#
Yeah; in most cases it depends on how the specific apps use OS-features, but I've also implemented a way to make app-specific extensions (i.e. define which files are involved in handling a specific app's state), so that users can customize and potentially extend the functionality and share these definitions (maybe even contribute upstream).
hoten#
A few months ago I spent a week of my vacation reverse engineering Zelda Classic[1], an awesome tool made by Zelda fans which has many awesome custom-made Zelda-like games made in it.

I'm a web guy, so that's my medium of choice. I called it Quest Maker[2].
The game repo isn't public (haven't figured out what I want to do with this...), but here's the tool I made for converting the binary quest datafiles to JSON[3].
Particularly interesting to me was extracting the sound data from the datafile to recreate a MIDI file, and then using a WASM library to play it in on the web.
There is also a gnarly encoding to the datafile, so I had to compile the Zelda Classic datafile loading code and employ cython so the bytes aren't just gibberish.
[1] https://www.zeldaclassic.com/
[2] https://hoten.cc/quest-maker/play/
[3] https://github.com/connorjclark/zquest-data

jetrink5 replies#
I'm working on a utility to archive and organize old data that I want to keep forever, but I don't want cluttering up my local hard drives and Dropbox account. The initial goals of the project are:

* Design for cold data only. Stuff that is done changing and won't be accessed regularly if at all: completed projects, annual financial records, RAW image files organized by month, etc.
* Store items in flat collections, not in folder hierarchies. Store directories as compressed archives. I'm not a librarian and I find folder hierarchies difficult maintain.
* Store everything such that the data will still easily accessible even if the index is lost or the software stops working. Use well-known formats and human-readable file names.
* Automatically store data in multiple locations, including S3-compatible services, Amazon Glacier, file servers or locally. Allow each collection of items to have its own mix of storage locations.
* Organize within collections using tags and metadata.
* Provide a simple checkout system to download items when needed.
I have the core features working and I am now building the desktop application, which I intend to be cross-platform. However, I've never written a desktop application before, let alone a cross-platform one, so development has slowed while I learn and experiment.

Malcx1 reply#
Have you got a site/email list/github/twitter I can follow for a release announcement?
jetrink#
Not yet, but you can email me at the address in my profile and I'll let you know when something is available.
brittpart_1 reply#
What's a flat collection hierarchy?
jetrink1 reply#
I just mean that a collection has no subfolders or other structure. It is simply a list of items like an S3 bucket.
brittpart_1 reply#
How do you find an item then? I've read numerous research studies that prove people still prefer navigation over search. Ofer Bergman has done a lot of work.

Continue this thread — 1 reply

stonewareslord#
For anyone interested in these features today, check out Git Annex. Fits all these requirements except for tagging. Add files just like with git, then git annex copy file --to some-remote. Intended for large files, you can Zip directories too if you like. I personally like directory organization but that's optional.
diamondap1 reply#
I wrote a similar app for archivists to push materials into preservation repositories. I used Electron, since it has good cross-platform support. The source is at https://github.com/aptrust/dart with documentation at https://aptrust.github.io/dart-docs/users/getting_started/

The underlying JavaScript code in that app started getting messy because I was working on several other projects simultaneously, but you might find it useful to play with as you consider your desktop app.
The archival community uses a simple text-based packaging format from the Library of Congress called BagIt, which allows you to include metadata and checksums with your archived materials so you can ensure their integrity and make sense of them when you get them back.
Anyway, you're working on an interesting problem. I'd be interested to see how it goes.

jetrink#
Thanks! Your project looks like great inspiration and BagIt might be very useful too.
conductr#
FWIW I've often thought of building a cold storage cloud for this type of stuff. Basically the same functionality of [api, web gui, etc] that everyone has except, files need to be requested and may take some time to become hot/available to the user. It's really just because I think it's silly that the only reason I pay $100+/year to my provider is because I have some archived videos/photos that put me over their free limit. I never touch those files but don't want get rid of them either (I realize I could store myself but them I'm the one responsible if they get lost :))
abyrvalgg1 reply#
Wow, the shadow takes into account the relief of Earth. Looks very interesting!
tsjq1 reply#
This is mighty interesting !
tsjq#
Actual sunrise sunset timings, yes. And then : might be useful for non-commercial planning of solar panels. I am assuming your shadow tracking takes into account the buildings' heights , sun angle over the months, etc factors also.
elsurudo#
I used this when buying an apartment. Judging the lighting at different times of the day.
pheelicks1 reply#
Really nice, any plans on showing this on a 3D map? You might be interested in my project, Procedural GL JS: a mobile-first 3D mapping engine with emphasis on user experience. Live demo here: https://felixpalmer.github.io/procedural-gl-js/ (I've also posted separately in this thread).
tppiotrowski#
Wow! This is beautiful and fast. You should be proud of yourself.

There is another project (https://shadowmap.org) that casts shadows in 3D. You might want to reach out to them. For me, I use ray-tracing per pixel because I want more control/information on a per-pixel basis. For example, when will the sun hit the particular location.

simply_sam#
I love this. For years I had been thinking about creating a map where you can spot first and last sun in an area. Now that I’m actually tackling bigger and complexer projects I forgot all about that idea. Great job!
amackera#
This is super cool, well done
DavidPeiffer1 reply#
Neat project!

I've been trying to figure out a smart home automated system to determine if shades should be open or closed to optimize for energy efficiency, accounting for sun intensity, time of day, and orientation of the window. I suppose I could throw something like this on rather than relying on generic sunrise and sunset times.
Did you have a lot of wrangling with coordinate systems and the location of the sun changing throughout the year?

Load more comments