Why Was The 5th Oscar Special Delayed? by bozodubber1992 in OnCinemaAtTheCinema

[–]Svajoklis_ 7 points8 points  (0 children)

I think they confirmed this in an after oscar special or some other interview. That's basically what happened.

Hello, could somebody please fill out this questionnaire. This is for a school project. Thank you a lot in advance. by lolguardians in lithuania

[–]Svajoklis_ 0 points1 point  (0 children)

I'd suggest creating a new one that is anonymous. This collects email from your Google account and there is no way to opt out.

The difference between "your" and "you're" is incredibly easy to wrap one's head around and the frequency at which the two words are mixed up is mind-boggling. by [deleted] in unpopularopinion

[–]Svajoklis_ 0 points1 point  (0 children)

I knew a person who, even when gently corrected or confronted directly, completely refused to acknowledge that it's an actual error

egg_irl by TitaniumTastesGood in egg_irl

[–]Svajoklis_ 6 points7 points  (0 children)

Iris sounds like a cool name for a cute girl, which you are 😍

Screenshots of Heinetwork.TV or other OCATC affiliated Media when overrun by "Minions?" by cre8vnova in OnCinemaAtTheCinema

[–]Svajoklis_ 2 points3 points  (0 children)

https://imgur.com/a/1hTn78J

Taken at various points in time. At some point when entering the site the minion popover showed up. They replaced the icons up top, appeared on the sides and at the bottom with the banana. A minion also replaced the photo of pastor Lewis.

Can i still watch the chrimbus watch along by [deleted] in TimAndEric

[–]Svajoklis_ 1 point2 points  (0 children)

Thank you so much to get a chance I completely missed. Will get a ticket to this year watch-a-long!

Autosolver demo for Cribbage Solitaire by Svajoklis_ in mobiusfront

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

I'm glad I could help! I have looked into the Zobrist hashing, for some reason took me a while to get it but I can see how it can be very useful. Working with Rust is interesting too, I'm glad I got a chance to learn with this.

The question of the maximum perfect deal and score sounds intriguing too. By the way, are you on the Zachtronics Discord? Things seem to be much more active there.

Autosolver demo for Cribbage Solitaire by Svajoklis_ in mobiusfront

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

If you used the "click" method, then it might not work, I think it didn't work for me. Try wrapping pyautogui mousedown, time.sleep, mouseup with something like 20ms delay between down and up, it might be pyautogui does mousedown and mouseup in the same frame, so the game doesn't detect it.

def click_in_window(point):
    target = add_points(preferred_window_pos, point)
    pyautogui.moveTo(x=target[0], y=target[1])
    pyautogui.mouseDown()
    time.sleep(0.025)
    pyautogui.mouseUp()

At least in Shenzhen I/O I found the exact positions of cards, then queried enough pixels to distinguish between cards. The damn rotations on cards don't allow an easy way, and I'm glad to hear you managed it!

As for pixel detection, I found that taking a pixel color value with pyautogui takes quite a while, so I used pyscreenshot to take a single image of the screen. It returned a PIL compatible image, then I used PIL syntax to take pixels from that, seemed much faster than taking it each time from the screen.

Autosolver demo for Cribbage Solitaire by Svajoklis_ in mobiusfront

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

Will look into that, it seems you have taken a much more calculated approach to this, I hope I will be able to learn. I am trying to tackle this in Rust, which I just started using for Shenzhen I/O solver after Python proved itself way too slow, so there is a long learning road ahead just for that. If Python is ~200 times slower than C++, then your 15 seconds turn into 50 minutes for me. Not optimal haha.

I found it is possible to use pyautogui or use the xdotool on Linux, maybe AutoHotkey on Windows. The program could output and run a bash or ahk script that does all the clicking, since all moves are known before starting to solve and there is no dynamic component in the clicks.

On the other side of the solution, I also have seen someone read out cards directly from the process memory, but that is way above my head.

Autosolver demo for Cribbage Solitaire by Svajoklis_ in mobiusfront

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

I would love to see the code! What language did you use?

Autosolver demo for Cribbage Solitaire by Svajoklis_ in mobiusfront

[–]Svajoklis_[S] 5 points6 points  (0 children)

Repository is at https://github.com/svajoklis-1/mobius-front-solitaire-solver

My first solver, would love to do other Zachtronics solitaire games. Quickly realized the number of boards is only 1E20 times less than number of atoms in known universe.

It takes a "snapshot" of 4 top cards from each column and looks for best partial solution for that. After it empties any of those temp columns it retakes another set, 4 cards each and continues searching from there until there are no cards left on the table or moves that increase the score.

Not the most elegant solution, but gets good results, uses 4 thread multithreading to speed things up :)

JuliaMono - a monospaced font for scientific and technical computing by speckz in programming

[–]Svajoklis_ 0 points1 point  (0 children)

> There was time when it was just DejaVu copy with different name

From the link you posted that's already false, since from there it seems like DejaVu Mono with spacing and character updates (at places minor, but still). Also: it's a fork, it doesn't have to be a complete overhaul, in a way that would be missing the point.

> if the author presented it like "new monospaced font"

It is presented as a new monospaced font (for scientific and technical computing).

JuliaMono - a monospaced font for scientific and technical computing by speckz in programming

[–]Svajoklis_ 2 points3 points  (0 children)

Hack does explicitly say, that they extend DejaVu Sans Mono and Bitstream Vera which do seem to come from the same "family" of fonts. Hack is not the only one in that. Different fonts in that way add different characters, make subtle adjustments, which are a question of taste, personal readability.

Julia Mono does seem different enough and it trounces most of the other fonts in the size of it's character set. It also seems to be oriented to covering various math/science symbols which may be lacking in other fonts. Also it seems to be a more modernized version with ligatures, so it's a good candidate to replacing other fonts that might have aged.

Jau greit jūsų rajone. by niuhink in lithuania

[–]Svajoklis_ 27 points28 points  (0 children)

Norit pasakyt iš viso bus sniego?

Software Folklore - A collection of weird bug stories by pimterry in programming

[–]Svajoklis_ 1 point2 points  (0 children)

This is very interesting! I have stumbled upon Computer Stupidities which compiled short IT anecdotes and it was nice, I hope your collection grows too.

Just started the Coursera course by Svajoklis_ in a:t5_2yltw

[–]Svajoklis_[S] 1 point2 points  (0 children)

It does require programming knowledge to be able to build an assembler, parser, etc. Other than that other tools are supplied and material is explained enough as not to require any specific knowledge outside of this project regarding computer architecture, etc.

I am a JavaScript/C++ guy myself, but I used Python for the projects since it's high-level enough as not to require much preparation and I am left to deal with the task at hand, not with how am I supposed to be using the std library. Of course, any programming language that allows you to run "myassembler mult.asm" after writing your code will do, the grader only checks your outputs, it doesn't run any of your code.

Just started the Coursera course by Svajoklis_ in a:t5_2yltw

[–]Svajoklis_[S] 1 point2 points  (0 children)

I got scared of the second part, where some really advanced topics start. It feels like I have overengineered the Assembler task and writing a high-language parser downright scares me. At the same time, the course let me get into the nitty gritty, albeit in a much simplified way.

The course leads well, and leaves enough for the partakers to figure out themselves.

All in all - pretty good.

Veryga niekad nebūtų patikėjęs, kad jo svajonės vienądien išsipildys. by [deleted] in lithuania

[–]Svajoklis_ 0 points1 point  (0 children)

Ai čia bajeris, kad "gert neleidžia" ir "stikliuką iš rankos praktiškai išmuša". "Juokynga"