1,481 karma · joined December 29, 2021
in: https://www.linkedin.com/in/ilya-lopukhin/
Here is a node.js script for you which will fetch the data and save it to the file:
import fs from 'fs'
import puppeteer from 'puppeteer-extra'
import StealthPlugin from 'puppeteer-extra-plugin-stealth'
puppeteer.use(StealthPlugin())
const browser = await puppeteer.launch();
const page = await browser.newPage();
async function fetchCoords(x, y, z = 8, station = 0) {
await page.goto(`https://www.marinetraffic.com/getData/get_data_json_4/z:${z}/X:${x}/Y:${y}/station:${station}`);
const jsonRaw = await page.evaluate(() => document.body.innerText);
const json = JSON.parse(jsonRaw)
return json
}
const data8353 = await fetchCoords(83, 53)
const data8453 = await fetchCoords(84, 53)
const data8354 = await fetchCoords(83, 54)
const data8454 = await fetchCoords(84, 54)
const fullData = { ...data8353, ...data8453, ...data8354, ...data8454 }
fs.writeFileSync('data.json', JSON.stringify(fullData, null, 2))
console.log('done!')
process.exit(0)
Just like this, no need to spend a cent on expensive APIs or tokens>"Ask Meta AI..." placeholder.
>Colourful blue Send button.
>Eager to try, entering question... hitting Send.
>Log in or create an account to access.
>15 seconds of loading time
>Continue with Facebook or Instagram
Typical meta move, throwing a dark pattern at you from the beginning instead of just letting you try it
Won't even bother to continue, somehow OpenAI got this right.
When someone specifically mentions "built in ~4h with Claude Code" they probably didn't care that much about the outcome quality
Im curious how is this used?
Could it be fantasy reinforced by some LLM "advisors"? I have a strong feeling that the people in US administration are talking to LLMs which constantly reassure them that their imagination is the best
>Everything feels hollow ... feels like being imprisoned
Just a humble observation: you may not have a psychiatrist that great.
You take three different medications just for everything to feel hollow? And that is life?
That sounds quite depressing to my ear.
My advice: find a community IRL, and hear from them IRL. Solitary confinement with internet is definitely not healthy. Go outside, learn something new, meet people and interact with them in real life, "remote" won't cut it. Meds will not make you feel, people will.