Yes, if we used the original area ratio it would look like this:
- 0 Posts
- 132 Comments
probably a relatively simple equation
Yes, the area of a triangle is base times height over 2. The base is a side of your choice and the height is measured in a right angle to it (You may have to extend it in a straight line).
Lets split the flag into two triangles from corner to corner and consider the bottom right one (the other works the same way).
Chose the edge on the right flag edge as the base and the height of the triangle becomes the width of the flag.
All the colored triangles have the same height and by the look of it roughly the same base length.Therefore the areas are equals.
I tried the original recently.
Half the difficulty comes from the huge trackball that barely moves the cursor, so you better crank down the sensitivity a lot, like having to pick up your mouse twice to move across the screen lot.
If you have a theory of everything, I suspect whatever algebraic structure the terms follow, is at least a ring and therefore has additive inverses.
anton@lemmy.blahaj.zoneto World News@lemmy.ml•Ukraine Engages in Massive Escalation Against Russia on Eve of Talks; Smuggled in Drone Hit Airbases; Claims of 40 Bombers Destroyed [*naked capitalism*]1·9 days agothe reason the bombers were in the open is due to Russian compliance with the START treaty.
First, Russia suspended it’s participation in new START
Second, are you sure that’s a requirement of the treaty?
The only relevant article I could find is the following (emphasis mine):
Article X
- For the purpose of ensuring verification of compliance with the provisions of this Treaty, each Party undertakes: (a) to use national technical means of verification at its disposal in a manner consistent with generally recognized principles of international law; (b) not to interfere with the national technical means of verification of the other Party operating in accordance with this Article; and © not to use concealment measures that impede verification, by national technical means of verification, of compliance with the provisions of this Treaty.
- The obligation not to use concealment measures includes the obligation not to use them at test ranges, including measures that result in the concealment of ICBMs, SLBMs, ICBM launchers, or the association between ICBMs or SLBMs and their launchers during testing. The obligation not to use concealment measures shall not apply to cover or concealment practices at ICBM bases or to the use of environmental shelters for strategic offensive arms.
Looks to me like plane hangars are allowed while the tires on planes that they actually used are illegal as they don’t protect against the weather and just exist to fool bad satellite images.
The humble
!!
operator.
maybe we removed the last n characters
anton@lemmy.blahaj.zoneto Programming@programming.dev•Published for the first time: the Princeton INTERCAL Compiler's source code8·17 days ago(LT(PL * 5,DO) ERROR('079','USER IS NOT SUFFICIENTLY POLITE','1')) (GT(PL * 3,DO) ERROR('099','USER IS OVERLY POLITE','1'))
Finally, we know how polite to be.
anton@lemmy.blahaj.zoneto World News@lemmy.ml•Ukraine Engages in Massive Escalation Against Russia on Eve of Talks; Smuggled in Drone Hit Airbases; Claims of 40 Bombers Destroyed [*naked capitalism*]3·17 days agoAny state with working nuclear weapons and delivery systems represent a threat to humanity.
Considering the corruption, misuse and theft, maybe Russia really does not fit that bill.
anton@lemmy.blahaj.zoneto Programmer Humor@programming.dev•Python needs an actual default function3·21 days agoIf you want to have a library that can also be a standalone executable, just put the main function in an extra file and don’t compile that file when using the library as a library.
You could also use the preprocessor to do it similar to python but please don’t.Just use any build tool, and have two targets, one library and one executable:
LIB_SOURCES = tools.c, stuff.c, more.c EXE_SOURCES = main.c, $LIB_SOURCES
Edit: added example
To my understanding, the original meaning of object oriented is more similar to what we call the actor model today.
In reference to the modern understanding of OO, js uses prototypal inheritance, which some consider closer to the original vision.
anton@lemmy.blahaj.zoneto World News@lemmy.ml•The Houthis Almost Shot Down an F-35—and Washington Is Panicked1·1 month agoGoes to show, that technology can only get you so far, if your doctrine sucks.
Also, they downed one and damaged another, why did they cross of three?
That boolean can indicate if it’s a fancy character, that way all ASCII characters are themselves but if the boolean is set it’s something else. We could take the other symbol from a page of codes to fit the users language.
Or we could let true mean that the character is larger, allowing us to transform all of unicode to a format consisting of 8 bits parts.
That requires some form of self describing format and will probably look like a sparse matrix in the end.
It might also introduce spurious data dependencies
Those need to be in the in smallest cache or a register anyway. If they are in registers, a modern, instruction reordering CPU will deal with that fine.
to store a bit you now need to also read the old value of the byte that it’s in.
Many architectures read the cache line on write-miss.
The only cases I can see, where byte sized bools seems better, are either using so few that all fit in one chache line anyways (in which case the performance will be great either way) or if you are repeatedly accessing a bitvector from multiple threads, in which case you should make sure that’s actually what you want to be doing.
C/C++ considers an nonzero number, as your true value but false is only zero. This would allow you to guard against going from true to false via bit flip but not false to true.
Other languages like rust define 0 to be false and 1 to be true and any other bit pattern to be invalid for bools.
anton@lemmy.blahaj.zoneto Open Source@lemmy.ml•GNU Taler v1.0 released and is operating in Switzerland1·1 month agomostly present in fairytales these days
It’s also the currency in the german language donald duck comics.
anton@lemmy.blahaj.zoneto Science Memes@mander.xyz•What else are they hiding from us?English1·2 months agoI think you mean charge not energy.
Markdown requires at least two spaces before line breaks .
Two new lines results in a empty line between the paragraphs.
Sadly markdown is one of those thing that has dozens of dialects with sightly different rules.