HN user

dalemyers

572 karma

[ my public key: https://keybase.io/dalemyers; my proof: https://keybase.io/dalemyers/sigs/huAEPmyUWJMpHEtlps6sIQaEx2YNIuazGwuNYhKN27w ]

Posts18
Comments50
View on HN

I've been on a low dose for a year. I've lost 25kg (60 lbs) without much effort. Yes, it definitely dulls my appetite, and if I want to have a nice meal, I need to plan ahead for several weeks so that I have it _just_ before my next injection. There's also the fact that I didn't realise how important snacking was to my mental health. Since I don't have that, I've had to find other ways to boost my mood.

As a brief summary, it absolutely delivers what it says it does. I've lost weight as it claimed due to appetite suppression and feeling fuller longer. However, it's more complex than that, and the battle to ensure I get enough protein has been tough.

This only occurs when you have Xcode set to automatically handle provisioning for you. If you don't, it doesn't happen.

That setting is meant to... well, communicate with Apple and get the latest provisioning profiles so that you don't have to manage them manually.

Xcode is terrible in a million different ways and Apple should be ashamed of it. But this is a non-issue.

I'm amazed that there's so many comments and yet not a single one is pointing out that the coffee bean is missing from the _right_ side of the image. Not the left.

This comment has a bunch of spoilers in it. I've watched it so this hasn't changed anything for me, but I'm sure many here intent to watch it but haven't had the time yet. Reacting these spoilers may be a good idea.

Part of the problem here is that Plex is included in so many different VMs, NAS images, SaaS offerings, etc. That it can be incredibly difficult and/or obscure to update it. I know I personally ran into issues with FreeNAS where once it was running I had no incentive to update. That shouldn't be how these offerings work. They should be encouraging updates.

Based on what exactly? According to Wikipedia, the Iraq War produced a total death count of 25,071 and a total wounded count of 117,961. Also according to Wikipedia COVID-19 has produced a death count of 6,868,964 and an infection count of 674,809,997.

I'm all for complaining about US tactics, but it's 100% incorrect to try and claim that the Iraq War was "worse" than COVID-19.

On the one hand, Apple are significantly better at design than car manufacturers so this should be good. On the other hand, moving from something at least close to an RTOS to this does concern me. When your speedometer freezes, who is going to take the blame?

The question makes sense. It’s a common joke in Scotland. “What’s the fastest town in Scotland? Naaairnnnn… “ (imagine car noises)

The “answer” on the other hand…

Edit: Just did a search and the answer comes from the top result which is a blog with that name. That blog has the joke posted on it. Google could be better here, but I think it's a little unreasonable for Google to understand jokes.

Being Poor (2005) 5 years ago

Lots of replies here about time, and while they are true, they aren’t the full story. The fact is that vegetables are ridiculously expensive in America compared to Europe. I’ve lived in both. I’ve been dirt poor and I’m now quite well off. Buying vegetables here in the UK costs literal pennies for many meals. In the US, the same veg can cost literally 10x as much in some cases.

Prepped food on the other hand is half the price in the US than it is in the UK. These two factors combined make it a no brainer to go for the prepped stuff over the raw ingredients when you are trying to save money.

Agreed. I've been expecting Apple to replace this format with a much more diffable one for years. I doubt that will happen now with the new support for Swift packages and the xed command.

Absolutely. I spent forever reverse engineering the format to write a Python parser (https://github.com/microsoft/xcodeproj). It covers the projects I need it to (one in particular is very complex, probably in the top 100 most complex ones out there - I'm sure you can figure out which from my profile). However, there are plenty of areas I had to guess. And this is just for reading, no writing support has been added at this point.

This is 100% true, but it's also one of the more difficult things in life to understand. It's one thing to know that other people have other experiences and needs, but it's another to really constantly feel that.

I'd like to see more assumption of positive intent on here, but it's definitely a hard task. I hope I didn't offend the original author here. I tried to ensure that I explained without chastising.

While I don't disagree that the pbxformat is awful, there are some reasons behind the design. Take the example of PBXBuildFile in the article. Here's a quote:

There is no other data in this object. Its only reason for existing, as far as I can tell, is to point to the actual PBXFileReference object which contains the filesystem path.

Now, that statement is true most of the time. But not always. Let's say you have a file in two targets (targets ~= binaries). In one of those targets, you need to set a build flag, but not the other, how do you do it? Well, you set it on the PBXBuildFile, rather than the PBXFileReference. In otherwords, you can have 2 different PBXBuildFile's, with 2 different sets of flags, pointing at the same actual file on disk.

Whether that's a good design or not is definitely up for debate, but I wanted to clarify that there are reasons behind everything.

Going further:

Since everything has a unique ID, a reasonable expectation would be that a) it would be unique per object and b) you would use that ID to refer to the target. Neither of these are true. For example let's define a single build target, which in Xcode/CMake parlance is a PBXNativeTarget. Since plist has a native array type, the target's sources could be listed in an array of unique ids of the files. Instead the array contains a reference to a PBXSourcesBuildPhase object that has a few keys which are useless and always the same and an array of unique ids.

Let's take a sub-statement here first: > Since everything has a unique ID, a reasonable expectation would be that a) it would be unique per object

The author claims this is false, but I've never seen a case where this hasn't held up. Numerous libraries depend on this fact.

you would use that ID to refer to the target

Also claimed as false, but you do. The argument the author makes talks about the build file stuff I mentioned above, so they may just be misunderstanding or have mis-spoken/written.

Just to re-iterate, I'm not a fan of this format at all. I'm actually in the middle of converting a million line project to use XcodeGen just so I can get away from it. But everything does have a reason.

I assume you are referring to me? I can assure you, I have absolutely zero stake in Poetry. I'm not one of the developers, I'm not even on of the contributors (excluding opening a bug report or two).

This isn't quite the same. Yes, I can update my root dependencies in the `requirements.txt` file, run `pip install -r requirements.txt` and the run `pip freeze > requirements.txt`, but that's convoluted and requires me to know exactly what my root dependencies are. Is `astroid` something our tools use directly, or is it just a dependency of `pylint`? It's not clear. A lockfile clears this up.

I've been watching this and I'm quite impressed at the lengths he has gone through to make this work. Designing and creating a custom alternator is definitely one of the more impressive things I've seen in engineering videos on YouTube.

Yup. I've got last years Macbook Pro, fully specced, and when I run lots of compilations in Xcode the battery steadily drains. I ran an intense script overnight a month or two ago and when I got back in the morning my battery was down to just a few percent. Thankfully the script finished just after that so I got incredibly lucky that it didn't run out all the way and lose all the progress.

My Favourite Diff 6 years ago

You can even take it a step further:

    if ($foo == 123) {
      do1();
    }
    
    if ($foo == 123 || $foo == 23) {
      do2();
    }
    
    do3();

What am I missing here? Surely if this were true, Nord would be able to unblock basically every service. Netflix, prime video, etc. Would all work. That's not the case though?

I just saw an advert for this on TV. The advert shows multiple employees talking about the advantages of working in an Amazon fulfilment centre. They offer tours so that you can see this first hand.

While this is clearly an effort to help shed the negative image that they have for their employees, if they are willing to put it under the microscope, then hopefully that implies that there really have been improvements that will stick?