News for hackers. Stuff that matters.

vince14

> and energy storage

What do you think this means? It doesn't mean what you think it means.

Quoting LCOE and ignoring system costs disqualifies you for any discussion on this topic, sorry.

Re:OpenAI's WebRTC Problem on Saturday May 09, 2026 @04:01AM (#48072949)
Isn't the jitterBufferTarget [0] the latency vs. quality knob?

[0] https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpRecei...

Re:Belgium stops decommissioning nuclear power plants on Thursday April 30, 2026 @01:07PM (#47965420)
That is not the case. There are LCOLC, LFSCOE and others which land on renewables being way more expensive. Even without your made up claim about "assuming cheap and fast to build nuclear power".
Re:Belgium stops decommissioning nuclear power plants on Thursday April 30, 2026 @12:14PM (#47964681)
Storage is not just 'a problem', it doesn't exist and won't for many many decades.

The planned solution is hydrogen power plants, but no one wants to build them because the infrastructure, including electrolysers, is way too economically unfeasible.

Therefore, Germany is and will continue to be dependent on coal and gas, as these are the main producers every night. That's your 'grid backup fee' for you.

Re:Say Bye with JavaScript Beacon on Thursday September 04, 2025 @08:39AM (#45126574)
Their fetch call is missing `keepalive: true`.

    When set to true, the browser will not abort the associated request if the page that initiated it is unloaded before the request is complete. This enables a fetch() request to send analytics at the end of a session even if the user navigates away from or closes the page.
https://developer.mozilla.org/en-US/docs/Web/API/RequestInit...
Re:Simple Web Server on Tuesday April 15, 2025 @04:33AM (#43690358)
Because projects like these were missing back then, I got creative with nginx and do not need any config changes to serve new projects:

  server {
    listen 80;
    server_name ~^(?<sub>\w+)(\.|-)(?<port>\d+).*; # projectx-20201-127-0-0-1.nip.io
    root sites/$sub/public_html;
    try_files $uri @backend;
    location @backend {
      proxy_pass http://127.0.0.1:$port;
      access_log logs/$sub.access;
    }
  }
Configuration is done via the domain name like projectx-20205-127-0-0-1.nip.io which specifies the directory and port.

All you need to do is create a junction (mklink /J domain folder_path). This maps the domain to a folder.

Re:Ask HN: How did internet discover my subdomain? on Thursday March 06, 2025 @07:06PM (#43286319)
I'm having the same issue.

https://securitytrails.com/ also had my "secret" staging subdomain.

I made a catch-all certificate, so the subdomain didn't show up in CT logs.

It's still a secret to me how my subdomain ended up in their database.

Re:Never* Use Datagrams on Sunday June 23, 2024 @09:22AM (#40767301)
Fire-and-forget?
https://gdpr-info.eu/recitals/no-49/

> Network and Information Security as Overriding Legitimate Interest

> stopping ‘denial of service’ attacks

Storing logs with IPs is no problem at all.

Re:Ask HN: Can I see your cheatsheet? on Thursday June 30, 2022 @04:47AM (#31930095)
Creating clips from tv recordings:

    ffmpeg -ss 01:59:00.000 -i "interlaced.ts" -ss 00:00:12.000 -t 26 -max_muxing_queue_size 1024 -c:a libopus -b:a 96k -c:v libx264 -crf 20 -vf "yadif=1" -profile:v baseline -level 3.0 -pix_fmt yuv420p -movflags +faststart -y clip.mp4
Make clip compatible with WhatsApp:

    ffmpeg -i in.mp4 -map 0:v:0 -map 0:a:0 -map_metadata -1 -map_chapters -1 -c:v libx264 -preset slow -tune film -crf 32 -c:a aac -b:a 128k -profile:v baseline -level 3.0 -pix_fmt yuv420p -movflags +faststart out.mp4
Copying in various terminals:

    PuTTY: select
    tmux: Shift + select
    cmd: select + Enter in quick edit mode
    Windows Terminal: select + Right Click
Re:Show HN: HN Avatars in 357 bytes on Monday March 14, 2022 @10:31AM (#30672869)
whoami
Re:Zig 0.9.0 on Monday December 20, 2021 @08:13PM (#29632634)
> Introduced arbitrary code execution via ${jndi:ldap://... inside any logged string.

hehe

Re:Defensive CSS on Friday December 10, 2021 @06:46AM (#29508772)
Me too, that's why I always have `html { overflow-y: scroll; }`.
Re:Ask HN: Why is Node.js hated so much? on Saturday October 02, 2021 @11:25AM (#28729318)
> no threads

> node does not have a concurrency and parallelism story

> standard library is tiny

Also claims like "async makes your program more difficult to reason about" without any explanation.

I hereby claim that goroutines and mutexes make your program more difficult to reason about.

> the ecosystem is an absolute dumpster fire

I am super curious which ecosystem that person would consider better.

Re:Ask HN: Why is Node.js hated so much? on Saturday October 02, 2021 @10:55AM (#28729038)
I think many people feel threatened by the success and the pace of the Node.js ecosystem.

Most arguments, even in this thread already, are just wrong. Obviously they have never had any experience with the Node.js ecosystem and another.

Re:DNS Privacy Considerations on Saturday July 31, 2021 @08:02AM (#28017350)
What actually happened to Namecoin?

It's been a decade since I last heard from it.

Re:IPv4 pricing on Wednesday July 28, 2021 @10:45AM (#27984411)
With the rotating IPv4 you at least have the possibility to make yourself more anonymous. IPv6 takes that decision away from you.

> You would probably have the same level of reliability with an IPv4 database currently

That is... a lie. The selling point of today's internet is that you are anonymous.

Also I don't know which "easier ways to track people" you mean.

Re:IPv4 pricing on Wednesday July 28, 2021 @10:03AM (#27983857)
This enables to track users not only across websites but across the entire internet.

It wouldn't surprise me if there are already databases which map IPv6 subnets to real names, addresses, banking data, ...

And anyone could just use that database or contribute to it.

Re:IPv4 pricing on Wednesday July 28, 2021 @09:45AM (#27983667)
The problem I have is that IPv6 is unusable right now.

Most server software cannot properly handle blocking of increasing IPv6 subnets.

And not only that, but my ISP assigns the same /64 subnet to me for months. Who needs cookies anymore if you can just track the /64? Even unplugging the router for a day won't assign a different prefix for me.

Re:Purelymail – cheap, no-nonsense email on Friday July 02, 2021 @03:35AM (#27708784)
Custom domains and cloud storage are €3/month. Not included in €1/month.
Re:All Programming Is Web Programming (2009) on Monday June 14, 2021 @07:18AM (#27501313)
> Sorry Jeff, but your post from today is simply stupid.

> Think only about the embedded programming… do you really think that you can create a web app to control your washer?

> Or do you want a web interface to drive your car?!?

> Get out of your cubicle and look around… you’ll see that there is something else running outside your server and browser.

> By the way, are you planning to create a web app for the BIOS of your computer?

Yes, to all :D

Those comments are golden.

Because they can't read and are missing a module.
You left out the part which contradicts your claim.

> Don't send the Referer header to less secure destinations (HTTPS→HTTP).

The referer header is still sent from HTTPS to HTTPS.

The destination site still receives the referrer header, sent by your browser via HTTPS. Further measures are needed like this one.
<a referrerpolicy="no-referrer"></a>
Re:Live BTC transactions in Twitter hack on Wednesday July 15, 2020 @06:47PM (#23853292)
Re:Unverified.email on Wednesday April 08, 2020 @04:56AM (#22811215)
There's also https://ethereal.email/ which has a Web GUI.
Re:How to manage HTML DOM with vanilla JavaScript only? on Thursday April 02, 2020 @04:31PM (#22763377)
> part of WebComponents

WebComponents do not have DOM diff APIs whatsoever.

Older »