Hacker News new | past | comments | ask | show | jobs | submit | tech234a's comments login


Depending on how well the files compress, you could try: https://developer.mozilla.org/en-US/docs/Web/API/Compression...


Real-time status for that project indicates 7.5 billion goo.gl URLs found out of 42 billion goo.gl URLs scanned: https://tracker.archiveteam.org:1338/status


I think the uBlock Origin maintainer generally encourages donating to filter list maintainers instead of


I regularly use plus codes on my email addresses when I sign up for services, is there a way to search for an email address and all associated plus codes? Last I checked I couldn’t find that functionality.


If you use a custom domain, in the dashboard you can claim the whole domain and then see every breach for every address under it. Otherwise I don't think so.


Similarly, browsers also accept IP addresses in decimal form, for example http://16843009 for 1.1.1.1


And the shortened form, eg. http://127.1/ (for 127.0.0.1)


TIL


or a public one, http://1.1/


Usually they'll also accept octal with a leading zero (010.010.010.010 is 8.8.8.8), hexadecimal with a leading 0x, and omitted 0 octets (127.1 is 127.0.0.1). IIRC these are all adopted from BSD's sockets library, or some similar early IP implementation


They will accept IPv4 addresses in IPv6 addresses too:

http://[::ffff:1.1.1.1]/

Sadly, cloudflare does not.


That is a syntactically and semantically valid IPv6 address; no browser trickery.


OS trickery, though, because it doesn't send IPv6 packets to that IPv6 address, but rather sends IPv4 packets to the corresponding IPv4 address.


Which doesn’t conform to RFC 3986, by the way.

   The syntax rule for host is ambiguous because it does not completely
   distinguish between an IPv4address and a reg-name.  In order to
   disambiguate the syntax, we apply the "first-match-wins" algorithm:
   If host matches the rule for IPv4address, then it should be
   considered an IPv4 address literal and not a reg-name.
This means that URL syntax like http://16843009/, http://127.1/, http://010.010.010.010/, and http://127.0.0.1./ (note the final dot) should be interpreted as domain names, not as IP addresses. (Domain labels are allowed to be purely numeric.)


But it does comply with WHATWG’s URL Standard, which declares the goal of obsoleting RFC 3986, providing something that’s actually robustly implementable, and reflecting reality.

Some things do definitely try to follow RFC 3986 still, but my feeling is that it’s mostly legacy stuff, and the URL Standard is much more important these days. Though RFCs dealing with URLs will probably still cite it (e.g. RFC 9110, HTTP Semantics, June 2022).

https://url.spec.whatwg.org/#host-parsing, follow step seven.


True, though the WHATWG algorithm still raises validation errors internally for all these cases. Meaning, while these representations are leniently accepted, they aren’t intended to be valid representations.



What's decimal form (base ten?) and why is that 16843009 the decimal form of 1.1.1.1?


1.1.1.1 is 0x01010101 and 0x01010101 is 16843009 in decimal


> 1.1.1.1 is 0x01010101

Huh, in many years of web development I never knew that. Thanks!


Once you got that you will have a way simpler time to understand netmasks and similar and calculate IP ranges etc. it's just a 32bit integer (in ipv4; 64bit with ipv6) and the dots separate the individual bytes to give a "human friendly" representation.


Um no. Parent is exactly right: p256^3+q256^2+r*256+s


Your homework is to read up on the structure of the IP4 dataframe header.


Both of these are the same thing


00000001 00000001 00000001 00000001 = 16843009 in base 10 (concatenate each dot-separated 8bit number as one big base 10)


IP addresses are 4 bytes, each in the range 0-255. In binary bits xyz would be equivalent to decimal x2^2+y2+z. Similarly, bytes abc would be equivalent to decimal a256^2+b256+c.

IP address p.q.r.s is decimal p256^3+q256^2+r*256+s.


I'm bad at math. What's the algorithm for this? Something about 256^(1..4)?


You can think about it like the IP address in hex if you like: 0x01.0x01.0x01.0x01 becomes 0x01010101 which is 16,843,009. So the first 0x01 is 0x01000000 which is the familiar 16,777,216 which then gets the further "base 256 digits" added to it.

Or maybe in your terms it's 256^(0..3) where you can think of it like each dotted component is a symbol (like 0-9 in base 10) where each component is a position digit. Where the right-most element is the "256^0" ("ones") digit, and the left most element is the "256^3" ("16,777,216s") digit.


IPs are 4 octets, normally represented as a decimal between 0 and 255, or 00000000 and 1111111 in binary.

Remove the dots and concat the binary value for 1.1.1.1 and you get 00000001000000010000000100000001.

Convert that binary value to decimal and you get 16843009.


echo 256^3+256^2+256^1+256^0|bc

16843009


Ha, then I was right, but with a one-off error!


I think apps have to request permission to use Bluetooth on iOS with the exception of audio playback


As a counterpoint, Microsoft is in the process of discontinuing Publisher and plans to remove it from M365 installations next year.


Only one I'm aware of is Delta Emulator by Riley Testut [1].

[1]: https://www.macstories.net/news/an-app-store-first-delta-add...


It was actually a Windows application that shipped it's own runtime copy of Windows [1].

[1]: https://news.ycombinator.com/item?id=42168173


Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: