Lurker News
For those who are still under lockdown, what are you working on / building / learning?

I've been making excessive amounts of bread.

Comments (2,248) 1105 threads

Earlier comments
samcrawford34 replies#
I have two:

1) Trail Router (https://trailrouter.com) - This is a running route planner that favours greenery and nature in the routes it generates. It can generate point-to-point or round-trip routes that meet a specified distance. I developed this because I am (or was...) a frequent traveller for work, and want to run in nice areas rather than by horrible busy roads when I'm visiting somewhere new. Naturally, the utility of this tool is limited at the moment for people stuck in lockdown!
2) Fresh Brews (https://twitter.com/FreshBrews_UK) - I've been touring the UK's finest craft beer breweries from my own home in recent weeks. New beer releases sell out very quickly and I was frequently missing out. Fresh Brews is a simple bot that monitors the online shops of my favourite breweries and posts when a new beer is released to the shop, or an item comes back into stock.

padmick2 replies#
Have you got a github on how your tracking the craft beers? I would like to do something similar for Irish breweries.
samcrawford1 reply#
I'll publish the source on Github later today and will reply here. It's a very simple Java app, which scrapes and extracts page content using Jsoup.
ep103#
I'm leaving a comment here as a reminder too! I've been playing with open street map data to learn routing algorithms, I would love to compare notes : D
poorman#
Untappd has this feature with the largest beer + venue database in the world.
kamerontanseli#
Trail Router works great! I love that you can just drag the dot and it auto-generates a new route.
generationP#
Thank you so for much for #1!
samcrawford#
Oops, that was broken in a recent base map layer update. Fixed now. Sorry!
aembleton1 reply#
I really like Trail Router. Can you add functionality on it to export as a GPX file?
samcrawford#
Thanks! It's already supported. On the left-hand menu, click on the share/forward icon, and there's an export to GPX and KML option there.
krstffr#
Trail Router seems very good, expected it to not work in the small-ish Swedish town I live in (Malmö) but it actually did a great job!
gryzzly2 replies#
Super nice work on trailrouter. The several routes it produced for me in Berlin look quite nice, being familiar with the surroundings.

Would be cool to see how you built it, if you put it on github.
I’m curios about building a similar thing for cycling – crazily neither Komoot nor Google Maps let you filter by type of road, and I’d like to select only bicycle paths and roads where cars can‘t go. Even if it means cycling much longer, I’d simply like to avoid cars and in Berlin it’s possible 90% of the time.

gryzzly1 reply#
Thanks, I didn”t know about this one, the tiles they have are really nice. But still no control over avoiding larger roads or what to prefer as a fallback. I still get some larger roads selected, but it’s definitely an improvement over google maps.

Continue this thread — 1 reply

samcrawford2 replies#
I wrote a long reply to someone on the Graphhopper forum who was trying to do similar to you. This may be helpful: https://discuss.graphhopper.com/t/can-someone-make-a-video-t...

I'll probably write a blog post on how it's built though - there's quite a lot going on under the hood!
Supporting cycling is a possibility for the future. I don't think you'd want to absolutely exclude non-cycleways (as it might make many routes impossible), but you could certainly weight very heavily against them and show on the map which parts of the route were dedicated to cyclists vs which were not.

gryzzly#
Thanks for the link, that’s a very interesting read.

Subscribed to you on twitter to get updated if you publish a post on that!
The thing on absolutely excluding – yes, maybe some things are impossible, but in my planning, it’s really about the journey, so even if I have to go additional hundreds of kilometers, so even in terms of extra days, but via cycling ways and tiny country-side streets (without max speeds over 30km ideally or similar) and not see fast moving cars almost at all, which in Berlin/Brandenburg area, for example, seems to really be possible if you plan it manually. Judging by the success of applying your rules on the trails it surely can be done better than I have seen so far.

jskopek1 reply#
Congratulations on creating trailrouter! This is one of the most unique and useful side projects I’ve seen in quite a while. I had a lot of fun looking at the various suggestions it offered for my neighbourhood, and I could see how this could help people enjoy their neighborhood a lot more.

If you have the time, I’d also love to read a blog post (or even series) explaining how you built this. Your answer on the Graphhopper forum was very clear and makes me think that a more detailed version could be super useful for a lot of people.
Nice work!

Continue this thread — 1 reply

tony0x02#
Sounds like at least #1 is a hit.
Gasp0de2 replies#
Trail Router is amazing! I just had it suggest a 5k route to me and it suggested my favourite 5k route immediately. Currently, it doesn't seem to care about elevation, that might be something to look at if you are running out of feature ideas. Is is open source?

I'd actually also be willing to donate a little for the development of such a cool tool.

samcrawford1 reply#
Thanks! There is an option in the settings menu to "Avoid hills", and in the not-too-distant future that will become a slider that allows you to prefer hills or avoid them.

It's not open source yet, but I might open it up in the future. There's a donate link hidden away in the About page. Any donation would be much appreciated, and would help with the server costs (it needs a huge amount of RAM to store the whole planet's data).

cannam#
Lovely app, I like that a lot.

I for one would positively crave an option to seek out hills. I've always found London far too flat for my taste.

tonyarkles#
I just had the exact same experience! It nailed the “close to home” routes I do perfectly. Will definitely use this when I want to change it up and run somewhere else in the city.
eber#
Trail Router is great for my use-case during lockdown. I've been trying to walk different ~3mi round-trip routes during quarantine so as to not get bored and this is very helpful to give me more ideas. Thanks!
brianbreslin5 replies#
On trailrouter how do you determine safety levels of roads? I had on one of my generated routes a 45mph road and then a few other times it had me cross I-95 (an 8 lane highway here). Overall very neat though. I'd been using mile meter to draw out manually my routes.

Continue this thread — 5 replies

Continue this thread — 23 more replies

dennisy4 replies#
Me and my friend have just started something we are calling PomPals, which is pomodoro timer which basically syncs with your friends, so you can hang out during your breaks together.

It is an electron (toolbar) app, which uses WebRTC, so should be fully P2P.
It is too early to use or show, but I did not want to miss out on this thread!
https://github.com/pompals/pompals

krat0sprakhar#
Super interesting - thanks for sharing :)

I'd definitely be trying this out when its ready!

kvz#
This is an idea I had but never executed on: Teamodoro. I like your name better! Hope you can take it to good place so I can try it with my remote co-founder : )
yeswecatan1 reply#
I don't know much about WebRTC or electron, so forgive me if this question makes no sense: if it's a simple toolbar app (such as a Chrome extension) why is electron needed?
dennisy#
Hi! When I say toolbar, I mean in the native toolbar (runs outside the browser) - we decided with this approach due to the fact you may not always be in a browser (coding for example).
folli#
I just had a quick /r/keming/ moment while reading "PomPals"
logicalshift2 replies#
Well, my main side project is the same as it's been for the last couple of years, an animation/vector editing tool written in Rust: https://github.com/logicalshift/flowbetween

It's sort of starting to make the transition between a pile of ideas and an actually useful tool at the moment. The whole idea is to be a vector editing application that works more like a bitmap tool when it comes to painting, so there's a flood-fill tool and a way to build up paths just by drawing on the canvas rather than having to manually mess around with control points.
The way I built the UI is unique too I think. Choices for UI librarys for Rust were quite limited when I started so I built it to be easy to move to different libraries. I don't think there's any other UI library in existence that is as seamless for switching between platforms (or which can turn from a native app to a web app with a compiler flag without resorting to something like Electron)

Jemaclus1 reply#
Wow, this is cool. What was the inspiration for this? Why Rust?
logicalshift1 reply#
I like to draw, and I suppose my frustrations with other animation packages that I’ve tried were the main inspiration. It’s quite nice to have something that combines two hobbies into one.

When I started I picked Rust because I’d been learning it and wanted to try using it on a more substantial project. I’m very happy with it as a choice of language: it definitely has a difficult learning curve especially with the way borrowing looks similar to references in a garbage-collected languages but works very differently. However, it’s a very expressive language: something about it makes it very easy to write code quickly that’s still very easy to follow later on.

Jemaclus2 replies#
Awesome. I dabbled with Rust several years ago, but have been thinking about diving back into it... Do you have any recommendations about where to start?

Continue this thread — 2 replies

chrismorgan1 reply#
I suspect that https://github.com/hecrj/iced would now be another UI library that’s as seamless for switching between platforms. Flutter might qualify too (or might not).
logicalshift1 reply#
I’ve been keeping an eye on the various UI libraries when they come up: right now it seems to take me around a month to add a new one so I’m waiting for one to get traction.

Something else that’s a problem is that as a drawing app, FlowBetween wants to be able to get access to data from a digitizer: pen pressure and tilt in particular. A lot of UI libraries don’t think to pass that through from the operating system, or have an awkward API (browser support is also very spotty for this)

chrismorgan2 replies#
Yeah, lack of support for different input media has been a real pain point for me—most of the developers of these things have mice only, and don’t stop to bother about touch or pen input. I use a Surface Book which has mouse, touch and pen, and I like to use all three forms at various times.

If you’re trying to do touch and pen on non-web platforms, things tend to be very messy if you want to handle all three types of pointers optimally.
But browser support spotty? I find the pointers events API a marvellous abstraction over platform differences, doing the right thing automatically for >99% of cases, and making the remaining cases possible. The only thing I feel it actually lacks is standardised gesture support for touch. I wrote a simple pressure-capable drawing app a couple of years back in the very early days of pressure-sensitivity (back when Edge was the only browser on Windows that supported it, so I targeted Edge only until other browsers got it), and I found it a refreshingly straightforward system to work with. And since then, everyone implements things like tilt and pressure.
So I’m curious to hear what you’re quibbling over, as someone that’s been using this stuff in anger more recently than I.

Continue this thread — 2 replies

taphangum2 replies#
I've spent a decent amount of time learning over the time that this quarantine has been going on.

A major issue that I've seen is that of most beginner-focused educational content not being fast enough to learn with for the more experienced developer. This along with the fact that time is often a big issue for us. I've had numerous times where I had to learn a new framework within a 1-2 week time span in order to plug some work gap or speed up a project, and found no legitimate resources that could allow an intermediate developer like me to learn faster.
This is why I am currently creating content targeted specifically at intermediate to advanced developers and teaching new languages and frameworks (using the 'constructivist' method) in a way that makes the process of learning them much more efficient. In short, faster.
It's a little rough around the edges but you can check out the blog where I share my current tutorials here: https://fromtoschool.com.
To gain a better understanding of why the method of teaching that I've described is more efficient than others for the intermediate developer, check out this post: https://fromtoschool.com/why-most-programming-tutorials-are-....

pokernaming1 reply#
Yep, I would also suggest https://learnxinyminutes.com/ to learn any new porgramming language quickly if you have experience in similar languages.

Continue this thread — 1 reply

Continue this thread — 1 more reply

Load more comments