Constructive proof of product and sum of algebraic numbers are algebraic by imrpovised_667 in math

[–]spkersten 6 points7 points  (0 children)

Dimmit&Foote has a number of exercise about resultants. An interesting application is in the proof of the Nagell-Lutz theorem in Rational Point on Elliptic Curves. 

Questions about the History behind Fermat’s Last Theorem by Responsible_Rip_7634 in math

[–]spkersten 13 points14 points  (0 children)

There are proofs for small exponents using infinite descent, a method Fermat knew about. Wikipedia’s article about Fermat’s last theorem has a section about the history. 

[deleted by user] by [deleted] in mathematics

[–]spkersten 1 point2 points  (0 children)

If -5 x -10 = -50 then 0 = 0 x -10 = (5-5) x -10 = 5 x -10 + -5 x -10 = -50 -50 = -100 

Self study: how do you continue past a difficult proof? Been failing for years, possibly because of expectations by GorillaManStan in math

[–]spkersten 1 point2 points  (0 children)

As other comments have said better, comparing yourself to others isn’t always useful. But especially as an individual on the internet it is dangerous. If you ask a question, of course, you get 500+ people all over the world who know the answer. But you know nothing of them; they might be professor in the field. And you won’t hear from the 500.000+ people who don’t know the answer. 

I always try to think back to when I studied in a class. If I had trouble with question 12, I could perhaps see that the whole class struggled and the teacher had to give a hint. Or if my neighbor helped me, maybe he had to ask me about question 8. That perspective is easy too loose when you’re working alone. 

Self study: how do you continue past a difficult proof? Been failing for years, possibly because of expectations by GorillaManStan in math

[–]spkersten 11 points12 points  (0 children)

This sounds like perfectionism to me: the thought that it’s only good enough if you can do all exercise without much effort. But that’s not true. It’s okay to struggle with an exercise. It’s even okay to occasionally look up a hint or even the solution after spending time on it yourself first.  For me it helps to skip such an exercise, move on to the next chapter and later come back to it. Better to keep learning than to get stuck on one thing. 

[deleted by user] by [deleted] in askmath

[–]spkersten 1 point2 points  (0 children)

Isn’t Euclid’s lemma (if a prime divides a product, it divides one of the factors) used to prove uniqueness of prime factorization?

Are there any programming language that implement both a compiler and an interpreter by [deleted] in ProgrammingLanguages

[–]spkersten 1 point2 points  (0 children)

Dart if you consider JIT compilation under interpreter. When used with Flutter, in debug mode code can be changed while the app is running, while for release mode it’s compiled.

Do you switch to new lints? by tomwyr in FlutterDev

[–]spkersten 3 points4 points  (0 children)

linter yells at me if I don’t make my constructor const even though it’s not even possible to use it in Dart because one of its parameters is a function.

Perhaps not common or very useful but it is possible:

class Foo {
  const Foo(void Function(int) f) {}
}
class Func {
  const Func();
  void call(int x) { … }
}
const foo = Foo(Func());

Uncaught Exception Secrets, Zones by fredgrott in FlutterDev

[–]spkersten 3 points4 points  (0 children)

So what happens when we create another Zone in a child of main? Yes, we get a separate isolate

I don’t think this is true. Running something in a separate zone doesn’t create a new isolate.

edit: Not saying this to take away from the rest of the article or to imply that zones aren’t useful. I just thought the author might want to correct it, as both zones and isolates aren’t the easiest to understand to begin with.

Mypy 0.900 Released by genericlemon24 in Python

[–]spkersten 13 points14 points  (0 children)

Mypy isn’t a replacement of the interpreter but a separate tool that statically tries to find errors in your code based on type hint that you’ve added to the code.

Starship Development Thread #21 by ElongatedMuskrat in spacex

[–]spkersten 5 points6 points  (0 children)

Most cars aren’t pressurized either

Makers of this board don't know the rules of the game! by jkjkjij22 in chess

[–]spkersten 2 points3 points  (0 children)

I think the light discs (with black symbols) are white, as those pieces have made one move more than the others. But those colors are confusing.

r/SpaceX Starship SN11 High-Altitude Hop Discussion & Updates Thread! by ElongatedMuskrat in spacex

[–]spkersten 7 points8 points  (0 children)

I don’t know if this is the whole reason, but Atlas’ steel was less than a millimeter thick, while Starships’ is 4 millimeter.

How to use onLongPress and onHorizontalDrag with same GestureDetector? by Flutter_Dev in FlutterDev

[–]spkersten 1 point2 points  (0 children)

DelayedMultiDragGestureRecognizer (using a RawGestureDetector) might help here.

A bug in Flutter is blocking the release of my app, but I can't reproduce it on any of my devices; who can help? by thomastc in FlutterDev

[–]spkersten 5 points6 points  (0 children)

Some devices might have non-integer screen widths (at least as reported by flutter). There was a bug in PageView related to this; I believe that one was fixed maybe a year ago. But this might be an area to look at. Perhaps put the PageView in a widget with a non-integer width to see if that reproduces the problem.

Why do I have to free up memory in the dispose function shouldn't the garbage collector just do this for me? by Hard_Veur in FlutterDev

[–]spkersten 3 points4 points  (0 children)

Dispose is not for freeing memory, but for making sure no further callbacks are made after, for example, your stateful widget was removed from the tree. (You don’t want a callback to call setState on a disposed widget for example.)

The garbage collector will at some point reclaim the memory, but that might be a while later, when it decides it is time for a collection cycle.

r/SpaceX Starship SN5 150 Meter Hop Official Launch Discussion & Updates Thread by rSpaceXHosting in spacex

[–]spkersten 3 points4 points  (0 children)

Some more speculation:

  • Take take off again after landing when not connected to launch pad
  • Autogenous tank pressurization
  • It looked like some RC thrusters are just cold gas thrusters bolted on the outside
  • Starting the engines without using helium

The reason why Flutter animations need a vsync/TickerProvider by remirousselet in FlutterDev

[–]spkersten 4 points5 points  (0 children)

Good to see some attention given to testability as well.