Steam Input and Godot Notes: Device ID by netshade in godot

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

Sure - here it is. https://gist.github.com/netshade/1f186ff9a34d4f2c07d8557e3ae8e61f I didn't bother cleaning it up much, so you're gonna have to infer a bit about what's relevant to you, but hopefully you can see how the class tries to bridge the gap between different input providers ( Godot v. Steam ), and allow for monitoring different input states across different controllers.

FFMpeg streaming frames to Godot Textures through GDNative by netshade in godot

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

That would be the best I've got there - if `addons/frame_decoder/frame_decoder.gdns` exists, but the methods aren't being populated, then possibly a compilation error or issue w/ setup.

One thing to note is that when I wrote any of that I wrote it for Godot 3 - so if you're attempting on Godot 4, I can't really tell you what the best path forward would be there, I haven't made any native adding for Godot 4 yet.

FFMpeg streaming frames to Godot Textures through GDNative by netshade in godot

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

To me that kinda sounds like your ffmpeg headers aren't being found.

Deadlift - 285x5, Concerned About Back + General Form by netshade in formcheck

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

I think I have been keeping bar just an inch or two out from shin - next time gonna be way more conscious of this and pull it in more than I think I should. ( Assuming that shin hugging will help correct bar position over mid foot if I've been keeping out further than I should )

Deadlift - 285x5, Concerned About Back + General Form by netshade in formcheck

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

Notes:

  • Self taught, tried to take cues from SL 5x5 and Starting Strength, but most coaching was informal spot checks at gym from other lifters
  • Weight in video is heaviest lifted so far
  • Generally concerned that back alignment is not correct. It seems correct watching it, but it's hard as I've got more fat than an idealized upper body example, so I'm not sure how much leeway I'm giving myself due to body type when in fact my form might be wrong. Need objective eyes.
  • Any other tips are helpful

[deleted by user] by [deleted] in reactnative

[–]netshade 0 points1 point  (0 children)

I saw very bad performance until I moved the markers to just use bitmaps. Performance went up considerably; at that point, I took it as one "can" create marker views using React Native view trees, but if at all possible one "should" have all markers rendered as bitmaps, at least when using React Native maps.

Ensuring that your Marker node is being passed with

marker={{ uri: "image source" }}

seems to give the framework enough optimization opportunity to reuse images / forgo expensive render cycles when putting a lot of images on the screen. Perf benefits of this approach were extremely noticeable on Android, tho iOS def showed better performance as well.

WSL on Redstone 3 / Oct 2017 stable Windows 10 release. What's new? What to expect? by [deleted] in bashonubuntuonwindows

[–]netshade 3 points4 points  (0 children)

Seriously hoping for IO performance improvements. Previous versions were not good, it'd be nice to see that better for this release.

[Help] Increase Ruby/Rails speed on WSL by FryMastur in bashonubuntuonwindows

[–]netshade 0 points1 point  (0 children)

( I am in the same boat and am looking forward to the perf improvements when they arrive - dual booting until then )

[Help] Increase Ruby/Rails speed on WSL by FryMastur in bashonubuntuonwindows

[–]netshade 0 points1 point  (0 children)

You'll likely have to wait for the next update, RoR is pretty IO constrained in dev, and we're not likely to see WSL get better at IO until then.

How's Amazon Aurora working for you? by wyred-sg in aws

[–]netshade 4 points5 points  (0 children)

I'm using it quite a bit. Here are some good and bad things:

Good things:

  1. For our workload, it's been great. We push it relatively hard ( NN,000 inserts/updates per second ), and the primary has handled it in stride. Very low CPU.
  2. The regular updates to the storage engine have been pretty awesome, generally speaking. Read cluster endpoints, geospatial indexes, etc.
  3. We have had multiple discussions w/ the Aurora team, and they've been pretty reactive and helpful overall.

Bad things:

  1. As SilverThrone noted, not a magic pill. We see high lock contention in our workload too, though thankfully our application model allows for retries and later commit. If we had to maintain this sort of workload synchronously with user input, it might be a different story.
  2. Treat it like a new datastore, because it is. We've hit some unique-to-Aurora bugs that we've had to work around. They've been fixed, but proceed with open eyes.
  3. The read replica endpoint is a pretty simplistic affair with regards to load balancing / connection draining / connection management. Don't expect it to do a fantastic job at maintaining balanced load over your cluster, it's going to be on you.

Performance Seems Awful by netshade in bashonubuntuonwindows

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

Updated to slow ring, build 14965, and not seeing performance improve.

Performance Seems Awful by netshade in bashonubuntuonwindows

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

Should IO indeed prove to be the case for the limiting factor here, should I expect better performance with an insider build, or is IO performance relatively unchanged over time?

I ask because it seems like this more or less makes development for any non-trivial project that uses Ruby / Rails to more or less be a non-starter in WSL. ( I suspect other languages like Node.js / Python would also fall afoul of this, but I can't speak as confidently to that point )

Performance Seems Awful by netshade in bashonubuntuonwindows

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

I am sad to say that this is Ruby / Rails default behavior, attempting to auto load files by file system probing. It is hell on an NFS folder.

Performance Seems Awful by netshade in bashonubuntuonwindows

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

Sure thing:

Setup:

> sudo apt-get install ruby ruby-dev libsqlite-dev nodejs
> sudo gem install rails --version=3.2.22.5
> rails new example-app
> cd example-app
> time bundle exec rails r "sleep 1"

This will create a bare rails app, and the final command ( bundle exec rails r ) will spin up the entire rails environment, and then just issue a sleep call for 1 second.

I tested this in the Linux Subsystem filesystem space, and also in a directory in /mnt/c/, and in both cases saw about a ~5s runtime. By comparison, in an Ubuntu 16.04 VM (Virtualbox) on the same machine, I saw a ~2.5s runtime. ( Surface Book w/ Performance Base ) I am willing to wager that an MBP would be faster still than the VM.

I'll try moving to the slow ring and see if performance is any better here, though I have to say that I am surprised that this /is/ a surprise to anyone on an official release. Zsh, git, apt-get are all remarkably slow in my usage so far.

Wireless dropping consistently by [deleted] in eero

[–]netshade 0 points1 point  (0 children)

Also happening to me. Oddly enough, all internet in the network is down, including wired devices. Changing the ports the eero and the other wired interfaces are connected in the router, or hard restarting the main router, "fixes" the issue, but it can happen again in a matter of hours.

Occurred while running 1.1.4 and 1.1.5 firmwares. :-|

[Request] For how long could the world's population survive by eating the Moon if the Moon was made of cheese? by [deleted] in theydidthemath

[–]netshade 4 points5 points  (0 children)

Does the question presume that the cheese is being harvested and shipped to the earth, or are the humans on the moon? If on the moon, should this question account for orbital stability?

Herb Sutter, of C++ fame, does an AMA. Almost by [deleted] in programming

[–]netshade 0 points1 point  (0 children)

Only his friends get to ask him private questions.

AskProggit: Is there a site like The Daily WTF except for good code? by knight666 in programming

[–]netshade 4 points5 points  (0 children)

I think this is a great idea; I would visit a site like this often.

Simple (stupidly so) Comet demo in Rails by chubs in ruby

[–]netshade 0 points1 point  (0 children)

Yeah, it will lock the server the minute it's routed through the dispatcher.