Force Feedback

Force feedback not working on Microsoft Sidewinder Pro 2 - feedback effects work in other games, like FSX.
Imported from trac ticket #187,  created by Imago on 07-27-2010 at 23:14, last modified: 07-31-2010 at 17:52

Auto center option, FF Gain % setting, loading of custom force feedback effect files and change to autoupdate to handle the .ffes are almost ready to commit.
Trac comment by Imago on 07-31-2010 at 15:17


reuse the boshrelease's s3 bucket rather than 2nd bucket

Rationale?

@jhunt after you've created a new boshrelease, say with bosh-gen new mything, you will have a bucket created (either manually or via bosh-gen new). If we default to using the same bucket for pipeline assets, then getting started with setup boshrelease will have one less manual step/one less thing to go wrong.
After I removed this patch from #23 I have started explicitly adding meta.aws.bucket into my https://github.com/cloudfoundry-community/redis-boshrelease/blob/master/ci/settings.yml#L17 files. I've not had a yearning for a 2nd bucket for the pipeline assets yet.
Is there a benefit to a 2nd bucket that I'm forgetting about at the moment?

Sounds good to me.  Can you fix the merge conflicts and I'll merge?


petsc, p4est: strict dependencies

Motivation for this change
I'm now using strictDeps = true; to enforce cleanliness in petsc, p4est, p4est-sc. Works fine, but:

MPI seems to be a native dep. This is fine for mpicc, but I'd think mpirun would be a runtime dep. Would it make sense to split openmpi and mpich into two packages to separate compiler and runtime?
OpenMPI requires OpenSSH, apparently as a native dep. Wondering whether it should not be a runtime dep, but I don't know how deeply it is compiled in.

These are issues outside of this PR, and everything works since tests are only run when host == build, but I thought I'd ask.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

nixpkgs-review pr 130156:
Link to currently reviewing PR:
https://github.com/NixOS/nixpkgs/pull/130156
6 packages built:
getdp p4est p4est-dbg p4est-sc p4est-sc-dbg petsc

Would it make sense to split openmpi and mpich into two packages to separate compiler and runtime?

we could output split it.

OpenMPI requires OpenSSH, apparently as a native dep. Wondering whether it should not be a runtime dep, but I don't know how deeply it is compiled in.

I think we should wrap it instead to avoid adding it to multiple packages.


luigid: Add format conversion code for #916

In spotify/luigi#916 all (scheduler) tasks started to have the
disable_hard_timeout attribute which the code assumes. But the scheduler
will crash if you load an old pickle file.
Yea I know it was ages ago we merged that PR but Spotify still runs some
luigid with old state files.
I did test that this works. But I did not add any unit test, as this is
not any compatibility we want to maintain in the long run. To make the
code base a bit cleaner, I dated all the format conversion code.

:+1:


Target Address and dc-ip Conflict

Given these two commands, the below command will fail:
python ./aced.py -hashes 'LM:NTLM' -dc-ip dc.domain.tld 'domain.tld/computer$'

The below command will succeed:
python ./aced.py -hashes 'LM:NTLM'<EMAIL_ADDRESS>
This is due to the target address being required and there is no logic if the dc-ip argument is used instead. I'm requesting either method being supported to align with official Impacket examples.

Good catch. I'll shoot to get this resolved soon.


Missing code in example app

Here: https://github.com/feathersjs/feathers-authentication/blob/master/example/app.js
Line 11: const auth = require('../lib/index');
Missing /lib folder.

@heymartinadams lib is actually a compiled folder.  I think you run npm run compile to get it in place.

Gotcha, @marshallswain. Unfortunately, I wasn’t able to get it compiled. The npm command "compile": "rimraf -rf lib/ && babel -d lib/ src/" threw the following error.
ReferenceError: Unknown plugin "add-module-exports" specified in "/Users/martinadams/swifty/feathers-authentication/.babelrc" at 0, attempted to resolve relative to "/Users/martinadams/swifty/feathers-authentication"

That's one of the devDependencies of feathers-authentication: https://github.com/feathersjs/feathers-authentication/blob/master/package.json#L67
Have you installed this directly from the repo?  It doesn't sound like you've installed from npm.  You probably need to cd node_modules/feathers-authentication && npm install.

If you run just the example, change
const auth = require('../lib/index');

to
const auth = require('feathers-authentication');

Thank you, @daffl and @marshallswain.
Unfortunately, I’m having trouble migrating to feathers-authentication 1.0. Would any of you perhaps be willing to take a look at it? It’s a private repo, so I’ll invite you to it if you like. Built entirely on feathersJS (which is awesome, by the way :)

Absolutely.  I can offer a couple minutes.  My email's in my profile.

Thank you, @marshallswain!


@storybook/jest compatibility

Thank you so much, @bencompton, for this great package. It's been a tremendous help for us satisfying BDD requirements (feature files with scenarios we can sync to JIRA) while being able to stay as lightweight as possible with jest and @testing-library/react.
Lately, however, we're moving towards @storybook/react (with @storybook/interactions, @storybook/jest, and @storybook/testing library) especially in light of the automatic visual regression testing of stories with chromatic. As wonderful as we feel about that approach to frontend testing, it remains to be seen how we could integrate BDD. My first thought, of course, was to look into compatibility with jest-cucumber. I can't quite think of how it would work, unfortunately. The logic for steps would now be defined inside of the play methods of stories, rather than the .steps file we are used to running with jest and jest-cucumber.
Do you have any insights or tips (or interest) regarding compatibility between jest-cucumber and BDD? I sincerely appreciate your time!

The short answer is that I don't feel that Gherkin is the best tool for the job regarding visual regression tests, or really anything outside of acceptance tests. Visual regression tests, unit tests, etc., don't really benefit from Gherkin, IMO. The purpose of Gherkin is to describe business rules and link them to automated tests. I always encourage my teams to eliminate all UI terminology from feature files because the focus should be on the rules, not the look and feel of the UI.
My philosophy is that other types of tests, like visual regression, can focus on the UI, and can use tools that are more appropriate for the job. IMO, the goal of feature files should be to concisely tell a story and provide key examples to demonstrate behavior, rather than being a dumping ground for every possible testing concern. That being said, using the same test runner (Jest) for acceptance tests and other types of tests is nice.


Authorization Issue

My vuetable 2 code is like below
<vuetable
      api-url="http://<IP_ADDRESS>:8000/api/addresses"
      :fields="columns"
      data-path="data"
      pagination-path=""
    ></vuetable>

I am getting error is like below

This is not Vuetable error. Check your backend code. It seems like your api needs authentication.

Yes, API needs authentication. I have to send authentication token from Vuetable along with api-url. How can I do that ?

Try searching through the issues, many people have already asked and suggested solutions. Basically, you should use either http-options or append-params to attach the token to the request.


Remove Duplicates from Sorted Linked List in C++

Have you read the Contributing Guidelines on Pull Requests?
(Yes)
Description
(Given the Sorted Linked list head which contain duplicates, the task is
to delete all the duplicate and make linked list such that every element
appear just one time.)
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
fixes #6232

@ankitaggarwal23 Please review I have created new PR satisfying all rules given in yesterday's Discord Channel.
If anything more I have to change I will
Thankyou


ES 2.4.0

Could you help me to create plugin for ES 2.4.0 because it will allow me to complete my task. My request is due to the fact that I also use your plug-in in conjunction with another, but now I can not upgrade ES to version 5.
Thanks in advance

I uploaded a plugin zip for ES 2.4.0
http://xbib.org/repository/org/xbib/elasticsearch/plugin/elasticsearch-langdetect/<IP_ADDRESS>/elasticsearch-langdetect-<IP_ADDRESS>-plugin.zip


Expired sessionid

Hey all,
Since a few days, some cookies (not all) are suddenly invalid. Is it possible that Instagram now wants to refresh the sessionid?
Thanks in advance.

Due to #495


Add stack implementation in JavaScript

Hey guys,
I added a Javascript implementation for stacks. I have a question before merging:
The JavaScript testing system seems to run all the code samples through Node (after injecting the assert library) whereas the Python testing system runs the separate unit test files. How do you want me to handle testing the JavaScript stuff? I think it'll look weird if we have assert statements in all the JavaScript code samples, but not in the Python code samples. Its not the end of the world though. Would you rather I continue doing that (in which case I'll add tests to this pull request) or that I set up some generic JavaScript testing system we can use?

I actually like the asserts when they serve an illustrative purpose for the reader. I haven't yet encountered a situation where I wanted JavaScript tests that were not also illustrative for the reader, but only at that point would I set up some other js testing system. Up to you though.
Regarding the CI fail, you'll need to add the gross "coding" magic comment # -*- coding: utf-8 -*-


Revise collections

Please do work for this task in a branch named issue-19.
Clean up collections (profile, interests, tags)

Change the names of items in collections.
Remove unnecessary collections.
Organize collections for more readability.

Current collections { Profiles, ProfilesTags, ProfilesInterests}
Removed Interests and Tags collections.
Updated Profiles collections with allowed values for tags and interests.
Updated settings.json to follow new collections.
Updated pages, collections, and their schemas to follow new collections except for the filter page.


Environment Variable Substitution Not Working in IstioControlPlane

Bug description
When defining an IstioControlPlane file to be ingested by istioctl manifest apply -f FILE.yml Environment Variables are not  expanded.
For example, I want to specify the Image Repository for Grafana. Which could be an ECR that is different each time it is applied:
apiVersion: install.istio.io/v1alpha2
kind: IstioControlPlane
spec:
  profile: default
    grafana:
      enabled: true
      image:
        repository: ${REGISTRY_URL}/grafana/grafana

I have tried the following environment variable syntaxes:
${REGISTRY_URL}
$${REGISTRY_URL}
$(REGISTROY_URL)
$$(REGISTRY_URL)
$REGISTRY_URL

But all of them seem to be interpreted as string literals. For  example, from  kubectl describe pod:
Containers:
  grafana:
    Container ID:
    Image:          ${REGISTRY_URL}/grafana/grafana:6.4.3

Expected behavior
The environment variable should be expanded to either NULL or the contents of the system environment variable if it is set.
Steps to reproduce the bug

Create an istioControlPlane configuration file that uses Environment Variables.
Set the environment variable on your system.
Run istioctl manifest apply -f FILE.yml and  see that the variables are considered string literals and are not expanded.

Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
Istio: 1.4.3
Kubernetes: 1.17.0
How was Istio installed?
I used the scary recommended method of piping the internet into my shell.
Environment where bug was observed (cloud vendor, OS, etc)
Local kubeadm based cluster.
More Information:
This process can be worked around like so. Which is really hacky:
cat FILE.yml | envsubst > /tmp/FILE.yml && istioctl manifest apply -f /tmp/FILE.yml && rm /tmp/FILE.yml
I tried to pipe the file into istioctl manifest apply -f using STDIN like so:
$> cat ~/Desktop/example.yml | envsubst | istioctl manifest apply -f -
Failed to generate and apply manifests, error: failed to generate manifest: could not read values from file -: open -: no such file or directory

By switching to the <() operator for STDIN parsing, Istio just ignores the STDIN entirely and simply deploys the default configuration:
cat ~/Desktop/example.yml | envsubst | istioctl manifest apply -f <()

A separate bug report pertaining to the issues with providing a configuration to STDIN has been created here.

You can use the --set flag to achieve the desired behavior.
istioctl manifest apply -f FILE.yaml --set values.grafana.image.repository=<image name>

You can use envsubt for substitution via envvar. kubectl doesn't search/replace arbitrary envars either (see below). https://github.com/istio/istio/pull/20912 adds support for reading from STDIN.
$ cat test.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
  name: ${NAME}

$ NAME=foo kubectl create -f test.yaml -o yaml --dry-run
apiVersion: v1
kind: ServiceAccount
metadata:
  name: ${NAME}
  namespace: default

Thanks for the response. I recognize that I can use the --set argument but a configuration file is more appropriate for version control when doing IaC than a long form shell command. This feels more like a workaround than a solution. I think a more refined workaround is using this approach:
cat FILE.yml | envsubst > /tmp/FILE.yml && istioctl manifest apply -f /tmp/FILE.yml && rm /tmp/FILE.yml

If this is a limitation of kubectl as opposed to istioctl feel free to close.

I am closing this because it is working as intended.
I have used istioctl and kubectl with bash "here-documents" to achieve this effect.  Helm templates provide this effect.  istioctl and kubectl do not process environment variable templates.


docs: add diff to the upgrade v8

:tada: This PR is included in version 2.12.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add a basic authentication mecanism to the application

Currently, there is not authentication mechanism implemented. Anyone could access the application and modify the data.
I would be great to implement a full module of authentication and authorization but for the time being a simple authentication will be helpful.  We might imagine a simple HTTP BASIC or a password based authentication. Spring security looks like a very good choice here.
We also need to clearly define the authorization mechanism.

@douwevincent never succeeding in spring security in a web project, I've implemented a commonly used token authentication and authorization mecanism.
A Utilisateur {login, password, token, role} class has being created.
The User must log in before consuming resources by sending an AuthLoginElement{username,password} object in a post request.
If the user exists in the database, an AuthAccessElement{auth-id,auth-token} object is created an returned to him. auth-id is the username and token is a server generated token
Each time he wants to consume a protected resource, he must provide the auth-id and auth-token in the header of the request.
The AuthSecurityInterceptor class in resourceImpl package filters for every method called to see if it has the @RolesAllowed annotation. If it has one, the authorization process begins.
This can be tested with the method listing all courses of a department, and the Cours module.

We need to do something more fine-grained here. It is not simply who can call a method but also based on your credentials the response you received might be different.  For instance, if you have a role head of department, you will only see courses for this department.
I don't think we will be able to replicate some interesting functionalities of Spring security will the same level of sophistication. For instance, Spring security offers solutions to common attack. So I think we need to do it somehow. This article on spring.io can be good starting point https://spring.io/guides/tutorials/spring-security-and-angular-js/ or you can create a project with jhipster (https://jhipster.github.io/). It implements a point to point security. The only problem I see is that these two links use spring boot application but I think it is adaptable to our configuration.

Hello @royken ,*
I'm coming back to this issue. I've never really tested what you've done but when I looked at the code you provided I have some questions:

Is it possible to define the access mechanism without hardcoding the different roles with the annotation @RolesAllowed. For instance, we have the following requirements: A lecturer (a user with this role probably) has access to only the list of courses he teaches. So the result of the service getAllCours depends on the user currently logged in.
How to do to log in? I think there is no login page
Who is responsible of creating the different tokens?
The answer to these questions will definitely help me know if we can adapt the code you provided to accommodate your use cases.

Hello S. @douwevincent ,
I had not finished with this issue (lack of time).
However this is the process I wanted to implement:

The client sends their credentials (username and password) to the server.
The server authenticates the credentials and, if they are valid, generate a token for the user.
The server stores the previously generated token in some storage along with the user identifier and an expiration date.
The server sends the generated token to the client.
The client sends the token to the server in each request.
The server, in each request, extracts the token from the incoming request. With the token, the server looks up the user details to perform authentication.
If the token is valid, the server accepts the request.
If the token is invalid, the server refuses the request.
Once the authentication has been performed, the server performs authorization.
The server can provide an endpoint to refresh tokens.
I wanted to achieve this only with JAX-RS 2.0 technologies.

This is what has been done yet:
Definition of login process through the UtilisateurResource

The client sends a request to the login resource by using the url > /auth with an AuthLoginElement{username,password}.
Once the server receive the client request, it operates login operation:

If the user exists, a token is generated, associated to the user object an stored in the database (UtilisateurService). An AuthAccessElement{authId, authToken, authPermission} object is generated and returned to the client, where authId is the user's login, authToken the generated token and authPermission the user's role (this one can be removed)
This is what has been done yet.
Next step, update all request in order to handle the step 5 in the previous comment

Authorization process
Actually this is how the merged version works:
The client sends it request (normal http request), but this time the  http will have two header parameters:

auth-id : the user's login
auth-token : the user's token
The definition of these two parameters can be found in AuthAccessElement class

Once the server receives the client's request, it scans the requested method to see if it is a role based method (the method must have a @RolesAllowed annotation).
If it is one, the server check if the user exists and if he has the privilege to execute the method.
This verification process is done by the filter AuthSecurityInterceptor class in resource.impl package.
Only the getAllCours and  getCoursByParcours have the RolesAllowed annotation (I used them for tests while waiting for approval).

To summarise:
How to do to log in? I think there is no login page:
I didn't had enough time to create a login page, I used a rest client to perform test.
Who is responsible of creating the different tokens?
The server creates a token and returns it to the client on each login process. The client will use the given token on each request.
Is it possible to define the access mechanism without hardcoding the different roles with the annotation
... No answer for this at this time :-)
Give access to only the list of courses the logged used teaches
The Utilisateur entity is linked with the Departement entity. There is a way to have the current logged user with this method (not yet implemented). The hardest part (according to me of course) is to rewrite all the methods returning courses, level, students, ... in such a way that they will depend on a given department.
S. @douwevincent let me know if my answers satisfy you.

Hello @royken,
I fully understand now what you've done. It seems promising. My only concern now is the necessity to put the allowed roles on the method definition. It would be great if we can give the possibility to the administrator to define roles and give them some privileges on the fly.
Another question, with your solution, it is possible to extract the use credentials (specially the username) from the security context and inject it into a parameter of a method in a centralised manner. I don't want to put the corresponding code all over the codebase(if you remember the DRY principle).
Thanks.


(#14) Add MSVC build CI

Close #14

@kolumb looks good to me! :+1: Thank you for your contribution!


Use ipfs to fetch files

Uses prometheus to monitor processes
Streams missing tarballs to client as we get them
Checks with npm for updated versions
More robust retries when npm goes away
Adds more tests

Codecov Report

Merging #66 into master will increase coverage by 7.81%.
The diff coverage is 89.86%.

@@            Coverage Diff             @@
##           master      #66      +/-   ##
==========================================
+ Coverage   80.82%   88.64%   +7.81%
==========================================
  Files          11       17       +6
  Lines         339      405      +66
==========================================
+ Hits          274      359      +85
+ Misses         65       46      -19

Impacted Files
Coverage Δ

src/core/config.js
100% <ø> (ø)
:arrow_up:

src/core/utils/replace-tarball-urls.js
100% <100%> (ø)

src/core/handlers/files.js
61.9% <100%> (ø)

src/core/clone/save-tarballs.js
100% <100%> (ø)

src/core/handlers/index.js
100% <100%> (ø)

src/core/utils/create-pool.js
92.3% <100%> (+1.39%)
:arrow_up:

src/core/store/index.js
73.91% <73.91%> (ø)

src/core/handlers/favicon.js
75% <75%> (ø)

src/core/utils/save-manifest.js
80% <80%> (ø)

src/core/clone/index.js
84.78% <82.5%> (-10.68%)
:arrow_down:

... and 17 more

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 32b9dbe...5e135fe. Read the comment docs.


chore(atlas-service): Create a directory to save mapping files if not…

… exist
Fixes #180

Hi @rhuss ,
I'm not sure how 'target/mappings' directory is created in the docker image though, this is helpful when I run a manual integration test. Can we have it, or is it somehow harmful for the docker environment?

It seems the saveMapping() is not invoked within syndesis. I changed to create the directory lazily so it won't make anything until it actually requests saving.


Event preview up to time of event

Modification to show events up to their start time. Currently it is set up to show the event until the day of the event.

Huh I never noticed that they fall off before they happen - will need to do some looking into sequelize date query behavior because it should do any event that hasn't yet ended for the home page.
Relevant Code L25-L27

I had a thought and I think I figured this out.
We just need to configure the timezone on the server to be the same time zone we're in, so that when it asks the OS for the current time it returns the correct time. I have a feeling that isn't how professional sites implement it though


Add formatted links to build status notification

Currently, build status notifications from hubot-circleci are formatted like this:
Success in build ### of https://github.com/owner/repo [branch/ref] Author: Commit Message - github

We're using Slack at work and it would be great to include some formatted links within the message. Particularly, having a link to quickly access the CircleCI build page would be awesome.
This is the format I'm thinking of:
Success in <https://circleci.com/gh/owner/repo/tree/branch|build ###> of <https://github.com/owner/repo|owner/repo> [branch/ref] Author: Commit Message - github

This final result would look like:

Success in build ### of owner/repo [branch/ref] Author: Commit Message - github

Would be happy to create a PR for this.

Unfortunately, I never got around to a PR for this. Seems like the work is still blocked by slackhq/hubot-slack#114 unless you wanted to integrate directly with the incoming webhooks API.
Going to close the issue for now.


Rename Google organization

It looks like our Google organization is still named hackEDU.

Yeah, this is actually a limitation of Google Apps. We've changed the name of the organization to "Hack Club", but we can't change the name of the "top level organizational unit" (which is what you're seeing in that dropdown). See https://support.google.com/a/answer/178186?hl=en for more details.


option for an outgroup

Hi~Raxml can build a tree using a outgroup as reference (one of the input proteome provided). Can you please also add the option? Otherwise I have to re run the Raxml step separately using intermediate alignment fa file. Thanks

Hi @jianshu93
you can pass any argument to RaxML already:
    [--raxml-args "<ARGS>"]         Arbitrary options to pass through to RAxML. The ARGS part should be         in quotes and is appended to the RAxML command as given.
I hope this helps, best
Alex


Morning Session Peer-to-peer code review B5D5

Hi @UsirusenIkon :wave:
You have done great efforts to make this project we find that your project is :+1:

[ ] Project Working Fine
[ ] Nice Design
[ ] Linters are Passed
[ ] Proper Github flow
[ ] Professional README file

But there is something that needs to improve :dart: we would like to suggest you, please

[x]  Update the correct link of your Live demo project link from deployed GitHub pages.
[x]  Add a video introduction link to your readme file.

thank you 👋


Disconnected from MQTT server

Get this error when adding the integration and all entities are shown as Unknown, have tried a restart
HA 0.112, v6f843e3 of this integration
Log Details (WARNING)
Logger: custom_components.blitzortung.mqtt
Source: custom_components/blitzortung/mqtt.py:308
Integration: Blitzortung (documentation, issues)
First occurred: 10:56:00 (1 occurrences)
Last logged: 10:56:00

Disconnected from MQTT server blitzortung.ha.sed.pl:1883 (0)

EDIT:
After 10 minutes or so, the counter has gone to 0, I assume Unknown in the other 2 sensors is because there is no lightning at my location (UK)  ?

@holdestmade yes, exactly. But I'll fix the counter sensor (I will set it to 0 instantly, current behavior is very confusing).

OK, thanks, still get the above error in my log on reboot of HA

if I set my radius to a lsrge area (eg 5000) I'm getting the flashes listed etc.  If I have it set only to the area I'm interested in (ie 100km from location) counter shows 0, azimuth and distance both show unknown  in this circumstance (ie no lightning detected nearby) could the state of azimuth and distance both be something like none detected instead of unknown

@holdestmade I've just released new version with bunch of changes:

sensors behavior on start is fixed - they should be available as soon as connection to server is established, lightning counter should be set to 0, azimuth and distance to None (HA should render them as "Unknown")
I've decreased log level of server disconnection messages to info, so they should be less disturbing (as said before periodic disconnects are expected, component should reconnect automatically after that).

@holdestmade I don't think mixing text and numeric state in single sensor is good idea. You can probably easy achieve that using template sensor.

All working now after upgrade, thank you.


Convert l-container to rems and add display sizes

Changes l-container to a rem value. I think changing the variable values directly comes later after we switch to 62.5%.
Injects size variable values for the t-size-<size>, l-container-<size>, and has-<size>-btm-marg into our docs with some hackyish JS. I wanted a quick way to peek at the calculated values. (I think designers communicate in pixels too, so I was thinking it might aid in translation of design feedback.)

@AndrewGibson27, I'm going to merge this, but feel free to comment on it later. It's mostly implementing feedback from a previous PR.


Add support for multiple zone

As a user of upcloud-packer I need ability to create images in multiple locations

Fixed in https://github.com/UpCloudLtd/upcloud-packer/pull/25


Added Roles and Groups Service

Added Roles and Groups Services to haystack Client
Added support for using TS generics on Users, Roles and Groups services.

Should be good for another look @garethj2 🎉


Video resolution

Tilman, great work!
This isn´t a issue. I´ve tested the scritp and it works ok.
Only one question: the output video resolution is 800x600. I wonder if it would be possible to configure the script for another type of resolution, for example 1280x720. This is the deskshare.webm original file resolution (in the example i´ve tested).
thanks in advance

Hi. Video resolution is derived from the viewport settings in shapes.svg as set by big blue button itself; i.e. different presentations may have different video resolutions. The presentation video is created by taking screenshots from this file in a headless chromium browser. Setting another viewport could result in odd aspect ratios. But you could resize the whole video with ffmpeg easily afterwards.

Hi! Ok, that´s clear.
Thanks for your answer (and for the script)

Just to make that point clear: I marked this as an enhancement, since I understand that it would be good to have some control over the resulting video resolution. It's just not trivial and I add it to the mabe-later-list :-)

Thank you for your good work!
Please tell me in which file you can change the resolution of the final video, while you have not done it yet?

Hi @osintaras - I'm currently not intending to build this into the script, since there are two issues with it:

If the desired video resolution is higher than the actual source material, it would result in a grainy video, which is not desired.
Resizing the video during composition results in ffmpeg reencoding the whole video, which results in significant longer run time and resource usage.

I suggest you resize the video after creation with a command like ffmpeg -i video.mp4 -vf scale=320:-2 video2.mp4.

Hi @tilmanmoser
I agree with @osintaras , it'd be great it we could configure the resolution of the virtual browser in order to change the resolution of the result video.
Thanks for your great job !


Logout

Hi there,
Can anybody provide me with how to do logout from Casdoor?
I tried to do login as
 guard let idToken = inksAuthLoginModel.idToken else {
            return
        }
        Task {
            do{
                let isLogout = try await casdoor.logout(idToken: idToken)
                print(isLogout)
            }catch {
                print(error)
            }
        }

But got encountered an error of
responseSerializationFailed(reason: AF.AFError.ResponseSerializationFailureReason
Can anyone please help me to fix this issue? Thanks

@Wrapping-2000


OLS-742 - Migrating tests from openshift-tests-private

Migrating tests from openshift-tests-private

/approve
/lgtm

Override failing test not related to this change:
/override "Red Hat Konflux / ols-enterprise-contract / lightspeed-console"


feat(remix-react): add reset function to fetchers

I probably shouldn't reopen this discussion with a PR, but it was a great opportunity to gain some insight into how Remix works and even if not landed it might serve some purpose for future discussion around this topic.
Why this change
I think there's a good case to be made for resetting fetchers, and found a discussion on discord that seemed to come to the same conclusion.
The case I ran into is that I have a typeahead that loads data from the server using a fetcher. Every time you click on a search result it gets added to a list and the typeahead closes and clears. When clicking on the typeahead again a new fetch happens to repopulate the typeahead based on the empty query.
If in this scenario we do nothing special, stale data will be shown. This is because fetcher.data will keep the stale value around while loading new data. This is great in a lot of cases, but sometimes you explicitly don't want that to happen. In this case I know the data is stale the moment the user clicks on one of the typeahead suggestions, and I really don't want to show it anymore.
There are probably many other scenarios where fetcher.reset() would be useful, the discussion on discord is about a file upload that the user can clear for example.
There are some solutions to work around this problem:

Keep track of a copy of the fetcher state, clear that whenever I want

let typeaheadFetcher = useFetcher();
let [data, setData] = useState(null);
useEffect(() => {
  if (uploader.state === "done") {
    setData(typeaheadFetcher.data);
  }
}, [typeaheadFetcher])
...
function onItemClick() {
  setData(null);
  // do other stuff
}

Put the typeahead results and the fetcher in a separate component and remount it whenever it needs clearing

function TypeaheadResults({query}) {
  let typeaheadFetcher = useFetcher();
  useEffect(() => {
    // call typeaheadFetcher.load with the current query
  }, [query]);

  // render the results from typeaheadFetcher
}

function Typeahead() {
  const [resultsKey, setResultsKey] = useState(0);

  function onItemClick() {
    setResultsKey(resultsKey+1);
    // do other stuff
  }

  return <TypeaheadResults key={resultsKey} />
}

I was going to type a lot of reasons why I believe both these options are bad but Ryan already summarised this perfectly on Discord:

(if that is still the current thinking, but I for one believe forcing developers to use useEffect in app code is the opposite of what Remix could be doing)
Why not this change
I have no idea if there are any downsides to having this functionality. There's some mentions in the discord discussion on why it isn't there yet, but I don't see any major reasons why this shouldn't be supported ever.
Formalities
Closes: #2749

[ ] Docs
[x] Tests

Testing Strategy:
yarn test
These tests covers this code:

integration/fetcher-test.ts
packages/remix-react/__tests__/transition-test.tsx

This makes me happy, I thought I was just doing things weird but the modal form submission does seem to be a good example of where this would be useful vs maintaining local state. Plus the un-mounting trick (while works) messes up my pretty animations lol
Thanks @Vlemert for putting this together

I can't speak for the example that @Vlemert left but for me i keep running into this on a project where we are using modals and form submissions.
If i submit a form via a fetcher and get a validation issue and then close the modal and open it back again i see the same validation issue from before, as a user i would expect that if i close modal via a "cancel" action that it would reset my form.
I'll try to come up with a repo to demo my use case before i head out of town this weekend, but for now I just copy the fetcher.data value via useState and treat that as source of truth vs the fetcher.data and then just clear that when needed. Just seems like an extra step.

I've definitely felt the pain of not being able to reset fetchers. For me it's mostly in modals/slide-outs where I'm not do not unmount/remount for animation and performance purposes. +1 from me

Hey folks, can some of you provide working, sample UI on https://remix.new with your use cases?
I'm still not against having fetcher.reset() but every time I sketch out what I think you are trying to do (type aheads with saved selections, modals, animations) I can't quite understand why you need to reset the fetcher.
It seems there's always some piece of application state that's triggering the fetcher (at least in my sketched out use cases) and risks getting your UI out of sync with the fetcher if you're able to "reset" the fetcher.
For example, if you reset the fetcher but don't clear the typeahead input: the input has text in it but the results are now gone. Instead you could just control the input and clear the text and the fetcher will respond (depending on how the app works).
I'm rambling a bit now, but my concern is reset risks your UI getting into unexpected states. Would love some running examples 🙏

@ryanflorence yup i can work on this, it's on my list anyways so i'll see if i can get that up today as i should have a bit of downtime.
As an aside thank you for coming back to this, legit the only real pain point i have had using remix so far

This may be too contrived and over-simplified, but: https://stackblitz.com/edit/node-4bw59u?file=app%2Froutes%2Findex.tsx

@ryanflorence  I know the UX could be debated in this example but it is contrived after all...
https://stackblitz.com/edit/node-8xvzeb
Really what I want is the ability to reset state that gets derived from the fetcher data. Right now, I need to make a copy of the fetcher data via useState and then manage it from there. This seems a bit boilerplate and makes things hard to read.

@ryanflorence I know the UX could be debated in this example but it is contrived after all...
https://stackblitz.com/edit/node-8xvzeb
Really what I want is the ability to reset state that gets derived from the fetcher data. Right now, I need to make a copy of the fetcher data via useState and then manage it from there. This seems a bit boilerplate and makes things hard to read.

In this example, if you moved the dialog to another component, you could put the fetcher there, then when the dialog unmount (you close it) and re-mounts (you open it again) it will be a new fetcher with empty data.

@ryanflorence I know the UX could be debated in this example but it is contrived after all...
https://stackblitz.com/edit/node-8xvzeb
Really what I want is the ability to reset state that gets derived from the fetcher data. Right now, I need to make a copy of the fetcher data via useState and then manage it from there. This seems a bit boilerplate and makes things hard to read.

In this example, if you moved the dialog to another component, you could put the fetcher there, then when the dialog unmount (you close it) and re-mounts (you open it again) it will be a new fetcher with empty data.

funny you say that, i recall doing that in another part of that app... I'm about to head out of town but when i get back next week i'll dig around and see if this was good enough. i feel like there was an edge case to this though...just can't recall and might be more me being new to the framework when i first ran into this issue.
I'd say for now until we get a solid example, this feature might not be needed and is just a by product of how things were done pre-remix.

rant warning
@ryanflorence  I just read the discord conversation linked above and the code solution you offered is to add a useEffect and a useState, and then you said, you can resubmit, and I can't think of a product use case where that's not enough.  In the first case you're adding unnecessary useEffect and state, and in the second case you're requiring an unnecessary server round-trip (spinner), but then you say you want the opposite, We have two goals with remix, destroy all spinners and useEffect calls.  Which is it?
Forms are user driven, and fetcher.Form is usually a call/response thing driven by the user.  Sometimes the user wants to start over with a form without another submit to the server (which also requires the server to provide a reset code path, which is strange to expect for a client-only concern).  Someone on Discord recently said they have an endpoint just for returning null to work around this flaw.  Another person said they put the fetcher in a sub-component and unmount and remount it to get a new one. That's fine if that's where you need it, but bizarre if not.
fetcher.data is a nice way to hang simple reactive UI directly onto the response from the last user action.  But when the user wants to reset, and clear away the past, then making the programmer need to jump through extra hoops just to get back to where we started is strange, and honestly annoying.  We already declared what the default state of the form is, so why can't we get back to that like a good old form.reset()?  I think the use case is already proven by form.reset() and it deserves proof that it's a bad idea to NOT do it.
Ryan you asked for examples, here's a minimal version of the form I made earlier today:
https://stackblitz.com/edit/node-9ta3ig?file=app/routes/index.tsx
If you send a random "email", it changes to accept a verification code, which will always fail, but then there's the reset button to start over with a new email, which doesn't work because the UI is still derived from the previous response even after the form reset.  it would be nice if a fetcher.Form's reset input worked automatically to return fetcher.data to its initial value.
I tried doing some variations like the examples above, having the fetcher in a sub component, or layering extra useEffect and useStates on top, but it's all just way more complexity than is needed.  Please just allow the reset.

Hi @Vlemert!
Are you still interested in getting this one merged?
If so, please rebase onto latest dev & resolve conflicts


Looping "Something rustles nearby!" no Pokemon appear

Expected Behavior
Pokemon should appear after Something rustles nearby!

Steps to Reproduce
Using master build
Other Information
OS: Windows 10
Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here)
Note spins working fine.

Same.

Try recopying the example config, and only change the username, password, and apikey
Leave all the pokemon stuff alone.

Trying sec

I did have to modify
def i2f(int):     return struct.unpack('<d', struct.pack('<Q', int))[0]
to
def i2f(int):     return struct.unpack('<d', struct.pack('<d', int))[0]
in utils.py to get bot to run.

same

Then you guys  should upgrade to the latest version

Also,
spawnpoint_id = self.pokemon['spawnpoint_id']
to
spawnpoint_id = self.pokemon['spawn_point_id']
in pokemon_catch_worker.py

Dev version?? Copied new config didn't work either

The dev branch

Dev branch kept flaking on the location I tried to give it.  Any secrets there?

Same

[23:39:42] PokemonGO Bot v1.0 [23:39:42] No config argument specified, checking for /configs/config.json [23:39:42] Configuration initialized [23:39:43]  [23:39:43] Location Found: 30.5508,-89.0110 [23:39:43] [x] The location given using -l could not be parsed. Checking for a cached location. [23:39:43] [x] Parsing cached location... No cached Location. Please specify initial location.

Any ideas?

Same problem on dev branch

try doing this
before:            self.api.encounter(encounter_id=encounter_id, spawn_point_id=spawnpoint_id,
player_latitude=player_latitude, player_longitude=player_longitude)
after:            self.api.encounter(encounter_id=encounter_id, spawnpoint_id=spawnpoint_id,
player_latitude=player_latitude, player_longitude=player_longitude)
it brings up an error when trying to catch but it actually tries to catch instead of just rustling.
error is as follows
[2016-07-27 04:56:15] [#] Something rustles nearby!
[2016-07-27 04:56:15] A Wild Kingler appeared! [CP 129] [Potential 0.8]
[2016-07-27 04:56:15] IV [Stamina/Attack/Defense] = [14/7/15]
Traceback (most recent call last):
File "./pokecli.py", line 220, in
main()
File "./pokecli.py", line 211, in main
bot.take_step()
File "/home/ubuntu/workspace/pokemongo_bot/init.py", line 36, in take_step
self.stepper.take_step()
File "/home/ubuntu/workspace/pokemongo_bot/stepper.py", line 62, in take_step
self._work_at_position(position[0], position[1], position[2], True)
File "/home/ubuntu/workspace/pokemongo_bot/stepper.py", line 139, in _work_at_position
self.bot.work_on_cell(cell, position, pokemon_only)
File "/home/ubuntu/workspace/pokemongo_bot/init.py", line 63, in work_on_cell
if self.catch_pokemon(pokemon) == PokemonCatchWorker.NO_POKEBALLS:
File "/home/ubuntu/workspace/pokemongo_bot/init.py", line 190, in catch_pokemon
return_value = worker.work()
File "/home/ubuntu/workspace/pokemongo_bot/cell_workers/pokemon_catch_worker.py", line 98, in work
if not self.should_capture_pokemon(pokemon_name, cp, pokemon_potential, response_dict):
File "/home/ubuntu/workspace/pokemongo_bot/cell_workers/pokemon_catch_worker.py", line 292, in should_capture_pokemon
catch_config = self._get_catch_config_for(pokemon_name)
File "/home/ubuntu/workspace/pokemongo_bot/cell_workers/pokemon_catch_worker.py", line 333, in _get_catch_config_for
catch_config = self.config.catch.get(pokemon)
AttributeError: 'Namespace' object has no attribute 'catch'

likely has to do with the spawnpoint issue?

Seems to be some inconsistencies in the naming.

looks like this commit broke it: https://github.com/PokemonGoF/PokemonGo-Bot/commit/6a2833322ae77daf7ac3d3f3aa5c621b2543e8aa

sorry i'm not really good with github but my above change and doing this https://github.com/PokemonGoF/PokemonGo-Bot/issues/1121
returns this
[2016-07-27 05:23:25] [#] Something rustles nearby!
Traceback (most recent call last):
File "./pokecli.py", line 220, in
main()
File "./pokecli.py", line 211, in main
bot.take_step()
File "/home/ubuntu/workspace/pokemongo_bot/init.py", line 36, in take_step
self.stepper.take_step()
File "/home/ubuntu/workspace/pokemongo_bot/stepper.py", line 62, in take_step
self._work_at_position(position[0], position[1], position[2], True)
File "/home/ubuntu/workspace/pokemongo_bot/stepper.py", line 139, in _work_at_position
self.bot.work_on_cell(cell, position, pokemon_only)
File "/home/ubuntu/workspace/pokemongo_bot/init.py", line 63, in work_on_cell
if self.catch_pokemon(pokemon) == PokemonCatchWorker.NO_POKEBALLS:
File "/home/ubuntu/workspace/pokemongo_bot/init.py", line 190, in catch_pokemon
return_value = worker.work()
File "/home/ubuntu/workspace/pokemongo_bot/cell_workers/pokemon_catch_worker.py", line 31, in work
response_dict = self.create_encounter_api_call()
AttributeError: 'PokemonCatchWorker' object has no attribute 'create_encounter_api_call'

reinstall of latest dev fixed it guys...FYI

@kaoztheory still does not work

Master appears to be working for me now.  Did a git pull, then pip install
-r requirements.txt
On Wed, Jul 27, 2016 at 12:40 AM, Victor<EMAIL_ADDRESS>wrote:

@kaoztheory https://github.com/kaoztheory still does not work
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/PokemonGoF/PokemonGo-Bot/issues/1122#issuecomment-235492174,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAknJ6arZQxJYO_MRhlwo4B4W2LAeGkYks5qZu9ggaJpZM4JV00W
.

Yeah dev isn't working still. Master is though

this is the latest dev i can get working as of right now. https://github.com/PokemonGoF/PokemonGo-Bot/commit/db5b719dba2faebf9401b929811d0308e2561317
and no 1.1 will not work with the latest dev.

this is now fixed: https://github.com/PokemonGoF/PokemonGo-Bot/pull/1137

Should be fixed in https://github.com/PokemonGoF/PokemonGo-Bot/commit/72b1218962291e5d487df3e55de3bfa4b28ec4cf

Should be fixed in 72b1218


Dependencies not installed well enough to run pytest

https://github.com/PolarizedLightFieldMicroscopy/forward-model/blob/145e76b214f5ad6052f5948b5332dec109578e48/.github/workflows/python-conda-windows10.yml#L15-L33

Workflow tests were made in the actions and workflow branches.


[Critical bug] Unable to layer akmod-wl

This is what I typed sudo rpm-ostree install akmod-wl on bazzite kde (not nvidia or deck version)
Checking out tree 161ccab... done
Enabled rpm-md repositories: fedora-cisco-openh264 fedora-modular updates-modular updates fedora rpmfusion-free-updates rpmfusion-free rpmfusion-nonfree-updates rpmfusion-nonfree updates-archive
Importing rpm-md... done
rpm-md repo 'fedora-cisco-openh264' (cached); generated: 2023-03-14T10:56:46Z solvables: 4
rpm-md repo 'fedora-modular' (cached); generated: 2023-04-13T20:30:47Z solvables: 1082
rpm-md repo 'updates-modular' (cached); generated: 2023-08-19T01:34:25Z solvables: 1086
rpm-md repo 'updates' (cached); generated: 2023-08-30T01:24:18Z solvables: 22396
rpm-md repo 'fedora' (cached); generated: 2023-04-13T20:37:10Z solvables: 69222
rpm-md repo 'rpmfusion-free-updates' (cached); generated: 2023-08-26T15:09:45Z solvables: 176
rpm-md repo 'rpmfusion-free' (cached); generated: 2023-04-14T11:37:11Z solvables: 468
rpm-md repo 'rpmfusion-nonfree-updates' (cached); generated: 2023-08-26T15:38:13Z solvables: 81
rpm-md repo 'rpmfusion-nonfree' (cached); generated: 2023-04-14T12:02:51Z solvables: 235
rpm-md repo 'updates-archive' (cached); generated: 2023-08-30T02:25:43Z solvables: 33415
Resolving dependencies... done
Checking out packages... done
Running pre scripts... done
Running post scripts... done
error: Running %post for akmod-wl: bwrap(/bin/sh): Child process killed by signal 1; run `journalctl -t 'rpm-ostree(akmod-wl.post)'` for more information

When I ran journalctl -t 'rpm-ostree(akmod-wl.post)', I got this
journalctl -t 'rpm-ostree(akmod-wl.post)'
Aug 30 05:51:46 fedora rpm-ostree(akmod-wl.post)[3536]: Building /usr/src/akmods/wl-kmod-<IP_ADDRESS>1-46.fc38>
Aug 30 05:51:57 fedora rpm-ostree(akmod-wl.post)[4019]:     group mock does not exist - using root
Aug 30 05:51:57 fedora rpm-ostree(akmod-wl.post)[4019]:     user mockbuild does not exist - using root
Aug 30 05:51:57 fedora rpm-ostree(akmod-wl.post)[4019]:     group mock does not exist - using root
Aug 30 05:51:57 fedora rpm-ostree(akmod-wl.post)[4019]:     user mockbuild does not exist - using root
Aug 30 05:51:57 fedora rpm-ostree(akmod-wl.post)[4019]:     group mock does not exist - using root
Aug 30 05:51:57 fedora rpm-ostree(akmod-wl.post)[4019]:     user mockbuild does not exist - using root
Aug 30 05:51:57 fedora rpm-ostree(akmod-wl.post)[4019]:     group mock does not exist - using root
Aug 30 05:51:57 fedora rpm-ostree(akmod-wl.post)[4019]:     user mockbuild does not exist - using root
Aug 30 05:51:57 fedora rpm-ostree(akmod-wl.post)[4019]:     group mock does not exist - using root
Aug 30 05:51:57 fedora rpm-ostree(akmod-wl.post)[4019]:     user mockbuild does not exist - using root
Aug 30 05:51:57 fedora rpm-ostree(akmod-wl.post)[4019]:     group mock does not exist - using root
Aug 30 05:51:57 fedora rpm-ostree(akmod-wl.post)[4019]:     user mockbuild does not exist - using root
Aug 30 05:51:57 fedora rpm-ostree(akmod-wl.post)[4019]:     group mock does not exist - using root
Aug 30 05:51:57 fedora rpm-ostree(akmod-wl.post)[4019]:     user mockbuild does not exist - using root
Aug 30 05:51:57 fedora rpm-ostree(akmod-wl.post)[4019]:     group mock does not exist - using root
Aug 30 05:51:57 fedora rpm-ostree(akmod-wl.post)[4019]:     user mockbuild does not exist - using root
Aug 30 05:51:57 fedora rpm-ostree(akmod-wl.post)[4019]:     group mock does not exist - using root
Aug 30 05:51:57 fedora rpm-ostree(akmod-wl.post)[4019]:     user mockbuild does not exist - using root
Aug 30 05:51:57 fedora rpm-ostree(akmod-wl.post)[4019]:     group mock does not exist - using root
Aug 30 05:51:57 fedora rpm-ostree(akmod-wl.post)[4019]:     user mockbuild does not exist - using root
Aug 30 05:51:57 fedora rpm-ostree(akmod-wl.post)[4019]:     group mock does not exist - using root
Aug 30 05:51:57 fedora rpm-ostree(akmod-wl.post)[4019]:     user mockbuild does not exist - using root
Aug 30 05:51:57 fedora rpm-ostree(akmod-wl.post)[4019]:     group mock does not exist - using root
Aug 30 05:51:57 fedora rpm-ostree(akmod-wl.post)[4019]:     user mockbuild does not exist - using root
Aug 30 05:51:57 fedora rpm-ostree(akmod-wl.post)[4019]:     group mock does not exist - using root
Aug 30 05:51:57 fedora rpm-ostree(akmod-wl.post)[4019]:     %patchN is deprecated (24 usages found), use %pat>
Aug 30 05:51:57 fedora rpm-ostree(akmod-wl.post)[4019]: RPM build errors:
Aug 30 05:51:57 fedora rpm-ostree(akmod-wl.post)[4019]:     Unable to open sqlite database /usr/share/rpm/rpm>
Aug 30 05:51:57 fedora rpm-ostree(akmod-wl.post)[4019]:     cannot open Packages index using sqlite - Operati>
Aug 30 05:51:57 fedora rpm-ostree(akmod-wl.post)[4019]:     cannot open Packages database in /usr/share/rpm
Aug 30 05:51:57 fedora rpm-ostree(akmod-wl.post)[4019]:     Unable to open sqlite database /usr/share/rpm/rpm>
Aug 30 05:51:57 fedora rpm-ostree(akmod-wl.post)[4019]:     cannot open Packages index using sqlite - Operati>
Aug 30 05:51:57 fedora rpm-ostree(akmod-wl.post)[4019]:     cannot open Packages database in /usr/share/rpm
Aug 30 05:51:57 fedora rpm-ostree(akmod-wl.post)[4019]:     Bad exit status from /var/tmp/rpm-tmp.pXT14C (%bu>
-- Boot<PHONE_NUMBER>ea4649b7933457a94073d0 --
Aug 30 05:55:18 fedora rpm-ostree(akmod-wl.post)[2431]: Building /usr/src/akmods/wl-kmod-<IP_ADDRESS>1-46.fc38>
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     group mock does not exist - using root
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     user mockbuild does not exist - using root
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     group mock does not exist - using root
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     user mockbuild does not exist - using root
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     group mock does not exist - using root
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     user mockbuild does not exist - using root
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     group mock does not exist - using root
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     user mockbuild does not exist - using root
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     group mock does not exist - using root
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     user mockbuild does not exist - using root
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     group mock does not exist - using root
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     user mockbuild does not exist - using root
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     group mock does not exist - using root
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     user mockbuild does not exist - using root
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     group mock does not exist - using root
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     user mockbuild does not exist - using root
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     group mock does not exist - using root
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     user mockbuild does not exist - using root
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     group mock does not exist - using root
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     user mockbuild does not exist - using root
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     group mock does not exist - using root
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     user mockbuild does not exist - using root
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     group mock does not exist - using root
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     user mockbuild does not exist - using root
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     group mock does not exist - using root
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     user mockbuild does not exist - using root
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     group mock does not exist - using root
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     user mockbuild does not exist - using root
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     group mock does not exist - using root
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     %patchN is deprecated (24 usages found), use %patch N (or %patch -P N)
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]: RPM build errors:
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     Unable to open sqlite database /usr/share/rpm/rpmdb.sqlite: unable to open data>
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     cannot open Packages index using sqlite - Operation not permitted (1)
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     cannot open Packages database in /usr/share/rpm
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     Unable to open sqlite database /usr/share/rpm/rpmdb.sqlite: unable to open data>
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     cannot open Packages index using sqlite - Operation not permitted (1)
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     cannot open Packages database in /usr/share/rpm
Aug 30 05:55:28 fedora rpm-ostree(akmod-wl.post)[2908]:     Bad exit status from /var/tmp/rpm-tmp.iiGEpj (%build)

Interesting issue. Maybe try without sudo?  Run "systemctl reboot" to start a reboot

It's possible something is up with the SELinux contexts so give this a try:
restorecon -Rv /var/lib/rpm

And if that doesn't work, another thing you could try is rebuilding your RPM db:
setenforce 0
rpmdb --rebuilddb
setenforce 1

I did all what you said and I got the same exact error

I'm using the Nvidia Bazzite GNOME variant

This is shipped in Bazzite now with a toggle for enabling it. How does that work for you?

Dumb question? Where is the toggle for this?

Dumb question? Where is the toggle for this?

 You can use just for this:
just use-broadcom-wl

I am closing this since there is just use-broadcom-wl and the reverse just disable-broadcom-wl


Did you get my message?

Hi William,
I've sent you an email on UXDX a few days ago and I'm wondering if you had a chance to read it; I'm afraid it might have been marked as spam.
I would like to say thank you for being involved in Open Source and discuss something regarding our conference.
Could you please double check your email or drop me a message at<EMAIL_ADDRESS>Thanks in advance,
Catherine

It was marked as Spam. I just sent you a reply.


table function does not work with external streams

Describe what's wrong

Given an kafka external stream ex_stream, running SELECT * FROM table(ex_stream) never stops. In fact, it behaves exactly the same as SELECT * FROM ex_stream, the table function is not working in this case.
How to reproduce
Error message and/or stacktrace

Additional context

Our internal discussion lean to enhance the table(..) function to support external stream, just to list all existing data in the topic (from earliest offset)

+1
No matter what is needed to happen inside, the UX should be consistent. Otherwise, it's best to call external streams something else. A stream is a stream so the functions should work more or less the same. Otherwise, the user is left scratching their head and having to keep track of these various limitations.


Upgrade python-telegram-bot to 5.1.0

v5.1.0

Drop Python 2.6 support
Deprecate telegram.Emoji
Use ujson if available
Add instance methods to Message, Chat, User, InlineQuery and CallbackQuery
RegEx filtering for CallbackQueryHandler and InlineQueryHandler
New MessageHandler filters: forwarded and entity
Add Message.get_entity to correctly handle UTF-16 codepoints and MessageEntity offsets
Fix bug in ConversationHandler when first handler ends the conversation
Allow multiple Dispatcher instances
Add ChatMigrated Exception
Properly split and handle arguments in CommandHandler

Tested with the following configuration:
notify:
  - platform: telegram
    name: telegram
    api_key: !secret telegram_api
    chat_id: !secret telegram_client

Message sent with "Call Service"
{"message": "The sun is {% if is_state('sun.sun', 'above_horizon') %}up{% else %}down{% endif %}!"}

@fabaff
I have been following this thread where you could send a telegram message to your hass to let it perform certain tasks. The thread mentions the core developers have picked this up. Could this pull request have something to do with it ?
https://community.home-assistant.io/t/hass-telebot-telegram-bot/2865/2


Seperate source and test projects

My point stands at https://github.com/workspacer/workspacer/pull/246#issuecomment-892262982.

Following up on discussion from previous PR here.

It's not a less important folder, it keeps things organized

And it's IMO not really "organizing" anything by putting tests in a separate folder. You're just creating a code-bin which is easily collapsed and/or ignored.
Organizing something means actually creating some sort of organization. IMO creating a separate tests-folder always (without exception) results in the opposite. The "tests" folder is now the entirety of the "organization". And that's the end of that. It's really a absolutely lowest aim of organization one can have.
In my experience having tests side-by-side with the projects being tested has the following benefits:

You always know where to find tests for the project you're working with (in the test-project below the one you're working on).
You always know where to put new tests when writing new code (in the test-project below the one you're working on).
You always know if a project has tests or not (is there a test-project beneat it in solution explorer?), and if not, where to create the test-project and with what name (project-name + .Tests), because that's the way you are (naturally) forced to organize it.
Everything is organized, always, because it feels natural to keep things organized.

Contrast that with having a separate test-folder:

There's no natural forces driving you to create a corresponding test-project for the project being tested.
There's no immediate way to know where to put tests for your project
There's no immediate way to tell if your project has tests or not
There's no easy way to spot projects which stand out by lacking tests
Etc etc
Easy to minimize/collapse.. Ignore. Don't keep up.

There are IMO no objective benefits to having a separate folder for test-projects, only downsides.

that's how most projects actually do it.

Just because other projects do it that way doesn't automatically make it better. Doing things just because other's are doing it, is  known as cargo-cult computing.
And that's why most projects do it. Cargo cult-programming or just "default" conventions, with no real reflection behind the purpose of doing things in the way they've chosen.
Here on the contrary, I've put lots of thought and reflection into not having a separate tests-folder, and I would appreciate if we didn't change that.

I see the point now. Maybe it is hard to keep the src and test folders parallel. The idea of everything being into "one folder" seems like clutter to me but that doesn't seem to matter.


Make WebPush class extendable

Hi, @Minishlink.
Sure. The main idea is in getting detailed info on the failed messages when sending in bulk.

If all the messages were sent with no error, we can't even tell how many of those messages were sent. Which we would like to know for our product metrics.
Having the count method available, we can at least know how many messages were sent. While if the class would be extendable, we'd be able to rewrite the WebPush::flush method. Currently it's not possible, as $notifications are declared private.
Another reason is that the exact message is indistinguishable in the results array, e.g. we can access the subscription, but not the message. Extending the WebPush::flush method, we could also mark the messages with some UUIDs and map the results then to exact messages being sent.
Hope this gives you a bit of understanding of what we're trying to achieve. Please let me know what you think.

Cool!
I'm not sure if making it extendable is the best solution : if somebody find the API not good enough for his needs, he would only extend the class and not contribute back to the project so that other people profit from the improvements... Would you be willing to modify the default return? I think something like
{
notificationsSent: int,
errors: Array<{ endpoint, isExpired ... }>
}

I'm not sure if making it extendable is the best solution : if somebody find the API not good enough for his needs, he would only extend the class and not contribute back to the project so that other people profit from the improvements...

Fair enough. Let's close this request then and I'll submit another one shortly ... I hope :)

@Minishlink hey. I've started with the concept of returning mapped results from the ::flush() method. Would really appreciate if you could take a look at the commit: https://github.com/t1gor/web-push-php/commit/dcd9ce6696674331e0af007531261ca598e02c6f
I am currently having issues with testing the code: how do I start the web-push-testing-service to work against it in tests? Currently I have it installed, but it  just doesn't seem to work correctly somehow ... Would appreciate a hint.


CLOUD-943 fixed ambari host health checks

@keyki

Jenkins build failed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1520/

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1522/


bad dev fix need help

Hi guys
I have some $BLND in my wallet and also set up a small limit order. When I go to Blend UI it does not show that I am able to use my $BLND to mint LP tokens on the backstop page. When I go to the mint LP token page, it shows my available $BLND as the total BLND in my wallet. However, I can only mint my total BLND minus the amount I put in the limit order. So when I click MAX mint it enters my total wallet balance but does allow me to mint since I have some in a limit order. I think the UI should show my available BLND as my total balance minus my limit order

@mootz12 HELPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP

@chickennugget2000 Has your issue already been escalated?


[HOTFIX] Fix Hadoop-1 build caused by #5792.

Replaced fs.listFiles with Hadoop-1 friendly fs.listStatus method.

Merged build triggered.

Merged build started.

Test build #34110 has started for   PR 6619 at commit 6192078.

LGTM.

FsHistoryProviderSuite has passed. I'm merging this into master thanks.

Test build #34110 has finished for   PR 6619 at commit 6192078.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
  case class Params(
  case class Params(
class ElementwiseProduct(val scalingVec: Vector) extends VectorTransformer
trait TypeCheckResult
 case class TypeCheckFailure(message: String) extends TypeCheckResult
abstract class UnaryArithmetic extends UnaryExpression
case class UnaryMinus(child: Expression) extends UnaryArithmetic
case class Sqrt(child: Expression) extends UnaryArithmetic
case class Abs(child: Expression) extends UnaryArithmetic
case class BitwiseNot(child: Expression) extends UnaryArithmetic
case class MaxOf(left: Expression, right: Expression) extends BinaryArithmetic
case class MinOf(left: Expression, right: Expression) extends BinaryArithmetic
case class Atan2(left: Expression, right: Expression)
case class Hypot(left: Expression, right: Expression)
case class EqualTo(left: Expression, right: Expression) extends BinaryComparison

Merged build finished. Test PASSed.


[DO NOT MERGE] test: trigger CI track/1.7

dummy PR to trigger CI on track/1.7

used for testing only, closing.


[ILVerify]Add plumbing to verify types

contributes to https://github.com/dotnet/corert/issues/6203
Added some plumbing to allow type verification.
/cc @jkotas @MichalStrehovsky

Here is an example of more complex type validation message from the current PEVerify: "Method %1.%2: type argument '%3' violates the constraint of type parameter '%4'." . It may be useful to work through how this error message is going to get produced.

Shouldn't be a problem...because who writes check could produce this message and put it in VerificationResult.Message and add same parameters to list to allow driver to improve output if need. What do you think?

because who writes check could produce this message

If we were to go with this plan and format the messages right away, we can do this for all messages. We do not need to be passing the raw message components around at all...

Thanks

I agree...I think all started with the idea of "custom formatting" out of verifier...I don't understand the reason...but maybe I'm missing some context that led to this.

The unmanaged interface for PEVerify used the same model: https://docs.microsoft.com/en-us/dotnet/framework/unmanaged-api/hosting/ivalidator-interface . It reported errors back as error ID and SAFEARRAY of parameters. I agree that there may not be enough value in this.

Ah now it's clear where it came from.


Pi & Wifi connection

Hi,
my magic mirror is up and running, but after some days the wifi is going down. Now the pi is unreachable again and the weather is out of sync like here #187.
Did anyone also encounter this problem? Any Ideas how to solve this?
I use the EDIMAX wifi adapter.

You could try this: https://learn.adafruit.com/adafruits-raspberry-pi-lesson-3-network-setup/test-and-configure#fixing-wifi-dropout-issues
Also make sure You have a powerfull power supply. (2A minimum). That solved the issue for my 3D Printer Pi Connectivity Issues.

hm.. I'm using a standard Apple power adapter, but the small one for iPhones.
Thanks for the link..

Ok, change the settings, I'll report in 3 days if the problem is solved ;)

It's down again :(

:( Maybe try an other wifi adapter. Or check your access point settings.

So I restarted today and did a fresh pull.
Now here it's Thuesday but the forecast shows Monday and all other modules are working and have a connection. SSH is working as well.

Btw is the forecast supposed to display today's or tomorrow's weather?

Forecast shows whatever it gets from open weather. Usually that starts from today.

Which wifi adapter do you use?

Would it be ok for you to proceed any further discussion of this issue on: https://forum.magicmirror.builders? This way I can limit the use of GitHub issues to bug reports.

Good idea.

To piggy back on this if I may I recently started setting mine up and was wondering if when I move the Pi to a different location will it auto connect to wifi that it has had in the past and if not is there something I can install that will make it do so?

it will reconnect if it can get a signal


Feature Request: Add Built-in Text Search API for Extensions

Feature Request for VS Code: Text Search API
Summary
VS Code currently lacks a built-in API for text-based search within files. While the findFiles method allows for file discovery based on glob patterns, there is no straightforward way to perform text-based searches within those files programmatically.
Problem Statement
Developers often have to resort to using Node.js file system APIs or other libraries to read file content and then apply their own search algorithms. This adds extra overhead and complexity to extensions that aim to provide advanced search features.
Proposed Solution
Introduce a new API method, tentatively named findTextInFiles, that allows for text-based search within files. This method could accept parameters like search query, file type, and directory, and return a list of matches with their respective line numbers.
Use Cases

Advanced search features in custom extensions.
Automated code analysis and refactoring.
Enhanced navigation features.

Benefits

Simplifies the development process for extension developers.
Provides a unified way to perform text-based searches.
Could potentially speed up search operations by leveraging VS Code's internal optimizations.

Additional Context
This feature request aims to fill a gap in the current VS Code API and make it more robust and developer-friendly.

There are two proposed api's you can test now:
findTextInFiles
textSearchProvider

See if they what you want.  Not a lot has happened with them lately though.  There must be issues about them here.

Thank you @andreamah. Are they currently only available in Insiders, or is it available in all current versions of VS Code?


transforms.Normalize

why use x-0.5 / 0.5  instead of ‘[0.485, 0.456, 0.406], [0.229, 0.224, 0.225]‘？

We conducted experiments recently and this won't affect the model performance.


fix(mongoose): Filter _id on generated Schema

_id is a reserved key for mongoose but not for the JsonSchema.
Now the _id is filtered when JsonSchema is converted to a mongoose Schema.
Closes: #280

:tada: This PR is included in version 5.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


command failed due to signal: Abort trap: 6 charts

Hi Daniel,
I'm using 'swift-2.0' branch with cocoapods, that's OK for building in iphone and simulators.
Today, when I tried to archive my project in Xcode 7, I've got this error:
command failed due to signal: Abort trap: 6 charts
Assertion failed: (!AA->mayWriteToMemory(SI, V) && "Found overlapping stores"), function verify, file /Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-7<IP_ADDRESS>/src/swift/lib/SILPasses/LoadStoreOpts.cpp, line 1576.
0  swift                    0x0000000102745b8b llvm::sys::PrintStackTrace(__sFILE*) + 43
1  swift                    0x00000001027462cb SignalHandler(int) + 379
2  libsystem_platform.dylib 0x00007fff8ad2ff1a _sigtramp + 26
3  libsystem_platform.dylib 0x00007fff5f4d87a0 _sigtramp +<PHONE_NUMBER>
4  libsystem_c.dylib        0x00007fff923acb53 abort + 129
5  libsystem_c.dylib        0x00007fff92374c39 basename + 0
6  swift                    0x0000000100a88950 (anonymous namespace)::LSBBForwarder::optimize((anonymous namespace)::LSContext&, llvm::DenseMap<swift::SILValue, (anonymous namespace)::LSStore, llvm::DenseMapInfoswift::SILValue, llvm::detail::DenseMapPair<swift::SILValue, (anonymous namespace)::LSStore> >&) + 13056
7  swift                    0x0000000100a853f1 (anonymous namespace)::LSContext::runIteration() + 11441
8  swift                    0x0000000100a8245a (anonymous namespace)::GlobalLoadStoreOpts::run() + 1930
9  swift                    0x0000000100a220ae swift::SILPassManager::runFunctionPasses(llvm::ArrayRefswift::SILFunctionTransform*) + 1598
10 swift                    0x0000000100a22d28 swift::SILPassManager::runOneIteration() + 984
11 swift                    0x0000000100a1fc90 swift::runSILOptimizationPasses(swift::SILModule&) + 432
12 swift                    0x000000010072be08 performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&) + 9992
13 swift                    0x00000001007294e3 frontend_main(llvm::ArrayRef<char const*>, char const*, void*) + 2627
14 swift                    0x00000001007255af main + 2015
15 libdyld.dylib            0x00007fff9266a5c9 start + 1
how do I fix?
Thanks
Davide

It's not a problem in the framework, but in the compiler... Please post on
Apple's forum, as you want this bug fixed before the final versionof
Xcode...
בתאריך יום שלישי, 4 באוגוסט 2015, eldafito<EMAIL_ADDRESS>כתב:

Hi Daniel,
I'm using 'swift-2.0' branch with cocoapods, that's OK for building in
iphone and simulators.
Today, when I tried to archive my project in Xcode 7, I've got this error:
command failed due to signal: Abort trap: 6 charts
Assertion failed: (!AA->mayWriteToMemory(SI, V) && "Found overlapping
stores"), function verify, file
/Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-7<IP_ADDRESS>/src/swift/lib/SILPasses/LoadStoreOpts.cpp,
line 1576.
0 swift 0x0000000102745b8b llvm::sys::PrintStackTrace(__sFILE
*) + 43 1 swift 0x00000001027462cb SignalHandler(int) + 379 2
libsystem_platform.dylib 0x00007fff8ad2ff1a _sigtramp + 26 3
libsystem_platform.dylib 0x00007fff5f4d87a0 _sigtramp +<PHONE_NUMBER> 4
libsystem_c.dylib 0x00007fff923acb53 abort + 129 5 libsystem_c.dylib
0x00007fff92374c39 basename + 0 6 swift 0x0000000100a88950 (anonymous
namespace)::LSBBForwarder::optimize((anonymous namespace)::LSContext&,
llvm::DenseMap, llvm::detail::DenseMapPair >&) + 13056 7 swift
0x0000000100a853f1 (anonymous namespace)::LSContext::runIteration() + 11441
8 swift 0x0000000100a8245a (anonymous
namespace)::GlobalLoadStoreOpts::run() + 1930 9 swift 0x0000000100a220ae
swift::SILPassManager::runFunctionPasses(llvm::ArrayRefswift::SILFunctionTransform*)

1598
10 swift 0x0000000100a22d28 swift::SILPassManager::runOneIteration() + 984
11 swift 0x0000000100a1fc90
swift::runSILOptimizationPasses(swift::SILModule&) + 432
12 swift 0x000000010072be08 performCompile(swift::CompilerInstance&,
swift::CompilerInvocation&, llvm::ArrayRef, int&) + 9992
13 swift 0x00000001007294e3 frontend_main(llvm::ArrayRef, char const*,
void*) + 2627
14 swift 0x00000001007255af main + 2015
15 libdyld.dylib 0x00007fff9266a5c9 start + 1

how do I fix?
Thanks
Davide
—
Reply to this email directly or view it on GitHub
https://github.com/danielgindi/ios-charts/issues/271.

solved in a new pull request

Which commit solved it? I wrote some repo on my own and encountered the same problem. Thank you for your help!

Xcode 7 beta 5 solved it.

@danielgindi It certainly has solved for this repo but it is happening right now with my repo using Xcode 7 beta 5. Looks like Apple didn't solve for every case. :(

Well, I prevented this bug by changing some AnyObject to Any. Weird.

Maybe you would want to revase your repo on the main repo, get the latest
version plus your changes
בתאריך יום שישי, 14 באוגוסט 2015, Sihao Lu<EMAIL_ADDRESS>כתב:

Well, I prevented this bug by changing some AnyObject to Any. Weird.
—
Reply to this email directly or view it on GitHub
https://github.com/danielgindi/ios-charts/issues/271#issuecomment-131138222
.


Add stability badge

done in PR #40

Changed to stable from experimental as package is public and first release is done


Fixes javaslang/javaslang#131

Coverage remained the same at 100.0% when pulling aa2483ff66d3300dfaf9f3ea8f66920b0b0aff05 on danieldietrich:master into 98dd670986c0302abdec2a08a4d6a0e5bd03a66a on javaslang:master.


Selected Range and x-axis zoom interaction fixes

Associated EDA PR https://github.com/VEuPathDB/web-eda/pull/84
Fixes #117
Raised a possible back end issue
https://github.com/VEuPathDB/EdaDataService/issues/31

@bobular, do you think we really need to bound the selected range? I don't really see an issue with the selection being outside the bounds of the data.

We could remove the constraints, @dmfalke - but are they causing any issues at the moment?  The range bounds are used to fill in the min or max when only one number is entered (similar to live site behaviour) - I'll comment in this PR where that's happening - so that would have to be implemented differently.

Hi @dmfalke and others.
I have done some refactoring (new LabelledGroup container component) and moved the selectedRange controls above the histogram.  It looks good there.  Seems that HistogramControls could lose some mandatory props but I'll leave that for another day.
I've done my best re. styling/layout (including darkening the lines and widening the widgets) - but it's not perfect.


Cannot handle linefeed correctly

Environment
Windows build number: Microsoft Windows [Version 10.0.18362.418]
Windows Terminal version (if applicable): All

Steps to reproduce

Write some characters with linefeed in the notepad, such as:

a
b
c
d
e

Copy them
Open Windows Terminal and launch WSL

wsl

use cat command to write into a text file:

cat > test.txt << EOF

Paste the copied characters into the terminal

Expected behavior
PS C:\Users\hez20> wsl
hez2010@DESKTOP-CD2C52F:/mnt/c/Users/hez20$ cd ~
hez2010@DESKTOP-CD2C52F:~$ cat > test.txt << EOF
> a
> b
> c
> d
> e
> f

Actual behavior
PS C:\Users\hez20> wsl
hez2010@DESKTOP-CD2C52F:/mnt/c/Users/hez20$ cd ~
hez2010@DESKTOP-CD2C52F:~$ cat > test.txt << EOF
> a
>
> b
>
> c
>
> d
>
> e
>
> f

Each linefeed was repeated twice.

I think this is a duplicate of #1091.

It absolutely is a /dupe of #1091. Thanks, @j4james!


Correct boolean handling for Json::Value (RIPD-941).

@HowardHinnant @JoelKatz @nbougalis
Howard brought up an interesting inconsistency in an earlier review, and this is the response.

(rebased against develop).

:+1:

Force pushed with the nit scratched.

:+1:

I squashed this down and it's ready to go!

:+1: needs rebase.


My total score dropped significantly

After being absent a few days, I completed two katas (Gerrymander Solver and Simple string expansion in Python) and by next morning I found that my score dropped by nearly 1000 pts, from over 4590+ to 3745, also lowering my rating from 1kyu to 2kyu. Here is my page: https://www.codewars.com/users/YuriL1967. I wonder what was the reason for the drop, and whether it was a bug or deliberate. It seems to be very similar to the issue from 2018 described here: https://github.com/Codewars/codewars.com/issues/1600.

I wonder what was the reason for the drop, and whether it was a bug or deliberate

It was deliberate.

OK, thanks for letting me know.


Validator: check for crossing=traffic_lights (pedestrian light)

While manual adding a highway crossing (highway=crossing) I tried also maually add the details for a pedestrian crossing light/signal (which is mainly tagged by using the crossing=traffic_signals). The list for key crossing of the dropdown menu shows e.g. items for
traffic_signals
and
traffic_lights
It is a bit confusing to select the right one, when you see these two similar values.

Currently there are not many items of (the potential wrong selection) https://taginfo.openstreetmap.org/tags/crossing=traffic_lights#overview
in the database (~600).
But maybe because of the long run risk, that people will sometimes use light instead of signal, it could be worth to add validation check. What others think about it?
PS: btw i also found crossing=pedestrian_signals (~2000) in the list https://taginfo.openstreetmap.org/keys/crossing#values, don't know who did invent it and if this is a suited alternative, or also worth for validation.

The best way to fix this would be to edit the map and lower the number of traffic_lights values, so that iD no longer shows the wrong value from taginfo 😉 (though the value only appears near the top when you begin typing "traffic")
More importantly, the presets and fields for crossings need to be improved so that most people wouldn't need to manually edit crossings.

@boothym

The best way to fix this would be to edit the map and lower the number of traffic_lights values, so that iD no longer shows the wrong value from taginfo 😉

This request is to add a rule which displays a warning message for crossing=traffic_lights objects & this would most likely be exactly reduce the database amount for this tag over time. I don't want to do any mechanical edits. ;-)

More importantly, the presets and fields for crossings need to be improved so that most people wouldn't need to manually edit crossings.

Agree, would you open a separate issue for that idea?

Thank you


[JS] Major bump @polkadot

JS updates are always critical. Hence this PR should be tested thoroughly:
##Tests:
Successful meetups:

[ ] 3 bootstrappers
[ ] Receive flow works with invoice amount and without
[ ] Send flow works
[ ] importing contacts works

[ ] via share account
[ ] manually

[ ] Changing current account
[ ] changing community
[ ] Account management
[ ] Account deletion
[ ] importing via mnemonic
[ ] Changing account name
[ ]  on-boarding

[ ] import account via mnemonic
[ ] create new account

Once again this breaks running the tests. I don't seem to be able to make the test-suite understand esm modules. Maybe the quickest way to fix this is to simply migrate the service to typescript #134.
Minimal PoC that compiles is in https://github.com/encointer/encointer-wallet-flutter/tree/cl/js-service-typescript

It is way too old. Closing it.


Specific images crash server

Photos taken from Samsung phones contain exif that crashes lambda ( and return 502 )
[ERROR]	2018-08-29T18:39:12.842Z	d28fb4a3-abba-11e8-b4de-ad0a1e83e58b	Future exception was never retrieved: Traceback (most recent call last):
File "/var/task/tornado/gen.py", line 1113, in run
yielded = self.gen.send(value)
File "/var/task/thumbor/handlers/__init__.py", line 224, in get_image
self.filters_runner.apply_filters(thumbor.filters.PHASE_AFTER_LOAD, transform)
File "/var/task/thumbor/filters/__init__.py", line 81, in apply_filters
callback()
File "/var/task/thumbor/handlers/__init__.py", line 222, in transform
self.context.transformer.transform(self.after_transform)
File "/var/task/thumbor/transformer.py", line 100, in transform
self.engine.reorientate()
File "/var/task/thumbor/engines/__init__.py", line 295, in reorientate
self.exif = piexif.dump(exif_dict)
File "/var/task/piexif/_dump.py", line 68, in dump
exif_set = _dict_to_bytes(exif_ifd, "Exif", zeroth_length)
File "/var/task/piexif/_dump.py", line 341, in _dict_to_bytes
'{0} in {1} IFD. Got as {2}.'.format(key, ifd, type(ifd_dict[key]))
ValueError: "dump" got wrong type of exif value.
41729 in Exif IFD. Got as <type 'int'>.

[ERROR]	2018-08-29T18:40:47.940Z	0b91364d-abbb-11e8-ba46-29a2d9212dd4	call_thumbor error: tornado server unavailable, proceeding with tornado server restart

[ERROR]	2018-08-29T18:40:47.942Z	0b91364d-abbb-11e8-ba46-29a2d9212dd4	lambda_handler trace: Traceback (most recent call last):
File "/var/task/image_handler/lambda_function.py", line 280, in lambda_handler
result = call_thumbor(event)
File "/var/task/image_handler/lambda_function.py", line 236, in call_thumbor
thumbor_down, session = is_thumbor_down()
ValueError: too many values to unpack

Examining 'bad' photo exif showing some malformed properties:
// image exif
Maker Unknown
Unknown _0x0001 0100Unknown _0x0002 73728Unknown _0x000cN/AUnknown _0x0010 0.0009344655263Unknown _0x0040 N/AUnknown _0x0050 1Unknown _0x0100 N/A

Adding extra processing to strip out exif before upload would solve the issue, but perhaps would be better to fix it on image handler or thumbor side ?
actual image:

Is it better to create issue in thumbor repo?

This seems to have been already reported on https://github.com/thumbor/thumbor/issues/1066 and resolved here (release 6.4.3). However, serverless-image-handler is requesting:
https://github.com/awslabs/serverless-image-handler/blob/6a30bd785999bea6ba9dfb402bf550b2dd8f2f8f/source/image-handler/setup.py#L29

Thumbor 6.4.3 was released Jun 8
Thumbor 6.4.2 was released Mar 12

@ilionic When did you deploy this Lambda function?

@alixaxel lambda function was deployed on 2018-07-25
I saw this issue on thumbor and thought it could be the issue. However we tried thumbor locally both versions - 6.4.2 and latest (6.5.x) and it was working fine with 'bad' exif image.
So issue appears to be specific to this stack

Hi @ilionic. Thanks for bringing this issue to our attention. We're in the process of updating the solution and will be including better handling of metadata and image types to prevent errors like this in the next version. Stay tuned!

any news on this?

wasn't this already fixed here? https://github.com/awslabs/serverless-image-handler/blob/master/source/image-handler/setup.py#L38

Resolved with v4.0.0


account.bsky.app should be more discoverable

Is your feature request related to a problem? Please describe.
account.bsky.app to sign up using the Bluesky/Namecheap partnership is not very discoverable from the Change Handle link (which is, in itself, not super discoverable - maybe a 'change' link on the account list item?)
Describe the solution you'd like
A link to 'Register a new domain' should appear under 'I have my own domain' that goes through a flow that registers and associates a domain. This link should also be highlighted (maybe by replacing the 'Save' action with 'Register') if a user starts typing a handle with a '.' in it.
Describe alternatives you've considered
A link to account.bsky.app could just be provided in and around the change dialog

+1

This was discussed (briefly) in this thread on Bluesky.

Definitely understand/appreciate the 'no ads' position in that thread - fwiw, my personal opinion is that a basic disclaimer (like "Bluesky receives referral income from domain registration through this form.") is more than fine and totally with the spirit of 'no ads' as the user is only offered the choice when they begin down a path that will inevitably spend money (with Bluesky or someone else).
This feature would also assist with bug report #2517 - as third party tools (that provide unsupported domains) are more discoverable and more often shared by users.

fwiw, my personal opinion is that a basic disclaimer (like "Bluesky receives referral income from domain registration through this form.") is more than fine and totally with the spirit of 'no ads' as the user is only offered the choice when they begin down a path that will inevitably spend money (with Bluesky or someone else).

+1

i think having it be more visible draws attention to the fact ppl can even change names to a website,


Can we still use js and css file on disk?

Hello
I am trying to use bootstrap for some fancy ui . I am unable to find esm stuff for it. Reading for BT docu I see the following

Is this still true?
Thanks

@yosiasz Yes, it's supported.


ValidationTool 1.5.0 Fails with "java.lang.IllegalArgumentException: No repository location for scenario definition 'default_1'"

Hi,
after moving from 1.4.0 to 1.5.0 I get an error when calling the validator
java.lang.IllegalArgumentException: No repository location for scenario definition 'default_1'
I call the validator in this form
java -jar "./validationtool-1.5.0-standalone.jar" -s "./scenarios.xml" "./xrechnung.xml"
Do you have any idea what this could be?
Regards.

Hi,
with 1.5.0 you have to specify the -r(epository) option with the path where the validation files are stored.

Hi,
much thanks for your help. I tried that and it fixed by "problem".
Regards


Heightmap reference tracking implementation

SurfaceTrackerSection was split into a base class SurfaceTrackerNode, and two derived classes: SurfaceTrackerBranch, SurfaceTrackerLeaf, which splits their implementation making it far simpler.
All of the Light specific SurfaceTrackerSection stuff is now gone, leaving only the LightSurfaceTrackerWrapper and the light cube implementation remaining.
SurfaceTrackerBranches have a requiredChildren value, which for scale 1 branches
is the number of their children (leaves) with a cube loaded. Any node with
requiredChildren will be required by its parent.
If the requiredChildren is 0, all children can be unloaded.

More tests to come, once I get around to writing them

I'd like to write some debug output for runtime that verifies the state of the heightmap tree for each column
Once I have, I'll be much more confident to merge


Issue #39 Changed initWith... from id to instancetype

Uses instancetype instead of id for initWith methods

@dostrander can you re-open this to develop?


TrainAPI call not working

Versions
Package of SDK (idk, I just generated that bot, so the newest?)
nodejs v10.14.1
Chrome V78.0.3904.108
Win 10
Describe the bug
The feedback with the trainAPI doesn't work, theres an error if you click on an suggested answer.
[onTurnError] unhandled error: TypeError: Cannot read property 'callTrainAsync' of undefined (node:3044) UnhandledPromiseRejectionWarning: Error: BotFrameworkAdapter.processActivity(): 500 ERROR  ReferenceError: InputHints is not defined     at BotFrameworkAdapter.adapter.onTurnError [as turnError] (D:\home\site\wwwroot\index.js:46:72)     at process._tickCallback (internal/process/next_tick.js:68:7)     at BotFrameworkAdapter.<anonymous> (D:\home\site\wwwroot\node_modules\botbuilder\lib\botFrameworkAdapter.js:638:27)     at Generator.throw (<anonymous>)     at rejected (D:\home\site\wwwroot\node_modules\botbuilder\lib\botFrameworkAdapter.js:13:65)     at process._tickCallback (internal/process/next_tick.js:68:7) (node:3044) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) (node:3044) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
To Reproduce
Steps to reproduce the behavior:

Generate a new qnaBot with qnamaker.ai
Type in a question which calls the trainAPI
Click on a suggested Answer
See error

Expected behavior
It should say "thanks for your feedback" and give the suggestion to the qnaMaker.
Screenshots
My screenshots are from my html doc, but the issue is the same in the azure test webchat.

(sending will change to sending failed after a while)
Additional context
The feature is not necessary, but as it is generated by the qnaMaker I think it should work.
[bug]

@BeschtPlaier a few more questions to repro your issue. Did you test your bot locally on the emulator or any other channel? Are you still getting the same error? How long does it take for the status to change to 'sending failed'? Does your knowledge base work as expected in the qnamaker portal?

I tested the bot at the Azure test in Webchat feature.
Yes its still the same Error
Idk it is the standart sending failed time, same time as if i have no network connection, i think 20 seconds or something.
Everyting works fine exept the Training feature, so yea, my knowledgebase in the qnamaker portal works as expected. The training feature gets implemented at the BotCode at Azure

@wehnicde I am guessing there is something wrong in the bot code specifically to do with calling the Train API. Can you post your code on your implementation so far? Also, you can try testing the qnamaker-activelearning-bot sample with your KB credentials to see if it works as expected .

@wehnicde are you still working on this?

yea I am. Sorry had a busy week.
What do you mean by

Can you post your code on your implementation so far?

I will try the sample and post it here as soon as I got to try it.

Ähm, I don't know what have changed, but now it is working as expected.


Update Composer dependencies (2022-02-09-00-11)

Visual regression test passed!
View the visual regression test report