Issue: IndexError: _Map_base::at

I am using Sapien. When I am taking a picture using its camera with code get_color_rgba(), an error occurs IndexError: _Map_base::at. I have also tried get_float_texture('Color') and got the same error.
Anyone can explain this or fix it?

Traceback (most recent call last):
File "/home/liuyuhao/anaconda3/envs/tactile_sim/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/home/liuyuhao/anaconda3/envs/tactile_sim/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/home/liuyuhao/workspace/tacktile_vision_fusion/scripts/../utils/gym_env_utils.py", line 44, in _safe_run_worker
observation = env.reset()
File "/home/liuyuhao/anaconda3/envs/tactile_sim/lib/python3.8/site-packages/gym/wrappers/order_enforcing.py", line 16, in reset
return self.env.reset(**kwargs)
File "/home/liuyuhao/workspace/tacktile_vision_fusion/scripts/../envs/continuous_insertion.py", line 1079, in reset
obs = super().reset(specify_offset)
File "/home/liuyuhao/workspace/tacktile_vision_fusion/scripts/../envs/continuous_insertion.py", line 560, in reset
return self.get_obs()
File "/home/liuyuhao/workspace/tacktile_vision_fusion/scripts/../envs/continuous_insertion.py", line 767, in get_obs
rgba = self.main_camera.get_color_rgba()
IndexError: _Map_base::at

Traceback (most recent call last):
  File "/home/liuyuhao/anaconda3/envs/tactile_sim/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/home/liuyuhao/anaconda3/envs/tactile_sim/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/home/liuyuhao/workspace/tacktile_vision_fusion/scripts/../utils/gym_env_utils.py", line 44, in _safe_run_worker
    observation = env.reset()
  File "/home/liuyuhao/anaconda3/envs/tactile_sim/lib/python3.8/site-packages/gym/wrappers/order_enforcing.py", line 16, in reset
    return self.env.reset(**kwargs)
  File "/home/liuyuhao/workspace/tacktile_vision_fusion/scripts/../envs/continuous_insertion.py", line 1079, in reset
    obs = super().reset(specify_offset)
  File "/home/liuyuhao/workspace/tacktile_vision_fusion/scripts/../envs/continuous_insertion.py", line 560, in reset
    return self.get_obs()
  File "/home/liuyuhao/workspace/tacktile_vision_fusion/scripts/../envs/continuous_insertion.py", line 767, in get_obs
    rgba = self.main_camera.get_color_rgba()
IndexError: _Map_base::at

I am working on a Ubuntu 18.04 system with NVIDIA-SMI 515.65.01    Driver Version: 515.65.01    CUDA Version: 11.7

I have tried sapien 2.1.0, 2.2.2 and the error was always there

It is hard to guess the error without code. My best guess is that camera.take_picture is not called before calling get_color_rgba, so the camera does not know what texture names exists, causing an map indexing error.


Adding an npm install of bootstrap

I was getting errors on the boostrap import first added to the KennelCompany.js file because bootstrap wasn't installed in the project yet. Also added creation of the KennelCompany.js file because it wasn't in the project yet.
Changed lines 13 & 15

@MrErin Thanks for the fixes, but this entire book is being rewritten, and those fixes are part of it.
Closing PR.


doWhile function creates an infinite loop if the program contains words that contain "do"

For example, the program that consists only of
import random

traps the parser in an infinite loop because random contains the word do.

@xXCrash2BomberXx not sure exactly what part of the doWhile function does it, but this is definitely the cause as import rand lacks this issue entirely

I put up a new version of string.py that should hopefully fix that, lmk if that works for you!

Seems to work now.

@xXCrash2BomberXx Found another strange issue.
if isinstance(expression, tuple) {
    output = valuation[expression[0]]
    string[expression[1]] = bool_to_int(output)
    return output, string
}

This code doesn't parse correctly, unless I add parentheses around output, string

Also term_index++ becomes term_((index:=index+1)-1) when it should be ((term_index:=term_index+1)-1)

@Nico314159
The return tuple you mentioned I actually hate and don't get why Python added it in the first place. I'll have to look if it's a fix I can even make to the parser without it breaking everything bc otherwise you may just need to use explicit parenthases.
I'm not encountering the issue you described with term_index++. I did find an issue with _ in for loop variables that I'm fixing, but I can't replicate the issue you described with that. Do you have a code block that would showcase this bug?
The floor division is removed due to comments in this, but I may consider adding a compiler flag to allow floor division and remove the single line comments.

Error for first block: it becomes
if isinstance(expression, tuple){
    output = valuation[expression[0]]
    string[expression[1]] = bool_to_int(output)l
    return output, string
}

in the compiled file, instead of changing it to the colon syntax.
Error for term_index++:
for char in expression {
    # Skip spaces
    if char == " " and bracket_count == 0 {
        index++;
        if pad_bool {
            term_index++;
        }
        continue;
    }
    pad_bool = False;
}

(It doesn't throw an error while parsing, but look at the compiled output code and it will contain term_((index:=index+1)-1))
PS: Issue persists regardless of semicolons.

Oh, I see what you mean. For the first one, that's actually a limitation with the way the parser works. For it to differentiate between a dictionary/set and a context declaration, it checks if a comma is in the immediate scope. If a comma is, it assumes it's a dictionary or set, otherwise, it assumes it's a context. Because of this, you not wrapping the return in parentheses makes the compiler assume it's a dictionary/set making them required. That's not something I can fix and as I already mentioned, I hate that the syntax is allowed in python since imo, it never should have been added

Gotcha. How about the ++ issue? Speaking of, is it also possible to make myVar ++ valid (right now it complains about ++ not being directly connected to the operator)

I'm looking at that right now and it's strange that the ++ has an issue but the -- works fine. I'll have to see what's different but it shouldn't be that hard of a fix. I'll have to look at how hard the space would be to include.

I found the issue, I'll push a fix in a sec

@Nico314159 The newest build should work with spaces around the ++ and -- operators. Let me know if that works for you and if you encounter any bugs with it!


Simple 3d model loading into Sceneview without ArCore

Hi,
I am just trying to use sceneform to load 3d model.
The below is MainActivity.
I've been trying out various things, still I could get the model displayed on the screen.
Sorry for posting the abrupt question (since I am aware that it probably is not an issue but a question)
I just want to know what am I missing or doing something wrong?
`public class MainActivity extends AppCompatActivity {
private SceneView sceneView;
private Scene scene;
private ModelRenderable model;
@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    sceneView = findViewById(R.id.sceneView);
    scene = sceneView.getScene();
    createScene();
}

private void createScene() {
    ModelRenderable.builder()
            .setSource(this,  Uri.parse("sample.obj") )
            .build()
            .thenAccept(renderable -> model = renderable)
            .exceptionally(   throwable -> {
                Toast toast =
                        Toast.makeText(this, "Unable to load model", Toast.LENGTH_LONG);
                toast.setGravity(Gravity.CENTER, 0, 0);
                toast.show();
                return null;
            });
    Node modelNode = new Node();
    modelNode.setRenderable(model);
    scene.addChild(modelNode);
    modelNode.setLocalPosition(new Vector3(0, 0, 0));
}`

Thanks for the help.

Loading the renderable is asynchronous, so you probably don't want to do modelNode.setRenderable until after you know model has finished loading.  Check the model before calling setRenderable, you'll want to make sure it's been set before making that call.

Thanks..
So I bruteforcefully waited with thread.sleep until model turns into not null.
But it kept waiting..so it is failing to make that renderable. I wonder why?

Instead of sleeping, I would let CompletableFuture's thenAccept do the work for you.
something like this:
private void createScene() {
    ModelRenderable.builder()
            .setSource(this,  Uri.parse("sample.obj") )
            .build()
            .thenAccept(renderable -> onRenderableLoaded(renderable))
            .exceptionally(   throwable -> {
                Toast toast =
                        Toast.makeText(this, "Unable to load model", Toast.LENGTH_LONG);
                toast.setGravity(Gravity.CENTER, 0, 0);
                toast.show();
                return null;
            });
}

void onRenderableLoaded(Renderable model) {
    Node modelNode = new Node();
    modelNode.setRenderable(model);
    scene.addChild(modelNode);
    modelNode.setLocalPosition(new Vector3(0, 0, 0));
}

Oh Also this likely doesn't appear because the position is 0,0,0
Typically you want to make your new node a child of an anchor.. see the intro demos https://developers.google.com/ar/develop/unity/tutorials/hello-ar-sample

thanks! malik.. I will try as you suggested.. let you know what happened..

Sorry for continuing question.
Right now, I am trying to use sceneform as 3d model rendering purpose (not for VR/AR)
Unfortunately, I got still nothing.
When I set sample.obj as source.
it complains
2018-11-16 15:13:55.204 5547-5568/..../ModelRenderable: Unable to load Renderable registryId='sample.obj'     java.util.concurrent.CompletionException: java.lang.AssertionError: No RCB file at uri: sample.obj         at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:276)         at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:282)         at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1627)         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)         at java.lang.Thread.run(Thread.java:764)
I cannot load obj file directly, or do something before loading?

If I set .sfb for the source and set the breakpoint, it gets something in renderable but still shows nothing on the screen. (2 sub meshes, 2 materials)
Position matters in this case even without AR?

I still have black view.
Here is my simple MainActivity.
At least view itself should show something like its background color or so.
When I checked the view's size at onResume, the size is 0.
(Android OS on the device: 7.0)
`public class MainActivity extends AppCompatActivity {
SceneView mSceneView;
Scene mScene;
@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    mSceneView = findViewById(R.id.sceneView);
    createScene();
}

private void createScene() {
    mScene = new Scene(mSceneView);
    ModelRenderable.builder()
            .setSource(this, Uri.parse("file:///android_asset/model.sfb"))
            .build()
            .thenAccept(renderable->onRenderableLoaded(renderable))
            .exceptionally(throwable -> {
                Log.i("Sceneform", "failed to load model");
                return null;
            });
}

private void onRenderableLoaded(Renderable renderable) {
    Node cakeNode = new Node();
    cakeNode.setRenderable(renderable);
    cakeNode.setParent(mScene);
    cakeNode.setLocalPosition(new Vector3(0f, 0f, -1f));
    mScene.addChild(cakeNode);
}

@Override
protected void onResume() {
    super.onResume();
    try {
        mSceneView.resume();
    }
    catch (CameraNotAvailableException e){}
}

@Override
protected void onPause() {
    super.onPause();
    mSceneView.pause();
}

@Override
protected void onDestroy() {
    super.onDestroy();
    mSceneView.destroy();
}

}
`

@malik-at-work
Hi Malik,
I am still trying to make it work.
Usually, to make typical 3d rendering work (not VR/AR context) , I had to make the scene, and load the model (obj file).
And then add camera node and set the camera position and set the lookAt position as well.
Then finally set the view's point of view as camera above and we have the scene on the screen!
Here, we don't have to camera stuff at all? (in particular without ARCore).
I don't understand why its view size is 0 though since its width and height were set "match-parent".

I see.  Looking at this code I don't think mScene is actually in use.  Try using mSceneView.getScene() instead.

@malik-at-work
Thanks.
Now I can see the model. I appreciate it !!
If you look at the first version, I started from scene = sceneView.getScene(); actually though.
Regarding obj file, we cannot load 'obj' file directly?
Do we have to go through asset import plug in and load with sfb file?
Thanks again.

There is a runtime converter for some formats, see https://developers.google.com/ar/develop/java/sceneform/create-renderables#load_3d_models_at_runtime

There is a runtime converter for some formats, see https://developers.google.com/ar/develop/java/sceneform/create-renderables#load_3d_models_at_runtime

Thanks @malik-at-work  for the info (Actually I saw that before).
However, it said it is for glTF format. Is it OK to use with Obj format?

I would also like to know how to control zoom, rotate and drag without ARCore.
I read something about using a TransformableNode, but it seems that the TransformableNode needs the ARCore.

Hi, @arthurfp @malik-at-work I have same question of rotating and zooming the model in SceneView. Have you found any solution?

There is a runtime converter for some formats, see https://developers.google.com/ar/develop/java/sceneform/create-renderables#load_3d_models_at_runtime

Thanks @malik-at-work for the info (Actually I saw that before).
However, it said it is for glTF format. Is it OK to use with Obj format?

Why not let the modeling engineer convert the format?

@malik-at-work HI， I have to question。
1，use code above, I have show sfa format model. but how to control SceneView zoom, rotate and etc for 3d_models
2, how to show obj format model for sdcard. for it download form network
THX

Rotate Zoom Drag the problem you solved? please help

I would also like to know how to control zoom, rotate and drag without ARCore.
I read something about using a TransformableNode, but it seems that the TransformableNode needs the ARCore.

Rotate Zoom Drag the problem you solved? please help

Hi, @arthurfp @malik-at-work I have same question of rotating and zooming the model in SceneView. Have you found any solution?

Rotate Zoom Drag the problem you solved? please help

https://github.com/chnouman/SceneView here you can find a working example.


.navbar-brand overlaps .navbar-toggler

On Windows 10 in Chrome 56.0.2924.87 and Firefox 51.0.1, when the viewport is reduced to 575 pixels or less (extra small breakpoint), the .navbar-brand and .navbar-toggler overlap each other in the center of the navbar when adding a .container to the navbar code present in the starter template example.

relevent html

                <button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarsExampleDefault" aria-controls="navbarsExampleDefault" aria-expanded="false" aria-label="Toggle navigation">

                </button>
                Navbar

                            Home (current)

                            Link

                            Disabled

                            Dropdown

                                Action
                                Another action
                                Something else here

Forgive me, looks like a duplicate. Although it looks like https://github.com/twbs/bootstrap/issues/21659 contains a solution, I can't figure out exactly what the solution is.

See also #21590 and is fixed in #21722

Thank you @josmaissan. I eventually found out that I didn't have the most up-to-date version of _navbar.scss and once I updated the problem was fixed, at least on my configuration.


Updates to Minnesota legislators

Jason Rarick filled the vacancy for Senate district 11, so now his former House seat in district 11B is vacant. Also update some contact information and one name update (remove middle initial).

Pull Request Test Coverage Report for Build 345

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 70.57%

Totals

Change from base Build 344:
0.0%

Covered Lines:
928

Relevant Lines:
1315

💛  - Coveralls


feat: update github release model

Updates the GithubRelease model in the service
Updates the release creation process in the repository to also save GitHub release data

To keep PR smaller, other changes will be added once this PR is merged.

Oh no, from my view it looked nice, and like in one thread one by one.. 🤦♀

But actually OK, it's in chronological order from top to bottom. 👌

And it's duplicated. 😶 🤦♀

Blocks #105 for a while.

After discussions outside of GitHub, we concluded that we will maintain integration with GitHub. However, we will simplify the service and repository GitHub release model and remove the denormalization state created by keeping GitHub repository slugs in the GitHub release repo model.


Delphi React?

Clean Architecture is a very asynchronous "framework", please, PLEASE, don't put in your mind CODED FRAMEWORK. We all know that framework is usually associated to code. But what I want mean to is that Clean Architecture is a "way" to work asynchronously. In resume, things should happen when they have to be.
To be clearer. Suppose that your user fills a login and password fields. Then he/she presses the Login button. So your application will not "freeze" until the login is successful or not. Your application have to "listen" any response from the task and then take an action. That's the way of ReactiveX (from Java/Android), RxSwift (iOS), ReactPHP and so on works.
How to make that behavior in Delphi? Which Delphi version can we use?

Suggestion to use Delphi Notifications


Release 2017-09-19

Coverage decreased (-13.6%) to 71.602% when pulling 6202960a3390fe8f82bc1f8c0b78dc9f8ede861d on develop into 15c2b1d33da6c2360fc59f400b456807a50740d9 on master.

Coverage decreased (-13.6%) to 71.602% when pulling 6202960a3390fe8f82bc1f8c0b78dc9f8ede861d on develop into 15c2b1d33da6c2360fc59f400b456807a50740d9 on master.

Coverage decreased (-13.6%) to 71.602% when pulling 6202960a3390fe8f82bc1f8c0b78dc9f8ede861d on develop into 15c2b1d33da6c2360fc59f400b456807a50740d9 on master.

Coverage remained the same at 85.195% when pulling 26cdcf1124aebdb511646d7578bff822b9113b64 on develop into 15c2b1d33da6c2360fc59f400b456807a50740d9 on master.


material.angular.io site returns error - cannot load it

Bug, feature request, or proposal:
ngswworker.js returns an error.  I cannot load the documentation site.
What is the expected behavior?
site should load.
What is the current behavior?
A bad HTTP response code (404) was received when fetching the script.
Failed to load resource: net::ERR_INVALID_RESPONSE
The FetchEvent for "https://material.angular.io/" resulted in a network error response: the promise was rejected.
Promise.catch (async)
onFetch @ ngsw-worker.js:1896
constructor.scope.addEventListener @ ngsw-worker.js:1844
ngsw-worker.js:576 Uncaught (in promise) Error: Response not Ok (fetchAndCacheOnce): request for https://material.angular.io/index.html returned response 301
at PrefetchAssetGroup. (ngsw-worker.js:576)
at Generator.next ()
at fulfilled (ngsw-worker.js:304)
(anonymous) @ ngsw-worker.js:576
fulfilled @ ngsw-worker.js:304
A bad HTTP response code (404) was received when fetching the script.
Failed to load resource: net::ERR_INVALID_RESPONSE

What are the steps to reproduce?
Providing a StackBlitz reproduction is the best way to share your issue.
StackBlitz starter: https://goo.gl/wwnhMV
This is on a Windows 10 machine with Chrome:
Version 68.0.3440.106 (Official Build) (64-bit)
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Is there anything else we should know?

Visit chrome://serviceworker-internals/ and unregister the worker for material.angular.io. This will clear the service worker cache, which persists through hard refresh.

That worked.  Thanks for your help.


Added swap networks example

I think it's fine if examples use contrib.

Is this ready to be merged?

Looks like you've addressed @babbush comments. Let's merge once he approves this.

A 3 day wait is enough IMO.

Yes, LGTM!


x/tools/gopls: "no package for ..." even after added to go.mod

What version of Go are you using (go version)?

$ go version
go version go1.13.5 linux/amd64

Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/jaap/.cache/go-build"
GOENV="/home/jaap/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/jaap/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/jaap/go-projects/generator/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build223975312=/tmp/go-build -gno-record-gcc-switches"

What did you do?
puts package in import -> no package for ...
go mod tidy -> no package for ...
go mod vendor (without previously existing vendor folder) -> no package for ...
reloading file -> no error
removing the import statement and adding it back -> no error
What did you expect to see?
there should be no error in the first place since it is a valid package and after go mod tidy even has a version attached to it

To clarify, this package was not yet in the module cache?

This module is completely new, and doing the same thing with the same module again wont trigger this behavior.
After clearing the module cache using go clean --modcache this behavior can be replicated again.
So yes this has probably something to do with module cache.

@stamblerre this should work now, right?

I think so.
@JAicewizard: With the new tempModfile setting and Go 1.14, the workflow of adding a new module should be completely different than it once was. I think we can close this issue out -- please open a new issue if you encounter a problem with the new workflow. I don't think we'll be backporting any fixes to work with Go 1.13.


Filling form content onRender does not work.

I want to fill the textarea of a form with content when the form is created. I am trying to do it with an onRender event but the field is undefined so its 'value' property cannot be changed:
Fiddle: http://jsfiddle.net/tomaso909/fgfLwbsu/3/

You can use w2form.record:
$(function () {
    $('#form').w2form({
        name  : 'form',
        fields: [
            { field: 'comments',   type: 'textarea'}
        ],
        record: {
        	"comments": "Hello World!"
        }
    });
});

Updated fiddle: http://jsfiddle.net/fgfLwbsu/5/

I cant believe I missed that. Thank you.
Sorry for asking this kind of questions here but I never get an answer on w2ui.com.

No problem. I don't use Disqus, but I and other w2ui users are also active on StackOverflow, so you might want to ask over there.
Of course bugs and feature request should still be posted here.
It's been suggested o get rid of Disqus and add the solved Disqus issue to the FAQ: https://github.com/vitmalina/w2ui/issues/1546 but Vitali didn't reply yet, but as you said, the Disqus issues get rarely answered.
Cheers =)


grouped-imports not working with baseUrl set to "src"

Bug Report
I don't know if this bug is more related to react-scripts than to tslint. :/
Linting does not group imports on react-scripts: 3.0.0.
Files from src seem to be considered as librairies

TSLint version: 5.16.0
TypeScript version: 3.3.4000
Running TSLint via: CLI

TypeScript code being linted
import React, { Component } from 'react';
import { BrowserRouter as Router, Route, Switch } from 'react-router-dom';

import Navbar from 'components/Navbar';
import Dashboard from 'pages/Dashboard';
import NoMatch from 'pages/NoMatch';
import Settings from 'pages/Settings';

with tslint.json configuration:
{
  "defaultSeverity": "error",
  "extends": [
    "tslint:recommended",
    "tslint-react",
    "tslint-config-prettier"
  ],
  "jsRules": {},
  "rules": {
    "quotemark": false,
    "object-literal-sort-keys": false,
    "ordered-imports": [
      true,
      {
        "grouped-imports": true
      }
    ],
    "interface-name": false,
    "jsx-boolean-value": false,
    "jsx-equals-spacing": false,
    "jsx-no-bind": true,
    "jsx-no-lambda": true,
    "jsx-self-close": true,
    "no-relative-imports": true,
    "no-var-requires": false,
    "member-ordering": false,
    "no-any": true
  },
  "linterOptions": {
    "exclude": [
      "*.json",
      "**/*.json"
    ]
  },
  "rulesDirectory": [
    "node_modules/tslint-microsoft-contrib"
  ]
}

with tsconfig.json configuration:
React-scripts asks for baseUrl to be set to src OR node_modules.
Would this be what causes tslint to behave wrongly ?
{
  "compilerOptions": {
    "target": "es5",
    "lib": [
      "dom",
      "dom.iterable",
      "esnext"
    ],
    "allowJs": true,
    "skipLibCheck": true,
    "esModuleInterop": true,
    "allowSyntheticDefaultImports": true,
    "strict": true,
    "forceConsistentCasingInFileNames": true,
    "module": "esnext",
    "moduleResolution": "node",
    "resolveJsonModule": true,
    "isolatedModules": true,
    "noEmit": true,
    "jsx": "preserve",
    "baseUrl": "src"
  },
  "include": [
    "src"
  ]
}

Actual behavior
import Navbar from 'components/Navbar';
import Dashboard from 'pages/Dashboard';
import NoMatch from 'pages/NoMatch';
import Settings from 'pages/Settings';
import React, { Component } from 'react';
import { BrowserRouter as Router, Route, Switch } from 'react-router-dom';

Expected behavior
import React, { Component } from 'react';
import { BrowserRouter as Router, Route, Switch } from 'react-router-dom';

import Navbar from 'components/Navbar';
import Dashboard from 'pages/Dashboard';
import NoMatch from 'pages/NoMatch';
import Settings from 'pages/Settings';

Looks essentially the same as #3654. I don't think ordered-imports looks at tsconfig path mapping or baseUrl.
IMO this kind of pattern is still pretty awkward and confusing to me as a code reader (same as https://github.com/palantir/tslint/issues/3654#issuecomment-358027681). There's no indication of whether "components/**" is importing from an NPM package or from a local source file.

@adidahiya I usually prefer the src/* (from "src/components/File") path style but I guess i can't accomplish this reading because of react-scripts forcing baseUrl as "src".
"paths" are not supported by react-scripts as of right now

I have the same issue in react project (create-react-app 3). Do you have some news ?
Paths seems to be fix but what about baseurl ts compiler options ?
Thanks for infos.

💀 It's time! 💀
TSLint is deprecated and no longer accepting pull requests other than security fixes. See #4534. ☠
We recommend you instead use typescript-eslint to lint your TypeScript code with ESLint. ✅
👋 It was a pleasure open sourcing with you!

🤖 Beep boop! 👉  TSLint is deprecated 👈 (#4534)  and you should switch to typescript-eslint! 🤖
🔒 This issue is being locked to prevent further unnecessary discussions. Thank you! 👋


Chef failing due to MongoDB - NoMethodError: undefined method `helpers'

ShareID = 92eac5e2df71f6c651f7e4d5b9d31a08
Doing a manual install and it fails on vagrant up, something to do with mongo, wonder if there is a version issue?
From cli output
Recipe Compile Error in /tmp/vagrant-chef-3/chef-solo-1/cookbooks/mongodb/recipes/default.rb
Relevant File Content:
/tmp/vagrant-chef-3/chef-solo-1/cookbooks/mongodb/recipes/install.rb:
23>>   helpers MongoDBConfigHelpers
FATAL: NoMethodError: undefined method `helpers' for Chef::Resource::Template

Same issue here.
Mac OSx v 10.9.5
Vagrant 1.7.2
ruby 2.0.0p643

Same issue here as well.
System Info
p-rex at The Death Star  ~ 
👽  vagrant -v
Vagrant 1.6.5
p-rex at The Death Star  ~ 
👽  ruby -v
ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-darwin14.0]
p-rex at The Death Star  ~ 
👽  system_profiler SPSoftwareDataType
Software:

    System Software Overview:

      System Version: OS X 10.10.3 (14D131)
      Kernel Version: Darwin 14.3.0
      Boot Volume: Macintosh HD
      Boot Mode: Normal
      Computer Name: Sq1PierceMoore
      User Name: Pierce Moore (pimoore)
      Secure Virtual Memory: Enabled
      Time since boot: 2 days 15:54

Error Output (Unabridged)
==> default: ================================================================================
==> default: Recipe Compile Error in /tmp/vagrant-chef-4/chef-solo-1/cookbooks/mongodb/recipes/default.rb
==> default: ================================================================================
==> default:
==> default:
==> default: NoMethodError
==> default: -------------
==> default: undefined method `helpers' for Chef::Resource::Template
==> default:
==> default:
==> default: Cookbook Trace:
==> default: ---------------
==> default:   /tmp/vagrant-chef-4/chef-solo-1/cookbooks/mongodb/recipes/install.rb:23:in `block in from_file'
==> default:   /tmp/vagrant-chef-4/chef-solo-1/cookbooks/mongodb/recipes/install.rb:14:in `from_file'
==> default:   /tmp/vagrant-chef-4/chef-solo-1/cookbooks/mongodb/recipes/default.rb:22:in `from_file'
==> default:
==> default:
==> default: Relevant File Content:
==> default:
==> default: ----------------------
==> default: /tmp/vagrant-chef-4/chef-solo-1/cookbooks/mongodb/recipes/install.rb:
==> default:
==> default:  16:    source node['mongodb']['dbconfig_file_template']
==> default:  17:    group node['mongodb']['root_group']
==> default:  18:    owner 'root'
==> default:  19:    mode 0644
==> default:  20:    variables(
==> default:  21:      :config => node['mongodb']['config']
==> default:  22:    )
==> default:  23>>   helpers MongoDBConfigHelpers
==> default:  24:    action :create_if_missing
==> default:  25:  end
==> default:  26:
==> default:  27:  # and we install our own init file
==> default:  28:  if node['mongodb']['apt_repo'] == 'ubuntu-upstart'
==> default:  29:    init_file = File.join(node['mongodb']['init_dir'], "#{node['mongodb']['default_init_name']}.conf")
==> default:  30:    mode = '0644'
==> default:  31:  else
==> default:  32:    init_file = File.join(node['mongodb']['init_dir'], "#{node['mongodb']['default_init_name']}")
==> default:
==> default:
==> default:
==> default: [2015-04-12T06:38:54+00:00] ERROR: Running exception handlers
==> default: [2015-04-12T06:38:54+00:00] ERROR: Exception handlers complete
==> default: [2015-04-12T06:38:54+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
==> default: [2015-04-12T06:38:54+00:00] FATAL: NoMethodError: undefined method `helpers' for Chef::Resource::Template
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.

helpers.rb is missing on the mongodb recipes.

Downloaded https://supermarket.chef.io/cookbooks/mongodb/versions/0.16.0 (0.16.1 was failing too) into coobooks, uncompressed and it works.

@3manuek Thanks for doing the legwork on that! I took a look at the supermarket for the MongoDB recipe but couldn't locate an issue tracker affiliated with it that I could post this issue to. I'll look around and see if I can come up with something.

Alright, done. The repository appears to be barely maintained, though, so I'm not sure how expedient the resolution process will be on that end. Perhaps it would be quicker for Rove to just specify v0.16.0 temporarily until the issue is resolved on the recipe end, @3manuek?

@rex I think, yes. The best they can do is to stick to v0.16.0 temporarily or until a new version with a fix comes up. I can write the helpers recipe, it is not really hard to do, the problem is that I don't know if they are maintaining it and if they will push the pull request.
Actually, at a first glance, looks very alpha to me.

@3manuek I totally agree with you. As you can see in my comment I posted in that thread I didn't really mince words when it came to the responsibility of the developers to maintain the most-used MongoDB recipe in the supermarket. It does look shockingly ill-maintained, and it's a bit disconcerting to be honest.
For what my personal opinion is worth, I think that it's in the best interest of Rove.io and its users to force the MongoDB cookbook to version 0.16.0 until a fix is issued on the other side. Is there a way to make that happen? Obviously as a maintainer of Rove it's your call, but I do think it would seriously improve the user experience :)
Thank you for your attention to this issue, @3manuek!

Quick update: Unless I'm mistaken, the fix I am campaigning for can be made on this line: https://github.com/aderyabin/rove/blob/master/packages/mongodb.rb#L5 by replacing
cookbook 'mongodb'

with
cookbook 'mongodb', '~> 0.16.0'

\o/ You're welcome! Rove rocks!

I completely agree! Should I submit a pull request for the MongoDB cookbook version specification or would you prefer to attack the issue in a different way, @3manuek?

I'd like to share my little workaround for anyone using the web app of Rove also having this issue. It's basically a culmination of what's been stated above.
In the Cheffile, before you do any vagrant provisioning, you can replace this line:
cookbook "mongodb", {}
with this:
cookbook "mongodb", {:github=>"edelight/chef-mongodb", :ref=>"0.16.0"}
and now run curl -L http://rove.io/install | bash as stated on Rove to provision and start the box.

@cjsauer That's an excellent solution. I was hoping for Rove to automatically handle that for now due to AUL, a term I just invented that stands for "Average User Laziness".

workaround successful, thanks @rex and @cjsauer


Error reading both temp and humidity

I was playing around with a DHT11 and a ESP8266 NodeMCU ESP-12E and could not get both temp and humidity to display.  I ran the script with just temp and just humidity, and they worked fine.  After much consternation, I eliminated the error by putting a delay(500) between each reading.  I did not try any shorter delays.  Here is what my sketch looked like:
#include <DHT11.h>
// Create an instance of the DHT11 class and set the digital I/O pin.
DHT11 dht11(2);
void setup() {
// Initialize serial communication at 115200 baud.
Serial.begin(115200);
}
void loop() {
// Read the temperature from the sensor.
float temperature = dht11.readTemperature();
delay(500);                                                   // Required to get both readings consecutively
// Read the humidity from the sensor.
float humidity = dht11.readHumidity();
// If the temperature and humidity readings were successful, print them to the serial monitor.
if (temperature != -1 && humidity != -1) {
Serial.print("Temperature: ");
Serial.print(temperature);
Serial.println(" C");
Serial.print("Humidity: ");
Serial.print(humidity);
Serial.println(" %");

} else {
// If the temperature or humidity reading failed, print an error message.
Serial.println("Error reading data");
}
// Wait for .5 seconds before the next reading.
delay(500);
}

Hello @sldghmmr,
Thank you for sharing your issue with the DHT11 and ESP8266 NodeMCU ESP-12E. It's interesting that adding a delay(500) between readings resolved the problem with displaying both temperature and humidity. Since the code works flawlessly on the Arduino Uno, the timing differences on the ESP8266 platform might be the root cause.
I don't have an ESP8266 based board, but I'll test the code on the ESP32 Dev Module to gain insights into its compatibility and try to fix the issue. Your feedback is valuable, and I appreciate your dedication to improving the library's functionality.
Best regards,
@dhrubasaha08

@sldghmmr! I tried the example - ReadTempAndHumidity on my ESP32 Dev Board, and it works perfectly with pin 4. After rechecking your code, I believe the issue might have been due to the NodeMCU ESP8266 ESP-12E board's pin 2, which is an ADC pin. This could have caused the error when attempting to use it for the DHT11 sensor. I suggest you check the example again by using pin 4 on your board.

I appreciate your following up on this issue.  Here are my findings:  I ran the original code I sent you as I have since started programing on VS Code using PlatformIO, as opposed to Arduino IDE.  It's growing on me.  Anyway, using my original code on the Arduino IDE, I was able to reproduce the errors, so I switched to GPIO 14 (GPIO4 is being used by my I2C LCD display).  I had the exact same results on that pin.  Messing around with the delay, I started receiving humidity data with somewhere between 300 and 400 milliseconds delay.  Below that produced no humidity data.
      Furthermore, since I was switching to PlatformIO, I ended up using the Adafruit DHT library with the Adafruit Unified Sensor library and no delay was necessary at all.  I also feel like the results were more granular.  No offense.  It looks like the only library of yours that showed up in VS Code was your SimpleUltrasonic library.  Thanks again

From: Dhruba Saha @.>
Sent: Monday, August 7, 2023 10:56 AM
To: dhrubasaha08/DHT11 @.>
Cc: sldghmmr @.>; Mention @.>
Subject: Re: [dhrubasaha08/DHT11] Error reading both temp and humidity (Issue #4)
@sldghmmrhttps://github.com/sldghmmr! I tried the example - ReadTempAndHumidityhttps://github.com/dhrubasaha08/DHT11/blob/main/examples/ReadTempAndHumidity/ReadTempAndHumidity.ino on my ESP32 Dev Board, and it works perfectly with pin 4. After rechecking your code, I believe the issue might have been due to the NodeMCU ESP8266 ESP-12E board's pin 2, which is an ADC pin. This could have caused the error when attempting to use it for the DHT11 sensor. I suggest you check the example again by using pin 4 on your board.
—
Reply to this email directly, view it on GitHubhttps://github.com/dhrubasaha08/DHT11/issues/4#issuecomment-1668346698, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AET34P63PCQQ4DUVCGWMHTTXUET43ANCNFSM6AAAAAA3BTEJSQ.
You are receiving this because you were mentioned.Message ID: @.***>


Hope to add notification support for Wecom

Hope to add notification support for Wecom
This is the Wecom document
https://intl.cloud.tencent.com/document/product/614/39581

https://work.weixin.qq.com/api/doc/90000/90136/91770


How to use with extended client?

Hi! Thanks for the lib.
The question is as title. I have extended client (available in ts, or as nest service)

Hi, I am not exactly sure which client or library you're referring to, as this GitHub repository is a monorepo with multiple nestjs-cls related libs, but from the working, I'm going to assume you're talking about an extended Prisma client and the library @nestjs-cls/transactional-adapter-prisma.
Unfortunately, it is not (easily) possible to use an extended client (that is, an another type than the one imported from @prisma/client) with the prisma adapter. I'm planning to add that option to the library, but for the time being, to achieve what you want, you'll have to create a custom adapter.
Fortunately, it is not that hard as the entire source-code of the prisma adapter can be found here
And basically the only thing that needs changing is the import at the very top(and the related uses) from import { PrismaClient } from '@prisma/client' to import { MyPrismaClient } from '../my/prisma-client.
Also please keep in mind, that since the propagated transaction object is the one that gets passed to prisma.$transaction(( THIS_ONE ) => ...), if you use a custom service that extends the PrismaClient with new class methods, those won't be available on the transaction object.

It it now possible to use a custom Prisma Client type since @nestjs-cls/transactional-adapter-prisma v1.1.0. Please see updated docs.


Runtime moduli

This PR extends #130. It adds residues for moduli decided at run-time.

Will fix it up retroactively


quite flag results in error

Describe the bug
Using the -q or --quite flag results in an error.
error: unexpected argument '-q' found
tip: to pass '-q' as a value, use '-- -q'
Usage: crunchy-cli download [OPTIONS] ...
For more information, try '--help'.
To Reproduce
$ crunchy-cli download -q https://www.crunchyroll.com/series/...

Client (please complete the following information):

OS: Ubuntu 20.04.5 LTS
Version crunchy-cli 3.1.1

You have to place the flag before the subcommand
$ crunchy-cli -q download https://www.crunchyroll.com/series/...

This behavior will be changed in the next release (so that -q can be used after a subcommand, just as you tried)


Add ability to tell listen() to jump to a specific method in series and waterfall flows

You can currently pass events like 'ready', 'skip', 'end', etc. to the listen() emitter to control flow. Add the ability to pass a specific method name as an event in series and waterfall executions, skipping over the methods between the current method and the specified method.

listen() has been deprecated in 0.8.0 and will be removed from 0.9.0. No enhancements or fixes planned.


uri form encoded serialization for Python

#219 and linked PRs for all the details

Also related to #2291


Add and remove books

Changes to the project

Setup the store in configureStore.js file.
Change the redux/books.js file name to booksReducer.
Write the book's actions and reducers for add and remove functions.
Set data inputs and dispatch the add and remove actions in BookInput component.
Add the Provider componet to wrap the main App component.
Add the onClick event to the remove button in Book component.
Update the BookList component to not pass props to Book component.
Remove the static array of books from last milestone.
Add a route to set any unexisting path to the home page by default.
Install redux and uuid dependencies.
Update some basic styles
Update README file.

Approved ✔
Hi @gabyse1,
Congratulations on completing this project! 👏🏼 🎉
You have correctly implemented all of the requirements📃 correctly and without any errors⚠ or bugs🪲.
Cheers and good luck in your next milestones! 🍀
Feel free to leave any questions or comments in the PR thread(don't forget to tag me 😄) if something is not 100% clear.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Client Allocation Request for: BLOCK GLOBAL

Client Allocation Questions
Core Information

Name: BLOCK GLOBAL
Website / Social Media: https://www.blockglobal.pro/
Region: Greater China Region
DataCap Requested: 10TiB
Addresses to be Notarized: f1joqydiliofrcmvktxzump6bnnnjt6ttxo3ovq3i
Notary Requested: swatchliu

@liyanhahahah Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

@swatchliu Hi Please let me know if there's anything you need. Many thanks!

Thanks for your request. Can you kindly add more information here?
Is your company located in Greater China？
Please give the following information and provide links to social media/news mentions.
Duration of establishment,
Number of employees,
Business scope and products or services,
Social media link (Weibo, WeChat, Douyin, Zhihu, Facebook, Twitter, Linkedin, e.g.),
Data size to be stored,
Have you already applied for DataCap to another notary, and whether it is accepted or rejected? Is there any reliable DataCap left?
Would you like to submit more company information on www.bytebase.cn?
Would you like to accept our face-to-face visit?

@swatchliu Hi Thanks for the reply. Please refer to below and let me know if you need more information.
1、Is your company located in Greater China？
Yes.
2、Duration of establishment
Founded in March 2018.
3、Number of employees
51-200.
4、Business scope and products or services
Block Global is committed to building the world's leading blockchain technology media group, including Block Tech in Chinese Mainland, Coinin in Korea, blocktimes in Taiwan, Beecast in Southeast Asia. These're all crypto media companies. Also, Block Global set up a token fund named Block Capital and a blockchain recruitment project named Huopin Online. Global and ecological layout is the key to BlockGlobal. With the mission of "syndicating transnational information, linking global resources, and empowering economic development", Block Global serves entrepreneurs and investors in the global blockchain field, and invests in more than ten blockchain upstream and downstream enterprises, basically achieving the ecological layout of the blockchain industry and the full layout of Asian blockchain media.
5、Social media link (Weibo, WeChat, Douyin, Zhihu, Facebook, Twitter, Linkedin, e.g.)
https://www.linkedin.com/company/blockglobal
6、Data size to be stored,
We need 10TiB for storage.
7、Have you already applied for DataCap to another notary, and whether it is accepted or rejected? Is there any reliable DataCap left?
This is our first time working with Filecoin.
8、Would you like to submit more company information on www.bytebase.cn?
Yes.
9、Would you like to accept our face-to-face visit?
Absolutely.

@liyanhahahah Thanks for the quick reply. The linkedin link you provided does not work. And I tried to search for your company name directly, but oddly it shows that 'company not found'. Can you provide a screenshot of your company's linkedin?

@swatchliu Sorry our LinkedIn page is in maintenance. This is our Facebook link: https://www.facebook.com/BlockGlobal-775504152848901/

@swatchliu Hi we got any update here?


add Vietnamese language

Thank you for submitting a pull request!
Description
add Vietnamese language
Type of Pull Request

[ ] Adding a feature
[ ] Fixing a bug
[ ] Maintaining documents
[x] Others ()

Verify the followings

[x] Code is up-to-date with the main branch
[x] No lint errors after npm run lint
[x] Make sure all the exsiting features working well

Refer to CONTRIBUTING.MD for more details.

@trungkiendang Thanks. I have released it as v1.2.20. Feel free to create the same PR to add Vietnamese language to maplibre version's plugin - maplibre-gl-export, too.

Tks bro


send PING frames

According to Chromium, PINGs are only sent by the client, but never by the server (see QuicConnection::SetPingAlarm()).
I'm wondering why the spec doesn't say anything about that...

I think as a server, we don't really have an interest in keeping connections open longer than needed. Also, this way, we don't have any network traffic when a client stops sending PING frames to us, e.g. because network connectivity was lost. But I agree, it should be added to the spec.


Add multiFilter support to front end

Summary
This PR adds multiFilter support to the EDA Workspace. MultiFilters are a feature from the currently production ClinEpiDB website.

Notes

The filter chip has been simplified, as compared to the production site. This will need to be discussed in a UX meeting.
The backend API could be updated to handle requesting distributions for multiple variables in one go.
We unnecessarily refresh counts when changes are made to the active multiFilter. This will be addressed shortly.

depends on https://github.com/VEuPathDB/WDKClient/pull/148
fixes #260

I almost forgot about a necessary update to wdk-client. I will update soon.

Per the UX meeting today:

[ ] Update counts for sub-variables based on selection. Take operation into account.
[ ] Add "Update" button for the above.

Spoke w/ Steve. Will emulate the live site, which is to update sibling counts only if operation is all. The case for any is more challenging. I will open a new issue for this, with details.

This should be good to go now. Once I merge the latest from main, I will likely merge this PR.


Devkrystle

Please remember to check the status of your branch at  https://github.com/caseygirlyn/CurrenCity/branches before you commit.


Call hs_init from Rust directly

Some remaining issues:

cargo test will run correctly, as it sets (DY)?LD_LIBRARY_PATH before running the test binary, but building deployable executables will probably require adding rpaths.
If more tests are added, some global mechanism of initializing the Haskell runtime will be needed as the GHC runtime apparently doesn't support re-initializing after shutdown.
The arguments passed to hs_init should be fetched from std::env::ArgsOs.

Nice work figuring this out, by the way. I've always had to resort to a Haskell -> Other Language -> Haskell inversion of control to avoid building the executable without GHC.

This looks great for tests! Do you think it would be better if we allow users to have hs_init and hs_exit functions as part of the library? We already build them now we would probably just need to add in the rpaths somehow like you mentioned. Something like -Wl,-rpath,'$ORIGIN'? I think this would be really great if we could get that working.

The library could provide both a (say) HaskellRuntimeGuard (like MutexGuard) and a free function that uses std::sync::Once to create a global guard. The function could be used in #[test]s, no-setup bindings, or other places with no single entry point, and just the guard could be used when you have main. There's also hs_thread_done() that could be exposed.
As far as I know, the only way to add rpaths with cargo currently is to use the unstable link_args feature. All of the dynamically linked Haskell libraries also need to be collected, either by copying them to $ORIGIN/../something or adding their directories as rpaths. (Or maybe not, if they're installed with the system package manager?)

Hmmmm... I'll have to open up an issue then. I think that's outside the scope of the pr.
Only thing you'll need to change here is to remove the return and semicolon for the test. It's more idiomatic for Rust code. The pr itself though is solid and I'm impressed! I think getting a way to call the runtime directly in the code base would be a good idea. Abstracting the hard stuff away is the goal.

Yeah, that should go in a new PR.
Return removed and force pushed.

Ah cool. In the future no need to force push. I do a squash and merge. That way people can see the changes as part of the conversation but roll it into one commit so as to not clutter up master! This looks good to me. I'll be a bit busier this week due to school and other commitments. I'll work on it when I can.


[New] It's difficult to determine which geographical area the squares correspond to

Hello Carla,
A quick comment regarding the squares to count the primary studies on the map.
It is really difficult to determine which geographical area the squares correspond to. It's challenging to identify countries without studies. It would be worth considering an option that allows coloring the country(ies) associated with the square when hovering over or clicking on it.
Thanks for taking this in consideration.

JIRA ORC-493


Session managment - redirect_uri?session=iframe_((op)|(rp)) returns 200OK but 0KB

Hi
I'm testing mod_auth_openidc with Gluu (2.4.0-2) as OP. Everything seems to work out of the box expect of session managment. After successful login, when i tried to get content from redirect_uri?session=iframe_op ,  or redirect_uri?session=iframe_rp, i got 200 OK response from apache ,
but 0KB content is returned.
Ubuntu 14.04:
apache2-mpm-prefork 2.4.7-1ubuntu4.5
libapache2-mod-auth-openidc 1.8.6-1ubuntu1~trusty+1
Apache config:
                OIDCRedirectURI https://l91.creativecdn.net/protected_by_apache/redirect_uri
                OIDCCookieDomain l91.creativecdn.net
                OIDCCookiePath  /protected_by_apache
                OIDCCryptoPassphrase eeth1caiSh8ohla1e
                OIDCClientID @!D129.1441.075F.6776!0001!4EA9.4323!0008!8810.4104
                OIDCSSLValidateServer Off
                OIDCResponseType "code id_token"
                OIDCClientSecret Phierep1Io6ielohr
                OIDCScope "openid email profile"
                OIDCProviderMetadataURL https://op.rtbhouse.com/.well-known/openid-configuration

                # force session managment URIs in config (just in case discovery failed) :
                OIDCProviderCheckSessionIFrame https://op.rtbhouse.com/oxauth/opiframe
                OIDCProviderEndSessionEndpoint https://op.rtbhouse.com/oxauth/seam/resource/restv1/oxauth/end_session

                OIDCRemoteUserClaim  user_name

                <Location /protected_by_apache >
                  AuthType openid-connect
                  Require valid-user
                  # tried iframes with substitute, tried in web page , efect is the same
                  #AddOutputFilterByType INFLATE;SUBSTITUTE;DEFLATE text/html
                  #Substitute "s|||i"
               </Location>

Gluu (2.4.0-2) seem to have session managment implemented:
...
"check_session_iframe": "https://op.rtbhouse.com/oxauth/opiframe"
...
And there is Gluu iframe javascript:
$ wget  -q -O - https://op.rtbhouse.com/oxauth/opiframe
<!DOCTYPE html >

    <meta charset="UTF-8" />
    <title>
        oxAuth - OP iFrame
    </title>

Last time I checked the GLUU server was not conformant to the (draft) spec yet but that resulted in a different error. The URLs you mention should return content regardless of that. Can you check by copying the session cookie from the browser in to a curl command like:
curl -v -H "Cookie: mod_auth_openidc_session=<session-cookie-value>" https://l91.creativecdn.net/protected_by_apache/redirect_uri?session=iframe_rp

FWIW: I do get 0 length responses for both frames when the session is expired. That may be something to check as well.

Hi
Thank You for quick reply.  Cookie in my browser look like this most of the time  ( all cookies cleared before test ) :
 [Cookie] => mod_auth_openidc_session=395011b9-145d-4aab-b9be-789f51704f4c

and sometimes like this if i hit "f5" in browser after idle :
 [Cookie] => mod_auth_openidc_session=395011b9-145d-4aab-b9be-789f51704f4c;Path=/protected_by_apache;Domain=l91.creativecdn.net;Secure;HttpOnly;mod_auth_openidc_session=395011b9-145d-4aab-b9be-789f51704f4c

~$ curl --insecure  -v -H "Cookie: mod_auth_openidc_session=395011b9-145d-4aab-b9be-789f51704f4c" https://l91.creativecdn.net/protected_by_apache/redirect_uri?session=iframe_rp
* Hostname was NOT found in DNS cache
*   Trying <IP_ADDRESS>...
* Connected to l91.creativecdn.net (<IP_ADDRESS>) port 443 (#0)
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server key exchange (12):
* SSLv3, TLS handshake, Server finished (14):
* SSLv3, TLS handshake, Client key exchange (16):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSL connection using ECDHE-RSA-AES256-GCM-SHA384
* Server certificate:
* 	 subject: CN=localhost.localdomain
* 	 start date: 2014-10-22 00:11:56 GMT
* 	 expire date: 2024-10-19 00:11:56 GMT
* 	 issuer: CN=localhost.localdomain
* 	 SSL certificate verify result: self signed certificate (18), continuing anyway.
> GET /protected_by_apache/redirect_uri?session=iframe_rp HTTP/1.1
> User-Agent: curl/7.35.0
> Host: l91.creativecdn.net
> Accept: */*
> Cookie: mod_auth_openidc_session=395011b9-145d-4aab-b9be-789f51704f4c
>
< HTTP/1.1 200 OK
< Date: Wed, 09 Dec 2015 14:13:52 GMT
* Server Apache/2.4.7 (Ubuntu) is not blacklisted
< Server: Apache/2.4.7 (Ubuntu)
< Content-Length: 0
<
* Connection #0 to host l91.creativecdn.net left intact

Session for this cookie was not expired. I could access to protected content without redirection like this:
curl --insecure  -v -H "Cookie: mod_auth_openidc_session=395011b9-145d-4aab-b9be-789f51704f4c" https://l91.creativecdn.net/protected_by_apache/test1.php

Can you set LogLevel to debug and paste the contents of the error log when making that cURL request and the protected content request?

I can reproduce the same behaviour when using an OP that does not support session management, i.e. does not have the check_session_iframe set. Yet you explicitly set it using OIDCProviderCheckSessionIFrame which works for me for non-enabled OPs.
Is this a public instance where it would it be possible to register my own client instance?

Ok, after all it may still be due to the fact that the GLUU server is not compliant (yet): the session management functionality is only triggered when the session_state parameter is present in the authorization response, as per spec: http://openid.net/specs/openid-connect-session-1_0.html#CreatingUpdatingSessions
If the GLUU server doesn't return that parameter, it will result in the behaviour as observed. If  you can confirm that, I'll improve logs/debugs for this case. If not we'll have to look further...

I'm researching/evaluating OpenID Connect authentication technology, test GLUU servers are in our internal lab, so no connection from outside is possible, but it is out of the box installation. From what i can tell mod_auth_openidc is first solid and well documented pice of openid-connect software i encountered so far. Thank You for that.
You are right about missing "session_state" parameter in authorize response. If i'm not mistaken in my case authorize response from GLUU (2.4.0-2) looks like that:
HTTP/1.1 302 Found
Date: Wed, 09 Dec 2015 20:00:57 GMT
Server: Apache/2.4.7 (Ubuntu)
Location: https://l91.creativecdn.net/protected_by_apache/redirect_uri#session_id=23f71725-1b09-4728-8ac5-e9cb8532aa81&scope=email+openid+profile&state=Q_RvMoUjdNGj4bnAvpzusFRIrAc&code=842c1e89-ceff-480d-8b1e-708e9cd4a3b6&id_token=eyJ0eXAiOiJKV1MiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL2Nhcy5ydGJob3VzZS5jb20iLCJhdWQiOiJAIUQxMjkuMTQ0MS4wNzVGLjY3OTYhMDAwMSE0RUE5LjQzMjMhMDAwOCE4ODEwLjQxMDQiLCJleHAiOjE0NDk2OTQ4NTcsImlhdCI6MTQ0OTY5MTI1Nywibm9uY2UiOiJFbDdQc1ZvR19JOHNEMHlrZzVDeWZ5WG5TR0FDZXRzLVQ3V3oxNkVIeFQ4IiwiYXV0aF90aW1lIjoxNDQ5NjkxMjU3LCJjX2hhc2giOiJ3UmNXSVlGaXdVc3h2d2tjcnB0bnFnIiwib3hWYWxpZGF0aW9uVVJJIjoiaHR0cHM6Ly9jYXMucnRiaG91c2UuY29tL294YXV0aC9vcGlmcmFtZSIsIm94T3BlbklEQ29ubmVjdFZlcnNpb24iOiJvcGVuaWRjb25uZWN0LTEuMCIsImVtYWlsIjoidHU3QHJ0YmhvdXNlLmNvbSIsImludW0iOiJAIUQxMjkuMTQ0MS4wNzVGLjY3OTYhMDAwMSE0RUE5LjQzMjMhMDAwMCFFRDJCLjQwQjQiLCJuYW1lIjoidHU3Zm4gdHU3c24iLCJmYW1pbHlfbmFtZSI6InR1N3NuIiwiZ2l2ZW5fbmFtZSI6InR1N2ZuIiwidXNlcl9uYW1lIjoidHU3Iiwic3ViIjoiQCFEMTI5LjE0NDEuMDc1Ri42Nzk2ITAwMDEhNEVBOS40MzIzITAwMDAhRUQyQi40MEI0In0.HqQKq9p8J9rAxTS_FK6oO0gm3G1VVRLX9uqo4Kbl_uQ
Content-Length: 0
Access-Control-Allow-Origin: *
Keep-Alive: timeout=5, max=98
Connection: Keep-Alive

yes, I noticed that in the OpenID Connect interop event in Sept 2014 and apparently it hasn't changed since then, see: http://osis.idcommons.net/wiki/OC5:XR-Apache_mod_oidc-x-Gluu_OX (website is a bit garbled since an upgrade of the backend); I'll ask GLUU to comment

We can take a look at it. If its a bug on the Gluu Server, we should open an issue on oxAuth. Also we should let Roland know, because he may want to check for this in the conformance test profile.

I created issue in oxAuth,  https://github.com/GluuFederation/oxAuth/issues/103, just to make people from oxAuth project aware of this.
From my perspective (as software user) it would be great if mod_auth_openidc presented some readable response or 5xx response, if somthing is wrong with headers it receives. Empty response and 200 OK is misleading.


SMS sent, program not pulling 6 # code

The program says the token is valid (I have checked for myself)
It buys a number from 5sim, solvs the captcha using capmonster (both work as expected)
"Successfully requested verification code" , I can see the verification code on 5sim but the program says "Discord haven't send the SMS so far 1/120 - 120/120

Exception in thread Thread-1 (verify):
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\threading.py", line 953, in run
self._target(*self._args, **self.kwargs)
File "C:\Users\killt\Desktop\GANG-Nuker PRODUCT\discord-phone-verifier-main\new version\main.py", line 221, in verify
VERIFYCODE = waitsms()
File "C:\Users\killt\Desktop\GANG-Nuker PRODUCT\discord-phone-verifier-main\new version\main.py", line 218, in waitsms
verify(totalthreads, threadindex, proxytype)
File "C:\Users\killt\Desktop\GANG-Nuker PRODUCT\discord-phone-verifier-main\new version\main.py", line 221, in verify
VERIFYCODE = waitsms()
File "C:\Users\killt\Desktop\GANG-Nuker PRODUCT\discord-phone-verifier-main\new version\main.py", line 217, in waitsms
elif str(PHONESERVICE).lower() == "fivesim": fivesim.deletenumber()
File "C:\Users\killt\Desktop\GANG-Nuker PRODUCT\discord-phone-verifier-main\new version\plugins\phoneservices\fivesim.py", line 29, in deletenumber
with requests.Client(headers=self.HEADERS) as client: response = client.get(url).json()
File "C:\Users\killt\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\httpx_models.py", line 743, in json
return jsonlib.loads(self.text, **kwargs)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\json_init.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Everything works as intended except the last part of fetching the SMS code and sending it back to discord.
Thank you for your time.
Edit: Now it will say it sent a code but nothing gets received on 5sim.

Hi, thank you for taking the time to write a detailed issue this help me a lot.
For some reason discord never sent a sms to my 5sim account so i can't really reproduce it thus you need to help me a bit.
Please edit plugins/phoneservices/fivesim.py on line 42 add print(response) and tell me what the actual response is when the sms appeard.
thank you in advance

Added "print(response)" on line 42 in @ plugins/phoneservices/fivesim.py as stated

oh sry i mentioned the wrong line. put print(response) on line 46, this should print it on every check so also when the sms appeard, if the sms appeard pls send me the full response which should include the code

Hi, i will post an update when I can. I am currently at work for the next 4 hours. I have sent a friend request over Discord as well to screenshare the issue if needed as well just so you can see exactly whats happening.

It says its verified but after refreshing, it is still not phone verified

 It says its verified but after refreshing, it is still not phone verified

i've updated the main.py with some print lines, if it found the verifycode it should print you 2 different lines with [DEBUGGING 1] and [DEBUGGING 2] before the actual response, you then can send me a screenshot of it.

The code is now instantly ending without getting a number or solving the captcha.

The code is now instantly ending without getting a number or solving the captcha.

The Issue is not from the Tool itself, the 5sim API to order numbers currently only have a 404 not found text on the website and the actual API response status code is 302,
The number variable is defined with None at the top and then changed to the actual response later (if the status code is 200) but because the code isn't 200 the variable value won't be changed so it keep being None, then it post None in number field to discord so discord don't send captcha_key as response making the tool assume that no captcha is required.
It ofc. won't send a sms if it wasn't able to order the number.

Issue was that discord detected the http requests. it's fixed in the dev branch at https://github.com/FuckingToasters/discord-phone-verifier/tree/dev


[Feature]UTF-8 Support

It seems that Notepads doesn't support UTF-8 format file yet.
It will display meaningless characters when it opens files with Chinese characters sometimes.

If the file is truly UTF-8, you should not see random characters. Otherwise it is ANSI, then you need to use ANSI mode to open the file:

I would recommend you to convert all your ANSI encoded files to UTF-8 to save your time.

If the file is truly UTF-8, you should not see random characters. Otherwise it is encoded using ANSI code page, then you need to use ANSI mode to open the file:

I would recommend you to convert all your ANSI encoded files to UTF-8 to save your time.

Well I forget this setting.. I wonder if it's possible to detect its codepage automatically..

No, it is not possible in theroy (there are libraries to help detect encoding but the accuracy is a joke). Because Windows uses ANSI (Windowws Code Page) and it varies between system and region/culture. It could be some encoding that supports high ASCII or some encoding that supports Chinese characters but you never know since there is no BOM at the beigning of the file. That's why people are moving away from ANSI and use unicode encoding like UTF-8 because it supports all kinds of languages and characters. In short words, ANSI is not a specific encoding, it is the encoding that your system use based on region and culture.

References:
https://stackoverflow.com/questions/701882/what-is-ansi-format

No, it is not possible in theroy (there are libraries to help detect encoding but the accuracy is a joke). Because Windows uses ANSI (Windowws Code Page) and it varies between system and region/culture. It could be some encoding that supports high ASCII or some encoding that supports Chinese characters but you never know since there is no BOM at the beigning of the file. That's why people are moving away from ANSI and use unicode encoding like UTF-8 instead because it supports all kinds of languages and characters. In short words, ANSI is not a specific encoding, it is the encoding that your system use based on region and culture. If you want to make sure your text file will always work on any of the machines, you should use UTF-8-BOM.

OK, I learn. Thank you.


is it any possibility to sign transactions on backend side?

Hey @glorymlory, I'm not sure what you mean.
If you want to sign transactions without Metamask plugin, yes, it's possible.
When you call to connect you could use different types of providers. Please check our examples at readme in polymath-contract-wrappers repository using them.
https://github.com/PolymathNetwork/polymath-contract-wrappers
Was this what you need?


Obsidian plugin?

Hello,
Recall looks fantastic! It is probably most useful for those already using a Markdown-based knowledge management VSCode extension like Foam or Dendron. Another very popular Markdown-based knowledge management tool is Obsidian.
Obsidian has a JS-based plugin system (like VSCode) and an active plugin community. However, it does not yet have a great SRS plugin like Recall. Porting Recall to Obsidian would be very appreciated by the community. There are already two plugins that export cards to Anki which, despite being very buggy, are very popular, so there is clearly a strong desire for this functionality. There are also dozens of threads about spaced repetition on the Obsidian forum. Additionally, Obsidian has native iOS and Android apps (currently in alpha) that have the same plugin system as the desktop app, so porting Recall to Obsidian would make it usable for mobile users.
What do you think?

Hi. First of all, thank you for the positive feedback and sorry for the delay in replying.
Obsidian does look very good. Unfortunately, based on the preliminary analysis, porting recall to Obsidian would require non-trivial effort and at the moment I don't have the capacity to do it. Sorry for that.
P.S. I'll leave this issue open so that others can upvote it and will reprioritize this in the future based on the user interest.


Remove unused cisco-deploy-startup-config.py template

This is deprecated in favor of https://github.com/RackHD/on-http/blob/master/data/templates/cisco-deploy-config-and-images.py, but it slipped past me in my previous PR.
@RackHD/corecommitters @pscharla @RackHD/corecommitters @johren

👍 ⚡

:+1:

+1


Indicate ABI compatibility with soversion

The currently built binary for *nix systems doesn't indicate
its ABI version. This causes QA checks in some build systems
(e.g. OpenEmbedded) report an issue.
This patch adds soversion to the library.

Sorry for the delay @rojkov. We were working on a new version. We tested internally your PR, but now is out-of-day. Can you rebase it with current master branch? After that we will merge it.
Thanks.

Thanks @rojkov


Fix highlight bug

Refactor ranking-chart; extend it appropriately, renaming; remove ranking-chart-plus component for resiliency-chart; better naming;
Closes #330
Also closes #329

This clobbers the work that colors the grey/blue bars with more contrast in the floodplain maps.

The default grey and MOE color should be different than the floodplain's grey and blue. The floodplain chart's grey was lightened significantly and its blue darkened to create more contrast. Whereas the default charts use a transparent blue that appears darker over the bar and lighter over the white background.

@andycochran so it should be the lighter gray used for the resiliency charts? And the darker gray for the indicator charts? Are these colors specified in CSS somewhere? Did not intend to clobber the color work - I needed to refactor the base chart class so the highlighting logic would work, and it might've gotten lost, possibly due to the fact that some CSS class names changed (I have the colors stored as hash in the class, maybe I thought those were the right ones). Let me know, thanks.

I'd defined the colors in the JS. You can ee what they should be on the develop branch.

Regular charts:

#a8a8a8
#6eceff

Resiliency charts

#dddddd
#60acbf


RUMM-1242 Add public api for spans data scrubbing

What does this PR do?
A brief description of the change being made with this pull request.
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report

:exclamation: No coverage uploaded for pull request base (mconstantin/rumm-1233/use-the-new-spanevent-in-data-pipeline@2dfadb7). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Current head 48ed08f differs from pull request most recent head f4a2d69. Consider uploading reports for the commit f4a2d69 to get more accurate results

@@                                       Coverage Diff                                       @@
##             mconstantin/rumm-1233/use-the-new-spanevent-in-data-pipeline     #556   +/-   ##
===============================================================================================
  Coverage                                                                ?   88.84%
  Complexity                                                              ?     1589
===============================================================================================
  Files                                                                   ?      175
  Lines                                                                   ?     5296
  Branches                                                                ?      636
===============================================================================================
  Hits                                                                    ?     4705
  Misses                                                                  ?      355
  Partials                                                                ?      236

No docs review required 👍


Upload attachment progress

How can i achieve upload progress while uploading attachments.
Any help please. Thank you

@mikeangelsilva
Unfortunately, we didn't add the upload progress for attachments because Fetch API didn't support the ability. We will investigate if it is possible to add to our SDK


Blank Text Fields for Custom Headlines and Descriptions

Description
I suggest adding blank text fields for headlines and descriptions, enabling users to create custom content. These fields should:

Be easy to locate and access within the content creation/editor interface.
Have an appropriate character limit to ensure the custom content fits within the design layout.
Allow for basic text formatting options, such as bold, italic, and underline.
Support input validation to prevent inappropriate content or formatting issues.

Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate

Support for markdown would be great in such a widget.

Markdown widget was added in: https://github.com/flowforge/flowforge-nr-dashboard/pull/62

Given this can now be achieved using Markdown, I'm going to close this out.


A minor error in Table 1

The latent sizes for FSQ and LFQ seem to be reversed.

Hi,
Yes, you’re right. Thank you for pointing out the typo. I’ll correct it in the next version of the PDF.


Fix #1606: CLI Command for setupdata

Fixes #1606
It has to be considered after the related pdr-lake-cache PR. I will update this description

We decided not to copy the whole db and the CSV files will be used it. User will put them into the project manually if they desire to use


Added --quiet option to suppress no issues

Added --quiet option, so that when checking lots of python files which are ok you don't get all those success messages printed. Other option could be to emit that no issues only with --verbose, but modifying existing things could break stuff

Coverage decreased (-0.09%) to 99.175% when pulling 7acde62fd65db354c020108c835b511e8a6da76b on EdvardM:master into 3c3b2a2274e40a03d3d8f14815509662e9f454e0 on myint:master.

Good PR; it would be good to merge this. In the meantime I'm stuck running autoflake --check > /dev/null to suppress the stdout output. (Actually I think the quiet mode should be the default, and 'no problem' should only be logged if running with verbosity >= 1.)

Good PR; it would be good to merge this. In the meantime I'm stuck running autoflake --check > /dev/null to suppress the stdout output. (Actually I think the quiet mode should be the default, and 'no problem' should only be logged if running with verbosity >= 1.)

Agreed, this was a quick fix.
However, this project seems to be abandoned :( Or author is just too busy -- which is quite understandable. If that's the case, it would be great to have this information in README.md


Set ENV_VAR for SLACK_SUBDOMAIN

When standing up the backend, redis reports that the SLACK_SUBDOMAIN is not set.
Description of changes

Issue Resolved

Fixes #128

The value of the var shouldn't matter as long as it's defined.


Since we force opts.prompt = "none" below the option is retained.

This means if the code is re-called without re-loading opts the call
to authenticate will be done with opts.prompt = "none" again, where
user interaction would be expected.
This happens if opts is declared as a global value in openresty/nginx,
such as by:
init_by_lua_file "/usr/local/openresty/nginx/conf/conf.d/server.lua";
in nginx.conf, where server.lua contains the opts structure.
This happens when the server owner needs a global opts declaration
reachable by all server {} structures in nginx.

Note: I had to drop the test checking that the prompt parameter set in opts is honoured - because we did not in fact honour it in some conditions (the test would not see that), and with this fix, we never honour it.
If we do, it would break functionality - and since opts is not only used as a user parameter but also as a structure to pass data internally, I didn't find another solution that wouldn't require either refactoring a lot of code, or having a function that behaves differently than other functions :(

I guess a better approach would be to explicitly pass a prompt parameter into authenticate and openidc_authorize though that changes the function signature and backwards compatibility...?

with this PR we'd break code that explicitly asks for the prompt parameter when calling authenticate (which is what the test checks ;-). I'd prefer an explicit parameter over silently discarding the options set.
One option not breaking backwards compatibility could be to only add the explicit parameter to openidc_authorize, set it with opts.prompt in most cases and set it to none in the "silently reauthenticate" case without changing opts there at all. That way opts wouldn't get modified by authenticate. Would this work for you @gdestuynder ?

@gdestuynder https://github.com/bodewig/lua-resty-openidc/commit/195c9555f37a06ead92f2f60a08fa51606cc93e6 is an alternative solution

I'd prefer Stefan's approach if acceptable @gdestuynder

@ bodewig that sounds alright

thanks, see #120

hah great thank you!


CORS error accessing imagery for Portugal provided by the DGT

Description
I'm getting a black background if I try to use the DGT-provided satellite imagery for Portugal. This happens with both the 2018 and the 2021 layers:

Orthophotos of mainland Portugal - 25cm - 2018 (DGT)
Orthophotos of the northern portion of mainland Portugal - 25cm - 2021 (DGT)

Here's the full error message for one of the missing tiles, as reported by the browser:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://cartografia.dgterritorio.gov.pt/wms/ortos2018?LAYERS=Ortos2018-RGB&STYLES=default&FORMAT=image/jpeg&CRS=EPSG:3857&WIDTH=256&HEIGHT=256&BBOX=-936353.5963630663,5090247.460914459,-936277.1593347918,5090323.897942733&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing)

The 2018 background layer is usable in v1.1.9. I don't know about the 2021 layer because it doesn't show up in the list of available layers there :thinking:
Version
2.0.0-beta.0
What browser are you seeing the problem on? What version are you running?
Firefox v111.0
The OS you're using
Linux (Ubuntu 20.04)
Steps to reproduce
No response
The browser URL at the time you encountered the bug
https://mapwith.ai/rapid-v2-beta?fbclid=IwAR0g6790Ozoj9eYhScyDhCxxV8h2qH0CHaTxNCOuL5p6f7rE-K_JqrWUKtI#background=ORTOS_DGT_2018_WMS&datasets=fbRoads,msBuildings&disable_features=boundaries&id=w-2821748028026636346&map=20.16/41.52672/-8.41103
The auto-detected useragent string for your browser (leave blank if you're manually filling this form out)
No response

Thanks for reporting, but unfortunately Rapid isn’t able to display imagery or data from another server unless the server is configured to allow cross origin-resource-sharing (CORS).
Although browsers can sometimes display images or data as “passive” content, our application isn’t allowed to read those pixels into a Canvas or WebGL context.
There is a lot more information on this link below, along with examples of how to configure a server to allow cross origin requests.
https://webglfundamentals.org/webgl/lessons/webgl-cors-permission.html

Thanks for the response. I thought this could be a bug because Rapid v1.1.9 is able to use at least the 2018 layer. Is it because the implementation is different? I mean, is the way Rapid 1.x uses those tiles considered "passive" content, to use your words?

I mean, is the way Rapid 1.x uses those tiles considered "passive" content, to use your words?

Yes, the implementation is a bit different - Rapid v1 loaded the tiles in img tags and positioned them below the map.. Rapid v2 actually loads the images into WebGL.


Centered slides + loop or rewind makes it start at the last slide

Check that this is really a bug

[X] I confirm

Reproduction link
https://azerroth11.github.io/BasileMinster/photography.html
Bug description
It's an issue that's been present for the past few generations (at least v7 and v8) and despite the loop apparently being reworked, it still is there.
The slideshow starts on the last slide when swiper-slide has a width of fit-content.
But it is the only way I have found to have the images at 100% height and correct apect ratio for the width while touching each other.
InitialSlide has no effect.
My swiper HTML code:
.swiper {
height: 100%;
width: 100%;
}
.swiper-wrapper {
width: 100%;
}
.swiper-slide {
width: fit-content; <- It seems to be causing the issue.
}
.swiper-slide img {
max-height: 100%;
height: 100vh;
}
My swiper JS code:
const swiper = new Swiper('.swiper', {
slidesPerView: 'auto',
centeredSlides: true,
grabCursor: true,
rewind: true,
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
pagination: {
el: '.swiper-pagination',
clickable: true,
},
Expected Behavior
I expect the slideshow to begin on the first slide and swipe to the left.
Actual Behavior
It starts on the last slide and then rewinds to the first one.
Swiper version
v9
Platform/Target and Browser Versions
Windows 11 Firefox 109.0.1
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[ ] I'm willing to open a PR

same problem. Is it a bug ?

yep same problem here, i hope one day i can understand what we're doing wrong T.T


Memory behaving in unexpected ways

Happens to me with "make a text file", then "put a poem in it --llm --showcode".
I would expect the poem to be in the text file, but the generated code creates a new text file rather than paying attention to the previous response.

The system here uses a new client for each request, so there can be no memory from one to the next.
This is a limitation that is readily avoided. I'll do some tests.


[BUG]switching to another video doesn't pause the first one

Describe the bug
before last update  ....switching between videos .....pause the first one
now  it is not working
To Reproduce
initState()
@override
void dispose() {
_controller.dispose();
super.dispose();
}
@override
void deactivate() {
// Pauses video while navigating to next page.
_controller.pause();
super.deactivate();
}
Widget build(BuildContext context) {
return
YoutubePlayer(
controller: _controller,
showVideoProgressIndicator: true,
progressIndicatorColor: Colors.blueAccent,
)}
Expected behavior
pausing previous video
Screenshots
If applicable, add screenshots to help explain your problem.
Technical Details:

Device:  xiaomi redmi 8a
OS: android
Version  22

Additional context
Add any other context about the problem here.

Please try with v7.0.0.

Closing for now as couldn't reproduce. Please feel free to reopen.


feat(cmd): adding timeout flag

fixes #3575

does this time out the transaction in the mempool, or just in the client?

just in the client. is it supposed to also set it for the mempool?

I'm thinking of a case where I send transaction with nonce x, it times out, and then when I go to send another transaction, also with nonce x, it errors because it has the same nonce as the tx that is already timed out on client, but in the mempool

But node does not support nonce so far. We agreed that's it is not necessary.

I'm thinking of a case where I send transaction with nonce x, it times out, and then when I go to send another transaction, also with nonce x, it errors because it has the same nonce as the tx that is already timed out on client, but in the mempool

This does not happen anymore - the nonce error was fixed by upgrading app :)

But node does not support nonce so far. We agreed that's it is not necessary.

I don't think he's saying we need to support nonce, I think @jcstein was just describing that what happens with a nonce in the background was throwing errors to the user, and that a timeout for txs in the mempool could fix this.
What if we add a timeout to TxConfig in a separate issue?

I'd rather pass it through the context.

Fair, I guess we can't have a timeout in the transaction itself that gets submitted, right?

I don't want to grow the TxConfig. Timeout is smth we can configure through the context.
wdyt @distractedm1nd ?

This does not happen anymore - the nonce error was fixed by upgrading app :)
😄 🚢

@jcstein Did you test this PR already?

Codecov Report
Attention: Patch coverage is 51.61290% with 15 lines in your changes missing coverage. Please review.

Project coverage is 45.12%. Comparing base (2469e7a) to head (007d9ea).
Report is 162 commits behind head on main.

Files
Patch %
Lines

cmd/rpc.go
0.00%
10 Missing :warning:

api/rpc/client/client.go
76.19%
4 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3580      +/-   ##
==========================================
+ Coverage   44.83%   45.12%   +0.28%
==========================================
  Files         265      274       +9
  Lines       14620    15422     +802
==========================================
+ Hits         6555     6959     +404
- Misses       7313     7652     +339
- Partials      752      811      +59

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@vgonkivs The flag docstring prints the usage, e.g. 30s, 1m. This is because pflag has a DurationVar option, which handles this parsing underneath.
And it's tested, this is the output you get when the timeline is exceeded

@jcstein Did you test this PR already?
@renaynay just saw this, no I haven't tested it yet


Suggestion: Buttom Sheet component for mobile devices

i find a project but its based  on  React. I think it might be great on mobile device
react-spring-bottom-sheet

You can have something similar using modal-bottom
See last example here: https://daisyui.com/components/modal/#responsive-modal-goes-bottom-on-mobile-screen-and-goes-middle-on-desktop
The difference is, it doesn't have the swipe effect (you need JS for that)


About train custom dataset

Hello, I want to use mmdetection to train custom dataset. I transfer my dataset to voc. But my dataset only have one class. So I changed model = dict(roi_head=dict(bbox_head=dict(num_classes=1)))  in configs. And I changed CLASSES = ('ship') in mmdet/datasets/voc.py.
The program not worked with AssertionError: The [num_classes] (1) in Shared2FCBBoxHead of MMDataParallel does not matches the length of [CLASSES]20) in RepeatDataset
How can I solve it? Thank you.

add classes=('ship', ) in
dataset=dict(
    type=dataset_type,
    classes=('ship', ),
    ann_file=[
        data_root + 'VOC2007/ImageSets/Main/trainval.txt',
        data_root + 'VOC2012/ImageSets/Main/trainval.txt'
    ],
    img_prefix=[data_root + 'VOC2007/', data_root + 'VOC2012/'],
    pipeline=train_pipeline
)

it work in CocoDataset

no need, just add classes=('ship', ) in your dataset config

add classes=('ship', ) in
dataset=dict(
    type=dataset_type,
    classes=('ship', ),
    ann_file=[
        data_root + 'VOC2007/ImageSets/Main/trainval.txt',
        data_root + 'VOC2012/ImageSets/Main/trainval.txt'
    ],
    img_prefix=[data_root + 'VOC2007/', data_root + 'VOC2012/'],
    pipeline=train_pipeline
)

it work in CocoDataset

Hi, do I need to convert my dataset to coco format? Thank you.

no need, just add classes=('ship', ) in your dataset config

config

It works. Thank you.


ref: Refactor ASGI middleware and improve contextvars error message

Found multiple issues with the asgi middleware:

lack of warning if contextvars are broken -- as part of that I refactored/unified the error message we give in such situations, also added more information as gevent just recently released a version that deals with contextvars better
exposed methods that were meant for overriding.. but all that is done in there can be done in event processors, so we make them private

Fix #630
Fix #700
Fix #694

I think I addressed all feedback, please check again


tmux version detection doesn't work on some prereleases

tmux's versioning is "colorful" to, and its release strings are not particularly consistent.
The current head of the tmux repo has a release string: "tmux next-3.3".
Your current sed command does not correctly extract the numeric component of this.
#276 resolves this, and the more important problem that when this is used as a TMP plugin, if-shell needs to be invoked as a subcommand of tmux, rather than directly, as TMP plugins are run as bash scripts, not tmux scripts

I believe this is handled by #276, so closing this issue.


new tag version 1.3.4

Please update master to a new tag.
The bower file changed from momentjs to moment.
And now bower is fetching 2 times momentjs. Please update it.

For now I'm just doing the following:
    "angular-timer": "ea3d7e8fdfb81a2aa66875f96376eb82e1e38017",

Thats a "hack" not a solution

@siddii Thank you!

@rickerd your comment came through very negatively and felt like a lack of respect for someone using their very limited spare time to offer a workaround. I do understand the difference between tags and hashes.

Im asking for a new tag not for a 1000 dollar loan.
And text hasnt got emotion so i think you read it wrong.
I dont like hacks and stuff to accomplish things im a professional not a scriptkiddy.
Thanks @siddii for the new tag


Add support for custom to_field names for foreign keys

Django's ForeignKey supports custom to_fields. The to field is the
primary key by default, but can be modified. The to field is also
used by forms to reduce database lookups.
This patch add support for custom to_field names on both model or
form layer.

cc @Ashlett

Codecov Report

Merging #486 into master will increase coverage by 0.25%.
The diff coverage is 100%.

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

Released in 6.1.0


Add labels to TCS Issuer spec that will be applied to Quote Attestation CR

Request for ability to supply labels in the TCS Issuer CRs that will be added to the Quote Attestation CR when it's created by TCS.

PR #43 supposed to address this.