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

> The change had the unintended consequence of causing IPv4 addresses to start being passed as an IPv4-mapped IPv6-compatible address to our IP Allow List functionality.

Sounds like this bug: "Unable to reliably distinguish IPv4-mapped-IPv6 addresses from regular IPv4 addresses" https://github.com/golang/go/issues/37921 .

Use https://pkg.go.dev/net/netip instead.


Sounds like the opposite of this bug. GitHub's system represents 0.0.0.0/0 and ::ffff:0.0.0.0/96 as distinct values, when they should be merged/normalized.

I think it's best to treat IPv4-mapped addresses as an implementation detail of the socket API, and not leak them into general purpose code.

Though things get interesting when an external user provides "::ffff:1.2.3.4" as text.


A fair conclusion.

SREs predicated Twitter would crumble when Twitter's SRE team was laid off. It had some hiccups, but seems stable now.

I suppose the next line of defence is that it takes a while for architecture to crumble.

Time will tell whether that's accurate, or a No True Scotsman.


It sounds like the SREs did a good job of making resilient services


Takeaway is building resilient services is bad for job security lol.


Disclaimer: I've worked in SRE.

My position is that early SRE solved the hard parts, before I was involved. Services and platforms became reliable. The field is mature. SREs still point to risks, but execs have called their bluff.

The takeaway is to make sure you are actually creating value. Maybe Twitter's SREs were not actually improving reliability much.


>SREs predicated Twitter would crumble when Twitter's SRE team was laid off. It had some hiccups, but seems stable now.

I think SREs knew better than to claim such. I saw tons of non-SREs claim that Twitter would surely immediately collapse. Then the 2022 FIFA World Cup occurred immediately after the mass layoffs ... and Twitter kept on working.


They also vastly scaled back the number of services operating though. This whole thing of saying its stable with x << 100 % of staff is kind of nonsense when it its users, revenue, and features are also << what it used to be.


I don't use xitter so forgive my ignorance. What services did they scale back?


My anecdotal impression is the pace at rolling out changes and features seems to have also increased.


There's a time and space for games, but I'll just note that for HN readers, following https://www.amazon.com.au/Digital-Design-Computer-Architectu... and building a RISC-V in Verilog is easily manageable.


Are you aware that "Turing Complete" has a Verilog export function?


> This is described well in Atomic Habits. Train yourself to think “I am just not the kind of person who does x.”

Is this just basically willpower?

Or perhaps I should read the book to find out.


No. Changing your identity is much more powerful and sort of operates in a background process whereas willpower is more of a conscious foreground one and very difficult to sustain long term.

Read the book. It goes into some detail.

I’ve worked with thousands of people personally over the years to help them with supposedly difficult to treat addictions for instance. Willpower is fine to start, but completely fails in the long term. Identity change is the only thing I’ve found that works long term.


This might be a stupid question, but what is "identity" in this context?

I ask because when this subject has come up I realize I don't seem to be able to think up theories about myself so easily


Run a few test theories and see what resonates. Are you the kind of person who goes to the gym every day? Are you the kind of person who works on their hobbies at night? Are you the kind of person who binges Netflix between dinner and bed? Are you the person who cooks dinner from scratch, or orders takeout at every chance? etc. I think of them a bit like stereotypes but applied to myself, and see if I think I fit.


It’s not supposed to be descriptive in this case, unless it’s a reflection or self-assessment. For goals, it’s supposed to be aspirational, like a vision you cultivate for yourself. You can meditate on that self-image, or identify other people with that trait and associate yourself with them, etc. The idea is that you will violate your sense of self by acting against how you expect yourself to be.


I'll look into it. I think I acquired frugality from reading a few books that made me frugal.

I'd like other traits too.


First time I’m reading about a character trait walking straight off the page into the reader’s life..


People who consider themselves "gym rats" go to the gym because it is what they do.

People who are mountain bikers don't ride to keep in shape, they look forward to getting on their bike.


Those are easy to see, but there are few people who clean their dishes for fun/leisure.


I clean my dishes because I like having a clean / neat household, "I am the kind of person who keeps my space in order". I find that helps!


I have met some of them. And I can say for certain I find using a dishwasher more fun than washing by hands. Even if it's family time etc. etc.


True, but I take loading a dishwasher as a puzzle to do it in the most compact/efficient way, which helps with adding enjoyment to the process.


No but there are people who pride themselves on always keeping a clean kitchen etc


For years, I was "a person who liked to ride my bike 300+ miles in a day". Then one day I realized that was a lie, or at least only a half-truth. Then I realized that most of why I did it was that I liked to keep in shape, and to eat a lot.


Somehow you've made a step in the exact opposite direction of what seems to be encouraged here. Does it still work out for you?


It's more like discipline. You don't do something because you decide to become a person who just doesn't do that thing. It becomes part of your identity, rather than a decision you have to continuously make.


I find F-Droid is a good source for ad-free apps:

Solitaire: https://search.f-droid.org/?q=Solitaire&lang=en


https://paulgraham.com/disagree.html calls this level of critique "DH1. Ad Hominem.".

> Of course he would say that. He's a senator.

> Of course [they] would say that. [They're Tory leaning].


> Of course [they] would say that. [They're Tory leaning].

Except this bit is true.

Post-Brexit, the incumbent Tory government has been desperate to frame everything in a "UK first" or "Great British" light, even if it is patently not true or some massaging of the data is required to make it appear so.

Therefore, whilst I am not necessarily disputing the headline statement, the point I am making is that it would have been nice to see a link to an impartial, independent website (preferably with raw data attached) rather than a known Tory-leaning rag.

And in relation to emissions in particular, just look at the way the present government fought the Uxbridge by-election on the basis of a complete pack of scaremongering lies about ULEZ (Ultra Low Emission Zone). That was in August 2023, and a leopard doesn't change its spots.


> And in relation to emissions in particular, just look at the way the present government fought [...]. That was in August 2023, and a leopard doesn't change its spots.

The article and topic aren't overtly political, no need to make it.


Nice. I've been looking for something like this to self-host, to avoid my partner uploading sensitive documents to random PDF manipulation websites.

Any better alternatives I should be considering?


If you happen to be on macOS, the Preview app does an absurd number of things to PDFs, and it does it well. To be honest I'm always surprised it isn't highlighted more by Apple, it's a great tool that pretty much always just works. You can split files, join them, rotate, add signatures, drawings, annotations, redact sections, etc. The feature list is long, especially considering that by the name of the application you'd think it could just preview files, not edit them.


> to be honest I'm always surprised it isn't highlighted more by Apple

Probably because its not so intuitive, I have to google how to use some of the advanced features of Preview.


I often use PDF Sam (basic) and usually it works quite well and is offline.

https://pdfsam.org/


A really nice, stand-alone command line tool is pdfcpu.

https://github.com/pdfcpu/pdfcpu


Looks great, but my partner needs something more convenient.

It needs to be web based and work on desktop/mobile.


You can simply use poppler-utils on your on computer? It's a collection of commandline tools for PDF-manipulation. More information can be found here: https://pypi.org/project/poppler-utils/


KDE’s Okular. Works on Linux, Windows and macOS.

If you’re on already macOS, Preview already has you covered.


Does it need to be a self hosted web based tool or do you just need PDF software? If the latter I find PDF Expert to be powerful and nice to use.


I use pdftool.org which I saw on HN a while back


Edge is surprising decent for marking up PDFs.


The meat of the article:

> the billionaires behind the steering wheel have mistaken cautionary tales and entertainments for a road map, and we’re trapped in the passenger seat. Let’s hope there isn’t a cliff in front of us.

I think the (well esteemed) author is overestimating the marginal impact of science fiction, and has mistaken correlation for causation.

Humans expanding their habitats is just plain old humanity doing its thing.


+1. I moved from Sourcehut when it announced IRS change of TOS. I realised I would prefer to support less discriminatory forges.

I also have no interest in crytocurrency.


> Obviously, for that last several years, things have been quiet around here. This has always been a one programmer show, and for everything, there is a season. The season for me is changing.

2000s: web scalability was an emerging field.

2010s: web scalability was a maturing field.

Scalability feels mature now. Maybe we'll see shifts: CRDTs, global SQL DBs?

Growth/investment seems to be in AI.


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

Search: