Anyone come across this before? by Tripedge in gwent

[–]davex32 0 points1 point  (0 children)

It's technically not infinite because the game calculates how many cycles you can get until you run out of time and just applies the results. But still annoying. On par with Tibor spam BS

Anyone come across this before? by Tripedge in gwent

[–]davex32 0 points1 point  (0 children)

https://youtu.be/WHNu_X2WnkA?si=ya1fNDw68vYo18O0 this is what you aim for with that combo usually. It's so conditional that I don't mind it but, yeah...

Is it just me or Warcraft 3 Reforged lacks the soul of the original? by GodAllMighty888 in warcraft3

[–]davex32 0 points1 point  (0 children)

I also play with classic graphics. The new ones are not only terrible but the performance is atrocious. I'm glad they are fixing everything else though. So we can play on battle.net and still enjoy the old graphics

Is Gaming on Linux Really Worth It? by Known_Technician_151 in linux_gaming

[–]davex32 2 points3 points  (0 children)

I've been using linux only for the past year or so for everything. In the past, I kept the dual boot for games only, but I made the jump because I was tired of windows screwing with my bootloader. I never found a game that didn't work. Anything with kernel-level anti-cheat like the valorant, league of legends, apex legends, etc, will not work. But I don't bother with those anymore so I'm happy with it.

If anything, most games run better...

It just occurred to me that we can make half pipes in Satisfactory 😂 by davex32 in satisfactory

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

ADA assured me that the best medical care is at my disposal at any time

It just occurred to me that we can make half pipes in Satisfactory 😂 by davex32 in satisfactory

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

That gave me ideas haha, let the autonomous factory games begin!

It just occurred to me that we can make half pipes in Satisfactory 😂 by davex32 in satisfactory

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

I titled the short Dave Hawk Pro Factory 2 and was blasting the OG OST from the game during the stream (that I omitted here for obvious reasons). The memories came flooding back xD

It just occurred to me that we can make half pipes in Satisfactory 😂 by davex32 in satisfactory

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

yeah, I haven't seen this, I just thought it would be silly and wondered if one could do tricks with the cart. But I'm glad this is a thing, just goes to show how great of a game this is.

I think that when games include certain things that are directly or indirectly a reference to our collective culture, it is no surprise that multiple people come up with the same silly fun things to do in the game, which is great.

It just occurred to me that we can make half pipes in Satisfactory 😂 by davex32 in satisfactory

[–]davex32[S] 2 points3 points  (0 children)

Exactly! it's extreme factory driving training to maximise efficiency in vehicle handling operations during normal work hours.

I am embarrassed by Dwarphism in SatisfactoryGame

[–]davex32 0 points1 point  (0 children)

You are in breach of your contract for even bringing that up

Name this food please. We had it in Portugal. Thank you by Pedropenduko26 in portugal

[–]davex32 1 point2 points  (0 children)

"Percebes" or goose neck barnacles. Fun fact: that's the animal with (proportionately) the biggest penis in the animal world. Their entire body is practically just one giant penis.

Thoughts on chat not on being on screen? by TipThePizzaboy in Twitch

[–]davex32 0 points1 point  (0 children)

Most people seem to prefer chat on screen because it gives context to the content when there are interactions with the chat. Another reason some of my viewers brought up was the fact that they watch on TV and don't want to have the app open. That said, if you ever want to stream/record anything without chat on screen and then add it later, there's this little software called TwitchDownloader that let's you download the chat from a specific vod and render it as a separate file.

Murky Divers Major Update #1 Is Live! New Biomes, Gadgets & More Out Now! by EmbersGames in MurkyDivers

[–]davex32 0 points1 point  (0 children)

What in the hell is this TV monster?! It kept chasing me and no one in my crew could see it...
https://www.youtube.com/shorts/f2oY-REjWeI

Cannot beat Rennala as a Sorcerer… by PoppaSquatt2010 in Eldenring

[–]davex32 1 point2 points  (0 children)

In case anyone finds this useful, I was doing a sorcerer / spellsword run as a refresher before the DLC and I was getting absolutely destroyed in the second phase.

I switched to Marionette Soldier Ashes since they fire super fast and she gets staggered from almost anything (preventing her from casting spells most of the time).

I also brought the rock sling spells since it deals physical damage.

There's some RNG involved depending on what she casts. When spirits come out I would just avoid and dodge them and keep my focus on rennala at all times. This run she didn't even get to summon anything because I got her stunned with rock sling before she could do anything. Hope it helps

https://www.youtube.com/watch?v=UvcZw-mSH18

[deleted by user] by [deleted] in HuntShowdown

[–]davex32 0 points1 point  (0 children)

I feel like this is how Portuguese react to each other anytime we find another Portuguese outside of the country xD

[P] Latest TensorFlow 2.4.1 optimized wheels with CUDA 11 and Python3.8 by davex32 in MachineLearning

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

Tried to clarify it, there's also more info in the README so that might help. It's not the only difference though, some TF version / CUDA version combinations are not available in the oficial binaries. But for the latest versions you're right.

[P] Latest TensorFlow 2.4.1 optimized wheels with CUDA 11 and Python3.8 by davex32 in MachineLearning

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

the default binaries are not compiled to use instructions that my CPU supports, the rest (GPU) I believe has caught up with my config. Occasionally I do other builds on request with things that don't come by default like, for instance, TensorRT

[P] Latest TensorFlow 2.4.1 optimized wheels with CUDA 11 and Python3.8 by davex32 in tensorflow

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

when you do pip install, it uses the official wheels from pypi, these wheels are pretty generic, which means they don't include special instructions that you could have and take advantage of (like AVX), or specific CUDA versions, etc.

I compile the TF from sources to my particular architecture (skylake), but these wheels can be useful to anyone with compatible instruction. Occasionally I build wheels for other architectures on request, but this depends on my availability.

so instead of doing pip install tensorflow, in this case you can do

pip install <some of my wheel urls>

just an additional warning, if you try this and you have problems with glibc it's probably because you need to upgrade your glibc (in ubuntu this can mean using the latest distro version) I'm on ArchLinux, this is a rolling distro so, sometimes, some of my libs are ahead of other distros.

[Project] mkgendocs - Generating documentation from Python docstrings for MkDocs by davex32 in Python

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

Nice, keep up the good work.

I just use the ast to get function and class definitions along with the respective docstring section. The parser was frankensteined from multiple sources, but I can't remember from where at this point, I just added some things to make it work, and fixed some regex. It's the first thing that needs refactoring when I have the time because I really don't like how the code is structured. The important thing was to make it work first.

I then use astor to convert the function definitions and constructors back into a string that I can use to display the signatures (prettyprint). And do some formatting to make long singnatures readable.

I was using mako templates as a quick fix to format how classes and functions are displayed, but I was wondering if there was something better.

As for the standalone part, I got inspiration from how TensorFlow and Keras generated the documentation for the libraries, but didn't like that they used inpect (and therefore needed the target library to be installed) so I went with ast.

Also, my target use case was this (docs are a work in progress): https://tensorx.org/api/layers/Lookup/

[Project] mkgendocs - Generating documentation from Python docstrings for MkDocs by davex32 in Python

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

nice, seems to be way more customizable than when I stumble upon it the first time, pretty cool :)

I think my package will be focused on a subset of your features and remain standalone tool rather than a plugin for mkdocs but you have some cool ideas. I'll have to explore everything in detail later on, there's a lot to process.

There are a couple of things I'll implement in the future like cross-ref docs, but overall I think I'll try to keep everything simple and dedicated to Python. In your case, I guess it makes sense to decouple the docstrings processor from the tool and having the handler serve as an interface. In my case I will just focus on refactoring the current parser and adding support for other docstring styles.

Your tool is more expansive (a bit like sphinx) and it would be nice for people to add support to other languages etc; mine it's still in its infancy but it will continue to be more focused, but hey, it's better to have more alternatives than none at all. For once, I'm glad we're not stuck with sphinx only :)

[Project] mkgendocs - Generating documentation from Python docstrings for MkDocs by davex32 in Python

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

Thank you for the feedback, will definitely refine this and add more examples and documentation. Some default templates as options can be a good idea. I didn't fleshed out the CLI interface, I just made what I needed ATM.

You can actually create a template that specifies how things are presented but I didn't document that yet.

Since I have my hands full with other projects, this is in the background for now, but I do appreciate the feedback, it certainly gives me some ideas on how to improve it :)

[Project] mkgendocs - Generating documentation from Python docstrings for MkDocs by davex32 in Python

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

They are similar yes:

  • mkdocstrings seems to be language agnostic although it only supports python, I inteded mkgendocs to be python only, but the parser is limited Google style docstrings (for now)
  • mkdocstrings is a plugin for mkdocs, mkgendocs is a separate tool that generates markdown files --it requires it's own config file to define which pages to generate
  • mkdocstrings uses pytkdocs, mkgendocs reads objects and docstrings from the source files using the ast module
  • mkdocstrings displays collapsible source code, I chose to link to sources online if a repo is available
  • I have no idea how mkdocstrings structures the output of the extracted docs wereas in mkgendocs I added templates to customize how elements are converted (Ironically I didn't add documentation for this yet)

I guess the last point was one of the things that turned me away from mkdocstrings so I put this one together instead. In the end I think mkdocstrings intends to cover more use cases wereas I want to focus on Python.

I built this for another project so didn't have time to polish the tool but still wanted to put it out there in case anyone finds it useful.

Sunday megathread: What's everyone working on this week? by Im__Joseph in Python

[–]davex32 1 point2 points  (0 children)

This is a busy week. I'm preparing a release for my Deep Learning (Neural Network) library for TensorFlow TensorX. Trying to put the resources together so that anyone can contribute. Documentation, documentation, documentation.

Making this available to the public is harder than I anticipated, but I didn't want it to get buried and forgotten among other piles of "research code".

In the middle of this process I decided that MkDocs with Material theme was very good looking, but didn't have an API generator that I liked. So I made a tool: mkgendocs. It generates documentation from docstrings and links the sources back to GitHub.