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
trango5 replies#
I created https://web.trango.io a LAN based calling and file sharing service. Essentially, you can share files, make video and audio calls to those on the same network as you without having to go through the internet. Your data never leaves your local Wifi. The internet is only used to discover those on the same network as you. We use webrtc and a signalling server to make this system work.

We were in the same office and needed a fast, simple way to communicate with eachother without coming in close contact (covid 19) and wanted to do that over LAN rather than use tools over the internet NOR use our ancient intercom system. So now we are using this internally for fast file sharing and good quality video calls.
Going to be introducing group calls soon and also the ability to integrate online calling and file sharing.

kd221 reply#
So cool! Mind sharing what tech you used to build this?
trango#
Sure. We used webrtc, websockets and a signalling server which helps in discovering who is available on your local network. However, none of the calls or files ever go through the server.

We want to refine it a bit further before taking it opensource. :)

saadalem1 reply#
What is the max range ?
trango#
There is no range. Whoever is connected to the same Wifi network can communicate or share files. You could say the range is only as good as the signals from your router.
buboard1 reply#
This is a really great idea from the security and privacy point for small teams and offices. And for sharing stuff in a house! Would this work through a VPN?

you could also introduce differnt channels, so different groups of ppl can chat . And you should add text chat through the data channel

trango#
Thank you!

It works over some VPN's but not all. We will look into why and try to resolve.
Yes, it works very well when we need to call eachother or share files with eachother in the office. At home, I mainly use it to share large pictures and videos with my wife as it is very fast.
Yes, different channels and group calling should be added. We could add a chat function in it aswell.
Even though it is based on your local wifi and the data never leaves your home/office network, we have still encrypted it by default so we can integrate online calling and file sharing in a secure manner and dont have to redo the whole security aspect again!

sombrerobro1 reply#
kudos for keeping this super simple!
trango#
thank you! Inspired by Apple's Airdrop graphics and interface.
blopp99#
It works wonderfully
doersino2 replies#
I've recently written a Python app that selects a random location in an area defined by a user-supplied shapefile [1], grabs corresponding aerial imagery from Google Maps, and posts it as a geotagged tweet:

https://github.com/doersino/aerialbot
I've built this tool because satellite imagery can be extremely beautiful [2], and I was looking for a way of regularly receiving high-resolution satellite views of arbitrary locations such as the center pivot irrigation farms of the American heartland [3] in my timeline. Plus, for obvious reasons, it's nice to see the world without actually having to go outside right now.
Currently, I'm running two Twitter bots based on ærialbot:
* @americasquared, which posts one randomly selected square mile of the United States every 4 hours: https://twitter.com/americasquared
* @placesfromorbit, which analogously posts a 5×5 km square anywhere in the world every 6 hours: https://twitter.com/placesfromorbit
---
[1]: https://en.wikipedia.org/wiki/Shapefile
[2]: https://earthview.withgoogle.com
[3]: http://www.thegreatamericangrid.com/archives/1441

m3at#
Earth View indeed has some stunning aerial pictures! Thanks for leaving the link, I would have missed it otherwise :)
safog1 reply#
I think you can make the images a lot more appealing by adding some automated post-processing to them.

I don't know a lot about image processing algorithms but clicking "Auto" on google photos tweaks basic stuff like exposure, contrast, highlights, shadows, vibrance etc. so the image has a lot more "punch".

doersino#
Good comment – ærialbot actually does increase contrast and saturation a tiny bit, but I've kept this very conservative for a couple of reasons:

* Some areas of the world are just naturally fairly flat and monochromatic, so a dynamic contrast/saturation/brightness adjustment (e.g. one that would turn the darkest pixel black, the brightest pixel white and linearly map the rest between these extremes) would not work for these areas.
* The available satellite imagery has been captured and processed in a variety of ways depending on the region, so a constant contrast/saturation/brightness adjustment might work well in some places, but overcorrect things in other places (especially urban areas in the US and Europe tend to already be fairly saturated and contrasty).
Basically, doing this well would involve a whole bunch of testing and fine-tuning. And since not even Google (the source of the imagery) seems to do this, I decided not to bother: Keeping the data basically the way I receive it is easy and "honest".

hansenzhang7 replies#
https://hansenzhang.com/

I finally put my photos up on my personal website. The only constraint I gave myself was to build a site that doesn’t need Javascript to load.
In the end I ended up using Next.js as a static site generator that pulls all the routes from my directory structure, making it possible to add new photography collections and filters as I go.
Might be overkill for the use case but it was fun to learn. The irony is I had to write a bunch of JS to produce it.
Still need to optimize the image sizes and I am thinking about adding filters for b&w/color/format.

serf1 reply#
i'm getting straight URLs at the bottom of the page. Vermont related URLs.

Neat photos though.

hansenzhang#
Ok thanks for the heads up!
mcny1 reply#
Pretty cool!

OP, have you tried loading="lazy" ? I don't know if it works with the picture tag but it is worth trying I think.
Very often, webpages contain many images that contribute to data-usage and how fast a page can load. Most of those images are off-screen (non-critical), requiring user interaction (an example being scroll) in order to view them.
Loading attribute The loading attribute on an element (or the loading attribute on an

hansenzhang1 reply#
Good point I hadn't thought of that. Still have to troubleshoot it a bit in Firefox but it looks like its working in Chrome.

The resolution scaling is a good idea as well. I used the picture tag initially as a fallback for browsers that don't support webp images. More importantly I need to actually create scaled images which I have been putting off...
Thanks for your comments/advice!

danielecook1 reply#
Looks great! I did something similar with hugo and tried to automate the process as much as possible.

I use a utility called jhead to resize, fix rotation issues, and rename photos by date - then I tied this to a folder action on macos so I can just drop photos in a folder and they get renamed and resized.
Then Hugo has this cool 'smart' cropping feature which tries to crop based on content [1] - and the end result is now all I do is drop photos in a folder and publish and it comes out looking pretty good [2].
1. https://gohugo.io/content-management/image-processing/#image...
2. https://www.danielecook.com/photos/

hansenzhang#
Nice! I found Hugo about halfway through working on this and it seemed like a great solution as well. The jhead utility would save me a ton of time as I ended up cross referencing my negatives to find processing dates which is all in the metadata.

I ended up using sharp [1] since it was so easy to integrate into my workflow.
1. https://github.com/lovell/sharp

poyu1 reply#
Nice photos and nice website! A fellow film shooter approves! I also subscribe to the no JS philosophy.
hansenzhang#
Thanks! My next quarantine project is to put in a sink in my basement so I can start printing again!
saym1 reply#
I forgot how quickly a web page can load with no JS. Kudos!
hansenzhang#
Thanks! So did I :)
unnouinceput1 reply#
You might want to add some copyright notice. Even if you don't want to monetize them is better for others to ask your permission rather then lose them to hoarders and later watch them making money and you get null.
hansenzhang#
Good reminder, I do have one on each page but realize it’s a bit hard to see with all the photos on the first page.

https://hansenzhang.com/copyright

galacticdessert#
Cool project! I set out to do something similar as well, but with a slight different scope. I wanted a web gallery that I can use to access all my (substantial) collection of pictures, that does not need any maintenance/work to get started. It lists directories and generates thumbnails on the fly, no database needed.

No JS would have been nice, but ended up making the content draw and re-flow in JS as I wanted to keep the aspect ratio of the thumbnails instead of showing a bunch of squares, for which a simple flexbox would have been enough.
I still have to write a decent README
https://gitlab.com/nicolazen/presto-photo-gallery

seanwilson9 replies#
I'm tinkering with a single player word game in HTML5. Feedback welcome. :)

https://seanwilson.itch.io/wordoid
I've tried to make it intuitive enough that you don't have to read a page of instructions first but let me know if I've missed the mark. I'm hoping you can learn the gameplay mechanics as you play.
I'm not using any web frameworks for this which was actually fun to do. It gave me a chance to improve my understanding of CSS animations + reflows, and catch up with changes to JavaScript.

keeganj1 reply#
Just played with it for a few minutes, I liked it! The only bit that occasionally tripped me up was going diagonally in my word construction, but I got the hang of it after a few rounds.

One thing that may make this easier is beveling the edges of the tiles slightly so you don't accidentally select letters on either side of the diagonal unintentionally.

seanwilson#
Great, thanks for the feedback!

> One thing that may make this easier is beveling the edges of the tiles slightly so you don't accidentally select letters on either side of the diagonal unintentionally.
Thanks, I'll have a play with that. If you use your web devtools to inspect the HTML, you should see over each letter tile, there's actually an invisible tile on top of each one at a 45 degree angle that's being used as the real touch/mouse target for selecting letters (as accidental selection is awful if you use the actual tile as the target). Maybe there's a more reliable way but playing with the target shapes and sizes will probably help.

jcheng1 reply#
Really fun, very polished! Stream of consciousness feedback:

After a few levels I found clusters of letters I was having trouble with building up over time (there was an “X” right in the middle, and like six “I”s clumped up). I found myself wishing there was some mechanic that could clear them out. Maybe that would make it too easy though.
I really love the animation when you make it to the next level, very satisfying.
On mobile safari, holding your finger on a tile for too long causes a text selection.
I’d love a “zen mode” with no timer!

seanwilson#
Thanks, stream of consciousness feedback is ideal. :)

> After a few levels I found clusters of letters I was having trouble with building up over time (there was an “X” right in the middle, and like six “I”s clumped up). I found myself wishing there was some mechanic that could clear them out. Maybe that would make it too easy though.
Yep, this seems worthwhile looking at. Maybe smarter letter randomisation would help this e.g. don't allow a new "I" tile in a place that has two "I" tiles already, don't allow clusters of consonants.
> I really love the animation when you make it to the next level, very satisfying.
Great! I thought I needed something flashier so I'm happy this could be enough.
> On mobile safari, holding your finger on a tile for too long causes a text selection.
Ah, thought I caught that. Thanks!
> I’d love a “zen mode” with no timer!
Yep, I want to figure something out for this. It's pretty fun thinking of different scoring mechanics and how this impacts gameplay strategy.

elymar1 reply#
This is great! I think some words are on the screen that don't count as words (zen for example). Otherwise lovely!
seanwilson1 reply#
Thanks! You mean "zen" was allowed but shouldn't be?
whatshisface1 reply#
There were several words that were visible, and were words, but were not accepted by the game.

Continue this thread — 1 reply

deskamess1 reply#
The ability to turn off sound would be nice. Otherwise, pretty cool.
seanwilson#
Thanks! Yep, mute is missing and I'll add it. I was trying to push myself to launch an MVP without over polishing it.

Continue this thread — 5 more replies

Load more comments