Hacker Newsnew | past | comments | ask | show | jobs | submit | dopp0's commentslogin

I have fond memories of scripting for mIRC, it was one of my first dev languages, together with clipper and delphi/pascal.


the world belongs to the braves


I think what he meant is that the wildcard is not supported in the origin itself, for instance: https://*.somedomain.com.

per documentation, it's either "*" or "https://subdomain.somedomain.com"


That was in fact it, lack of a subdomain wildcard. I got really confused because I opened one project I thought had this issue, saw the ACAO header was set to *, and thought I hallucinated the whole thing out of some different issue. But it was a different project where I needed to allow internal access, which would have been easy with a hardwired response with a wildcard, but instead I needed to write a whole lambda endpoint just to pull out the requesting host and put it in the ACAO header. Also easy, but what a waste.

Either way, kind of a digression into details of CORS that wasn't necessary for the introductory treatment, so I edited it out.


if it's just travelling: most streaming services allow downloading music so you can listen offline for some time (ie spotify)


why 443? are you assuming ssl here? serious question, I'm not sure. But if it is, wouldn't it be hard to disregard the weight of SSL in the metric?


The code closes the connection immediately after opening a plain TCP socket, so no SSL work is done. Presumably 443 is just a convenient port to use.


tcp/443 is likely an open port on the target service (Dynamodb based on the domain name). TLS is not involved.

ICMP ECHO would be a bad choice as it is deprioritized by routers[0].

[0] https://archive.nanog.org/sites/default/files/traceroute-201...


The script connects to well known 'dynamodb.' + region_name + '.amazonaws.com' server that expects HTTPS


> fairly robust DNS setup that consists of not only giving A records to all my hosts

looks nice, can you give more details on this? tks!


which LLM are you using for those frontend usecases? chatgpt? and you ask in prompts for some framework such as tailwind?


Shadcn & Vercel have created https://v0.dev/ which is pretty incredible


See Vercel's v0.dev.


Thanks for the memories. Good old times I was programming in SuperWaba for palmOS!


if they were obfuscated the urls the app itself would need to process it to un-obfuscate, then the performance would take a hit, but I get your point. It's just the wrong service to host this.

PS: could not check the link, as my country blocked twitter.



2 CVE's: CVE-2024-6119 and CVE-2024-5535


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: