Daily News Edition

Hegseth makes surprise appearance in Venezuela, renews military partnership; Putin touts Russia’s economy at APEC as Ukraine...

News and markets

  • Global headlines: Hegseth makes surprise appearance in Venezuela, renews military partnership (The visit comes less than a year after the U.S. capture of President Nicolás Maduro, whom the Trump administration accuses of running a criminal network with deep military ties); Putin touts Russia’s economy at APEC as Ukraine sends it toward a fuel crisis (A ramp-up in Ukrainian strikes on oil refineries has knocked out about half of Russia’s refining output, analysts say, and is darkening an already bleak economic outlook); and Six weeks after Trump’s Russian diesel deal, no tankers have reached the U.S. (Two ships changed course, and another has halted hundreds of miles from the coast. Analysts say potential buyers probably are worried about the implications of accepting a Russian import).
  • Markets leaned higher, with 7 of 7 tracked indexes up; S&P 500 up 0.00% was the largest move.
  • Benchmarks tracked: S&P 500, NASDAQ Composite, Euronext 100 Index, and Public Joint-Stock Company Moscow Exchange MICEX-RTS plus 3 more indexes.

Hacker News and Product Hunt

  • Hacker News: Ruby2ßhell: Pre-authentication RCE on stock Rails (Ruby2Shell (GHSA-34m4-m9fh-gqp5): a one-byte heap overflow in Ruby); What's New in PHP 8.6 (PHP 8.6 is a major update of the PHP language, with new features including Partial Function Application, a new Duration class, a Polling...); and Gemini 4 Neon (Today, we’re introducing Gemini 4 Neon).
  • Product Hunt features HeyGen Avatar 6 (AI Avatar Model That Looks Like You), Impractical (Make launch videos in the style of Framer, Notion, and more), and Every Signal (Diligence on any company in an hour, every number sourced).
13 min readSony MathewLatest market sessions as of 2026-11-19
Edition 2026-11-19

Global Headlines

Top stories across selected outlets, presented in a fast daily brief format.

Morning news brief

NPRUS

House Democrats nominate Hakeem Jeffries as next speaker of the House, President Trump met with China's Xi and Russia's Putin, AI giant Anthropic raises more than $100 billion in record-setting IPO.

African nations seek 'equitable' climate finance

African nations seek 'equitable' climate finance

China DailyChina

African countries are actively seeking more grant-based and highly concessional finances from developed nations to support climate adaptation and implement a just energy transition, a senior climate negotiator for the continent said on Tuesday.

Meeting in Shenzhen key to buffer regional fuel woes

Meeting in Shenzhen key to buffer regional fuel woes

China DailyChina

An energy shock sparked by conflict in the Middle East, combined with weakening global growth and volatile financial markets, is clouding the outlook for member economies of the Asia-Pacific Economic Cooperation, pushing them to defend multilateralism and resist protectionist trade policies, analysts said.

ASEAN moves to link power grids

ASEAN moves to link power grids

China DailyChina

The Middle East conflict is sharpening concerns about the Asia-Pacific's dependence on imported energy, lending urgency to the Association of Southeast Asian Nations' efforts to strengthen regional energy security by integrating power grids.

Bangkok forum urges deeper Sino-Thai ties

Bangkok forum urges deeper Sino-Thai ties

China DailyChina

Scholars from China and Thailand met in Bangkok on Nov 18 for the sixth China-Thailand Think Tank Forum, and called for closer academic, cultural and economic cooperation to advance the building of a community with a shared future.

Market Snapshot

Latest completed sessions across the selected benchmark indexes.

IndexRegionSession DateValueChangeDirection
S&P 500
US2026-11-190.000.00 (0.00%)Up
NASDAQ Composite
US2026-11-190.000.00 (0.00%)Up
Euronext 100 Index
Europe2026-11-190.000.00 (0.00%)Up
Public Joint-Stock Company Moscow Exchange MICEX-RTS
Europe2026-11-190.000.00 (0.00%)Up
HANG SENG INDEX
Asia2026-11-190.000.00 (0.00%)Up
Nikkei 225
Asia2026-11-190.000.00 (0.00%)Up
S&P BSE SENSEX
India2026-11-190.000.00 (0.00%)Up

Hacker News

Ten notable links from the last day in the Hacker News ecosystem.

What's New in PHP 8.6

php.net

PHP 8.6 is a major update of the PHP language, with new features including Partial Function Application, a new Duration class, a Polling API, and a new clamp() function

Gemini 4 Neon

blog.google

Today, we’re introducing Gemini 4 Neon

15M web servers on one VM – smoltcp, DPDK, AF_XDP

kapteko.com

Put a web server online and everyone starts trying to hack it. Why? A basic rule of economics. Short supply, big demand - there aren’t enough web servers for everyone. Let’s run a web server for every human on the planet, all 8 billion of them. I couldn’t get funding, so we’re bootstrapping. The goal is to run 15 million web servers on one VM with 10GB of RAM and 1 CPU core. If we succeed, I’ll find some RAM from old microwaves around the house and we’ll scale it up so everyone can have their own web server. Demand will drop to zero and cybersecurity will be solved once and for all. Web server Instead of vibe coding it all, let’s use an ancient technique called learning . First of all, what is a web server? There are a few essential syscalls. listen - syscall, asks kernel to listen for connections on a socket accept - syscall, accepts a connection on a socket recv - receives data from a socket send - sends data close - closes What is a syscall? A function that is executed by the OS kernel. Whatever fancy language or library you use for HTTP, it all comes down to those syscalls (well, yes, but actually no). Let’s use C to make it all explicit. We start listening, then read from the socket in a loop and always reply with OK . int main ( void ) { // We use port 0 which makes OS return any available port int server = socket ( AF_INET , SOCK_STREAM , 0 ); if ( listen ( server , 128 ) 0 ) return 1 ; const char reply [] = "HTTP/1.0 200 OK \r\n Content-Length: 2 \r\n\r\n OK" ; for ( int client ; ( client = accept ( server , NULL , NULL )) >= 0 ;) { if ( recv ( client , NULL , 4096 , MSG_TRUNC ) > 0 ) send ( client , reply , sizeof reply - 1 , MSG_NOSIGNAL ); close ( client ); } } It couldn’t be simpler: listen on a socket, accept a connection, read the data, send a reply, close the client connection, and repeat. It gives us around 65k RPS. Now that we’ve learned everything, let’s finish the article and call it a day: $ for i in $( seq 1 15_000_000 ); do echo $i ; ./server &; done ... ... 28232 program exited with error 1 Hm, why did listen fail? Ah, we’ve run out of ports! We’re using port=0 , so the kernel picks an available port from ip_local_port_range . $ sysctl net.ipv4.ip_local_port_range net.ipv4.ip_local_port_range = 32768 60999 Why are so many ports skipped? Historically, port 0 was created for outbound connections. When you call connect('example.com', 80) , Linux connects to the remote server (the sending part) and then allocates a random port on the host from ip_local_port_range to receive data (the receiving part). There are a few reasons the default range is small. Port 0 is special. You cannot listen on it (actually, you can - https://acid.vegas/blog/the-port-that-does-not-exist/ ). Ports 1-1024 require root. Ports 1024-32768 are skipped to keep dynamically allocated ports from conflicting with existing apps. You don’t want to call connect('example.com') and end up allocating port 3306 to receive incoming data. mysql cannot start because you have example.com open in your Firefox would make for a confusing UX. Ports 60999 - 65535 are excluded for historical reasons dating back to IP Masquerading. Nothing prevents us from overriding the range and using 1-65535 , but that’s still a bit short of 15 million. A UDP server and a TCP server can use the same port, so we can double that to 128k. We could run a proxy in front to forward requests to the right process (virtual hosting, yay), but these are all ancient techniques - in the AI era, whenever you have a software problem, you just throw money at the hardware. Let’s simply connect 15M/32k=450 new network cards to the server. The 65k limit comes from the TCP standard. A port is a u16 , so even if we hack the kernel with find '*.c' -exec sed -i 's/u16/u32/' \; to support bigger port numbers, normal clients still wouldn’t be able to connect. Each listening server is identified by a (protocol, IP, port) tuple. That explains how we can use the same port for UDP and TCP. It also means we can use a bunch of different IPs for our web servers. If we connect 450 network cards to the server, we’ll get 450 unique IP addresses and be able to listen on 15 million unique addresses! UPD. I’ve heard from readers that the network card is the ONLY hardware component that didn’t get 100 times more expensive in the last year. Can’t we avoid ruining that too and solve this in software? Let’s use a beautiful technology called AnyIP , which lets us listen on a whole subnet. Many VPS and dedicated server providers routinely give you a whole TCPv6 subnet. We can simply run sudo ip -6 route add local 2001:db8:1234:5678::/64 dev lo to get 18 quintillion addresses (plus or minus one) to listen on. You can do the same for IPv4 - acquiring a subnet with 15M addresses would cost around $250 million, so adjust the command for your environment. We’ll change our server to pick the nth IP from our range: // Read IP index from CLI, shift base IP by it int i = read_cli_param ( argv [ 1 ]); const uint32_t base_ip = 0x 0a400001 ; // ex. 10.64.0.1 addr.sin_addr.s_addr = htonl ( first_ip + i ); // shift, ex. 10.64.0.2 And now we can finally finish the article. $ for i in $( seq 1 15_000_000 ); do echo $i ; ./server $i &; done ... ... Out of memory Hm, one server consumes 1.5MB of RAM, so running that many would take… 20TB of RAM, which is a few bytes more than our 10GB budget. Runtime By pure coincidence (what are the odds?), I explained in Running 10 million Codex CLIs on one server - LFI processes why running millions of processes creates too much overhead. The answer is to run them all in one process inside a custom runtime, much as V8 can run millions of guests in a single process. In Userland Linux scheduler in Rust , I showed how to build a specialised userland scheduler and switch between tasks with the absolute minimum amount of RAM per task. TLDR: We’re using LFI for sandboxing. It gives us memory isolation and replaces all syscalls with calls to our host handler, which lets us implement I/O however we like. To schedule multiple guests, we load them all into our main process’s memory and make the CPU constantly switch between guests - we become our own micro OS. Since we need to save every byte and CPU cycle we can, we’re doomed to build another specialised runtime. Let’s get started. How much is 10GB divided by 15M, exactly? Ten Great Britains divided by 15 million gives around half of kilo britain. Not much. If we run all our guests in our runtime, our custom scheduler needs to switch between them. What’s the absolute minimum state we need to preserve for each guest? We can ignore server initialisation and assume switches only happen within the main loop. Let’s take another look at the loop. for ( int client ; ( client = accept ( server , NULL , NULL )) >= 0 ;) { if ( recv ( client , NULL , 4096 , MSG_TRUNC ) > 0 ) send ( client , reply , sizeof reply - 1 , MSG_NOSIGNAL ); close ( client ); } This code has only two state variables, server and client . Both are simple file descriptors. If our scheduler had to suspend a guest at any syscall point in this loop, we’d need to save the following state: struct Context { pc : u64 , // Instruction address to return to fd_server : i32 , // server file descriptor fd_client : i32 , // client file descriptor } We only need 16 bytes per guest, so to run 15M guests in our runtime and be able to suspend them and switch between them, we would need 220MB of RAM. We’re playing it safe here - we don’t need the full u64 or i32 , and with bit packing, we could probably get down to 8 bytes per guest. What else do we need? $ codex "How much TCP connection takes?" Idle connection takes zero, while active connection consumes around 5kb Here’s what we get if we assume that only 1M of connections are active at any given moment. 14M idle connections - 0 bytes Scheduling state for 15M guests - 220MB 1M active connections at 5kb each = 5GB Only half of our RAM budget, yay! I don’t often exceed my own expectations. Let’s validate it: int main ( void ) { // Run 14M of idle connections - just listen and do nothing // SHOULD CONSUMER ZERO MEMORY! for ( int i = 0 ; i 14_000_000 ; i ++ ) { int server = socket ( AF_INET , SOCK_STREAM , 0 ); listen ( server , 1 ) } } $ ./run_15m_idle_servers Out Of Memory $ dmesg | tail -n 1 'SHOULD CONSUMER ZERO MEMORY' - what are you, stupid? Looks like the kernel still has some leftover comments from Linus. I’m not stupid, but I have to admit I was below average here. While an LLM is a significant boost for learning, it’s too easy to accept its answers without thinking critically and feel ashamed later on. But hey, embarrassment is a cost of entry - let’s dive into networking in the kernel. Networking in the kernel Remember when I said that our simple server uses only 5 syscalls? I missed one that was right in front of me. Let me highlight it: int main ( void ) { for ( int i = 0 ; i 10_000_000 ; ++ i ) { socket ( AF_INET , SOCK_STREAM , 0 ); } } That code will OOM in a 10GB VM. The socket syscall allocates around 3300 bytes, whether the socket is active, listening, or doing nothing. Linux was clearly written at a time when RAM was big and cheap, sigh. Let’s ask AI where all the memory goes: Struct sizeof Description struct tcp_sock 2240B TCP state, queues, timers, sequence numbers, congestion control, retransmit and delivery bookkeeping struct socket_alloc 768B A 128-byte struct socket with an embedded wait queue, plus a 608-byte sockfs inode and padding struct file 184B Open-file operations, flags, credentials, reference count, and the pointer back to the socket struct dentry 192B The sockfs pseudo-name, inode pointer, and VFS lookup and lifetime bookkeeping Total 3384B Potato-potato, TLDR, the kernel uses that memory for many things. I was hoping to see some buffer: [u8; 3300] , but it doesn’t look like we can optimise much without rewriting half the kernel. It’s Sunday and I have few tokens left, so we’ll have to think instead - how can we bypass the kernel? What are our options? Engineering wisdom tells us that if we can’t solve a task, we’re working at the wrong level of abstraction. Hm… level, level, layer. Wait a minute! We started with HTTP and went level down to TCP/IP. That reminds me of something! Mom! Mom! Where are all my university books? I NEED THEM NOW! The OSI model is… um… something I studied at university. Yeah, that’s a good definition. We started with our app and HTTP at the application layer, then went down to TCP/IP at the transport layer. There are three more layers below that. Can we go lower to get full control and solve our RAM problem? Oh yes, that’s exactly what operating at the network and data link layers lets us do. What about going to the lowest? Clear. Each layer wraps the data from the layer above it.

Product Hunt

Featured products from the latest public Product Hunt listings.

HeyGen Avatar 6

Product Hunt

AI Avatar Model That Looks Like You

Impractical

Product Hunt

Make launch videos in the style of Framer, Notion, and more

Every Signal

Product Hunt

Diligence on any company in an hour, every number sourced

Rezora IO

Product Hunt

Shopify for AI voice agents: live in 10 minutes

Source Notes

Generation details, data coverage, and any partial-source warnings for this edition.

Generated At
Nov 19, 2026, 3:26 PM GMT+5:30
Time Zone
Asia/Kolkata
News Sources With Data
Washington Post, Al Jazeera, NPR, China Daily, The Hindu, Reuters
Market Session Label
Latest market sessions as of 2026-11-19
#daily-news#markets#hacker-news#product-hunt