HNHacker News
TopNewBestAskShowJobs

gloosx

1,481 karma · joined December 29, 2021

javascript guru, modular synthesizers fan feel free to reach @ lopukhin.work@gmail.com

in: https://www.linkedin.com/in/ilya-lopukhin/

submissionscomments
gloosx··on New iPhone age and identity checks restrict internet freedom in the UK
Thinking that Apple would urgently reconsider anything because of some angry blog post is rather naive. Until this s tangibly affecting Apple's finances the probability they are giving a single shite is approaching zero. Pixel phones and GrapheneOS stonks up.
gloosx··on Show HN: Is Hormuz open yet?
Well, not to every every browser, there is some cloudflare bs preventing simple curling and you actually need a stealth-mode puppeteer to go around it.
gloosx··on Show HN: Is Hormuz open yet?
Hello OP, I think using an ai agent to fetch the JSON is a bit of an overkill

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
gloosx··on Muse Spark: Scaling towards personal superintelligence
>Text field.

>"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.

gloosx··on Microsoft terminates VeraCrypt account, halting Windows updates
Executable signing is also designed to make easy money from selling certificates
gloosx··on Issue: Claude Code is unusable for complex engineering tasks with Feb updates
File. In Unix everything is a file.
gloosx··on Is Germany's gold safe in New York ?
Am I missing something but I can't see full article? All I see is like a 100 words preview, is this the whole thing?
gloosx··on EmDash – A spiritual successor to WordPress that solves plugin security
At least the cost of building slopware has drastically decreased.
gloosx··on Copilot edited an ad into my PR
Microsoft can show a screen-wide dick enlarger ad instead of everyone's wallpaper and people will still be using windows for decades. They already know it.
gloosx··on I put all 8,642 Spanish laws in Git – every reform is a commit
Maybe we should go further and use some DSL to speak with each other in the first place? Would def make everything straight and eliminate ambiguity!
gloosx··on Spanish legislation as a Git repo
Classic. He forgot to add "make no mistakes" to the prompt. Based on the commits alone Im not sure anyone really reviewed the correctness of the git history.

When someone specifically mentions "built in ~4h with Claude Code" they probably didn't care that much about the outcome quality

gloosx··on We rewrote JSONata with AI in a day, saved $500k/year
If the first commit was two weeks ago, how did it ended up saving 500k a year already? Did they mean expected to save?
gloosx··on Swift 6.3
>nocopy for disabling copy-to-clipboard

Im curious how is this used?

gloosx··on Miscellanea: The War in Iran
>In the fantasy imagination of some people

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

gloosx··on Apple Just Lost Me
I wanted to ask exactly same question: fellow UK citizens, do your iphones become bricks if you fail to verify your age or what?
gloosx··on Dune3d: A parametric 3D CAD application
this one from CAD CAM lessons: https://www.youtube.com/watch?v=jULWgMV9_TM
gloosx··on Dune3d: A parametric 3D CAD application
Can't agree, I'm a complete newbie in CAD, and after I opened FreeCAD I didn't know what to do at all. Watched one youtube video covering all the basics and I can design whatever I want with confidence. Besides being free – it's very intuitive and great piece of software in my opinion
gloosx··on Reports of code's death are greatly exaggerated
How can you ever say that about humans? Human brain is not trained once on all the data and then you start using it, human brain is constantly training and rewiring in the real time while being used, there is quite a dramatic difference from how LLM transformers work. Human can form new abstractions from sparse experience which is the true conceptual reasoning which LLMs are struggling with
gloosx··on Our commitment to Windows quality
They had copilot in the SNIPPING TOOL? I really thought it is a meme
gloosx··on Illinois Introducing Operating System Account Age Bill
It's not the gun that kills. It's not the computer that spies.
gloosx··on US Court of Appeals: TOS may be updated by email, use can imply consent [pdf]
Actually it's like McDonalds removing pickles from the big mac after it was already served to your table
gloosx··on Ask HN: How to be alone?
>I have a great psychiatrist who has me on antidepressants, anti-anxiety meds, and mood stabilizers

>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.

gloosx··on Relicensing with AI-Assisted Rewrite
Man, licensing is funny in the modern day. I sometimes wonder, what would world look like if there was no copyright
gloosx··on Windows 11 Notepad to support Markdown
Notepad urgently needs some social features too, did they think about adding stories and a messenger???
gloosx··on JavaScript-heavy approaches are not compatible with long-term performance goals
Fully agree, Inversion of Control is not something which alone defines something as a framework. When defining it along the architectural axis React is architecturally unopinionated thus is has library-level scope, but framework-like control semantics. If framework = anything that uses inversion of control, then a lot of things suddenly become frameworks, including things nobody calls frameworks. One can call it a "rendering framework" but calling it a "web-application framework" is not factually correct.
gloosx··on JavaScript-heavy approaches are not compatible with long-term performance goals
Acquisitionbombed by Microsoft! Instead of usability and performance it has AI now!
gloosx··on I want to wash my car. The car wash is 50 meters away. Should I walk or drive?
In the end, formal, rule-based systems aka Programming Languages will be invented to instruct LLMs.
gloosx··on The EU moves to kill infinite scrolling
This is a brilliant idea, really, but unfotunately it is not a fit for the society we have constructed so far. There are little to no governments around which would willingly hit the brakes on Consumerism — it is having a hypnotic effect on the people they herd as well as being very profitable for them
gloosx··on Warcraft III Peon Voice Notifications for Claude Code
First thought as well. How is this legal?
gloosx··on Testing Ads in ChatGPT
Ads do not influence the answers ChatGPT gives you (yet), and we keep your conversations with ChatGPT private from advertisers (for now). Our goal is for ads to (make money). We’re starting with a test to learn, listen, and make sure we get the experience right (at the beginning).
← PreviousPage 3 of 26Next →