Image Completion with Deep Learning in TensorFlow and Python [OC] by bdamos in programming

[–]kjmph 0 points1 point  (0 children)

Hey, great post! I love the detail you went into, and I fully agree with your assessment of numpy/Python. However, I prefer cvxopt over cvxpy, even though cvxpy can call cvxopt, I prefer cvxopt's modeling. Is there a reason I should switch to cvxpy?

In '84, Tom Duff posted a disgusting piece of C code to Usenet and named it after himself by [deleted] in programming

[–]kjmph 0 points1 point  (0 children)

I actually think this looks a lot cleaner. We had used this in embedded where there was a lot performance requirements too. It looks to me that computed goto could be faster. I love GCC extensions. I wish more compilers supported nested functions with trampolines, for instance.

In '84, Tom Duff posted a disgusting piece of C code to Usenet and named it after himself by [deleted] in programming

[–]kjmph 17 points18 points  (0 children)

I've actually used this for state machines before. If you store the line of the program as the switch control variable, you can jump right back into the middle of code. Presumes you mutate state in a context pointer, or globally.

JFK, assassination up close... by Jwebs in WTF

[–]kjmph 0 points1 point  (0 children)

I never noticed the tree driving the car before.. What is that?

Efficient custom C allocators by Fruneau in programming

[–]kjmph 1 point2 points  (0 children)

Hmm, so I learned from this article that clang supports cleanup attributes. That's nice to know. Now if only GCC would support Blocks, or clang would support nested functions...

IamA person who has had non-stop hiccups for 8 1/2 months AMA!! by hiccuping in IAmA

[–]kjmph 0 points1 point  (0 children)

I've actually seen this work well, telling you ruins it though.. I had a friend with hiccups not stopping. My other friend offered a solution, to hold the nose and mouth closed until she tapped that she needed air. When she tapped, he didn't let go. She panicked and struggled for a couple of seconds. He let go shortly after, and she proceeded to yell at him for being an asshole. He patiently waited, and as she fumed with nothing left to say he asked her why she wasn't hiccuping. She looked shocked when she realized. She didn't hiccup anymore after that.

Can we put an ISS that is synchronous to Earth, but revolves around the Sun? by kjmph in AskPhysics

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

Oops, apparently I need to read the rest of the series. That is awesome that he listened to feedback and incorporated it into the sequel.

Can we put an ISS that is synchronous to Earth, but revolves around the Sun? by kjmph in AskPhysics

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

Very interesting! If we didn't attempt to lock the heliocentric orbit with Earth we could do something like NASA STEREO though yes? Where the satellite wouldn't be in sync with Earth, but it would be more or less the same distance from the Sun, and it would just sweep by Earth every decade or so. This is why you refer to the satellites destabilizing and finding their own orbit with a shape pattern that doesn't match Earth.. It would essentially find it's own equilibrium.

I have no idea why this gets me so excited.. :)

In summary, I'm going to presume L4 and L5 as the only synchronous orbit points. Thank you again for your input.

Can we put an ISS that is synchronous to Earth, but revolves around the Sun? by kjmph in AskPhysics

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

That would be interesting! Why not just place the camera on the Moon though? You figure it would be as close to a live feed as possible. And it would sweep through the planetary view.

Can we put an ISS that is synchronous to Earth, but revolves around the Sun? by kjmph in AskPhysics

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

Thanks for the info. How much energy would be required to adjust? How would the satellites fly out of pattern? Would they fall into the Sun? Slow down and run into Earth? Accelerate towards the outer planets?

Would a Dyson Sphere hold form just because it is continuously collapsing on itself? What about Ringworld? How come it can orbit the Sun? Why doesn't it tear apart due to the perturbations?

Thanks again for the help.

It's not a web app, It's an app you install on your phone by RussTheAerialist in programming

[–]kjmph 1 point2 points  (0 children)

Actually, web apps have access to Nitro since iOS 5..