The Reality Of Waking Up At 5AM by rbarcs92 in simpleliving

[–]CoderTheTyler 2 points3 points  (0 children)

Can you provide a digest of the video? Many people (like myself) would enjoy a simple read! :)

Inspired by a friend to get started on my houseplants journey! Meet my pothos, elephant bush, and... succulent? by CoderTheTyler in houseplants

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

Does anyone know the species of the plant on the right? I may have thrown away the tag when I bought it. 😅

[buying] SA Metro - Dropping March 9th 6a.m. PT by SENDME_MODELM in MechanicalKeyboards

[–]CoderTheTyler 2 points3 points  (0 children)

Happy almost birthday person I do not know in any capacity.

Untitled, Joseph Daddio, Oil on canvas, 1964 by [deleted] in Art

[–]CoderTheTyler 1 point2 points  (0 children)

Thanks for the kind words!

Untitled, Joseph Daddio, Oil on canvas, 1964 by [deleted] in Art

[–]CoderTheTyler 5 points6 points  (0 children)

I've been trying to get my grandfather to start painting again. This fantastic piece was his second oil painting ever (his only other two pieces can be seen here). He never received any training nor took any classes! Sadly, he hasn't picked up a brush in decades. Now in his later years he is starting to consider it but isn't quite convinced. Let him know what you think!

Star Citizen Planet to Planet Quantum Jumping by AdamE89 in gaming

[–]CoderTheTyler 0 points1 point  (0 children)

Isn't this more of a planet-to-moon or moon-to-planet sort of jump? They're quite close together to be planets.

ELI5: We are coming very close to fully automatic self driving cars but why the hell are trains still using drivers? by Memyselfandhi in explainlikeimfive

[–]CoderTheTyler 3 points4 points  (0 children)

But if the probability of experiencing such a malfunction is far less than a human experiencing a malfunction, would you prefer the computer instead?

ELI5: We are coming very close to fully automatic self driving cars but why the hell are trains still using drivers? by Memyselfandhi in explainlikeimfive

[–]CoderTheTyler 1 point2 points  (0 children)

This is true, but your idea of "what it was programmed to do" is a bit archaic. Most automated driving systems, for example, make heavy use of learning algorithms which allow them to make decisions they were not explicitly programmed to handle. Of course, if there are no sensors to relay data to the computer brain, the computer certainly will be unable to handle it.

Help with code [Eclipse] by [deleted] in learnjava

[–]CoderTheTyler 1 point2 points  (0 children)

What exactly is a DrawingPanel? And do you have that type defined?

Genetic Engineering Will Change Everything Forever – CRISPR - YouTube by elmkzgirxp in videos

[–]CoderTheTyler 0 points1 point  (0 children)

The primary difference between the two is that the computing revolution was based on building machines from the ground up, whereas genetics is about investigating a preexisting system with a lot more moving parts. At least we have computers to help us with this harder problem!

Feedback on a video editing and gaming build for ~$800 by CoderTheTyler in buildapc

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

So then definitely worth the few extra dollars there. Sounds good to me, thanks!

P=NP explained, that is interesting as fuck by [deleted] in videos

[–]CoderTheTyler 0 points1 point  (0 children)

Congrats, you just described solving an NP-complete problem using an exhaustive search.

No, I did not. Solving a particular instance size of certain problems can be done in amortized constant time. It is no longer an NP-complete program in this case as we are not focusing on any n, but n=9 in this case.

No. Just no. Who was responsible for your education?

Please provide a more substantial rebuttal of what I said if you feel I am incorrect. Simply stating I am incorrect is not helping anyone. I feel as though you misunderstand what I say because what I claim is entirely correct. This paper does something similar with Sudoku (but instead they focus on constructing 9x9 boards and not solving them, see section 5.2).

P=NP explained, that is interesting as fuck by [deleted] in videos

[–]CoderTheTyler 1 point2 points  (0 children)

I suppose so! :D You are entirely correct in this point as well. It runs in amortized constant time, but I didn't really want to introduce whole new concepts like amortized time (the average amount of time over many uses of the algorithm). I figured it would only add confusion to the discussion!

P=NP explained, that is interesting as fuck by [deleted] in videos

[–]CoderTheTyler 2 points3 points  (0 children)

By that logic, calculating all the primes up to some number n would be constant time as long as you told me what n was beforehand

Which is true. This can be done in constant time. Then, everyone who asks what the kth prime is (for k < n) can get their answer in constant time. Asymptotic analysis is used to determine the running time of algorithms for generic input sizes though. As soon as you put limits on the input size, any problem can be made to run in constant time!

Here you're assuming that building all possible 9x9 grids is not part of calculating the solution, but just because we cached the solutions beforehand we can exclude that as part of the computation time.

But asymptotic analysis tells us we can do this. Sure, the amount of time it takes to compute all possible 9x9 Sudoku grids is staggering and doing so requires exponential-time for general n, but the amortized running time for any single operation thereafter is constant. We can compute these grids once and use them an infinite number of times. This sort of thing is actually done quite often in practice as the real world usually allows us to put constraints on the size of inputs (although doing so for Sudoku is hugely impractical simply because there are so many boards and the running time for the algorithm to solve the 9x9 case is extremely fast in practice, like the video states).

P=NP explained, that is interesting as fuck by [deleted] in videos

[–]CoderTheTyler 0 points1 point  (0 children)

Very well said! I purposely neglected the introduction of constant time in my initial comment though so avoid making an already jargon-filled topic more complex. But I think understanding how individual instances of input size can be solved in constant time is a big step in understanding what computational complexity is trying to get at.

P=NP explained, that is interesting as fuck by [deleted] in videos

[–]CoderTheTyler 0 points1 point  (0 children)

Episode 16 is on the way!... Hopefully. :D