rustc
rustc on Hacker News
That's how you get this feature:
https://wiki.php.net/rfc/deprecate-bareword-strings.
tldr: undefined constants were treated as a string (+ a warning), so `$x = FOO` was `$x = "FOO"` + a warning if `FOO` was not a defined constant. Thankfully this feature was removed in PHP 8.
Posted by
rustc on Monday November 17, 2025 @09:45AM
from the kx.com dept.
Posted by
rustc on Wednesday November 05, 2025 @01:36PM
from the motion.dev dept.
Posted by
rustc on Tuesday November 04, 2025 @03:22PM
from the seroundtable.com dept.
> what's next?
Removing existing Docker images? Seems unlikely.
It's still risky if you pay unless you have a contract guaranteeing what the renewal price would be.
> OR they acknowledge that it's almost impossible to build a website without some form of tracking
Why would it be almost impossible to "build a website" without tracking?
Another weird idea: make this kind of tracking illegal. Why would anyone willingly agree to be tracked?
Or just ban this kind of data collection. Is there any reason anyone would willingly click "Accept" when a website asks to share your data with 500+ partner sites?
Does any host provide more compensation than refund for downtime?
What is the right way to make ripgrep behave closer to `git grep`? Plain `rg` ignores files inside hidden folders like `.github`, `rg --hidden` will search `.github` but also search inside `.git`. I currently have this alias that I don't remember where I found: `rg --hidden --glob '!*/.git/*'`. Is there a better way?
I would prefer a solution that works from outside git repos, so no piping `git ls-files` into rg.
But will the "big fine" be more than the money LinkedIn will make by doing this?
It would disallow private forks of WordPress (require them to share the modifications) but I don't know whether WPEngine and other hosts have any private modifications or they all use stock WordPress.
> If your bank calls you, hang up and log in or call their support number yourself.
And don't trust the number you see on Google. Google is known to show scammers' phone numbers in featured snippets or in their new "AI Mode". Click on the link and make sure it's the correct site before trusting the number.
Posted by
rustc on Friday September 12, 2025 @07:41AM
from the wsj.com dept.
The notifications are not real time. You can rack up a significant bill before they are triggered.
And what if they don't say "no problem"? Like the Netlify case where they at first offered a reduced bill (which was still a lot) before the post got viral and the CEO stepped in.
> Included in Always Free Tier
> 1 TB of data
Someone can rent a 1Gbps server for cheap (under $50 on OVH) and pull 330TB in a month from your site. That's about $30k of egress on AWS if you don't do anything to stop it.
> If you put your information freely on the web, you should have minimal expectations on who uses it and how.
Does this only apply to "information" or should we treat all open source code as public domain?
> If you want your content to be free, you release it and have no issues with AI. If you want to make money of your content, add a paywall.
What about licenses like CC-BY-NC (Creative Commons - Non Commercial)?
This is like `curl | bash` but you automatically execute the code on every webpage you visit with full access to your browser.
> Malicious actors can hide instructions in websites, emails, and documents that trick AI into taking harmful actions without your knowledge, including:
> * Accessing your accounts or files
> * Sharing your private information
> * Making purchases on your behalf
> * Taking actions you never intended
This should really be at the top of the page and not one full screen below the "Try" button.
Posted by
rustc on Tuesday August 26, 2025 @03:07PM
from the reuters.com dept.
Since when does PayPal Honey replace ads on websites?
> PayPal Honey is a browser extension that automatically finds and applies coupon codes at checkout with a single click.
There are many APIs that scrape Google but I don't know of any search engine that scrapes and rebrands Google results. Kagi.com pays Google for search results. Either Kagi has a better deal than SERP apis (I doubt) or this is not legal.
> Should curl be considered a bot too? What's the difference?
Perplexity definitely does:
$ curl -sI https://www.perplexity.ai | head -1
HTTP/2 403
> Crawling and scraping is legal. If your web server serves the content without authentication, it's legal to receive it, even if it's an automated process.
> If you want to gatekeep your content, use authentication.
Are there no limits on what you use the content for? I can start my own search engine that just scrapes Google results?
It's ironic Perplexity itself blocks crawlers:
$ curl -sI https://www.perplexity.ai | head -1
HTTP/2 403
Edit: trying to fake a browser user agent with curl also doesn't work, they're using a more sophisticated method to detect crawlers.
And now you spend the same time verifying/reviewing AI output?