What version of .net used to build ALVR? (I'm trying to run it in linux, using WINE)

Hi Polygraphene....
Thank you so much for this amazing piece of software, before anything!! Really appreciate your effort and talent in put this all together!!
I'm trying to make ALVR work in Linux under WINE (ALVR server), since there's loads of games running in linux theses days.
I myself play Elite:Dangerous in linux this way.
Although SteamVR beta runs fine in wine, I can't seem to make ALVR UI to run... it crashes with a StackOverflowException exception.
I have tried with .net 4.0, 4.5 e the latest, 4.72... no luck!
alvr steamvr driver seems to load correctly inside steamvr, but since I cant run the .net UI, steamVR says theres no device attached.
Is there any other dependency for ALVR.exe apart from .net that you can think of?
I'm thinking in port ALVR.exe to python, so it would run correctly in any platform... at least the UI.
I believe the steamVR driver also probably could be compiled natively in linux since it uses NVIDIA  and OpenVR APIs, which are multi-platform... But If I can at least figure out the ALVR UI to instruct the driver what to do, I can make this work...
anyhow, any help would be awesome!!

Do you fixed that? It works now?

nope!  Sorry!

@hradec heya, I am trying too achieve the same thing. I figured out that it uses .net framework 4.6.1. but the master branch doesn't compile.
Also, how did you install the drivers on linux? I can't seem to get it to work.

I've installed steam itself with wine (and also dxvk), and then after having steam up and running, steamvr installs and just works.
After having steam and steamvr working in wine, I copied over the driver_alvr_server.dll file to "$WINEPREFIX/drive_c/Program Files/ALVR/driver/bin/win64/driver_alvr_server.dll".
after that, I restarted steam and steamvr, and steamvr shows up the ALVR headset icon as it does in windows.
But without the ALVR frontend app, there's no way to talk to the driver_alvr_server.dll software running inside steamvr, to accept the connection from the Oculus Go.
I started look at the code, but life is hectic and I didn't manage to find enough "continuous" time to actually understand something there.
Since then I ended up running windows 10 on a VM with gpu passthrough, and used ALVR that way.
But I still plan on coming back to ALVR linux porting (not only the frontend, but also the driver itself) at some point, because I'm very interested on learning more about the very efficient low latency streaming it does, basically to use it for a low-latency remote desktop application for linux, allowing 60fps at 1080p and hopefully 4k 60fps remote access to linux desktops... like parsec for linux!

In case you're interested in install steam with wine like I did, here is a little sum up:
I've downloaded wine version tkg-4.0-x86_64 using Lutris (Lutris have a functionaly to download pre-compiled versions of wine that run on most distros)
after downloaded, I created a steamwine folder somewhere, and inside I created a WINE folder, and moved the tkg-4.0-x86_64 to the WINE folder.
then I created a little startup script called start.sh, with this:
#!/bin/bash

CD=$(dirname $(readlink -f $BASH_SOURCE))
cd $CD

V=tkg-4.0-x86_64

export DXVK_HUD=frametimes
export __GL_THREADED_OPTIMIZATION=1

#export WINEDEBUG=+all
export LC_ALL=C
export WINEARCH=win64
export WINEPREFIX=$CD/WINEPREFIX64B/
export PATH=$(pwd):$CD/WINE/$V/bin/:$PATH
export LD_LIBRARY_PATH=$CD/WINE/$V/lib64:$CD/WINE/$V/lib:$LD_LIBRARY_PATH

export WINEPATH=$WINEPREFIX/drive_c/Program\ Files\ \(x86\)/NOLO\ HOME/:$WINEPREFIX/drive_c/Program\ Files\ \(x86\)/NOLO_HOME/NoloAllDrivers/driver/bin/win64/:$WINEPREFIX/drive_c/Program\ Files\ \(x86\)/NOLO_HOME/NoloAllDrivers/nolo/bin/win64/:$WINEPREFIX/drive_c/Program\ Files\ \(x86\)/NOLO_HOME/NoloAllDrivers/huaweinolo/bin/win64/
export WINEPATH=$WINEPATH:$WINEPREFIX/drive_c/Program\ Files\ \(x86\)/Steam/steamapps/common/SteamVR/bin/win64/
export WINEPATH=$WINEPATH:$WINEPREFIX/drive_c/Program\ Files\ \(x86\)/Steam/steamapps/common/SteamVR/bin
export WINEDLLPATH=$WINEPATH

if [ "$@" == "" ] ; then
    arg=./WINEPREFIX64B/drive_c/Program\ Files\ \(x86\)/Steam/Steam.exe
    $CD/WINE/$V/bin/$w "$arg"
else
    echo $CD/WINE/$V/bin/$w "$@"
    $CD/WINE/$V/bin/$w "$@"
fi

after creating the start.sh, make it executable with chmod a+x ./start.sh.
Run ./start.sh winecfg and set the windows version to "windows 7".
After this, you'll find a WINEPREFIX folder inside you steamwine folder, created by running wine tkg-4.0-x86_64.
Run ./start.sh winetricks (assuming you have winetricks installed in your distro already) and install dotnet40, dxvk, msxml3, msxml4, msxml6, quartz and vulkanrt.
After that, you run ./start.sh /<path to downloaded steam setup file>/SteamSetup.exe to install steam, and after installed, just run ./start.sh to start steam up!
After that, install steamvr, run it. close it all down, copy driver_alvr_server.dll to your WINEPREFIX folder:  ./WINEPREFIX64B/drive_c/Program Files/ALVR/driver/bin/win64/driver_alvr_server.dll
Run ./start.sh again, start steamvr and you should see the ALVR headset icon on steamvr!
That's pretty much it!

After writing this little "how to" for you, I tried to run steamvr again, (it was a while since the last time I tried and it worked fine), and after updating (off course... it's so freaking annoying the amount of updates this thing gets), steamVR crashes at startup now under my wine setup! (thanks Valve)
So, maybe trying a new version of wine will work, or maybe there's someting new that needs to be installed from winetricks now... Unfortunately I can't look into it right now!!
If you do, please let me known how it goes... and the steps you did, in case you fix it! (make sure to make a copy of your WINEPREFIX after having steam up and running, just so you can revert back in case something gets screwed by installing winetricks stuff... it happens all the time! )

We need ALVR or VD for Linux, such a shame the developers have no interest in Linux :(

We need ALVR or VD for Linux, such a shame the developers have no interest in Linux :(

Well, maybe once .net 5 comes out we will be able to compile it for linux.

Hmm, that will be interesting to see happen.

The ALVR client opens in wine6.0. I cant get it to see that steamVR is installed tho even if I install it in the same prefix. If anyone could tinker with this


TypeError: 'float' object cannot be interpreted as an integer

Hi!
First of all, thanks for this easy-to-use package for fitting psychometric functions! Lately, I am having one issue, though. If I input a numpy array to the fitmodel function, I get a TypeError: 'float' object cannot be interpreted as an integer.
Example code:
import bayesfit as bf

x = np.array([[ 1, 19, 40],
       [ 2, 26, 40],
       [ 3, 32, 40],
       [ 4, 38, 40]])

bf.fitmodel(x, nafc=2)

I am not sure if this is due to my numpy version. I am using version 1.18.1
Thanks,
Dominik

Yes, indeed this is an issue that crops up as of numpy version 1.18.  I changed the requirements.txt to reflect this, and force require numpy>=1.11.0,<=1.17.0.
For the time being, my recommendation is to create a virtual python environment that uses a numpy version less than 1.18 by installing all the required packages via the requirements file.
git clone --recursive https://github.com/slugocm/bayesfit.git
cd bayesfit
python setup.py install
I will try to set aside some time to fix this issue.  Otherwise, always happy to review merge requests if you get around to it sooner than me :)
Best,
M


[vNext Tokens] Convert SegmentedControl from UIControl to UIView

Platforms Impacted

[x] iOS
[ ] macOS

Description of changes
The change from UIControl to UIView will be breaking, as clients will now need to set the onSelectAction rather than adding a target.
The current SegmentedControl is a UIControl, and that means that keyboard navigation will only select the entire control. By changing it to a UIView, we can now select each individual button. I recorded the keyboard navigation videos with increased contrast to show where the focus was. We don't have focus colors from design right now, so I'll come back and update the colors to change once we have those. With this change, though, the control is at least usable with keyboard navigation.
Verification

Before
After

Crash?

Pull request checklist
This PR has considered:

[ ] Light and Dark appearances
[ ] iOS supported versions (all major versions greater than or equal current target deployment version)
[x] VoiceOver and Keyboard Accessibility
[ ] Internationalization and Right to Left layouts
[ ] Different resolutions (1x, 2x, 3x)
[ ] Size classes and window sizes (iPhone vs iPad, notched devices, multitasking, different window sizes, etc)
[ ] iPad Pointer interaction
[ ] SwiftUI consumption (validation or new demo scenarios needed)
[ ] Objective-C exposure (provide it only if needed)

Microsoft Reviewers: Open in CodeFlow

Please document some details about the public API change.

also make note about in the PR how this is breaking change so when we merge and bring release notes easier to capture all the breaking changes together.

Please document some details about the public API change.

also make note about in the PR how this is breaking change so when we merge and bring release notes easier to capture all the breaking changes together.

Updated the description and added a API break label


Make postBuild executable automatically

If a repository is originally created on windows the postBuild will not be executable. If you clone this repo on linux and then chmod a+x postBuild and then add, commit, push the status does not get transferred to github. So you can run repo2docker locally without any problem but on the same repository it doesn't work. You then are required to manually git update-index --chmod=+x postBuild in order force the file to be executable.
Would it not be better to have repo2docker do this step manually before building? It would make creating repos from windows much easier. (example repo https://github.com/4QuantOSS/FastPhotoStyle/commits/master)

(Related #240 and #241)
Since a few days postBuild isn't required to be executable any more. I'll close this for now, feel free to reopen.

@betatim still throwing the message
Error during build: binder/postBuild is not executable, see http://repo2docker.readthedocs.io/en/latest/samples.html#system-post-build-scripts for help.

Have the updates made it to production binder yet?

https://github.com/jupyterhub/mybinder.org-deploy/pull/477 should have deployed them, the deploy was close to when you posted so might have just missed it. (When I closed this I thought we had already deployed it)

still an issue
Waiting for build to start...
Cloning into '/tmp/repo2docker_dk5z2em'...
HEAD is now at 702684b first binder friendly version
Building conda environment for python=3.6Error during build: binder/postBuild is not executable, see http://repo2docker.readthedocs.io/en/latest/samples.html#system-post-build-scripts for help.

Ran into the same problem earlier today. Failing to reproduce it when I run repo2docker locally though.


Description still says "Bluetooth" even though it's "WiFi"

Hi Peter,
your repo description says "Bluetooth" when in fact it's a "WiFi" (isn't it?):

Not a big deal, just when I can't remember the exact repo name and google, I tend to skip over the correct link a couple of times because of that.
Heiko
P.S: Thanks for publishing your project. It's great to see kindred spirits :)

Thanks.
I shall fix shortly.
Peter
On Tue, 23 May 2023, 6:26 am newHeiko, @.***> wrote:

Hi Peter,
your repo description says "Bluetooth" when in fact it's a "WiFi" (isn't
it?):
[image: image]
https://user-images.githubusercontent.com/35038740/240032092-d5c1c5ce-3ec1-48ec-84f6-0647e2706ab4.png
[image: image]
https://user-images.githubusercontent.com/35038740/240032209-a5451938-51c5-43f9-9140-3c01d8f425f3.png
Not a big deal, just when I can't remember the exact repo name and google,
I tend to skip over the correct link a couple of times because of that.
Heiko
P.S: Thanks for publishing your project. It's great to see kindred spirits
:)
—
Reply to this email directly, view it on GitHub
https://github.com/flash62au/WiTcontroller/issues/3, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG6Y4AYPE2UXHZQCSVORVMLXHPDYRANCNFSM6AAAAAAYK5RNIY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Very crude compatibility with Three.js r110+ and ES6

Adds compatibility for up-to-date THREE.js and ES6 web standards (Javascript modules mostly).

Note: I only edited the output file (the non-min one), not any src files
See #38 for details on what was changed.
If you are going to use this, two changes are necessary:

Before loading in this lib, you must assign window.THREE to THREE (imported from an es6 module). See example below
Defer loading of this lib file and any other scripts that depend on this lib
Instead of THREE.Terrain, use window.THREETerrain

initThree.js
import * as THREE from 'three';

// Push THREE into the global scope for THREETerrain to use
window.THREE = THREE;

HTML
Make sure you have an import map set up first
<script type="importmap">
  {
    "imports": {
      "three"<EMAIL_ADDRESS>      "three/addons/"<EMAIL_ADDRESS>    }
  }
</script>

Then load your scripts
<script type="module" src="./initThree.js"></script>
<script src="path/to/THREETerrain.js" defer></script>
<script type="module" src="main.js" defer></script>

For a demo on how to use this, please see my game, https://github.com/oliver408i/missilesim
Additional technical notes: THREE.Math functions were changed to their identical THREE.MathUtils ones

You edited the build folder - I believe you need to edit the src one instead. The change should also be to add import * as THREE from 'three'; at the top of every file rather than rely on window.THREE (and to export const THREETerrain = ... rather than assign it to window.THREETerrain).

Sorry for the delayed review, and thanks for this effort.
arcanis is correct - for this PR to merge, the files in the src folder need to be changed. The build files are auto-generated, so any changes to them would get overwritten in the next build.
Beyond that, I agree that it would be preferable to convert this library to ESM style rather than add to the window global, but I'm okay with window as a workaround for now. However, ideally we should be able to get rid of the need to load a separate initThree.js script first.

I will do that (the files are just concat together one by one right? I don't normally use this kind of javascript build system). I did attempt to convert this into an ESM style model but I haven't been successful by doing basic modifications (I didn't want to change too much of the original code, but it seems like that is necessary to fully convert the module). I will continue to experiment with that. Thanks for your review

Update: I managed to get a working ESM style module going, but I don't think it is possible to split it up into that many different files (Terrain is now a class).

Yeah, the build process concats files and then minifies them. I haven't touched how that works since 2015. In this case, the only symbol that would get exported is the Terrain constructor, and everything else gets added as a property on that constructor. So if all the other files get concatenated after core.js, and an export line is added at the end, that would probably work.

I have added the code to the .mjs files in src. I'm not sure how to compile them, so I'll leave that to you (or you can let me know what to put in the config). Order is: Core.mjs + CoreNoise.mjs + Terrain.mjs + Export.mjs. I also updated README to include slightly different usages for this module. Note that I included THREE.Terrain.Module.mjs in the build folder for reference for the complete module file. I know it will get overwritten, its not meant to be permanent.

Thank you for putting the work into this and sorry for the delayed response. This has been a busy couple weeks for me.
There is a lot going on in this PR. Documentation stripped out, files combined - it makes for a difficult review because it's hard to quickly see what has changed. I also need to set up a new example to be able to test the changes.  How does that sound?

Sounds good! I updated my fork's README with some more info. Let me know if I should add/change anything else. I don't have an example set up, but I do have my own game that uses the ESM version of this module (which is why i'm here in the first place), so I'll link that as a "example" for now.
Thanks for your time reviewing this PR!

Thanks. I updated the README in this repo to point to your fork.


PyLeap View Navigation

User should be able to disconnect from Bluetooth device within the Paired view and enter Bluetooth pairing view.
Add a UIButton that disconnects paired device and navigate user to Bluetooth pairing view.
Issue should be resolved in 1.1(6)

Issue has been resolved
Issue should be resolved in 1.1(6)


New line after display

Missing new line

This is the intended behavior. Use (newline) to output a new line.
61A Scheme Spec
R5RS


Code generator: don't erase already generated functions

Remember:
There is 4 scripts for Ghidra.

the import symbols py script to import the names of the functions and labels that spice86 generates
the spice86 script for generating references to tell ghidra where the indirect calls and jumps go (important otherwise it won't see the code)
the spice86 script to rename the functions inferred by ghidra so that the generator uses them and can deduce the segments
finally the generator
the first 3 help you to have a ghidra file with more information and not to do too much work by hand

the generator works better with a clean slate.

When Cryogenic is run with the right parameters (see the Spice86 README for details), it generates a CSV file that indicates which functions are overriden by .NET code.
By reading it in the C# code generator written in Java, we could avoid the generation of those already generated functions.

Maybe add the fact that a function is overriden or not in the executionflow.json file, so the Ghidra code generator doesn't need to read several files.


Refactor semagrams initialization code

Currently, Semagrams calls the render function inside its intialization code:
https://github.com/AlgebraicJulia/Semagrams.jl/blob/01b51a602e5fcf309497ee7d9e77aba6cc266c57/scala/core/src/base.scala#L66-L79
It would be better to separate the code that creates the svg element into something like a "semagram widget", so that it can be inserted at arbitrary places inside of a Laminar application. In the long run, I think we may realistically want to have multiple "semagram widgets" within a more complex DOM structure.
I think it would be nice if the "apps" were in control of calling render and determining what gets passed to it.
      val sharedState: ACSet = ...
      val appElement = div(
            h1("Process"),
            SemagramWidget(projectProcess(sharedState)),
            h1("Structure"),
            SemagramWidget(projectStructure(sharedState)),
      )
      render(appContainer, appElement)

The pseudo-code above is meant to illustrate a page with two embedded semagram widgets that share some common state via an ACSet. It's intended as a sketch, a lot of details still need to be fleshed out.

The crucial question to answer for this is how does the semagram widget interact with the code outside of it?
One possibility is to have the code outside throw highlevel events to it, which are processed in the normal event loop.
Another possibility, suggested by the above, is to have the actual Var containing the ACSet be exposed.
Laminar is very flexible with state management, so there are a lot of different ways to structure this.
For starters, I might just make an API where you overload a class method of type (div: dom.Element) -> IO[Unit], and then provide some methods for setting up a Semagram manually in that context, by binding an EditorState to an svg element with an IO action.

That is very true. Based on my conversations with @sjbreiner, it seems likely that we will eventually want to present multiple views of one underlying ACSet, so passing in the Var from the outside seems reasonable.
Right now, my understanding is that Semagrams provides generic functionality, mainly event handling and mapping ACSets to graphical elements. A Semagrams app currently corresponds to one specific type of diagram (petri, dwd, etc.). For me, it would be natural to think of Semagrams as a collection of diagram components, where each component can be used to view/edit ACSets of a given schema. Ideally, apps should be able to freely mix and match these diagram components as needed, along with other domain specific Laminar code.
Currently, is there a plan for Semagrams to support more complex apps with multiple diagrams?

On second thoughts, the API that @filonik-cmu proposed makes more sense: there should be a function that returns an svg element that a semagram is attached to.
The question is, what should the arguments to this function be? Probably it should be a Var of whatever the state is, and then also an eventbus?

On further reflection, the real question here is that a Semagram consists of two things. One is laminar based, and one is cats-effect based. How do we compose this with other stuff that has both cats-effect and laminar components?

The question is, what should the arguments to this function be? Probably it should be a Var of whatever the state is, and then also an eventbus?

That actually sounds like a very nice API to me. I certainly haven't thought about all the consequences and impacts it would have on the Semagrams code base, but from a developer perspective, it seems quite natural.
Am I correct in understanding that the cats-effect based thing you are referring to is the IO? Wouldn't that be covered by passing in the eventbus as an argument? Or is there some other aspect that I haven't considered?
I understand that event handling is quite tricky, and there are probably some global events like key down/up that we would have to think about. But if we engineer this correctly, it would improve the versatility of Semagrams, and would probably make nice things like unit testing viable.
I keep hearing that Semagrams was at some stage demoed inside of a Jupyter notebooks. I imagine that would have posed some similar challenges?

One analogy that shouldn't be taken too literally, but may be worth exploring anyhow, is how Vue.js is setup. I know that it is different from Laminar, because of things like the virtual DOM, but I think it is also similar to what we are trying to do in many respects.
In Vue.js, you have one Vue instance, which you initialize and it essentially manages all the global state, and then you can have any number of components, which are essentially independent, but they maintain a reference to the Vue instance.

One option would be to split Semagrams into two parts. One would be the Semagrams window, which essentially just accepted a signal of sprites. And the second part would be the Semagrams state management, which would have event handlers, global state, etc.
So the Semagrams window would just be a "thin client" for Semagrams state management. Semagrams state management would be somewhat agnostic to how it was rendered, and could receive commands/queries from anywhere. This could help with testing.

The problem with Semagrams inside Jupyter/Pluto is that I never figured out a good way to save the state. Which meant that if you refreshed the page/reopened the notebook, whatever you had done would be gone.
More generally, I want to move past the notebook paradigm for scientific computing. The "reproducable output" of exploratory work should be a language-independent model, not arbitrary code running in a notebook. You should not save the model construction steps.
That said, notebooks have a place for making documentation; having an easy way to weave code and text is useful. And in that context, it would be good to embed Semagrams. So I'll want to enable that kind of stuff again at some point.

Sure, whether notebooks are a good paradigm for scientific computing is a deeper discussion. I was mainly interested in the technical aspect of having one or more Semagrams (i.e. diagrams with different underlying ACSets) running on one page in Jupyter notebook cells.


Immutable.Stack#last() returns undefined

Version:
3.6.2
Bug:
Stack should return the last value when last() is called.
Example:
var l = Immutable.List([1, 2, 3, 4]);
var s = Immutable.Stack(l);
s.first(); // 1
s.last(); // undefined
s.size; // 4
s.get(3); // 4

I checked the docs, and it mentions both first() and last() functions for Stack. However, there are no special notes that state that last() should behave differently for the Stack object. Can you clarify if it is intended that Stack should not return a last() value?

Thanks for finding this bug! I'll dig in to fix it


Update scalatest to 3.2.1

Updates org.scalatest:scalatest from 3.2.0 to 3.2.1.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalatest", artifactId = "scalatest" } ]

labels: library-update, semver-patch

Codecov Report

Merging #853 into develop will decrease coverage by 0.06%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #853      +/-   ##
===========================================
- Coverage    89.29%   89.23%   -0.07%
===========================================
  Files          117      117
  Lines         9326     9326
  Branches       365      365
===========================================
- Hits          8328     8322       -6
- Misses         998     1004       +6

Impacted Files
Coverage Δ

...n/scala/com/twitter/algebird/SuccessibleLaws.scala
76.92% <0.00%> (-15.39%)
:arrow_down:

...src/main/scala/com/twitter/algebird/Interval.scala
77.39% <0.00%> (-1.74%)
:arrow_down:

.../main/scala/com/twitter/algebird/JavaMonoids.scala
78.68% <0.00%> (-1.64%)
:arrow_down:

.../main/scala/com/twitter/algebird/BloomFilter.scala
93.80% <0.00%> (-0.45%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7b436fe...626a201. Read the comment docs.


Setting Service links results in "cannot unmarshal !!map into []string " error

Rancher compose version - V0.1.1
docker-compose.yml  used:
service1:
  ports:
  - 4444:22/tcp
  tty: true
  image: sangeetha/testclient
  links:
    service2: linkme
  stdin_open: true
service2:
  tty: true
  image: sangeetha/testlbsd
  stdin_open: true

Error seen when trying to use it with ./rancher-compose_linux-amd64 -p san1 up
INFO[0000] Creating environment san1
ERRO[0000] Failed to parse service service1: yaml: unmarshal errors:
line 3: cannot unmarshal !!map into []string
FATA[0000] Could not parse config for project san1 : yaml: unmarshal errors:
line 3: cannot unmarshal !!map into []string
sangeethahariharan1@sangee01:~$
I removed the service name link and i still cannot get it to work:
sangeethahariharan1@sangee01:~$ ./rancher-compose_linux-amd64 -p san1 up
ERRO[0000] Failed to parse service service1: yaml: unmarshal errors:
line 2: cannot unmarshal !!str service2 into []string
FATA[0000] Could not parse config for project san1 : yaml: unmarshal errors:
line 2: cannot unmarshal !!str service2 into []string
sangeethahariharan1@sangee01:~$ cat docker-compose.yml
service1:
  ports:
  - 4444:22/tcp
  tty: true
  image: sangeetha/testclient
  links:
    service2
  stdin_open: true
service2:
  tty: true
  image: sangeetha/testlbsd
  stdin_open: true
sangeethahariharan1@sangee01:~$

I see the same error when trying to create Lb services as well , since we use links.
sangeethahariharan1@sangee01:~$ ./rancher-compose_linux-amd64 -p lbrancher up
INFO[0000] Creating environment lbrancher
ERRO[0000] Failed to parse service lb123: yaml: unmarshal errors:
line 3: cannot unmarshal !!map into []string
FATA[0000] Could not parse config for project lbrancher : yaml: unmarshal errors:
line 3: cannot unmarshal !!map into []string
sangeethahariharan1@sangee01:~$ cat rancher-compose.yml
lb123:
scale: 1
load_balancer_config:
lb_cookie_stickiness_policy: null
description: lb123
name: lb123 config
app_cookie_stickiness_policy: null
health_check:
port: null
interval: 2000
unhealthy_threshold: 3
request_line: GET /name.html HTTP/1.0
healthy_threshold: 2
response_timeout: 2000
test1:
scale: 1
test2:
scale: 2
sangeethahariharan1@sangee01:~$ cat docker-compose.yml
lb123:
ports:

9797:80
tty: true
image: rancher/load-balancer-service
links:
test1: test1
test2: test2
stdin_open: true
test1:
restart: 'no'
tty: true
image: sangeetha/testlbsd
stdin_open: true
test2:
restart: 'no'
tty: true
image: sangeetha/testlbsd
stdin_open: true

@ibuildthecloud In Rancher Compose, links needs to change from slice into Maporslice if you want to support Map as well as slice for links.
I can make updated to Rancher Compose/OS, but don't know how to start for updates in Rancher.

Created a PR to make changes in rancher-compose, but not in other repos.

Rancher compose version - V0.1.1
Scenario 1 - service links
docker-compose.yml used:
testweb:
  tty: true
  image: sangeetha/testlbsd
  stdin_open: true
testcp:
  ports:
  - 9999:22/tcp
  restart: 'no'
  tty: true
  image: sangeetha/testclient
  links:
    testweb: linkme
  stdin_open: true

I am able to create services that are linked using the above docker-compose.yml which was generated from the rancher server. service link name from container in testcp resolve to container in testweb as expected.
Scenario 2  - LB services
Able to get an lb service working with the following docker-compose.yml and rancher-compose.yml that was generated from rancher server:
docker-compose.yml
test1:
  tty: true
  image: sangeetha/testlbsd
  stdin_open: true
lb456:
  ports:
  - 7777:80
  tty: true
  image: rancher/load-balancer-service
  links:
    test1: test1
    test2: test2
  stdin_open: true
test2:
  tty: true
  image: sangeetha/testlbsd
  stdin_open: true
~
rancher-compose.yml

test1:
  scale: 3
lb456:
  scale: 2
  load_balancer_config:
    lb_cookie_stickiness_policy: null
    description: lb456
    name: lb456 config
    app_cookie_stickiness_policy: null
    health_check:
      port: null
      interval: 3000
      unhealthy_threshold: 3
      request_line: GET /name.html HTTP/1.0
      healthy_threshold: 2
      response_timeout: 4000
test2:
  scale: 4


Changed readme to link https

Q
A

Is bugfix?
no

New feature?
no

Breaks BC?
no

Tests pass?
yes

Fixed issues
n/a

Merged. Thank you!


[Feature Request] Windows and Linux Support?

Platform: Windows 7+
Since this is an electron based app, I was wondering whether this could get support for both Windows and Linux in the future?

Ok, closing this and add thumbs at https://github.com/wulkano/kap/issues/20


ansible-playbook 01_general-server-configuration.yml fails at "TASK [chrisvanmeer.hashicorp : Include right OS task file.]"

fatal: [server1]: FAILED! =>
reason: Could not find or access '/home/bendavies/at-hashi-demo/setup-hashicorp-Ubuntu.yml' on the Ansible Controller.
fatal: [server2]: FAILED! =>
reason: Could not find or access '/home/bendavies/at-hashi-demo/setup-hashicorp-Ubuntu.yml' on the Ansible Controller.
fatal: [server3]: FAILED! =>
reason: Could not find or access '/home/bendavies/at-hashi-demo/setup-hashicorp-Ubuntu.yml' on the Ansible Controller.
fatal: [client1]: FAILED! =>
reason: Could not find or access '/home/bendavies/at-hashi-demo/setup-hashicorp-Ubuntu.yml' on the Ansible Controller.
fatal: [client2]: FAILED! =>
reason: Could not find or access '/home/bendavies/at-hashi-demo/setup-hashicorp-Ubuntu.yml' on the Ansible Controller.
fatal: [client3]: FAILED! =>
reason: Could not find or access '/home/bendavies/at-hashi-demo/setup-hashicorp-Ubuntu.yml' on the Ansible Controller.
fatal: [client4]: FAILED! =>
reason: Could not find or access '/home/bendavies/at-hashi-demo/setup-hashicorp-Ubuntu.yml' on the Ansible Controller.
Later on, this causes "ansible-playbook 03_consul-deployment.yml" to fail with "TASK [HashiCorp - Consul : Ensure data directory is present.]"

Did you forget to install the role or edit any of the code perhaps?
I can't see why this is happening.

Nope, installed the roles and didnt edit any of the code. Bizzarly, when I add a symbolic link:
ln -s /home/bendavies/at-hashicorp-demo/set-hashicorp-Ubuntu.yml /home/bendavies/.ansible/roles/chrisvanmeer.hashicorp/tasks/setup-hashicorp-Debian.yml
it appears to work.
Not particulary familiar with Ansible yet - but why would the "Include right OS task file" task look in the project root for the role?

Sounds like you have a roles_path defined in an Ansible config somewhere with ./ as value that overwrites.
If I use the role, I see a task
TASK [chrisvanmeer.hashicorp : Include right OS task file.] ***************************************************************************************
included: /Users/chris/.ansible/roles/chrisvanmeer.hashicorp/tasks/setup-hashicorp-Ubuntu.yml for acme-vault1


Docker build on Windows env

Hi, I have also been watching the mediapipe PRs interested in updates to docker environments.
I tried building your solution with exactly what is specified in the README.md unfortunately I received the following:-
1.903 generating proto file: build/lib.linux-x86_64-cpython-310/mediapipe/util/tracking/motion_analysis_pb2.py
1.911 generating proto file: build/lib.linux-x86_64-cpython-310/mediapipe/util/tracking/tone_models_pb2.py
1.914 generating proto file: build/lib.linux-x86_64-cpython-310/mediapipe/util/tracking/box_tracker_pb2.py
1.919 generating proto file: build/lib.linux-x86_64-cpython-310/mediapipe/util/tracking/flow_packager_pb2.py
1.926 running generate_metadata_schema
 (specified in /opt/mediapipe/.bazelversion), but it wasn't found in /usr/bin.
1.950
1.950 You can install the required Bazel version via apt:
1.950   sudo apt update && sudo apt install bazel-6.1.1
1.950
1.950 If this doesn't work, check Bazel's installation instructions for help:
1.950   https://bazel.build/install/ubuntu
------
Dockerfile:47
--------------------
  46 |
  47 | >>> RUN cd /opt/mediapipe && \
  48 | >>>     export TF_CUDA_PATHS=/usr/local/cuda-11.8,/usr/include,/usr/include/x86_64-linux-gnu,/usr/lib/x86_64-linux-gnu,/usr/lib/nvidia-cuda-toolkit,/usr/lib/nvidia-cuda-toolkit/bin && \
  49 | >>>     python3 setup.py bdist_wheel
  50 |
--------------------
ERROR: failed to solve: process "/bin/sh -c cd /opt/mediapipe &&     export TF_CUDA_PATHS=/usr/local/cuda-11.8,/usr/include,/usr/include/x86_64-linux-gnu,/usr/lib/x86_64-linux-gnu,/usr/lib/nvidia-cuda-toolkit,/usr/lib/nvidia-cuda-toolkit/bin &&     python3 setup.py bdist_wheel" did not complete successfully: exit code: 255

I was wondering if you had tested in a Windows environment? I am able to get other GPU related docker images to build and run.

Hello @ybott !
I didn't try out to build the docker file under windows, but it shouldn't change much if you're using WSL2!
It looks like it doesnt find bazel from the error you're getting, but it should be installed earlier. Did you tried to rebuild without cache?

Hi, were you able to fix this error?

Okay, I got it. You need to run everything from the linux wsl folders.

I built the docker without errors. But python detectors still don't work. What did you test the gpu performance on?

Unfortunately, some detector just wont work using gpu :/ maybe you will have better luck with the latest mediapipe implementation that is a bit more compliant for gpu use ;)


Wrong recognition results

Hi all!
I trained Deep speech model with this command:
th Train.lua -nGPU 1 -epochSave -batchSize 25 -validationBatchSize 25 -permuteBatch -trainingSetLMDBPath/prepare_datasets/libri_lmdb/train/ -validationSetLMDBPath /prepare_datasets/libri_lmdb/test/ -modelTrainingPath /model_test/ -saveFileName NewOne.t7 -epochs 100
As I remember correctly this is pure DeepSpeech model.  I have got following results:
Training Epoch: 83 Average Loss: 0.004611 Average Validation WER: 17.13 Average Validation CER: 3.96
I used for training path the  file test-clean-100.tar.gz and for validation path I used the union of test-clean.tar.gz and dev-clean.tar.gz. But when I tried to recognize any .wav or .lac files (including training/testing files ) I got some meaningless trash. It's very strange because of above mentioned learning results. Did anyone have similiar problem? Could someone explain what's wrong?

Hi @morphism90,
I suspect this is due to the way you recorded/converted your .wav and .lac files.
Did you use any sound editor to do so eg. Audacity to take care of the sample rate and the extension?
Also if I remember correctly, using the same file extension as the one used in FormatLibriSpeech.lua helped.

Th weirdest thing that I used for model testing default .flac files from test-clean, train-clean directories. None of them was recognized succesfully.

Ah yes this sounds weird. Could you print the error logs you get when doing this if you can reproduce them maybe? You run the tests with Predict.lua right?

Yes, I used Predict.lua. Do you mean error logs with CER and WER values?

@morphism90 ok I read too quickly, the run indeed succeeded but the transcription didn't :-)
So if you used the same extension and sample rate for Train.lua and Predict.lua I don't really see what you did wrong here...

For prediction I used following command:
th Predict.lua -modelPath deepspeech.torch/models/model_epoch_deepspeech.t7 -audioPath sample.wav
and if in original audio track we hear --> "I love you". It recognized it as "y o". Looks bad. Other testings show same situation.

Also, I see that when I used AN4 dataset I got good results on test and train results in comparison to LibriSpeech dataset. maybe, the key difference is that in AN4 case we used in training an4.dic but not default ./dictionary folder?

It shouldn't be an issue, I used the default ./dictionary and it was fine.
When you say

For prediction I used following command:
th Predict.lua -modelPath deepspeech.torch/models/model_epoch_deepspeech.t7 -audioPath sample.wav

was there also transcription problems with .flac files instead of .wav?

There are no problems with  transcription

Ok, so I think that if you trained your model with -audioExtension flac in FormatLibriSpeech.lua you also need to use .flac files when testing your model's performances. It seems that file extensions are critical here and they need to correspond for training and testing.

Yeah, I agree with you but my model doesn't even work for training examples in .flac format.

@yfletberliac thanks for your help so far :)
So just to clear a few things, it seems like from the log the model did train okish, my questions are:
What audio are you giving the model currently to predict on?
Is the audio in the same format that the audio given to the model is in (16 bit, 16khz audio) for training?

Yes. I used http://www.online-convert.com/ for online transfer to desired .flac format

@morphism90  I don't think file extensions are critical because when you use audio.spectrogram(...) you convert your speech file to (frequency * time) matrix . I trained the model on .flac files and I have also tested on .wav format files , I never faced this issue.
What I would recommend is just loading the model in torch terminal and doing a forward pass on  sample.wav or sample.flac  and check their output.
Also, did you try SoX for doing the conversion of audio?

Ok, I tried SoX for conversion. Maybe I think there is a problem with datasets structure. When I trained on AN4 it shows fine recognition results on training datasets. But in the case when I used train-clean-100.tar.gz  as libri_datasets/train and dev-clean and test-clean I got above mentioned issue. Maybe the problem in datasets structure?

Did you happen to train AN4 first? If that's the case your problem might be related to #78 .

Thank you a lot @markmuir87 ! It helps and now my prog runs in appropriate way.


GMP library dependency fails to download on macOS >= 10.14

GMP library dependency fails to download on macOS >= 10.14 with ssl cross check gmplib signed cert.

workaround use the "-k" option in curls.

workaround applied to commit 2df972b


Error message: "svn2git warning: Tracking remote SVN branches is deprecated."

Hi, @nirvdrum.
My SVN repo has the following root layout (it's a legacy project I have to work on it):
-----------------------
Project
    ... (a lot of docs subfolders here)
System
    ... (the trunk code here)
tags
    ... (the tags here)
-----------------------

I used the following command to convert it to Git:
svn2git file:///svn.example.com/path/to/repo --trunk System --branches Project --tags tags
When the conversion starts at the "Project" folder, it suddenly stops with the following error message:
********************************************************************
svn2git warning: Tracking remote SVN branches is deprecated.
In a future release local branches will be created without tracking.
If you must resync your branches, run: svn2git --rebase
********************************************************************
command failed:

By the way, do you know what I'm doing wrong?
Thanks in advance for your reply.
Best regards,
Everton

It's a newer version of Git conflicting with this tool. This tool hasn't been updated in many years. To get around it I was able to do:
git branch "<branch-name>" "remotes/svn/<branch-name>"
followed by
svn2git --rebase
I did that over and over until all the branches were fixed. Likewise, if you named your main branch 'main' instead of 'master' you will have to rename your main branch to master.


Closes: #115

Coverage remained the same at 100.0% when pulling 4cf7c3030c8bff28fa8728ac326783dfe5eb3328 on yago/mapTypeIds into 4f02df15a40e39bf2099cda0e708c34a6a5cbe2b on master.


Support mixed input pattern within array

Support mixed input patterns within array like below.
input_pattern [
  /foo/, { bar: /bar/, baz: /baz/ }, /qux/
]

This is to to improve notation when parenthesis is omitted.
In addition, remove input patterns within hash like following.
input_pattern foo: /foo/, bar: /bar/

This is due to keyword argument change by ruby 2.7.

Marged


Support git dependencies

Pull Request Test Coverage Report for Build 79

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 77:
0.0%

Covered Lines:
313

Relevant Lines:
313

💛  - Coveralls


Fixes #302 : Added Careers Page

Fixes #302
The Career Page has been created and a video has been included for reference. Currently, I have implemented only the Career Page for type 1. For type 2, as discussed, I will create a separate issue and proceed with its development.
https://github.com/SUGAM-ARORA/UniCollab/assets/153659573/b53e6773-1245-420b-8998-b75a61403119
Please share any suggestions or recommendations you may have.
Thank you!

For type 2, #348 has been made.

@AkshitGarg24 Update branch

Done @SUGAM-ARORA


Some notes:

We need to use frontmatter "title" field rather than # style headers. As far as I can tell though, apart from the Github pages looking a bit naff everything else seems to work fine.
The config can handle nested directory trees OK, but there are 2 issues:

The configuration requires a sub-directory for content, so I don't think we can just point it at the root directory (at least, I couldn't get it to work!) - so I was able to work around this by just listing each top-level directory separately, using some YAML aliases to avoid duplicating too much. So, we will need to remember to update this if we change any paths but other than that I think it is workable.
The file tree uses an README.md in each nested directory to identify the folder name - there might be another way of setting this up, but I think that would actually be nice for us to adopt anyway. This part isn't done, so expect the folder names to be wonky.

I was able to inject some remark formatter configuration that makes it closer to our canonical format, but there will inevitably be some whitespace diffs in PRs generated by this - for example prettier wants a line after frontmatter and Decap doesn't (and I can't find a way to configure this). Not a major blocker, since these will be fixed by the auto pre-commit fixer.

:books: Documentation preview :books:: https://civicactions-handbook--1123.org.readthedocs.build/en/1123/

@dmundra @ContentBrewmaster starting point if you want to play: https://civicactions-handbook--1123.org.readthedocs.build/en/1123/admin/

The reviewdog fail is fixed upstream but still not released, so thinking we just ignore that check here for now.

Thanks @grugnog. I tried logging into https://civicactions-handbook--1123.org.readthedocs.build/en/1123/admin/#/ and I got:
Make sure you've configured the API credentials for Github from the Access part of your Netlify site dashboard.

I did log into netlify to create my account there but I still get the error. Do we need to be added your fork?

Thanks @grugnog the code changes make sense. Looking forward to giving it a whirl.

@dmundra Decap login still isn't working, but based on the demo yesterday & if the preview site looks good, I think we are OK to merge this?

@grugnog I noticed moving to front matter for the title that materials was actually using the title from mkdocs.yml nav element. That is probably a good thing but something to document and keep sync'd.


Receive HID packets

Hi, I'm searching high and low for a solution to receive packets of data on the keybow. While sending in HID mode is available in examples and the Adafruit library, I'd appreciate an example to receive packets.
My scenario: any button on the keybow is in 'master' mode. I.e. the device it controls on my network is controlled from the pad.  Pad to device. I use it to control IoT devices. However, I would like to read events or statuses, say, by changing button color. Device on network to button on keybow.
Thanks for any tips. MQTT status reading and sending to keybow would be awesome
Thanks

I think the typical approach to this - at least if you're not a vendor writing your own driver - is to use USB serial. I'm not sure how you'd go about doing this on CircuitPython alongside HID but I'd wager it's possible. Then you can use a Python script or similar to push serial status updates back to the device.

Thanks @Gadgetoid , appreciate the tip.
I have to sort it out and will share once I do. Thanks

@raspberryvalley did u come up with something here?

@mosch I solved a scenario similar to the one @raspberryvalley described using USB serial communications utilizing this https://circuitpython.readthedocs.io/en/latest/shared-bindings/usb_cdc/index.html. The Keybow2040 sends each number of a pressed key which will trigger certain actions on the host (which can also rerspect layer definitions). In return it receives updates in the form of [keynumber],[colorcode] to control the LEDs. I uploaded the code here: https://gist.github.com/mschwld/7e0e16fbc8a7dc6f24b5d31c1f946329.

A PR with an example of this technique would be appreciated over at - https://github.com/pimoroni/pmk-circuitpython
Thank you!


Maven plugin 5.1.0 not parsing suppression file

Describe the bug
We recently upgraded to the 5.1.0 release of the maven plugin, and just added a suppression using the <packageUrl> syntax that is supported in the 1.3 XSD.  But when we run our plugin, it still seems to try to parse it with the 1.2 XSD.  You can see that here:
https://gist.github.com/sdwr98/328ce7e2d4adb1a30be417532c775fc3
We are referencing the new XSD in the suppression file:
<suppressions xmlns="https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.3"
              xsi:schemaLocation="https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.3
                     https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.3.xsd">

I've run a purge but it's still getting confused.
Any ideas?

Duh. Nevermind - I was editing the <pluginManagement> one, not the <plugin> one.


Typescript types

Hi @prestonarnold0,
Thank you for raising this issue. It looks like the TypeScript compiler is unable to find type declarations for the errsole and errsole-sequelize modules, resulting in the errors you're seeing.
Solution
To resolve this issue, you can simply configure your tsconfig.json file to allow implicit any types. Here's how you can do it
Update tsconfig.json:
Set "noImplicitAny" to false in your tsconfig.json file. This will allow TypeScript to bypass the missing type declarations for these modules.

Set "noImplicitAny" to false

We found the issue with the documentation and fixed it. Please go through the updated documentation.


[Feature]:Want a function to query colleciont id by collection name

Is your feature request related to a problem? Please describe.
When there are a lot of collections, I want to see the details of a collection by a collection name I know. Now I need to "show collections" and look for them one by one.
https://user-images.githubusercontent.com/48523564/227472975-25a666d8-03d9-4f23-8659-5746019557ff.mov
Describe the solution you'd like.
No response
Describe an alternate solution.
No response
Anything else? (Additional Context)
No response

Fixed by #120


feat: update JavaScript implementation and add C ndarray implementation for blas/base/cswap

Progresses #2039.
Description

What is the purpose of this pull request?

This pull request:

updates Js implementation for cswap.
adds C ndarray implementation for cswap.

Related Issues

Does this pull request have any related issues?

This pull request:

progresses #2039

Questions

Any questions for reviewers of this pull request?

No.
Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.
Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines.

@stdlib-js/reviewers

/stdlib merge

CI is failing due to an unrelated build error. As such will go ahead and merge.


added flattop gaussian

@KevinAVR @TheoLaudatQM not sure about the definition of the "sigma" in all of the cases, need to think about it!

Nice, note that the First and last points of the Gaussian and tanh function are not strictly 0, is it okay or would it be better to substract the offset ?

I wanted to make these functions simpler, I don't think that too many people use the subtraction and the values are very very close to 0.
We can always add it later with an optional parameter... WDYT?


Community Partner Highlight - NM-AIST

This issue tracks the drafting, review and approval for adding a new blog post to the Catalyst Project blog.
This issue is complete when: the copy of this page is approved and published on the website.
Please edit and insert information enclosed by the  below
Create a Google Doc in Catalyst Project Team Drive > External Documentation > Blog posts > your_filename to draft the copy for your new page, with a title of the form "[VERSION #] <your_title>" and append this title with "(ES)" if the draft is in Spanish.
Please consult the Style Guide for more information, including which metadata tags to choose from for your blog post.
Google doc for drafting copy: (https://docs.google.com/document/d/1jRquAS7AJjlbufH5cKck0Z8ah3WEdL45tlxNP45YY60/edit)
Roles

[x] Drafting content: @katiepratt
[x] Sub-team review: @jnywong @Tajuddeen1 @LouWoodley
[x] Send to Author for sign off @katiepratt
[x] Any corrections made / final sign off @katiepratt
[ ] Hand off to MD for translation @SLLDeC
[ ] Hand off to Jenny to draft website previews - 2 separate posts @jnywong
[ ] Final approval of English post by Katie @katiepratt
[ ] Final approval of Spanish post by Sabrina @SLLDeC

Looks good to me

Looks good to me too - and great to read more positive feedback about the hub champions training! @katiepratt

Today (Monday, 23 September) was the deadline for any corrections/edits. None received, so this can be translated / prepped for publication.

Hi @jnywong, the translated document is available here.

@SLLDeC @katiepratt ready for final approval #102


[Feature Request] Allow changing IP along port

As title says.

Good request.  I'm not necessarily going to get to this soon, so feel free to submit a pull request if you'd like

Added in 569eacd

Included in v0.2 release


[5.3] Add salutation option to SimpleMessage notification

By default 'Regards,' is displayed as a salutation at the end of notification emails. Much like the pull https://github.com/laravel/framework/pull/15108 added an optional greeting() method, I think that would make sense to also add one for the salutation at the end. What do you think?
public function toMail($notifiable)
{
    return (new MailMessage)
                ->line('The introduction to the notification.')
                ->action('Notification Action', 'https://laravel.com')
                ->line('Thank you for using our application!');
                ->salutation("Cheers!")
}

Probably should go to 5.4, at this point.

I agree let's move this to 5.4 if you don't mind.


Fix tests and add Parse benchmark

Oops - I meant to create this PR for our fork, sorry!

That's okay - let's try to get this upstreamed to this fork as well though.

This fork has probably diverged enough from the original that it's not worth upstreaming to https://github.com/bluekeyes/go-gitdiff though


Better documentation of escape characters to avoid: throw new Error('Found extraneous } in Chalk template literal');

Hi I hit this error while using template literals for a long string. I'm coming at this from a backend PHP and shell programming perspective where heredoc syntax (EOF, 'EOF') is often used when working with multiline text verbatim.
Anyway, the closest thing to that in Javascript is template literals using backticks. But since they're interpolated before Chalk receives them, it can be difficult to find the right escape sequence that provides proper formatting without triggering parsing errors. Also, some packages apply multiple levels of template parsing and character escaping, which makes it difficult to derive the exact incantation.
The project's readme.md barely mentions curly braces or escape characters. And so far even project issues don't reveal much:
https://github.com/chalk/chalk/issues/498
https://github.com/chalk/chalk/issues/349
I usually try every permutation of {{, \{, \\{, \{{, \\{{, etc. But sometimes things refuse to cooperate, and once programming becomes a random walk like that, it's better to reference a pre-built table of working examples. Which is why I'd like to see more open source projects adopt a third person view of themselves and understand that the smallest breadcrumbs can save their users many hours or sometimes even days of work. So I'm going to list some working examples here, and hopefully other people can add more permutations as they discover what works for other packages that use Chalk:
const chalk = require('chalk');

console.log(chalk`Hello, ${'world'}!`);

const chalk = require('chalk');

console.log(chalk`puppeteer.launch(\{ headless: false \}`);

const commandLineUsage = require('command-line-usage'); // uses chalk internally

const sections = [{
  content: `puppeteer.launch(\\{ headless: false \\}`
}];

console.log(commandLineUsage(sections));

The first example uses template literal escapes, which are a Javascript feature.
The second example uses escapes as we parse raw strings from the template string. I don't see how that required a bunch of effort to test, honestly. But you're right, it would be beneficial to mention in the readme.
The third example is a third-party library, I don't see how it's relevant. If you don't like that you need \\ then use String.raw:
String.raw`this\{should\}work`

Which, again, is a Javascript feature. It's not dictated by Chalk.

However, I want to address one other thing in your post:

Which is why I'd like to see more open source projects adopt a third person view of themselves and understand that the smallest breadcrumbs can save their users many hours or sometimes even days of work.

I'm sorry, but claiming this caused you hours or days of work when it's something trivially tested in the console is a bit unfair. To imply that we're not doing enough as maintainers is a bit rude given that we do this on our free time, for free, and make it available to you to use as you please - including commercially. Please consider that when making future comments on Github.
We are also users of our own libraries, and since Chalk has millions of downloads a day and has had template support for a long time now, it's pretty safe to assume problems like this come up rarely enough.

Feel free to open a PR to add a mention of the bracket escapes.


Remove 4 interval staleness heuristic.

This means that if there is no stale marker, only the usual staleness
delta (5m) applies.
It has occured to me that there is an oddity in the heuristic. It works
fine as long as you have 2 points within the last 5m, but breaks down
when the time window advances to the point where you have just 1 point.
Consider you had points at t=0 and t=10. With the heuristic it goes stale
at t=51, up until t=300. However from t=301 until t=310 we only
see the t=10 point and the series comes back to life. That is not
desirable.
I don't see a way to keep this form of heurestic working given this
issue, so thus I'm removing it.

Simpler sounds better, so fine with me.

@fabxc


fix: fix interface error of the circle-handle

Owner

[ ] Nickname(Tuya):

Description
Fix interface error of the circle-handle.
Package

[ ] tuya-panel-animation-sdk
[ ] tuya-panel-api
[ ] tuya-panel-electrician-sdk
[ ] tuya-panel-ipc-sdk
[ ] tuya-panel-lamp-sdk
[ ] tuya-panel-lock-sdk
[ ] tuya-panel-robot-sdk
[ ] tuya-panel-outdoor-sdk
[x] tuya-panel-remote-sdk

Type of change
Please select the relevant option.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Review CheckList
Don't edit this section.

[ ] Intra-group review
[ ] ESLint lint
[ ] Example Run
[ ] Jest Run
[ ] No Grammer Error
[ ] No Spell Error

Codecov Report

Merging #92 (5ec5bb1) into main (1018b78) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #92   +/-   ##
=======================================
  Coverage   61.57%   61.57%
=======================================
  Files         169      169
  Lines        6417     6417
  Branches     1493     1493
=======================================
  Hits         3951     3951
  Misses       2452     2452
  Partials       14       14

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1018b78...5ec5bb1. Read the comment docs.


Updates Travis CI info to reflect master build link/status

This will properly reflect the master branch's build status and link to the Travis CI page correctly.

Good call.


infovqa_test测试时会报错

Hi, @Cooperx521 ,
InfoVQA_TEST does not include gt answer, so you can not obtain the metrics of InfoVQA_TEST w. VLMEvalKit.
You can evaluate the InfoVQA_val instead.


Add the ability to draw a foreground box decoration

This feature lets you create effects similar to the "outline" property in CSS.

LGTM


Improve Select component rendering when with more than 10,000 options

Select(
    value=select_var,
    # items=[Item(label=f'Choice {i}', value=f'{i}') for i in range(1, 10000)],
    items=[f'Choice {i}' for i in range(1, 10000)],
    multiselect=True,
    searchable=True
)

When use the Select component with a very large number of items (say, more than 10000 as I tested), the component seems very sluggish.
Whether using the items with or without Item() have the very same sluggish effect.
my case of using large number of options in select:
a select for user to select stock, etf, idx symbols.

Hello,
Thanks for reporting the issue. It's one we're aware of and are actively working to fix.
In fact, a PR for multiselect has already been merged on our UI side https://github.com/causalens/dara-ui/pull/98 and should be available in latest Dara v1.8.3+ (@darajs/components v1.9.1). Let us know if the new release feels better!
Similar performance improvements will be implemented for other Select types soon, we should have a release with these within a week or so.
Thanks for checking out Dara, let us know if you have any feedback :)

Thanks for ur quickly reply. Glad to know this issue will be solved with the next release. I am gonna close this issue.
Dara is awesome framework.


No module named StringIO

I am receiving a ModuleNotFoundError when trying to use django-dropbox-storage as explained here:
Exception Type: ModuleNotFoundError
Exception Value: No module named 'StringIO'
Exception Location: /app/.heroku/python/lib/python3.7/site-packages/django_dropbox_storage/storage.py, line 8, in
Python version: 3.7.8
Locally on my machine, I changed line 8 in Exception Location to from io import StringIO and everything worked fine but I am not able to do likewise on Heroku server.

Fixed with e1df6cd41533dd5239706ba4cad36f7983e50521


Bundles Update

Fixes #1457, #1452.
Description
This adds tutorials going through the process of creating bundles in their entirety.
Notebooks to add:

[x] Very simple intro to bundles and the file structure
[x] Simple network bundle that actually does something with training
[x] Bundle wrapping pre-existing code and network definitions which would cover non-MONAI code
[ ] Bundle wrapping non-Pytorch code, maybe?

Checks

[x] Avoid including large-size files in the PR.
[x] Clean up long text outputs from code cells in the notebook.
[x] For security purposes, please check the contents and remove any sensitive info such as user names and private key.
[x] Ensure (1) hyperlinks and markdown anchors are working (2) use relative paths for tutorial repo files (3) put figure and graphs in the ./figure folder
[ ] Notebook runs automatically ./runner.sh -t <path to .ipynb file>

The examples use the command tree to show the files in a bundle, is this not present in the CI environment? That might explain the errors with the notebook tests.

I had to mangle the third notebook to get an output about the command line error that was encountered. The command fails with:
Traceback (most recent call last):
...
  File "/opt/conda/lib/python3.8/site-packages/torch/cuda/__init__.py", line 247, in _lazy_init
    torch._C._cuda_init()
RuntimeError: The NVIDIA driver on your system is too old (found version 10010). Please update your GPU driver by downloading and installing a new version from the URL: http://www.nvidia.com/Download/index.aspx Alternatively, go to: https://pytorch.org/ to install a PyTorch version that has been compiled with your version of the CUDA driver.

The top line of nvidia-smi for the containing running the tests is Driver Version: 418.126.02   CUDA Version: 11.6 however when I run the same image locally I get Driver Version: 530.30.02    CUDA Version: 12.1.

thanks, let me try to ask about upgrading the driver version. also is it possible to remove the related component that is causing the issue?

I think the component is the network being moved onto CUDA so I could just train in software but that's not demonstrating proper practice in a clear way. The network is just densenet121. I would have thought this issue would come up elsewhere but it may be related to spawning a subprocess in notebook 3 to train.

As I am working through the examples I got this error
(monai-test) gupta@DIGI1036734:~/disk/Tools/CodeReview/monai_bundle$ python -m monai.bundle run train     --bundle_root "$BUNDLE"     --logging_file "$BUNDLE/configs/logging.conf"     --meta_file "$BUNDLE/configs/metadata.json"     --config_file "['$BUNDLE/configs/common.yaml','$BUNDLE/configs/train.yaml']"     --max_epochs 2
2023-09-13 10:55:39,642 - INFO - --- input summary of monai.bundle.scripts.run ---
2023-09-13 10:55:39,642 - INFO - > run_id: 'train'
2023-09-13 10:55:39,642 - INFO - > meta_file: './MedNISTClassifier_v2/configs/metadata.json'
2023-09-13 10:55:39,642 - INFO - > config_file: ['./MedNISTClassifier_v2/configs/common.yaml',
 './MedNISTClassifier_v2/configs/train.yaml']
2023-09-13 10:55:39,642 - INFO - > logging_file: './MedNISTClassifier_v2/configs/logging.conf'
2023-09-13 10:55:39,642 - INFO - > bundle_root: './MedNISTClassifier_v2'
2023-09-13 10:55:39,642 - INFO - > max_epochs: 2
2023-09-13 10:55:39,642 - INFO - ---

2023-09-13 10:55:39,643 - INFO - Setting logging properties based on config: ./MedNISTClassifier_v2/configs/logging.conf.
Traceback (most recent call last):
  File "/home/gupta/miniconda3/envs/monai-test/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/gupta/miniconda3/envs/monai-test/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/gupta/disk/Tools/CodeReview/MONAI/monai/bundle/__main__.py", line 30, in <module>
    fire.Fire()
  File "/home/gupta/miniconda3/envs/monai-test/lib/python3.10/site-packages/fire/core.py", line 141, in Fire
    component_trace = _Fire(component, args, parsed_flag_args, context, name)
  File "/home/gupta/miniconda3/envs/monai-test/lib/python3.10/site-packages/fire/core.py", line 475, in _Fire
    component, remaining_args = _CallAndUpdateTrace(
  File "/home/gupta/miniconda3/envs/monai-test/lib/python3.10/site-packages/fire/core.py", line 691, in _CallAndUpdateTrace
    component = fn(*varargs, **kwargs)
  File "/home/gupta/disk/Tools/CodeReview/MONAI/monai/bundle/scripts.py", line 684, in run
    workflow = ConfigWorkflow(
  File "/home/gupta/disk/Tools/CodeReview/MONAI/monai/bundle/workflows.py", line 221, in __init__
    self.parser.read_config(f=config_file)
  File "/home/gupta/disk/Tools/CodeReview/MONAI/monai/bundle/config_parser.py", line 320, in read_config
    content.update(self.load_config_files(f, **kwargs))
  File "/home/gupta/disk/Tools/CodeReview/MONAI/monai/bundle/config_parser.py", line 424, in load_config_files
    for k, v in (cls.load_config_file(i, **kwargs)).items():
  File "/home/gupta/disk/Tools/CodeReview/MONAI/monai/bundle/config_parser.py", line 405, in load_config_file
    return yaml.load(f, CheckKeyDuplicatesYamlLoader, **kwargs)  # type: ignore[no-any-return]
  File "/home/gupta/disk/Tools/CodeReview/MONAI/monai/utils/module.py", line 436, in __getattr__
    raise self._exception
  File "/home/gupta/disk/Tools/CodeReview/MONAI/monai/utils/module.py", line 395, in optional_import
    pkg = __import__(module)  # top level module
monai.utils.module.OptionalImportError: import yaml (No module named 'yaml').

For details about installing the optional dependencies, please visit:
    https://docs.monai.io/en/latest/installation.html#installing-the-recommended-dependencies

I installed yaml using conda install yaml but the error persists.

The bundles need fire and yaml to run (those using JSON only need fire). I could put that in the first cell of the notebooks like other notebooks do though the requirements are for the programs being run and not the notebook itself.

Ya I have both fire and yaml installed. Let me try again

The package is pyyaml.


Improved (database) errors

I would love to add a cross-db error API but as I have mentioned before it would be best implemented as a separate library. Then it could possibly be moved to knex at some point.
Currently errors thrown from db for example in case of foreign key constraint violation differ from db to db and are usually difficult to reason with. I would love to have something like:
class DbError extends Error { ... }

class ConstraintViolationError extends DbError {
  get column() { ... }
  get table() { ... }
  get constraintName() { ... }
}

class ForeignKeyConstraintViolationError extends ConstraintViolationError {
  ...
}

// etc.

If someone is looking for an open source project, here's one that I think would benefit the whole node.js DB scene.

@fl0w suggested an approach where we would only add an unique key to the existing errors thus making this a non-breaking change.
The only problem I can think of is that the errors thrown by databases pretty much already contain all meaningful property names like code, message, type etc. At least postgres errors do, and that's enough. Our property would need to be something that doesn't conflict with any of the existing properties. Maybe we could use errorSymbol = Symbol() and something like
const { errorSymbol, errorCodes } = require('db-error');
function onError(error) {
if (error[errorSymbol].code === errorCodes.ConstraintViolation) {
console.log(error[errorSymbol].column)
console.log(error[errorSymbol].constraintName)
}
}

Actually the above approach has at least one severe downside: The custom information would not appear in the stack trace or error message. So uncaught errors would be as confusing as always.

IMHO this issue should be placed in knex rather than here. This is a feature lacking on their side. They already normalise API for all the supported DBs, it should be doable to normalize errors as well.
BTW I'd definitely prefer the former approach of extending errors. Breaking changes are always a pain, but for our app we have a central place where we handle common SQL so it would be quite easy to refactor it.

Here is some discussion from knex about this error normalization:
https://github.com/tgriesser/knex/issues/2191
https://github.com/tgriesser/knex/issues/522
I have also vague feeling that there was more discussion about it, but I couldn't find any other issues.
My feeling is that it would be better also for knex to be in completely separate package, because keeping those error parsers uptodate sounds like a quite huge work (there are not many maintainers there).
Also currently one can use for example postgresql/mysql dialect implementations also with other compatible databases, even if their error format may be different.
Some work was started here, but I have not checked the code https://www.npmjs.com/package/knex-generic-errors

The library @elhigu linked has seen no progress after it was created. Also it seems to be knex specific.
I started doodling something together here. I've only implemented an UniqueViolationError and I already ran into trouble. The information content of mysql and sqlite errors is very minimal.
For an UniqueViolationError you would like to get the table, columns and the constraint that failed. Well... Here's what we can actually scavenge from the errors:

Postgresql: table, columns, constraint
mysql: constraint
sqlite: table, columns

😞
The only "unified" part is the error class. Other errors will probably have similar limitations.

Do we know if that's a limitation of the DBs versus the drivers?

For mysql it seems like it's a DB limitation:
https://dev.mysql.com/doc/refman/5.7/en/error-messages-server.html
https://dev.mysql.com/doc/refman/5.5/en/error-types.html

I mean, even if it was "only" unified, well documented error class, error handling via objection would get easier for the consumer and it would also be less scary to push a objection v1 with room for future improvements, no?

@fl0w Yeah, probably. I mean, that's the best we can do. The other option would be to leave out all information that cannot be gathered for all clients, but that would leave us with no data 😄

Would it be sane to abstract the problem even further, i.e. allow user space to hook on transforms when a driver throws.
So, objection doesn't really care about what the errors was - and out of the box objection will (re-)throw the driver/knex error. However, if a user registers some error parser/transform (which may be cross db compatible and 3rd party, or not) objection then passes the error to user defined fn? Given enough time, maybe the community will naturally land in a practice?

Adding an error handling hook is a good idea, but doesn't solve this issue. I believe that the reason there are no solutions to this is that parsing the DB errors is really hacky and no one wants to publish those hacks as a library 😄
Example: postgresql UniqueValidationError parser
'use strict';

const UniqueViolationError = require('../../../../errors/UniqueViolationError');

const CODE = '23505';
const UNIQUE_COLUMNS_REGEX = /Key \((.+)\)=\(.+\) already exists/;

module.exports = {
  error: UniqueViolationError,

  parse: (err) => {
    if (err.code !== CODE) {
      return null;
    }

    const colsMatch = UNIQUE_COLUMNS_REGEX.exec(err.detail);

    if (!colsMatch) {
      return null;
    }

    const cols = colsMatch[1]
      .split(',')
      .map(it => it.trim())
      .map(it => stripParens(it));

    return {
      table: err.table,
      columns: cols,
      constraint: err.constraint
    };
  },

  subclassParsers: []
};

function stripParens(it) {
  if (it[0] === '"' && it[it.length - 1] === '"') {
    return it.substr(1, it.length - 2);
  } else {
    return it;
  }
}

I'll continue writing db-errors to see how big of a mess it will become. I'll start with the most useful errors. What errors would you like to catch? I'm quessing unique constrain violation is one of them, but what else?

@koskimas for example the error I get from knex is when I mistype a column name in a where condition in a select.
Error: ER_BAD_FIELD_ERROR: Unknown column 'a' in 'where clause'
    at Query.Sequence._packetToError (/home/capaj/git_projects/looop/project-alpha/back-end/node_modules/mysql/lib/protocol/sequences/Sequence.js:52:14)
    at Query.ErrorPacket (/home/capaj/git_projects/looop/project-alpha/back-end/node_modules/mysql/lib/protocol/sequences/Query.js:77:18)
    at Protocol._parsePacket (/home/capaj/git_projects/looop/project-alpha/back-end/node_modules/mysql/lib/protocol/Protocol.js:279:23)
    at Parser.write (/home/capaj/git_projects/looop/project-alpha/back-end/node_modules/mysql/lib/protocol/Parser.js:76:12)
    at Protocol.write (/home/capaj/git_projects/looop/project-alpha/back-end/node_modules/mysql/lib/protocol/Protocol.js:39:16)
    at Socket.<anonymous> (/home/capaj/git_projects/looop/project-alpha/back-end/node_modules/mysql/lib/Connection.js:103:28)
    at emitOne (events.js:115:13)
    at Socket.emit (events.js:210:7)
    at addChunk (_stream_readable.js:266:12)
    at readableAddChunk (_stream_readable.js:253:11)
    at Socket.Readable.push (_stream_readable.js:211:10)
    at TCP.onread (net.js:585:20)

@capaj How could that be improved? Also why would you want to handle that case in your API? How could the server or the client react to that error?

Foreign key constraint violation would be nice, I think. Maybe data format violations as well (that is, string too long, integer too big, etc), but that one is somewhat less useful since you probably want to handle that with validators in js anyway.

@kblomster fk contraint violation has already been implemented. Data format violation is an excellent idea! I'll add that next. I already implemented check constraint violation.

The most important thing I need to do before I can consider releasing the db-errors library is a test matrix that runs the test suite with a bunch of driver and db versions. Some of the stuff is parsed from error messages and even though they are documented, I don't trust that they will stay the same.

@koskimas Once it's more mature, would you consider a PR implementing support for MSSQL?

@kblomster absolutely!

@koskimas I got that error when working on a dynamic query engine which allowed client to make query into any table. You're right it's not a common usecase.

I was able to setup travis to run the tests on multiple versions of mysql and postgres. I'll add multiple versions of the node db drivers also just to make sure.
@kblomster I also added DataError but I'm not able to parse any useful data from those errors (like table or column that failed). The only way to parse that info would be to parse SQL, and we would need a full-blown SQL parser for that. I don't know how useful that error is. The error message contains the info, but as SQL.

There's now a db-errors plugin for objection. I thought we could first try out the library as a plugin and if it turns out useful, we can add it to objection or even try to get it merged into knex.


612 taxonomypicker error message always displayed

Q
A

Bug fix?
[X ]

New feature?
[ ]

New sample?
[ ]

Related issues?
fixes 612

What's in this Pull Request?
The error message is displayed correct with more than one invalid terms.

Even though a correct term has been added, the error message must still display the invalid terms.

After an invalid term has been removed, the error message must display, which terms are still invalid.

After all the invalid terms have been removed, the error message must not be displayed anymore.

If a valid term has been selected with the taxonomy panel, the error message must display the invalid terms.

Hi @geltapatio!
Thank you for the effort.
But the PR and the fix should be based on dev version.
I made a quick fix for this issue in the dev branch.

Hi Alex
I appreciate a lot that you made the quick fix in the dev branch for me. I
will always make a new branch based on the dev version.
Best regards
Luis
On Tue, Jul 14, 2020 at 2:41 AM Alex Terentiev<EMAIL_ADDRESS>wrote:

Hi @geltapatio https://github.com/geltapatio!
Thank you for the effort.
But the PR and the fix should be based on dev version.
I made a quick fix for this issue in the dev branch.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pnp/sp-dev-fx-controls-react/pull/613#issuecomment-657900855,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACE3Z6WLXKOXREARB7VCWF3R3OSS5ANCNFSM4OYXBFZQ
.


Compiling examples on MacOS fails due to function-like proc macros unstable feature

Version of vulkano: v0.11.0
OS: MacOS 10.13.6

Issue
Currently on MacOS the examples can not be run. The following error is found when compiling vulkano-shaders v0.11.0:
error[E0658]: function-like proc macros are currently unstable (see issue #38356)
   --> /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/vulkano-shaders-0.11.0/src/lib.rs:264:1
       |
264 | #[proc_macro]
       | ^^^^^^^^^^^^^
       |
    = help: add #![feature(proc_macro)] to the crate attributes to enable

They are stabilized now, you are using an older version of rust. Try rustup update


Additional row in sp_statistics_100 for heap table

In Tsql, sp_statistics_100 outputs an extra row
with TYPE=0 when a table has no clustered index. This
will always  be the case in Babelfish, but sp_statistics_100
currently does not output that row.
Task: BABEL-3011
Signed-off-by: Shalini Lohia<EMAIL_ADDRESS>Co-authored-by: Shalini Lohia<EMAIL_ADDRESS>

Merged babelfish-for-postgresql:REL2_X_DEV to jira-babel-3011


ROCANA-2480 Change pipe2 to pipe and fcntl to support kernel < 2.6.27

This is necessary to support CentOS 5.

LGTM


Update ci.yaml

Fixes #40
Proposed Changes

Ci build is now triggered by pull requests opening or editing

Error: Resource not accessible by integration on TRX parse. probably it's worth to remove it completely


UnrealTournament (1999) Not Launching

Linux Distribution
EndeavourOS (Arch based)
Luxtorpeda Version
36
Bug description
UnrealTournament launches and I hear sound, but the screen stay's black.
I have added the log.
Steps To Reproduce
Launch the game and the bug happens.
Expected Behavior
I expected to see the game and not a black screen.
Additional Context
No response
Relevant log output
run: "./run-ut99-469b.sh" with args: [] []
WARNING: using preference directory: /home/sojiro/.utpg/System/
WARNING: Using system ini file: /home/sojiro/.local/share/Steam/steamapps/common/Unreal Tournament/linuxdata-469b/System/UnrealTournament.ini
WARNING: Using user ini file: /home/sojiro/.local/share/Steam/steamapps/common/Unreal Tournament/linuxdata-469b/System/User.ini
XOpenGL: Failed linking DrawSimpleProg
XOpenGL: Failed linking DrawTileProg
XOpenGL: Failed linking DrawComplexProg
XOpenGL: Failed linking DrawGouraudProg
Installing breakpad exception handler for appid(gameoverlayui)/version(20210923143515)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
./ut: 79: ./ut: setxkbmap: not found
./ut: 1: ./ut: setxkbmap: not found
dropping: "/run/user/1000/luxtorpeda/13240.pid"

I have to use the runtime, because if I use the non-runtime version, nothing happens at all. This is the log of the non-runtime version:
GameAction [AppID 13240, ActionID 4] : LaunchApp changed task to ProcessingInstallScript with ""
Error: Custom { kind: Other, error: "iscriptevaluator ignorning" }
GameAction [AppID 13240, ActionID 4] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 13240, ActionID 4] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 13240, ActionID 4] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 13240, ActionID 4] : LaunchApp continues with user response "CreatingProcess"
/bin/sh\0-c\0/home/sojiro/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=13240 -- '/usr/share/steam/compatibilitytools.d/luxtorpeda/luxtorpeda-original'/../luxtorpeda wait-before-run '/home/sojiro/.local/share/Steam/steamapps/common/Unreal Tournament/System/UnrealTournament.exe'\0
Game process added : AppID 13240 "/home/sojiro/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=13240 -- '/usr/share/steam/compatibilitytools.d/luxtorpeda/luxtorpeda-original'/../luxtorpeda wait-before-run '/home/sojiro/.local/share/Steam/steamapps/common/Unreal Tournament/System/UnrealTournament.exe'", ProcID 141399, IP <IP_ADDRESS>:0
SpawnProcessInternal: chdir() failed, errno 2
ERROR: ld.so: object '/home/sojiro/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 13240, ActionID 4] : LaunchApp changed task to WaitingGameWindow with ""
ERROR: ld.so: object '/home/sojiro/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/sojiro/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 13240, ActionID 4] : LaunchApp changed task to Completed with ""
update_packages_json. "/home/sojiro/.cache/luxtorpeda/packages.json" does not exist
update_packages_json. downloading new packages.json
update_packages_json. new downloaded hash does not match
creating: "/run/user/1000/luxtorpeda/13240.pid"
steam_app_id: "13240"
original command: ["/home/sojiro/.local/share/Steam/steamapps/common/Unreal Tournament/System/UnrealTournament.exe"]
working dir: Ok("/home/sojiro/.local/share/Steam")
tool dir: "/usr/share/steam/compatibilitytools.d/luxtorpeda/luxtorpeda-original/.."
read err: Os { code: 2, kind: NotFound, message: "No such file or directory" }
dropping: "/run/user/1000/luxtorpeda/13240.pid"
Error: Custom { kind: Other, error: "missing info about this game" }
Game process removed: AppID 13240 "/home/sojiro/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=13240 -- '/usr/share/steam/compatibilitytools.d/luxtorpeda/luxtorpeda-original'/../luxtorpeda wait-before-run '/home/sojiro/.local/share/Steam/steamapps/common/Unreal Tournament/System/UnrealTournament.exe'", ProcID 141399
Uploaded AppInterfaceStats to Steam
No cached sticky mapping in ActivateActionSet.

@Sojiro84
The issue you were seeing with the non-runtime (original) one should be fixed now, next time you launch a game. There was an issue with the original's hash being incorrect, so it's been fixed on the server side.
Can you try the original version as a comparison to see if that works, as in try 469b on the original tool?
As well, what graphics driver type do you have, and do you have 32-bit versions of those installed?

Tried the non-runtime bit still get the same error. Do I need to do something to force a refresh or something? Or maybe remove a cache directory?
I have multilib enabled. I am running AMD 5700XT on mesa.

@Sojiro84 No the engine itself should be the same on both in this particular case.
This sounds like it may be an issue with the game itself, you could try creating an issue here: https://github.com/OldUnreal/UnrealTournamentPatches/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc
That's the project where the 469b patch comes from. If you do, let me know if they end up having any fix that I could provide in the engine for luxtorpeda, to make it easier to launch.


Weird line/Name compile issue

Describe the bug
Showed bug to Richard. Took my image and made it into a image with height of 1. We think it's trying compile the name. Was in blocks the whole time not Javascript. It happened after I chose asset in the image editor and closed the sprite.
Project link: https://makecode.com/_9CeeVCPzaRCR

Need this to be fixed before doing video

Need this to be fixed before doing video

I have an initial repro! Will try to make it shorter but in the meantime:

Open this project: https://arcade.makecode.com/26346-72733-28413-39259 and edit code
Go to TS and edit a fish
(If I go to asset editor at this point all the assets are gone)
Go back to blocks
Go to the asset editor and look at the line D:<

Smaller repro:

Create a tile asset
Inside a sprite create block, select the tile from the my assets tab
Refresh the page


Minor Bug with new Profile Page

Hello!
I absolutely love the work you've done with the Homebrewery page. It's saved me so much time organizationally, and visually for homebrewing D&D content. I'm utilizing it heavily for my campaign.
I just thought I would let you know of an issue I've encountered with your profile page on Homebrewery.naturalcrit.
If you have a bunch of brews the content goes off the page, and makes accessing the links extremely troublesome. The only solution is to change my zoom on the webpage, but that varies every time I have a new homebrewery link. I'm also using chrome, and have attached some screenshots.
Here's my browser zoomed at 67%

Here's 100%:

I know this is a free service, and I figured you might appreciate some bug finding.
Additional Details
Share Link :
or
Brew code to reproduce : Click to expand
PASTE BREW CODE HERE

Thanks! I'll fix this today :)

All fixed in v2.5.1. Let me know if there's anymore issues. Thanks for reporting this :)

Thank you so much for the quick reply. I appreciate it a lot.
On Nov 27, 2016 2:05 PM, "Scott Tolksdorf"<EMAIL_ADDRESS>wrote:

Closed #232 https://github.com/stolksdorf/homebrewery/issues/232.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/stolksdorf/homebrewery/issues/232#event-872921118,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXE4BLOHDT05r_LIWp0fVOm9uD5sgXScks5rCdSEgaJpZM4K9Ccp
.


Add pattern of casting Astro.props to Props type

Recommended to get TypeScript support for props within the Astro component
https://discord.com/channels/830184174198718474/958552306792661035

Thanks for making a contribution, @gabrielgrant !


Feat394 asset url path

Work In Progress
I'd like to share the current state of the work.
Accomplished Tasks

Implemented asset_path & asset_uri
Implemented Unit- & Integration-Tests
Fixed include-point of 'Asset-Helpers'

Missing Tasks

Tests are running in Isolation but not in the whole Test-stack, due to HTML-entity-encoding of slashes
Mix into Mailer missing, also Integration-Test
Docs missing

Possible Issues

Currently i'm assembling the path on my own, probably i should use Lotus::Utils::PathPrefix instead.

asset_url is not supporting unicode-urls, we need a punycode-encoder for that.

asset_path/_urlutilizes *args to allow multiple arguments - containing slashes may be handled incorrect.

@florianb My sincere apologize, but I need to close this.
I made a mistake to ask helpers to be implemented here. That would have made lotus-assets a useless gem. I needed to implement asset_path myself, during internal changes made to Lotus::Assets::Helpers.
For a full technical explanation, please read this PR https://github.com/lotus/assets/pull/27
I thoughtfully considered for a week how to arrange all the responsibilities between lotus-assets, lotus-helpers and lotusrb. During this time I wanted to avoid to close this PR, but that has become a chicken-egg situation where I needed asset_path to proceed and it wasn't there.
I hope you can understand that designing such a large system like Lotus is hard and sometimes I can make mistakes.
I hope you can accept my sincere apologize. You're always welcome to contribute to Lotus in the future. Thank you very much.

@jodosha - thanks for letting me know. As you might remember one first thought was to add this functionality to lotus-assets. So i'm glad you found a way to sort the things out right. I will try to help in the future. :beers:


jsfiddle example is broken

http://jsfiddle.net/dwmkerr/8MVLJ/
This is the primary error in the console:
Error: [$injector:unpr] http://errors.angularjs.org/1.2.9/$injector/unpr?p0=%24templateRequestProvider%20%3C-%20%24templateRequest%20%3C-%20ModalService

Probably related to #113

Works if you link to latest Angular release (1.4.8 atm) instead of 1.2.9.

Fixed, thanks for the heads up :smile:


Fix test failures while running with Java 11.

:loudspeaker: Type of change

[x] Bugfix
[ ] New feature
[ ] Enhancement
[ ] Refactoring

:scroll: Description
Fixed tests which are failing while running with Java 11.
:green_heart: How did you test it?
Added Java 11 to GitHub Actions build matrix and all the tests are passing.
:pencil: Checklist

[ ] I reviewed submitted code
[ ] I added tests to verify changes
[ ] I updated reference documentation to reflect the change
[x] All tests passing
[x] No breaking changes

:crystal_ball: Next steps

Thanks a lot @sivaprasadreddy!


Missing message for C++ exceptions in certain lambdas and function objects

Hi!
This might be is related to my last issue https://github.com/ThePhD/sol2/issues/906
For free C++ lambdas that capture variables and throw exceptions, the exception's what() message isn't returned in the sol error.  Instead I might get something from the stack.  If the lambda doesn't capture anything then everything works as expected.
This doesn't seem to be happen for lambdas registered on user types, but only when they're registered as global Lua functions. The error message returned when the function is wrapped in sol::yielding is slightly different, but the same issue occurs with or without sol::yielding.
I'm using Visual Studio 2019, latest sol single header (revision 82812c5 generated 2020-03-31 04:18:51.740568 UTC).
#define SOL_USING_CXX_LUA 1
#define SOL_ALL_SAFETIES_ON 1
#define SOL_EXCEPTIONS_ALWAYS_UNSAFE 1
#include <sol.hpp>
#include <iostream>
#include <exception>

int main() {
    try {
        sol::state lua;
        lua.open_libraries(sol::lib::base, sol::lib::coroutine);

        int x = 5;
        lua["f"] = [x](const std::string& text) {
            throw std::exception{"expected"};
        };

        sol::string_view code = R"(f("hi"))";
        auto result = lua.safe_script(code);
        if (!result.valid()) {
            sol::error err = result;
            throw std::runtime_error(err.what());
        }
    } catch (std::exception& e) {
        std::cout << "Exception: " << e.what() << "\n";
    }
}

This is what I get:
[sol3] An error occurred and has been passed to an error handler: sol: CRITICAL_EXCEPTION_FAILURE error: hi
Exception: sol: CRITICAL_EXCEPTION_FAILURE error: hi

This is what I expect:
[sol3] An exception occurred: expected
[sol3] An error occurred and has been passed to an error handler: sol: runtime error: expected
stack traceback:
        [C]: in function 'f'
        [string "f("hi")"]:1: in main chunk
Exception: sol: runtime error: expected
stack traceback:
        [C]: in function 'f'
        [string "f("hi")"]:1: in main chunk

I also noticed the same issue when using function objects:
#define SOL_USING_CXX_LUA 1
#define SOL_ALL_SAFETIES_ON 1
#define SOL_EXCEPTIONS_ALWAYS_UNSAFE 1
#include <sol.hpp>
#include <iostream>
#include <exception>

class functor {
public:
    void operator()(const std::string& message) {
        throw std::exception{"expected"};
    }
};

int main() {
    try {
        sol::state lua;
        lua.open_libraries(sol::lib::base, sol::lib::coroutine);

        functor f;
        lua["f"] = f;

        sol::string_view code = R"(f("hi"))";
        auto result = lua.safe_script(code);
        if (!result.valid()) {
            sol::error err = result;
            throw std::runtime_error(err.what());
        }
    } catch (std::exception& e) {
        std::cout << "Exception: " << e.what() << "\n";
    }
}

I guess I have to proof the exception code.
For like the 8th time.
Oh booooy....!

Hi, I was investigating a similar error and found that by commenting out the catch(...) in trampoline.hpp I get the expected error message. It'll probably break something else, so I'm not sure if this helps in any way.


Something wrong with the 0.1.16 release

Is it possible that there is something wrong with the new release?
With the master branch including my PR #4 I now don't get the deprecation warning anymore.
But the 0.1.16 release installed via yarn still issues the warning and when I look into the node_modules directory the package has the new 0.1.16 version in the package.json, but still includes the old code from lib/react-leaflet-googlemutant from before the PR that issued the warning...

With:
    "react-leaflet-googlemutant": "git+https://github.com/produtoreativo/react-leaflet-googlemutant.git"

in my package.json everything works just fine btw.

Hi man, i'm sorry for my fault, i don't run update before build.
Try 0.1.18 please!


Allow comparing visits for multiple short URLs, tags or domains

Summary
The charts currently show the stats for just one entity. Displaying multiple entities would allow comparing their visits and see which one performs better.

This is the way I see this working:
Initially I was picturing this as an enhancement of the existing visits page, where you would be able to select other occurrences of the same entity.
However this has some considerations:

You need to be able to select other items from a list, which in the case of short urls is challenging.
That section is complex, and introducing this is not easy.
Some of the capabilities there make sense only for a single entity, like the option to delete visits.
Similarly to the previous point, comparing visits is useful over time, but not that much over locations or as a plain list.

Because of this, I came to the conclusion there should be a new section specific to compare visits, displaying only a line chart with visits over time, and time-based filters.
In order to get to this section, a user would have to select which items to compare first.
This would be done by adding a new "Compare visits" option in drop-downs for short urls, tags or domains.
When this option is clicked, it will temporarily add the corresponding item to some kind of overlay or card, including an extra CTA.
Once the user is happy with the selection, clicking that CTA will take him/her to the new "compare visits" section.


Add the ability to force-sync RuneLite settings and notes

Rather than only syncing these things on exit of the client, allow a force sync button.
Would be useful on sudden crash/improper shutdown of the client so that notes/current slayer assignment wouldn't be lost.

The settings are automatically synced every config change


Variable degree on each cell

Hi @dlfivefifty. Do you have a plan to implement support for a different truncation degree on each cell? In particular for the plan_transform of ContinuousPolynomial{0}.
I feel since the transform on each cell are independent it should not be so difficult but I am not sure whether one expects things to be really slow if the transforms on each cell have a different degree.

I don't know the right interface for this...I guess we'd want to incorporate the truncation degree into the type


IKEA Trådfri broken in 0.56 Docker

Home Assistant release (hass --version): 0.56.0
Python release (python3 --version): 3.6 (official Docker image)
Component/platform: IKEA Trådfri
Description of problem:
Trådfri component doesn't load due to missing dependency aiocoap. Worked with 0.55.2 with unchanged configuration.
Expected:
Docker image has all necessary dependencies installed.
Problem-relevant configuration.yaml entries and steps to reproduce:
tradfri:
  host: tradfri.localdomain
  api_key: xxxxxxxxxx

Traceback (if applicable):
2017-10-22 18:22:27 ERROR (MainThread) [homeassistant.components.tradfri] Looks like something isn't installed!
Traceback (most recent call last):
  File "/usr/src/app/homeassistant/components/tradfri.py", line 119, in _setup_gateway
    from pytradfri.api.aiocoap_api import api_factory
  File "/usr/local/lib/python3.6/site-packages/pytradfri/api/aiocoap_api.py", line 6, in <module>
    from aiocoap import Message, Context
ModuleNotFoundError: No module named 'aiocoap'

Additional info:
aiocoap was commented out from requirements_all.txt in this commit https://github.com/home-assistant/home-assistant/commit/d16c5f904668a035995d985a3ec372320d008459#diff-d2a98e4969c1e91ad53f86f06b98fba2 for a reason unknown to me. @lwis ?

Installing aiocoap manually in the container solves the problem: pip install https://github.com/chrysn/aiocoap/archive/3286f48f0b949901c8b5c04c0719dc54ab63d431.zip#aiocoap==0.3

Or use hassio image: homeassistant/qemux86-64-homeassistant

What's the current status of this issue? Are users of the Docker-image expected to install the dependency manually, or is help needed in getting this in the image itself for distribution on DockerHub?

@jeroenseegers I worked around the issue by building my own image with the needed dependencies installed like this: https://github.com/schliflo/nas-docker/blob/v2/apps/home-assistant/Dockerfile

Trådfri works fine in 0.58 so this should probably be closed?


add token for text color on highlight

as noted in this issue, we should have a token for text color on highlight: https://github.com/patternfly/patternfly/pull/6578

added in figma! global--text--color--on-highlight