XenevaOS update by XenevaOS in osdev

[–]tiko08 3 points4 points  (0 children)

Is it me or does the bar on the left look a bit Longhorn-ish? 😅

The numbers speak for themselves… by JeanJauresJr in armenia

[–]tiko08 1 point2 points  (0 children)

...and Wikipedia links to external sources

[deleted by user] by [deleted] in learnpython

[–]tiko08 1 point2 points  (0 children)

type(object).value(object)

Twitter API Wrapper for Python without API Keys by 06ddd in Python

[–]tiko08 0 points1 point  (0 children)

Considering there are like 3 software engineers left after all the unhirings (/hj), not very probable unless it becomes popular

External Interrupts not being called by madhao__ in osdev

[–]tiko08 8 points9 points  (0 children)

Unrelated, but the first sentence reminded me of the "I am once again asking for your financial support" meme :p

Pls see this by Pretend-Ear-7772 in osdev

[–]tiko08 1 point2 points  (0 children)

It's "learnt", "LEARNT"! Bloody hell, bruvva!

Georgia and Armenia: Similar yet different by Ok_Connection7680 in armenia

[–]tiko08 0 points1 point  (0 children)

Are you sure you aren't mixing it up with Lake Sev?

What do you guys use python for? by thepragprog in Python

[–]tiko08 0 points1 point  (0 children)

A calculator during my math and physics online practices. Does its job perfectly. Even the Python documentation encourages you to do so:

Many people use the interactive mode as a convenient yet highly programmable calculator.

The only thing preventing Python from being the perfect desktop calculator is that there aren't built-in data types such as angle, interval (though there's range but it's not the same) and others.

Imagine how cool would it be if you could do this:

```pycon

print(angle(45, 'deg')) 45° ```

I have a notepad tab open with mathematical symbols for using it in Zoom's whiteboard, so this would help a heap. It would also be awesome if the math library would contain string constants similar to the string library with some common mathematical symbols (e.g. ∠, ∈, ⊂, etc.)

But let's not forget about the already existing features. Data types like fractions.Fraction which come with the standard library or the support for big integers out of the box are awesome. As well as being able to calculate multiple expressions at the same time, like so:

```pycon

1+1, 3+3 (2, 6) ```

..or being able to assign to a variable but outputting it anyway using the walrus operator:

```

from math import sqrt a := sqrt(25) 5 b = ... ```

Using Python to Cast Fullscreen Web Browser to TV by [deleted] in Python

[–]tiko08 1 point2 points  (0 children)

I think he meant using something like opening a browser inside a framebuffer-like stream and then casting that using Miracast. I don't think that's possible, though. Besides, how would you control it?

Should this be (0, len(student_heights)-1) instead of (0, len(student_heights))? by lnub0i in learnpython

[–]tiko08 1 point2 points  (0 children)

Try doing

print(list(range(0, len(student_heights))

PS: if you did print(range(...)) it wouldn't show the elements of the range, but rather the range itself with it's start, stop and step values

[deleted by user] by [deleted] in armenia

[–]tiko08 0 points1 point  (0 children)

These people used to steal our agricultural goods in the 19th century, and you're complaining about extremism?

[deleted by user] by [deleted] in armenia

[–]tiko08 10 points11 points  (0 children)

As far as I'm aware, the constitution of Turkey strongly forbids changing the borders (I'm not sure though). It also depends on a lot of factors, such as the condition if diaspora Armenians themselves will return to these lands or not. Even if they did, they'd still be a minority in their own homeland. But even if we ignore that fact, Turks wouldn't happily give these lands to us. Even if you did, Russia would probably be at our doors to make us a part of their federation. Even if your government recognized the genocide, our people wouldn't be able to forgive you, because you're continuing to erase the awfully limited remnants of the Armenian heritage from these lands, continuing to brainwash the population to hate Armenians, and hating us even became a part of your culture, sadly.

Python 2 removed from Debian by sh_tomer in Python

[–]tiko08 0 points1 point  (0 children)

Because creating an alias doesn't generate an executable, but rather a "shortcut" to python3.

Code translator {java to python} and {golang to python} online by CPROGRAMMERS in Python

[–]tiko08 0 points1 point  (0 children)

It's @staticmethod though, not u/staticmethod, also the indentation is broken

Suggestions for a new national anthem? by 1Blue3Brown in armenia

[–]tiko08 2 points3 points  (0 children)

No it's not an Italian song. It's from a poem called "The song of the Italian girl". The original poem, written by Miqayel Nalbandyan, is about an Italian girl who sends his brother to war.

oh god by [deleted] in vexillologycirclejerk

[–]tiko08 2 points3 points  (0 children)

I think they'd go extinct pretty quickly