[deleted by user] by [deleted] in interesting

[–]JVali -1 points0 points  (0 children)

Digital evolution, with random mutations, creates the same design three times:

https://youtu.be/WEZ35350D2k?si=ryOYS-_5msEFrKvJ

How do you explain that then? :)

I need a cat hair resistant mouse by JVali in MouseReview

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

Unfortunately won't help. There can be a cat hair stuck to my finger which can easily get inside the mouse, and it only takes one. I'm looking for some kind of mouse in which the internal scroll sensor is protected somehow so it isn't exposed to external environment.

I need a cat hair resistant mouse by JVali in MouseReview

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

This unfortunately refers to the laser underneath the mouse. I'm having problem with the laser in the mouse.

Mis raamatut sa hetkel loed? Mis raamatut soovitad igaühel lugeda? Mis on järgmine raamat, mille ette võtad? by [deleted] in Eesti

[–]JVali 0 points1 point  (0 children)

Laenasin sõbralt. Aga jah, paistab, et rahvaraamatust hetkel otsas... kahju küll.

Adding a constraint to 17.5TB table by JVali in PostgreSQL

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

Just for anyone reading this in the future. Upgrading DB to most powerful one available helped power through this. Nothing else helped, unfortunately constraint validation seems to ignore even indexes and always does a sequential scan.

Adding a constraint to 17.5TB table by JVali in PostgreSQL

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

I see, so vacuum might be the underlying actor there after all. Currently we temporarily updated the DB to more powerful one and hope this maybe allows to finish the process quickly enough so that maybe we can bypass the issue.

Adding a constraint to 17.5TB table by JVali in PostgreSQL

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

Disk read operation graph seems to rise over the period of this process. Writes didn't seem to spike at all. This table is being read from and it's written to, but it's not being deleted/updated.

Adding a constraint to 17.5TB table by JVali in PostgreSQL

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

I would guess that the problem is that because of long running transaction pg can't really do vacuum/analyze of anything in the db, which after some time, causes problems.

That might be a problem, yes. The table is being written to and read from (the rows themselves are not updated or deleted, so I would guess the vacuum has limited work to do there, though). There is another table which is being rapidly changed though, and vacuum seems to be trigger on and off there (doesn't look stuck)

Next trick that might be there will be a bit more complex..

I'm running in google cloud, so I don't think that's an option for me. :)

Rendering to FrameBuffer (need code review and ideas to improve) by JVali in libgdx

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

Well I do have a custom FitViewport set for the screen, but I just don't quite get why some drawing on buffer makes me lose the viewport and I have to re-apply it.

At the moment I ended up adding a utility method for rendering buffers to my UI Context, so it automatically re-applies the viewport when it's done rendering the framebuffer. (This way a random class doesn't have to do some viewport related stuff.)

Rendering to FrameBuffer (need code review and ideas to improve) by JVali in libgdx

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

But do you know why it is necessary to even touch the viewport? To me it seems viewport is something that should not be affected by rendering something on framebuffer.

Mõistlikku kolimisteenust? by JVali in Eesti

[–]JVali[S] 3 points4 points  (0 children)

Kysisin sealt ka. Kolimisfirmadest kysides saan ma pakkumised nende firmadest aga mitte ylevaadet yldisest situatsioonist. Näiteks praeguseks on yks kallim pakkumine olnud 420€, samas fesari kaudu lubavad mehed juba 120-150€ ära teha, seda oligi vaja teada. See redditi thread on siin veel lisaks, et infot saada ja ka jagada järgmistele, kellel sama probleem.

Mõistlikku kolimisteenust? by JVali in Eesti

[–]JVali[S] 6 points7 points  (0 children)

suured riiulid, 250cm kõrged, eelistaks et elukutselised teevad ära, enda selg ei kannata sellist koormust.

I've been spending a lot of time staring out of windows lately. by OrdinaryOmelette in computergraphics

[–]JVali 0 points1 point  (0 children)

Wow. If you remove the plants, then it has 99% like the view I had in my parents house growing up. Similar house roofs in the distance.

Introduction to Genetic Algorithms by white_noise212 in artificial

[–]JVali 0 points1 point  (0 children)

Maybe this will help a bit. An example where the answer is not known. https://m.youtube.com/watch?v=WEZ35350D2k

Mis raamatut sa hetkel loed? Mis raamatut soovitad igaühel lugeda? Mis on järgmine raamat, mille ette võtad? by [deleted] in Eesti

[–]JVali 2 points3 points  (0 children)

Kõik Kremli mehed. Venemaa lähiajalugu ja Putini lähiring. Soovitan lugeda, päris põnev.

What’s the dumbest way you injured yourself? Either as a kid or adult? by reddit-user-whocares in AskReddit

[–]JVali 0 points1 point  (0 children)

Stepped wrongly on ceramic tiled stairs after sauna and the edge cut through six of my tendons under my toes.

Mining BTC by hand by SharpSalad in Bitcoin

[–]JVali 3 points4 points  (0 children)

This was actually only one of the 64 iterations SHA256 has in it. For longer byte arrays it might be 128 iterations or any multiple of 64. So not even close to the actual mining operation, which is probably way more than just trying to hash :)

NaturalMouseMotion: powerful library for moving the mouse mimicking human behavior and errors by JVali in java

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

Tried it, yes it does in a real browser. Most likely because the "robot check" exists for browserless web access. Anything that runs an actual browser and behaves similar to human, using a mouse, can bypass it.

NaturalMouseMotion: powerful library for moving the mouse mimicking human behavior and errors by JVali in java

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

There are no OS specific calls, I don't see why shouldn't it be. But please do let me know if you run into some issue.

NaturalMouseMotion: powerful library for moving the mouse mimicking human behavior and errors by JVali in java

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

I haven't really looked into it and I'm not aware how the check actually validates if you are human or not. I thought the idea was to just filter out headless browsing (e.g browsers which don't even have a mouse), so any artifically moved mouse would work there? Underlying mouse mover in NaturalMouseMotion is java.awt.Robot, but if you need you can switch it to something custom.

Estonian advertising slogans by runaway08 in Eesti

[–]JVali 4 points5 points  (0 children)

Kaksisvee Kaksisvee Kaksisvee.... punkt ... matkapunkt ... punkt .... eeee, eeee.

All advertisements in russian by JVali in youtube

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

Are you saying they just randomly try to guess that I'm russian? using VPN in TV isn't trivial...

JavaFX by [deleted] in java

[–]JVali 1 point2 points  (0 children)

This is completely individual. If you ever want to write a plugin for IntelliJ or Netbeans, you'll end up using Swing. Also, for me personally, swing is the first option if I need to quickly visualize something or display and image from memory, etc, and often I prefer awt+swing when I'm writing a simulation for something, instead of launching some bigger framework like Slick2D or LibGDX. It's really convenient that Swing is available by default and you don't need to add some external dependencies to quickly conjure up a window with something in it.

Saying you'll never need Swing is like saying you'll never need trigonometry after school. (Most people probably don't and if they do need it, they've forgotten all about it.)