HackerTrans
TopNewTrendsCommentsPastAskShowJobs

_ikke_

no profile record

Submissions

Fragnesia

github.com
9 points·by _ikke_·há 2 meses·0 comments

Spec: Generic Methods for Go

github.com
1 points·by _ikke_·há 3 meses·0 comments

comments

_ikke_
·há 5 meses·discuss
My favorite from this release.

> The built-in new function, which creates a new variable, now allows its operand to be an expression, specifying the initial value of the variable.

So no need for separate helpers anymore to instantiate a pointer to a literal.
_ikke_
·há 6 meses·discuss
As long as what it says is reliable and not made up.
_ikke_
·há 6 meses·discuss
That's why I mentioned multiple addresses. The public addresses (assigned using SLAAC or DHCPv6) are for global reachability, while you use the local prefix for stable addresses within your network.

If you want stable global addresses, you should request an AS number and prefix, and choose a provider that allows you to announce it with BGP.
_ikke_
·há 6 meses·discuss
The ipv4 routing table contains many individual /24 subnets that cannot be summarized, causing bloat in the routing tables.

With ipv6, that can be simplified with just a couple of /32 or /48 prefixes per AS.
_ikke_
·há 6 meses·discuss
With IPv6, it's common to have multiple addresses on an interface.

So on options is to assign yourself an [RFC 4193](https://datatracker.ietf.org/doc/html/rfc4193) fc00::/7 random prefix that you use for local routing that is stable, while the ISP prefix can be used for global routing.

Then you don't need to renumber your local network regardless of what your ISP does.
_ikke_
·há 7 meses·discuss
Instead, you get to hunt the nouns.
_ikke_
·há 11 meses·discuss
It affects many open source projects as well, they just scrape everything repeatedly without abandon.

First from known networks, then from residential IPs. First with dumb http clients, now with full blown headless chrome browsers.