// Get the anchor tag element
const anchorTag = document.querySelector('.morelink');
// Add a scroll event listener to the window object
window.addEventListener('scroll', () => {
// Check if the user has scrolled to the bottom of the page
if (window.innerHeight + window.scrollY >= document.body.offsetHeight) {
// Fetch the content from the URL stored in the anchor tag's href attribute
const xhr = new XMLHttpRequest();
xhr.open('GET', anchorTag.href, true);
xhr.onload = () => {
// Append the fetched content to the page
const div = document.createElement('div');
div.innerHTML = xhr.responseText;
document.body.appendChild(div);
};
xhr.send();
}
});Ask HN: Most interesting tech you built for just yourself?
691–700 of 1001 posts
Re: Ask HN: Most interesting tech you built for just yourself?
#692I have a "TV channel" app running on a Raspberry Pi serving up local video content to a schedule I create. The Pi has a 5TB hard drive attached with perhaps 1000 videos or so. The app has a schedule and plays the videos according to the schedule. It starts up in the morning, plays tele-courses, moves on to old TV shows, an afternoon movie, after school shows begin around 3:00 PM, a comedy show around dinner time, an…
Re: Ask HN: Most interesting tech you built for just yourself?
#693I just moved to the bay area. I made an app that scrapes all bay area events from meetup, eventbrite, and a couple of other sites- This way you end up with around 100 events a day, way too much to read through. So next I take each event, send it to chatgpt3.5 and ask it to rate this event on around 20 parameters. Next, I take the latitude/longitude of each event and measure driving distance from my house. Then I have…
Re: Ask HN: Most interesting tech you built for just yourself?
#694it's now generalized and for everyone
Re: Ask HN: Most interesting tech you built for just yourself?
#695I have a "TV channel" app running on a Raspberry Pi serving up local video content to a schedule I create. The Pi has a 5TB hard drive attached with perhaps 1000 videos or so. The app has a schedule and plays the videos according to the schedule. It starts up in the morning, plays tele-courses, moves on to old TV shows, an afternoon movie, after school shows begin around 3:00 PM, a comedy show around dinner time, an…
Re: Ask HN: Most interesting tech you built for just yourself?
#696Not sure if this counts: A lighting desk for my hobby of lighting live music. For reasons I like doing live control along with the music (known as busking). Existing things are either limited and can't control moving lights, or don't have the flexibility to busk the way I want. so, having worked a long time ago for a crowd that built what were at the time the best lighting desks in the world, I built my own It has 36…
I'd certainly be interested in reading about how it works, even without anything approaching build documentation.
Re: Ask HN: Most interesting tech you built for just yourself?
#697I built a web app that keeps track of every link I ever find to be interesting. It allows for fine-grained topics (e.g., individual academic papers, or topics more specific than that). It groups the topics in a DAG, so that you can get to a topic via more than one path from the top. And it allows you to look at intersections of transitive closures over topics in order to narrow down a search. It keeps a history of ev…
Re: Ask HN: Most interesting tech you built for just yourself?
#698I built a web app that keeps track of every link I ever find to be interesting. It allows for fine-grained topics (e.g., individual academic papers, or topics more specific than that). It groups the topics in a DAG, so that you can get to a topic via more than one path from the top. And it allows you to look at intersections of transitive closures over topics in order to narrow down a search. It keeps a history of ev…
Re: Ask HN: Most interesting tech you built for just yourself?
#699About 5 years ago, I had a car stolen and lamented what affordable tracking mechanisms I could use. I cobbled together an extra cell phone and a data only SIM. I kept the phone running in the back of my van plugged into an auxiliary cigarette lighter port. It uploaded data to google spreadsheets every 15 minutes. I had to root it to have it automatically boot when connected to power. In the end, it was flawlessly reporting its location every 15 minutes. While I was testing this, my car was stolen. The google spreadsheet pointed me to the GPS location where it was. A phone call to the police and a 40 minute wait for them to arrive got my car back only hours after stolen. Dude was sleeping with a big knife next to him, so I'm glad I let the professionals speak with him.