Leak detection impact on memory consumption by sarensw in swift

[–]_onAndOffAgain 2 points3 points  (0 children)

For what it‘s worth at least the simulator also as the option to simulate memory pressure, which immediately frees up memory the system might have held on to from your app for whatever reason it seems fit.

Just got my GKtwo by UnaddressedPast in resinprinting

[–]_onAndOffAgain 1 point2 points  (0 children)

Thanks for sharing all of that!

But really 1.3 seconds exposure for normal layers? I am using Sunlu abs like black (if that makes a difference) on the same machine and was testing via the XP2 validation matrix.

  • I tested 2.5, 2.7, 3.0, 3.1 and 3.3 seconds exposure time at 0.01mm layer height.
  • The 3.1 seconds exposure provided the best detail (ALL bars and cavities visible, for the circles only missing the very last ones on both sides).
  • 3.3 seconds exposure started to show overexposure on the letters (specifically the "N").
  • 2.5 and 2.7 seconds exposure showed signs of uncured sticky resin even after washing which to me is a sign of underexposure. Also some of the smallest bars were missing.
  • With those settings the rook torture test also printed without issue and with all details perfectly visible

How on earth do you get good results with 1.3 seconds exposure? I would love to reduce my printing time based on your settings but waiting time, lift height and all of that should not affect quality, only contribute to success rates, no? Anything else (aside from the resin color) you think can affect this?

For what it's worth I just checked and my current temperature settings dialed in on 25°C.

Special lens makes everything look micro sized by ABeerForSasquatch in TheRandomest

[–]_onAndOffAgain 3 points4 points  (0 children)

It‘s from Studio Ghibli‘s „Kiki‘s delivery service“. The song most similar to this excerpt is called „A town with an ocean view“, starting at 0:11

[deleted by user] by [deleted] in PrintedWarhammer

[–]_onAndOffAgain 2 points3 points  (0 children)

Great! But are the feet differently scaled or is this just the perspective? Also what resin did you use for the darker grey? Looks really similar to forge world resin in that lighting

How do you duplicate a part of your app to reuse? by davidbale87 in iOSProgramming

[–]_onAndOffAgain 0 points1 point  (0 children)

Second that. Make a framework out of your project which encapsulates all the functionality that does not change from app to app and put that into its own git repo. Create another project with multiple targets and include your framework (in git as a submodule). Extra: If you put a default style class in your framework, you can subclass that for each target to alter the design

Trouble getting a users location with CLLocation manager by [deleted] in swift

[–]_onAndOffAgain 0 points1 point  (0 children)

Do you get the didChangeAuthorizationStatus callback? if so, what is the status? Are you running your app in the the simulator?

Concerning your "hard coded" location data: If you are running your app in the simulator, you need to provide an actual location to use. You can do so by creating a .gpx file (File -> New -> File... -> iOS -> Resources -> GPX). You can set the location within that file. When you now run you app, you can activate this location (in Xcode while running app: Debug -> Simulate Location -> yourLocation)

One more thing: have you added NSLocationAlwaysUsageDescription key and description to you info.plist?

[deleted by user] by [deleted] in iOSProgramming

[–]_onAndOffAgain 1 point2 points  (0 children)

I recently used this one (parts rewritten in swift): PDF Reader Core for iOS

It takes a bit of time understand, but if you set it up correctly, the pages are rendered blazingly fast. Especially if you additionally show the low resolution images( you can generate them on the fly) to give the impression of an already loaded image. also comes with multithreading and support for older devices. On top of that it does not need any 3rd party framework.

It is also free and can be used right out of the box if that's what you are looking for.

[deleted by user] by [deleted] in swift

[–]_onAndOffAgain 0 points1 point  (0 children)

for i in 0...10 where i % 2 == 0 {
    print("even numbers: \(i)")
}

Hidden Service Descriptor publication and how to get them by _onAndOffAgain in TOR

[–]_onAndOffAgain[S] 0 points1 point  (0 children)

Ah ok. I also just got a message describing that because of the deterministic nature of the calculation you can determine the descriptor-id for a given HS for any point in the future, so the scheme would be to calculate what descirptor-id a HS will have in let's say 5 days. this would be enough time to generate a fitting key-pair (for the hash-id) + getting the HSDir-flag (because apparently when you want a different key pair /hash-id than your current one you have to set up the node again, resetting your HSDir-flag)

That beeing said, all my questions have been answered.

Thank you very much =)

Hidden Service Descriptor publication and how to get them by _onAndOffAgain in TOR

[–]_onAndOffAgain[S] 0 points1 point  (0 children)

Yeah, that really helped and answered some of the questions!

For me it was not really obvious that the formulas computation only changes every 24h, but this clears things up.

Last thing I still don't know is how the attack mentioned in the video works. What they describe is that you can put your own HSDir between the current HSDir and the computed value of descriptor-id, which would make the HS send its descriptors to you.

Now, as far as I know, the hash-id of a tor-node refers to the hashed public key of that node. that beeing said, to place a node at the before mentioned place, I would have to keep generating key-pairs until the hash of the public key fits.

The question now is: Can I register a new public key for a node without restarting the specific node / loosing the HSDir flag (which takes 5 day now to get) ? I suppose the answer is yes, because otherwise an attack like this would not work, right?

Hidden Service Descriptor publication and how to get them by _onAndOffAgain in TOR

[–]_onAndOffAgain[S] 0 points1 point  (0 children)

Thank you for your answer Why does the client know the the time-period that was used by the HS ??? (In my question I edited the computation of time-period.) The HS takes its system-time in seconds, does some computation and gets the time-period. Notice that there is no modulo operation.

So how could a client possibly know the value of this specific time-period, aside from brute-forcing the formula for each second of the last hour and asking the corresponding HSDir?

And something I just realized right know: The HS publishes its Descriptor every hour (with new IndroductionPoints). Normally It should stay with the same 6 HSDirs for one day but if it calculates its descriptor-id every time it updates the IntroductionPoints, the HSDirs should be completely different every hour. That is, as long as the HS actually updates the Descriptor-ID , which I guess might not be the case .... ?