[question] is this supposed to be possible?

You might've already seen the discussion we had in #Hermes-other-gambit after I noticed this, but just in case you didn't:
you know how you can combine a true name and a cleric impetus to be able to cast as someone else? It occurred to me you might be able to modify someone's Everbook the same way, which I realized may or may not be intended since normally true name "hacks" only affect the current save/server.
Of course, I said "might", since I'm not sure if it is actually possible. It's a bit difficult to test something like this since it explicitly requires someone trusting you with their true name (I've only been able to obtain one so far and on a server where I don't have the resources for circle magic yet)

that's not great, not super pleased about it, but I can't think of any ways to fix it that are satisfying; I don't want to make the everbook patterns staff-cast only, and that's the only thing I can really think of that'd make this not a problem.

Yeah I couldn't think of much of anything either. It would be nice if you could ask Hexcasting's API "hey is this pattern DEFINITELY being cast by the focus's owner, or did someone else, not the focus's owner, link the focus to a circle". Failing something like that, maybe you could at least make it so that the user can control, somehow (preferably without requiring a pattern itself, or at least without allowing the adversary to disable this by shadowing a pattern with a macro), whether a given world can modify their Everbook.
of course, if someone truly malicious has your True Name, you might want to reconsider playing in that server in the first place, and I don't think any of this works if you are not online, right? (Since even if they had a Figment or something, there would be no client for it to get the Everbook from). The most I would do with this knowledge is steal someone's entries

yeah there's definitely no way to affect your Everbook if you aren't online. A per-world config doesn't really feel like a useful way to fix the issue? If someone thinks to actually make use of it they'll probably also think of backing the everbook up somewhere, which doesn't rely on my ability to patch against adverse behaviour.


Include arm v6 and v7 in multiarch support

This turned out to be a little more complicated than I wanted, since the image's config doesn't include the CPU variant. So instead, I just pass through a map[types.Architecture]v1.Image to PublishIndex (which I also don't super love).
Ideas welcome. I'm also fine just punting on this if we think we'll come up with a better idea later. I don't really think it needs to block anything.
edit: An example image built with this change:
index.docker.io/imjasonh/alpine-multi@sha256:735bfedcd7f5e4c7a4655a7d8d23c218e837aa0290c045019270a61fcc0e184a

It seemed okay for now, so I merged it.  We can revisit it later.


Webpack UMD build available

This change adds a webpack build configuration which will create a UMD module of json2csv in the dist/ directory. It's ignored by git, but isn't ignored by npm, so it will be available when downloaded via npm.
I've updated the README as well.
Now dist/json2csv.js can be included with an HTML script tag, if the user is unable to work with javascript modules. All dependencies are included. I don't like this that much, but I'm in a situation where adding webpack or another module packer to the project I'm working on would mean a ton of refactoring. And no other JSON -> CSV String package I've found (that isn't module-only) will let me specify a field order.
NOTE: If this is going to be distributed via npm, it's important that npm run build is run before every release, or dist/json2csv.js will be unavailable or out-of-date.

Could you also add a prepublish script that runs build, so that it isn't forgotten?

Oh yeah that sounds great - forgot you could do that. I'll update soon.
Ben
On Aug 13, 2016 9:01 PM, "Ilya Radchenko"<EMAIL_ADDRESS>wrote:

Could you also add a prepublish script that runs build, so that it isn't
forgotten?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/zemirco/json2csv/pull/136#issuecomment-239649972, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AM7h7Z91WSllWCWLb2x-KHGeasn1n7rDks5qfmjogaJpZM4Jjxzx
.

@knownasilya Done. Also, I accidentally wrote earlier that you can use npm build (you actually have to run npm run build) but that's been updated in the README.

Released as 3.6.3, can you test?

@knownasilya Works for me! Thanks.


[feature] add timestamp under the history

add timestamp under the history of shorten links , check screenshot

assign me this under hacktoberfest and gssoc-ext

@muruga21 it's been days, can you assign me issues I raised. So I can work on it. As gssoc is about to end.


duplicate play image in video when viewing page with video in it on android chrome

When viewing the home page of video element js with chrome on an android device, the play image is shown twice. But only after clicking play and pausing it again. This can be reproduced with the video shown on the mediaelementjs homepage.

It seems like the browser adds its own play image, and mediaelementjs adds  another

@Infoland Closing old issues. If you'd like to reopen this, let us know. Thanks!

Hello,
I'd like to re-open the issue. We reported this issue years ago and are still waiting for a fix.
I signed in with a different account since I don't know the credentials of our general "Infoland" account anymore. But we are still waiting for this issue

Thanks for reporting this. I'll take a look at this and let you know when the fix is going to be ready.

Is this issue only related to Chrome on Android, or to the Android Stock Browser?

Right, I dove into the issue. I think that in the new 3.0 version the issue doesn't exist anymore. It's been years since we change any mediaelementjs implementation. I'll plan to update to the latest version and see if we still encounter the issue.
I propose you re-close the issue, and if we are able to reproduce it with the latest version I'll report it and we can re-open the issue.
Thank you for the quick response!
Paul

OK keep me posted and, if needed, I'll be happy to take a look at this. Thanks


Error: Failed to execute 'querySelectorAll' on 'Element': 'p:has(div)' is not a valid selector.

Describe the bug
This is a clear and concise description of what the bug is.
Failed to export single file, folder, or vault
Operating System
This is my operating system's name.
xubuntu 22.04
Obsidian version 1.4.5
To Reproduce
Steps to reproduce the behavior:

right-click file in file tree, select "export to html'
Click on click export (doesn't matter which options I use for 'export presets' or 'open after export')
save file to where ever, home/documents or same partition as vault
See error

Screenshots
If applicable, add screenshots here to help explain your problem (just copy paste)

IMPORTANT: Error Log

Please open the developer console using (Ctrl + Shift + I), and clear the console using the button at the top left corner.
Reproduce the bug
Take a screenshot orcopy the error from the console if it has any output and paste it here

[Error] Could not export file: home.md
Error: Failed to execute 'querySelectorAll' on 'Element': 'p:has(div)' is not a valid selector.
    at postProcessHTML (plugin:webpage-html-export:10116:10)
    at Object.renderMarkdown (plugin:webpage-html-export:10106:7)
    at async Function.getDocumentHTML (plugin:webpage-html-export:11239:19)
    at async Function.generateWebpage (plugin:webpage-html-export:11179:5)
    at async HTMLExportPlugin.exportFile (plugin:webpage-html-export:11816:7)
    at async HTMLExportPlugin.exportFolder (plugin:webpage-html-export:11856:28)

Hi, thanks for reporting this, this is actually answered in the FAQ in the readme:
Q: Why am I getting a fatal error that ":has" is not a valid selector?
A: You need to update obsidian to the latest version by downloading the new installed from obsidian's website.

thank you for the quick reply.
I was updated to the latest version (at this time v1.4.5) and the plugin was still not working... (but I fixed it and here's how)
I noticed my installer version was still 15.9, so I had to uninstall obsidian and reinstall it with the latest installer and everything is working.

This article explains to download the latest installer instead of using the auto-update feature which I was using to update. Update Obsidian Installer Version
Maybe modify the FAQ to say:
A: You need to update obsidian 'Current version' and 'Installer version' to the latest version. If 'Installer version' is still out-of-date, you need to uninstall obsidian then reinstall with the latest version from obsidian's website.
Thanks again for the quick reply and for managing this plugin.

Hey, thanks it does say: "You need to update obsidian to the latest version by downloading the new installer from obsidian's website." which is pretty explicit that you need to download the new installer. But I will try and make it more clear! Also, be aware that there is currently a breaking bug on the latest version of obsidian, see #183

Sounds good and thx for letting know about the bug.
To give more context for the FAQ suggestion, I did read about installing the latest version of obsidian in the FAQ before using the plugin and made sure my obsidian was running the latest version. For that reason I openned up a ticket because technically I was updated to the latest version.
Anyway, sorry if I'm taking up too much of your time. Here's another way to phrase the FAQ or include in the installation instructions (last post I swear lol)
A: You need to make sure BOTH obsidian 'Current version' and 'Installer version' is up-to-date under Settings > About. If not, then you need to uninstall obsidian then reinstall with the latest version downloaded from obsidian's website.

Haha no worries!
You don't actually have to uninstall it for it to work btw, you can just install it directly. This error also always means that your installer version is out of date so there is really no reason to check.
I have updated the readme making it more clear.


Missing Content-Type header

It's possible not only if a request has the POST method:
https://github.com/cavestri/themoviedb-javascript-library/blob/master/themoviedb.js#L79-L82
I propose to set Content-Type=application/json in any cases.

Do you have any problem with the requests? Why we should add it?
Thanks!


how can i make dad look over boyfriend? (yes, i'm not english)

Describe your problem here.
how can i make dad look over boyfriend like they look over gilrfriend,How do I change the order?
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

It should be
function onCreatePost()
       setObjectOrder('bf', getObjectOrder('dadGroup) + 1)
end

If that doesn't work, replace bf with bfGroup

hmm it doesn't work

It's boyfriendGroup

It's boyfriendGroup

thanks, it works


sdwebimage crash on CFRunLoopRun()

New Issue Checklist

[ ] I have read and understood the CONTRIBUTING guide
[ ] I have read the Documentation
[ ] I have searched for a similar issue in the project and found none

Issue Info

Info
Value

Platform Name
e.g. ios / tvos

Platform Version
e.g. 8.0

SDWebImage Version
e.g. 3.8

Integration Method
e.g. carthage / cocoapods / manually

Xcode Version
e.g. Xcode 7.3

Repro rate
e.g. all the time (100%) / sometimes x% / only once

Repro with our demo prj
e.g. does it happen with our demo project?

Demo project link
e.g. link to a demo project that highlights the issue

Issue Description and Steps
CFRunLoopRunInMode

Should be fixed in 4.0.0


prepare 1.4.3 release

Codecov Report

Merging #453 into 1.4 will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              1.4     #453   +/-   ##
=======================================
  Coverage   38.21%   38.21%
=======================================
  Files          20       20
  Lines        1672     1672
=======================================
  Hits          639      639
  Misses       1033     1033

Continue to review full report at Codecov.

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


Apollo Dateset problem

I downloaded the apollo dataset , but why there is no folder "ignore_mask" in it?

For the apollo dataset there are now areas, which are ignored, so this folder is not needed. The dataloading should work just fine also without these masks.
For MS COCO there are ignore masks areas, because there are sometimes areas where it is unclear what the ground truth poses are, i.e. very crowded areas or blurry areas in the images. For these areas no gradient is back propagated.


⚠ Spryr has degraded performance

In 444b0c3, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 3361 ms

Resolved: Spryr performance has improved in 617c6c4 after 41 minutes.


JobService Not starting on Boot Complete Lenovo k5

Job locationUploadJob = firebaseJobDispatcher.newJobBuilder()
.setService(LocationFollowJobService.class)
.setTag(mTag)
.setRecurring(false)
.setLifetime(Lifetime.FOREVER)
.setTrigger(Trigger.executionWindow(seconds, seconds + 45))
.setReplaceCurrent(true)
.setRetryStrategy(RetryStrategy.DEFAULT_LINEAR)
.setConstraints(Constraint.ON_ANY_NETWORK)
.build();
        firebaseJobDispatcher.schedule(locationUploadJob);

Add RECEIVE_BOOT_COMPLETED to your manifest file
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>

In April 2019 we announced that Firebase Job Dispatcher would be deprecated today, April 7th 2020.  For this reason we are going to close all open issues and archive the repository.  We will also stop supporting FJD for new app installations (such as those targeting sdk versions greater than Android Q).  Existing apps that rely on FJD should continue to function as usual.
While we will no longer work on FJD, we encourage you to migrate to Work Manager which is a superior tool and fully supported by the Android team.
Thank you for taking the time to try the library and provide this feedback.  We sincerely appreciate your effort and we apologize for not addressing it in time.


Support prefix when inspecting API from route

If the route is web-api/v1.0/foo/ & web-api/v1.0/bar/ don't nest every thing under web-api. Instead make foo & bar top-level categories.

De-prioritize for 1.0. Seems like a nice to have, not a must have.


Release v0.76 prefixes paths with artifacts/ in sha512sum.txt

I'm not sure if this is intentional:
$ curl -sL https://github.com/prymitive/karma/releases/download/v0.74/sha512sum.txt | awk '/karma-linux-amd64.tar.gz/ { print $2 }'
karma-linux-amd64.tar.gz
$ curl -sL https://github.com/prymitive/karma/releases/download/v0.76/sha512sum.txt | awk '/karma-linux-amd64.tar.gz/ { print $2 }'
artifacts/karma-linux-amd64.tar.gz

The change broke the Ansible playbook I was using to deploy Karma. It's not necessarily an issue in and of itself, as it's pretty easy to fix in Ansible (although I do prefer the old format), but I'd like to know which format is going to be used for future releases.

Fixed github action so it shouldn't add artifacts/ anymore, thanks!


not working at all

demo code
config
eslintrc
"plugins": ["import"]

file.js
import 'homdes.scss'  // in reality this file does not exist

run: npm run lint
result: nothing
expect: error / unresolved

That doesn't enable any of the rules - you need to add "rules": { "import/no-unresolved": "error" }.

in the doc say all rule enable by default
And there is an example extracted from the doc
import 'electron'  // without extra config, will be flagged as unresolved!

All rules are off by default.

at https://github.com/benmosher/eslint-plugin-import#installation

No rules are ever enabled by default in eslint.


Output should ignore whitespace characters

When there are components such as:

    foo

the output should be a div with a child span, rather than a div with children ['\n\t', span, '\n']
A lot of times I find things like this in the output mjsx: \n\t\t\t\t\t\t\t because of whatever indentation I chose to use. Those are a few wasted bytes since they are no different from a space, but the bigger issue is that the output would be more predictable without any whitespace children (unless explicitly specified as such, like {' '}). Common issues like inline-block elements getting extra spacing because of whitespace characters would be eliminated, and the output would be cleaner.
What do you think of a change like this?
Edit: some discussion on React's jsx regarding whitespace

https://github.com/facebook/react/issues/65
https://github.com/facebook/react/pull/480

Originally it was like the react one, where leading and trailing new lines were stripped, and (I think) all other white space was replace with spaces. I changed it to the current implementation because of : html spec says anything between it's tags, new lines and all, is considered default value.

What was the rationale for changing it to follow the html spec? There are many differences between jsx and html, and the handling of whitespace in React's jsx was one of my favorite things about it. I think that there is also value in having consistency with the way other jsx transformers handle whitespace. Would you be open to reverting the change to whitespace handling here?

I see github ate some of my comment. The main reason why is because of the textarea tag, whose value is whatever is between its tags, including whitespace.
I am not opposed to reverting that particular change, as I made it on a whim without much thought, however, I think I'll dig through those react threads, and the html spec a little further before I do change it back.

Hadn't thought about textareas. Now that you mention it,
 tags and anything with whitespace: pre would also need its whitespace preserved. I think that for those cases, though, it would be fine to explicitly add the whitespace as a string. Something like:

{`
     foo
           bar
`}

Cases like the above will be relatively rare, and in that case the syntax makes it clear that whitespace is important in that tag.

Good argument. The issue then becomes: where should the line be drawn between code and data? In your
 example, I'd argue that the contents are data, and as such do not belong inside the code tags. However, with <textarea>, I would argue (in the context of JSX), that it's value is part of the code, so that adding explicit whitespace in the code segments are required.

That is a good point, and I'll concede that for the
 example, my suggestion isn't ideal. But because that case is so rare, I think it would be worthwhile. This is something I run into frequently:
const Pricetag = {
	view(ctrl, props, children) {
		return (

				<Icon name='pricetag'/>

					{children}

		);
	}
};

Note: .pricetag and Icon are both inline-block
I would like to be able to put .pricetag on the next line where it would naturally go, but if I did I would have to set the parent font size to 0 and then reset the .pricetag fontsize to what it was before (or some similar hack to get rid of the whitespace).


PS1 is not read correctly after latest update

I was using my PS1 since I remember with o-m-z but after last update it looks like it's not interpreted correctly

Have you by any chance run setopt nopromptsubst or unsetopt promptsubst? What theme are you using? What does your zshrc file look like?

Hey @mcornella thanks that you are trying to help me ;) I tried this options but unsuccessfully. I'm using DimmedMonokai theme, Powerline fonts are installed too. As I wrote everything was fine until last OhMyZsh update. My zshrc Is very simple.
`# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:/usr/local/bin:$PATH
Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
Set name of the theme to load. Optionally, if you set this to "random"
it'll load a random theme each time that oh-my-zsh is loaded.
See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="agnoster"
Set list of themes to load
Setting this variable when ZSH_THEME=random
cause zsh load theme from this variable instead of
looking in ~/.oh-my-zsh/themes/
An empty array have no effect
ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
Uncomment the following line to use case-sensitive completion.
CASE_SENSITIVE="true"
Uncomment the following line to use hyphen-insensitive completion. Case
sensitive completion must be off. _ and - will be interchangeable.
HYPHEN_INSENSITIVE="true"
Uncomment the following line to disable bi-weekly auto-update checks.
DISABLE_AUTO_UPDATE="true"
Uncomment the following line to change how often to auto-update (in days).
export UPDATE_ZSH_DAYS=13
Uncomment the following line to disable colors in ls.
DISABLE_LS_COLORS="true"
Uncomment the following line to disable auto-setting terminal title.
DISABLE_AUTO_TITLE="true"
Uncomment the following line to enable command auto-correction.
ENABLE_CORRECTION="true"
Uncomment the following line to display red dots whilst waiting for completion.
COMPLETION_WAITING_DOTS="true"
Uncomment the following line if you want to disable marking untracked files
under VCS as dirty. This makes repository status check for large repositories
much, much faster.
DISABLE_UNTRACKED_FILES_DIRTY="true"
Uncomment the following line if you want to change the command execution time
stamp shown in the history command output.
The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
HIST_STAMPS="mm/dd/yyyy"
Would you like to use another custom folder than $ZSH/custom?
ZSH_CUSTOM=/path/to/new-custom-folder
Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
Example format: plugins=(rails git textmate ruby lighthouse)
Add wisely, as too many plugins slow down shell startup.
plugins=(
git
)
source $ZSH/oh-my-zsh.sh
User configuration
export MANPATH="/usr/local/man:$MANPATH"
You may need to manually set your language environment
export LANG=en_US.UTF-8
Preferred editor for local and remote sessions
if [[ -n $SSH_CONNECTION ]]; then
export EDITOR='vim'
else
export EDITOR='mvim'
fi
Compilation flags
export ARCHFLAGS="-arch x86_64"
ssh
export SSH_KEY_PATH="~/.ssh/rsa_id"
Set personal aliases, overriding those provided by oh-my-zsh libs,
plugins, and themes. Aliases can be placed here, though oh-my-zsh
users are encouraged to define aliases within the ZSH_CUSTOM folder.
For a full list of active aliases, run alias.

export PS1="[\033[36m]\u[\033[m]@[\033[32m]\h:[\033[33;1m]\w[\033[m]$ "
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
alias ls='ls -GFh'
Example aliases
alias zshconfig="mate ~/.zshrc"
alias ohmyzsh="mate ~/.oh-my-zsh"
`

Little update :) works fine, moved exports to top ;)

I think you were not quoting properly your PS1 string. Glad it's solved now.


Fix image link in MBC5 page

More specifically, the "Mild Rumble" chart near the bottom of the page.

Uh, there are three problems here.

Why was this committed? This is supposed to be part of #330
Why was this reverted? What was wrong with it?
Why is the width forced to a certain pixel size? This won't scale properly on smaller viewports.

Uh, there are three problems here.
1. Why was this committed? This is supposed to be part of [Allow SVGs to be affected by theme #330](https://github.com/gbdev/pandocs/pull/330)

2. Why was this reverted? What was wrong with it?

3. Why is the width forced to a certain _pixel_ size? This won't scale properly on smaller viewports.

The image was literally broken on the rendered version of Pan Docs, resulting in the raw text just being displayed there randomly.  #330 is in Draft phase and in any case it's not a definitive solution for SVGs, but just another way to write them to allow to be styled.
As usual, a sub-optimal but acceptable solution is good and welcome while a better one is in the works.

The image was literally broken on the rendered version of Pan Docs, resulting in the raw text just being displayed there randomly.

Oh, you mean the {{#include ...}} text? Then yeah, that's normal. I was fearing that it was broken in a way i hadn't noticed in #330, but this looks like the problem I encountered there (which, for the record, is simply that the SVGs are generated during rendering, but #include occurs during preprocessing).
Then, sorry for pushing that! :bow:


Fixed loading screen for React module

When a dashboard was being pulled into a React project via the  component, the browser showed a blank screen instead of a loading icon.
This PR ensures that the loading icon ( component) is displayed while waiting for the data to render.

@wpride I added a commit that removes the loading spinner from the CanvasInner component.


[DCOS-56081] Make script take configuration file.

This allows for the script to also standardize project specific sections. Right
now it only standardizes the order of the "service" section.
For example, I'm using it to standardize the order of the "elasticsearch"
section for the Elastic service. By providing a configuration file that looks
like the following:
dcos_commons.json:
{
  "standardize_config_json": {
    "sections": {
      "elasticsearch": {
        "head": [
          "custom_elasticsearch_yml",
          "health_user",
          "health_user_password",
          "plugins",
          "plugin_http_proxy_host",
          "plugin_http_proxy_port",
          "plugin_https_proxy_host",
          "plugin_https_proxy_port",
          "xpack_http_proxy_host",
          "xpack_http_proxy_port",
          "xpack_graph_enabled",
          "xpack_ml_enabled",
          "xpack_monitoring_collection_enabled",
          "xpack_monitoring_enabled",
          "xpack_security_audit_enabled",
          "xpack_security_enabled",
          "xpack_sql_enabled",
          "xpack_watcher_enabled"
        ],
        "tail": ["http_content_type_required", "xpack_enabled"]
      }
    }
  }
}

and calling the standardization script like:
./dcos-commons/tools/standardize_config_json.py frameworks/elastic/universe/config.json dcos_commons.json

the script will make sure that:

the first elements in the "elasticsearch" section are the ones in the "head" section
the last elements in the "elasticsearch" section are the ones in the "tail" section
the remaining elements (in the middle) will be sorted alphabetically

The "head" section is usually reserved for important settings, and the "tail"
section for deprecated settings.

Head:

Tail:

Thanks for the thoughtful feedback @elezar and @porridge. I think I've addressed everything. If not, please let me know.


The categories of point cloud are confused.

CARLA version: 0.9.15
Platform/OS: ubuntu 20.04
Problem you have experienced: The class table in the example codes(open3d_lidar.py) doesn't match the output of semantic lidar sensor.
What you expected to happen: I want to make clear the real label of the semantic lidar
This is the label in "open3d_lidar.py"
LABEL_COLORS = np.array([
   (255, 255, 255), # None
   (70, 70, 70),    # Building
   (100, 40, 40),   # Fences
   (55, 90, 80),    # Other
   (220, 20, 60),   # Pedestrian
   (153, 153, 153), # Pole
   (157, 234, 50),  # RoadLines
   (128, 64, 128),  # Road
   (244, 35, 232),  # Sidewalk
   (107, 142, 35),  # Vegetation
   (0, 0, 142),     # Vehicle
   (102, 102, 156), # Wall
   (220, 220, 0),   # TrafficSign
   (70, 130, 180),  # Sky
   (81, 0, 81),     # Ground
   (150, 100, 100), # Bridge
   (230, 150, 140), # RailTrack
   (180, 165, 180), # GuardRail
   (250, 170, 30),  # TrafficLight
   (110, 190, 160), # Static
   (170, 120, 50),  # Dynamic
   (45, 60, 150),   # Water
   (145, 170, 100), # Terrain
   (55, 90, 80), # Other
]) / 255.0 # normalize each channel [0-1] since is what Open3D uses

Any suggestion is appreciated, thanks~!

Amazing that I found the correct class table here:
https://carla.readthedocs.io/en/latest/ref_sensors/#semantic-segmentation-camera


Enhancement: SnoopDB only retain 10,000 or so records for live table (audit_event)

When SnoopDB is deployed to a cluster with Auditlogger, if the database is left for a day or so it will cause the node to run out of memory or storage due to the number of requests.
A trigger should be added to SnoopDB so that once the database returns so many records in the audit_event table, it clears it out.

I think we will want to do this as table partitions(postgres docs).  A triggered delete would be resource intensive and wouldn't necessarily free up the space on the machine(relevant SO discussion)
We could redesign the live.audit_event table to be partitioned, but would want to find the best column for our ranges.  Partitions are designed where you create the initial table, and then manually create the partitioned tables for each relevant range. I am not sure yet how we would want to do that for the audit events(e.g. based on time or entry id or some other factor), but would be good to research and discuss!

In the meantime, the best workaround is to turn off the auditlogger via kubectl when you are leaving for the weekend (if you are keeping snoopdb up).

Good solution, thank you @zachmandeville


Docs: repo initial setup

/kind documentation

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: darryk10, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [darryk10,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Return none when draining new orders and returning an empty vec

IMO drain_new_orders() should return None if it has an empty vector. It's not very intuitive to me that it can return Some with an empty vector, which lead to a bug when integrating with a new algorithm.
Here's the relevant code.

Disagree.

I don't like using None for empty vectors since it generates non uniform code and the empty vector is as valid as any other vector.
The semantic of the None here is very specific. It means that you received a remove so your groups are no longer valid (at the moment of the creation of this code we had no way to unmerge groups) and instead of trying to upgrade your groupings you should restart.


Added config documentation.

Refactored 'Getting Started' section of README.md

🆙

Coverage remained the same at 98.86% when pulling 227a1dd54a30f1723c0f2ac50806faa89a2a3db5 on doc/config into 78e52c8d607b169dfa9ca1b26e08f5b571f2d46e on master.

Coverage remained the same at 98.86% when pulling df56d50eb9e6de3bdb906264f425040fe74b2e91 on doc/config into 78e52c8d607b169dfa9ca1b26e08f5b571f2d46e on master.


[Removal]:

Hotspot Name
Eager Tartan Pangolin
Hotspot b58 Address
11NfNJCUKE5tepLt9G9jTXqpXwm4CkzL2jcWiQitGMiUZmQeToT
Discord Handle
No response
Hotspot Manufacturer
Sensecap
Removal Reason
Hello, it's a real deploy. Could you please remove it from denylist? Thank you in advance. Regards
Modifications
No
Extra forwarders
No
Extra antennas
Yes
Additional Information
I am using a 8 dBi antenna on the roof

We have taken into account this removal request in the next iteration of the denylist. It may take some time before it's processed. This is an automated comment due to the volume of addition and removal requests. A future tool is in the works to provide more insight into the analysis approach made by the Helium team and community members that maintain this list.


save_handler not work for PHP7.2, Session storage in database or cache.

https://github.com/littleant/cakephp-1.3.21/issues/5
first problem
Recoverable fatal error: ini_set() [function.ini-set]: Cannot set 'user' save handler by ini_set() or session_module_name() in /home/akiyan/ir/cake/libs/cake_session.php on line 512

after add version_compare, second problem.
Warning: session_start() [function.session-start]: Failed to read session data: user (path: /var/lib/php/sessions) in /home/akiyan/ir/cake/libs/cake_session.php on line 591

Warning: session_start() [function.session-start]: Failed to read session data: user (path: /var/lib/php/sessions) in /home/akiyan/ir/cake/libs/cake_session.php on line 595

Warning: session_start() [function.session-start]: Failed to read session data: user (path: /var/lib/php/sessions) in /home/akiyan/ir/cake/libs/cake_session.php on line 595

fixed return empty string in no session data.

oops, There were still problems.
Warning: session_write_close() [function.session-write-close]: Session callback expects true/false return value in /home/akiyan/example/cake/libs/model/connection_manager.php on line 292
Warning: session_write_close() [function.session-write-close]: Failed to write session data using user defined save handler. (session.save_path: /var/lib/php/sessions) in /home/akiyan/example/cake/libs/model/connection_manager.php on line 292

fixed CakeSession::__write

fixed CakeSession::renew to return boolean

fixed CakeSession::destory to return boolean.
fixed CakeSession::read return empty string at key doesn't exist.

Thank you, I have used your pull-request as a basis for my fixes.
The root-cause should now be fixed.


Dynamic Character System errors on Unity 5.5.0p3

Screen shot of the errors
https://gyazo.com/dfd6f36abc4f09e819cb154832098cfd
These are preventing me from compiling.

Okay i thought maybe I installed the wrong things.  Grabbed the latest UMA 2.1 from the unity53 branch.  Installed it.  Play function works the first time.  When i try to build i now get these two errors:
https://gyazo.com/641ed59d109d9bdf3a41eace304e77b6
After that, I can no longer play the scene either.  Both say that their are script errors that I need to fix.

Okay so i change the code from the above error to this
#if UNITY_EDITOR                     AssetDatabase.CreateAsset(asset, filePath); 					AssetDatabase.SaveAssets(); #endif
Now I get some more errors. I'm not sure if doing the above is the right thing to do though.  It did remove the error however.
New errors:
https://gyazo.com/8cd2807b5c66678410d8373d48f0922d

When i debugged the last errors i gave you I looked at the file, UMABonePose.cs
At line 89 i changed the code to the following.  Doing so removed my errors as well.
//#if UNITY_EDITOR 		/// <summary> 		/// Adds a transform into the pose. Editor only. 		/// </summary> 		/// <param name="bone">Transform.</param> 		/// <param name="position">Position.</param> 		/// <param name="rotation">Rotation.</param> 		/// <param name="scale">Scale.</param> 		public void AddBone(Transform bone, Vector3 position, Quaternion rotation, Vector3 scale) 		{ 			PoseBone pose = new PoseBone(); 			pose.bone = bone.name; 			pose.hash = UMAUtils.StringToHash(bone.name); 			pose.position = position - bone.localPosition; 			pose.rotation = Quaternion.Inverse(bone.localRotation) * rotation; 			pose.scale = new Vector3(scale.x / bone.localScale.x, 									scale.y / bone.localScale.y, 									scale.z / bone.localScale.z); #if UNITY_EDITOR             ArrayUtility.Add(ref poses, pose); #endif         } //#endif

//#if UNITY_EDITOR
///
/// Adds a transform into the pose. Editor only.
///
/// Transform.
/// Position.
/// Rotation.
/// Scale.
public void AddBone(Transform bone, Vector3 position, Quaternion rotation, Vector3 scale)
{
PoseBone pose = new PoseBone();
pose.bone = bone.name;
pose.hash = UMAUtils.StringToHash(bone.name);
pose.position = position - bone.localPosition;
pose.rotation = Quaternion.Inverse(bone.localRotation) * rotation;
pose.scale = new Vector3(scale.x / bone.localScale.x,
scale.y / bone.localScale.y,
scale.z / bone.localScale.z);
#if UNITY_EDITOR
ArrayUtility.Add(ref poses, pose);
#endif
}
//#endif

uhhhg.  Okay while doing what I did made the program buildable, i still got the same error in the console.
So for now i've commented out all the #if UNITY_EDITOR and #endif statements.
I will report back on what happens after that.

Please pull the latest code. I've fixed the issue in the save function, and was able to successfully build an executable.


Fix/hovering effect on nav bar items , social links items and email box .

fixes #643

i have added hovering effect on the nav bar items and social icons in night mode .

BEFORE :
https://github.com/mdazfar2/HelpOps-Hub/assets/159682348/36daa72f-649a-476d-a03f-9a0fc2ba33ff
AFTER :
https://github.com/mdazfar2/HelpOps-Hub/assets/159682348/dabe6a42-2778-457e-ba3b-6069cde71256

<EMAIL_ADDRESS>was not visible in dark mode

BEFORE :

AFTER :

@mdazfar2 please review my pr and merge my pull request under gssoc label


HDDS-5546.OM Service ID change causes OM startup failure.

What changes were proposed in this pull request?
Provide clear exception message when there is a change in OM Service ID.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-5546
How was this patch tested?
Existing tests

Thank You @jojochuang for the review
I have verified the fix it is working as expected with change to ozone om service id.
2021-08-10 06:37:00,760 ERROR org.apache.hadoop.ozone.om.OzoneManagerStarter: OM start failed with exception
java.io.IOException: Ratis group Dir on disk d39ebeec-41e8-35f1-a92b-9f198c4c3682 does not match with RaftGroupIDa870c7c2-351a-3867-aca7-b9a5b4809b76 generated from service id ozone2. Looks like there is a change to ozone.om.service.ids value after the cluster is setup. Currently change to this value is not supported.
	at org.apache.hadoop.ozone.om.OzoneManager.<init>(OzoneManager.java:504)
	at org.apache.hadoop.ozone.om.OzoneManager.createOm(OzoneManager.java:934)
	at org.apache.hadoop.ozone.om.OzoneManagerStarter$OMStarterHelper.start(OzoneManagerStarter.java:125)
	at org.apache.hadoop.ozone.om.OzoneManagerStarter.startOm(OzoneManagerStarter.java:79)
	at org.apache.hadoop.ozone.om.OzoneManagerStarter.call(OzoneManagerStarter.java:67)
	at org.apache.hadoop.ozone.om.OzoneManagerStarter.call(OzoneManagerStarter.java:38)
	at picocli.CommandLine.executeUserObject(CommandLine.java:1933)
	at picocli.CommandLine.access$1100(CommandLine.java:145)
	at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2332)
	at picocli.CommandLine$RunLast.handle(CommandLine.java:2326)
	at picocli.CommandLine$RunLast.handle(CommandLine.java:2291)
	at picocli.CommandLine$AbstractParseResultHandler.handleParseResult(CommandLine.java:2152)
	at picocli.CommandLine.parseWithHandlers(CommandLine.java:2530)
	at picocli.CommandLine.parseWithHandler(CommandLine.java:2465)
	at org.apache.hadoop.hdds.cli.GenericCli.execute(GenericCli.java:96)
	at org.apache.hadoop.hdds.cli.GenericCli.run(GenericCli.java:87)
	at org.apache.hadoop.ozone.om.OzoneManagerStarter.main(OzoneManagerStarter.java:51)


Simplify setup by using .env

It wasn`t clear initially which env variables need to be set up. Created a .env file with default values and updated the code to use it.

I'm not sure if we want to support both local and docker setup for this. It's currently set up for docker-compose up. Do you see a reason for it?


Decode JWT without a key in TS

I have token authentication in my Expo app. I need only a simple token decode without a key.
How can I do that in typescript?

Yes, the token has no key.
Thank you this solution is working.
Although the TS compiler or linter doesn't like the null key. Also the algorithm option does not exist in TS declaration.

Good point, this wasn't an expected use case but it should be. Could you please use a // @ts-ignore for now please and I will update the types and release a version for you.

I've just released 1.7.0 for you that should address this. I've made this test file and it's compiling for me. Perhaps you can confirm after trying out the update please?
Note: You should also import SupportedAlgorithms and use the enum value NONE for the algorithm options too.
import JWT from './lib/index';
import { SupportedAlgorithms } from './types/algorithms';

const token = 'my.token.';
const key = null;

JWT.decode(token, key, { algorithm: SupportedAlgorithms.NONE });

Thank you for the help.
Template literals could be worked well in TS.
const SupportedAlgorithms = {
  NONE: 'none',
  OTHER: 'OTHER',
} as const;
type Algorithms= typeof SupportedAlgorithms [keyof typeof SupportedAlgorithms ];

I tried that something like that but I think it's better not to mix up strings with enums if possible. If people report it's painful we can drop the enum entirely and make a union string... would importing SupportedAlgorithms be ok for now though?

Of course its good as well.

Ok, thanks for reporting this! I'll close the issue for now. If you have any more issues in the future just ask away :)


add import for sqlalchemy function

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

compass/clients/person_client.py
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1839

Relevant Lines:
2988

💛  - Coveralls


WiredSlicer documentation mention knobradius attribute that does not work

I was trying to modify the radius of the knob on a slider and nothing happend.
As mentioned in the doc I used all attributes:

But whatever the value I give to knobradius, no visible changes in my app.
I looked at the code, and there seems to be no such attribute.

docs fixed


[WIP] refactor: add docker/pkg/plugingetter as govendor dependency

Ⅰ. Describe what this PR did
add docker/pkg/plugingetter as govendor dependency
using the same version as other docker packages (53a58da551e961b3710bbbdfabbc162c3f5f30f6)
Ⅱ. Does this pull request fix one issue?

NONE
Ⅲ. Describe how you did it
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #1436 into master will decrease coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1436      +/-   ##
==========================================
- Coverage   38.72%   38.66%   -0.06%
==========================================
  Files         254      254
  Lines       16724    16724
==========================================
- Hits         6477     6467      -10
- Misses       9421     9429       +8
- Partials      826      828       +2

Impacted Files
Coverage Δ

ctrd/image.go
76.57% <0%> (-2.86%)
:arrow_down:

daemon/containerio/container_io.go
59.74% <0%> (-1.3%)
:arrow_down:

ctrd/container.go
47.28% <0%> (-0.78%)
:arrow_down:

daemon/mgr/network.go
68.3% <0%> (-0.5%)
:arrow_down:

daemon/mgr/container.go
49.61% <0%> (-0.09%)
:arrow_down:

daemon/logger/jsonfile/utils.go
71.66% <0%> (+1.66%)
:arrow_up:

Closed in favor of #1445


NIFI-10549: Remove group name wildcard from assembly for nifi-ranger-resources

Summary
NIFI-10549
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[x] Apache NiFi Jira issue created

Pull Request Tracking

[x] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[x] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[x] Pull Request based on current revision of the main branch
[x] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[ ] Build completed using mvn clean install -P contrib-check

[ ] JDK 8
[x] JDK 11
[ ] JDK 17

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

LGTM

Looks good, will merge


Refactor directory structure

Description
Resolves #368
Whew! That was a slog. BUT tests are passing! There's about a million more things that could be done, but for now, all non-vispy Qt stuff is in _qt except for the main Viewer (ie QtViewer + Window) class, and the view function, and the qtgui ;) context manager. The last of these I'll leave for immediately after this PR, as it's big enough already. The other two... Well, I can move them to _qt, but they feel integral enough to napari that right now I kinda like them there. It's the "default view", if you will. Happy to change this though, if people feel strongly about it.
I imagine that reviewing this using the GitHub view will be a nightmare, and the best way would be to follow the link to my branch and navigate the directory structure there.
Type of change

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

References

How has this been tested?

[x] example: the test suite for my feature covers cases x, y, and z
[x] example: all tests pass with my change

Final checklist:

[ ] My PR is the minimum possible work for the desired functionality
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works

@sofroniewn thanks for the review! Much smaller to-do list than I expected. =D
The difference between image_qt and qt_dims is that the _qt ones are layers. But I agree, how were you supposed to know that? :joy: I'll just normalise the name and we can decide later whether we want to stuff the layers into a layers folder.

btw I feel like we had this conversation already, but I don't remember why we ended with this... why is it layerslist instead of layerlist? I feel like generally it's "item-container" not "items-container", e.g. apple cart, matchbox, file cabinet... So I wouldn't mind renaming layerslist to layerlist if you and others agree.

Renaming to layerlist is fine, go ahead and include in this PR

ahhhh. It's so nice now. =) =) =)


Failed/timeout requests don't provoke an error in the frontend and it remains waiting

In the last two days I've found two similar scenarios:
A. available_geometries request
In order to reproduce:

Create a table from this dataset (yes, I know the data is pretty ugly, it returns a 400 error :-))
Try to geocode by postal code, setting up postal_code and country columns in the selectors
When you click next, the request for obtaining the available geometries is sent. It fails, but the frontend doesn't notice and keeps waiting forever

B. check_url WMS request
In order to reproduce:

In any visualization, open the custom basemap selector
In the WMS option write: http://wms.jpl.nasa.gov/wms.cgi
The check_url request times out but the frontend doesn't notice

cc @CartoDB/frontend

Good catch @iriberri !

@viddo do you think it could be a problem with WMS proxy?

Have not had time to investigate.
First, according to the steps above the WMS proxy times out which we would have to investigate why. Secondly, the timeout should be handled anyway which doesn't seem to be the case.
Should I drop working on groups for now to look into these?

no no

There has been no activity on this issue for more several months. We are closing it. If you think this still needs to be addressed please open a new issue.


fix: change class to staticClass

I have an error in my project. Since you are using require in your computed property icon. My custom icon classes are not applied during initial rendering. It's causing that styles that contain that classes are not applied. To reproduce an error just set Low-end mobile speed on Chrome. I suggest you to use staticClass instead, so user custom classes are always applied.

If you merge this PR, it would be great if you can upload a new patch release on npm.
P.S. I have and idea to convert this component to functional component, so there are performance boost. What do you think about it? Can I start implementing it?

I've mistakenly put class inside attr, It should be placed outside of attr
Please move check it and make changes, I will publish package ASAP

P.S. I have and idea to convert this component to functional component, so there are performance boost. What do you think about it? Can I start implementing it?

Sure, it would be great

Released in v0.3.1


Use GitHub Actions for CI.

Use GitHub Actions for CI.

@akariv I have no idea why coveralls check hangs. I resented the coveralls settings with GitHub. I'm wondering if coveralls is broken somehow as last run was Sept 2020 but there has been activity in the repo since then.
https://coveralls.io/github/frictionlessdata/tableschema-sql-py
Can you take a quick look?

I just removed coveralls from ts-es as well. We have codecov here which seems to be a good replacement (?)


lost connection to my satellites 1.7.10

Version of Advanced Rocketry
Have you verified this is an issue in the latest unstable build
AdvancedRocketry-1.7.10-1.4.0-16
Version of LibVulpes
LibVulpes-1.7.10-0.2.8-33-universal
Version of Minecraft
1.7.10
Description of the problem
Hello After upgrade from advanced rocketry 1.2 to 1.4 my satellites terminals displays "no link". and the connect button doesn't change anything ... satellite chip is inserted, and all worked fine before the upgrade.

Is this still a issue? Please comment if it is and i will reopen if if you are unable? We are closing old issues to see what is still relevant and needs to be fixed.


all of my work has vanished

Hi I have been using bolt to develop a new app and approximately 7M tokens in, i tried to log in today and all of my work is gone.

I can still see my work on Stackblitz, but not sure why it has been removed from Bolt.new

Ok I solved it.  I went to stackblitz logged in through github credentials and then found my work there.  from the project there, i could send it back to bolt.new.


Running the script multiple times should overwrite the master ip address

Consider moving the ip address from /etc/hosts directly into /etc/salt/master


Added extra options for Version B Metric Payload conversion

Bytes, DataSet, and Template options added for Version B DataType Metric payload conversion

Nice catch. No idea why I didn't find this before.

@all-contributors please add @Patrick2607 for code, test


Specfile packaging for pre_add_filesystem

Coverage remained the same at 87.226% when pulling e69d457fcb5973216a6f3ff67ffb944b1eb5c4d9 on add-filesystem-packaging into ee1bae5e89208102a2c7dcf3b65a9a0a8d2fe801 on master.

LGTM

Coverage remained the same at 87.226% when pulling 59599359b8eda3cb05e12ee96e062686ab4e7dca on add-filesystem-packaging into ee1bae5e89208102a2c7dcf3b65a9a0a8d2fe801 on master.

LGTM!


pid differs from PID of the traced process?

This is probably my own misunderstanding. Please enlighten me!
bpftrace --info
System
  OS: Linux 4.19.121-microsoft-standard #1 SMP Fri Jun 19 21:06:10 UTC 2020
  Arch: x86_64

Build
  version: v0.11.0
  LLVM: 7
  foreach_sym: yes
  unsafe uprobe: no
  bfd: yes
  bpf_attach_kfunc: yes
  bcc_usdt_addsem: yes
  libbpf: yes
  libbpf btf dump: no
  libbpf btf dump type decl: no

Kernel helpers
  probe_read: yes
  probe_read_str: yes
  probe_read_user: yes
  probe_read_user_str: yes
  probe_read_kernel: yes
  probe_read_kernel_str: yes
  get_current_cgroup_id: yes
  send_signal: yes
  override_return: yes

Kernel features
  Instruction limit: -1
  Loop support: no
  btf: no

Map types
  hash: yes
  percpu hash: yes
  array: yes
  percpu array: yes
  stack_trace: yes
  perf_event_array: yes

Probe types
  kprobe: no
  tracepoint: yes
  perf_event: yes
  kfunc: no

What reproduces the bug?
In terminal A:
$ bpftrace --include fcntl.h -e 'tracepoint:syscalls:sys_enter_openat,tracepoint:syscalls:sys_enter_open /(args->flags & (O_APPEND | O_CREAT)) && (strncmp("/tmp", str(args->filename), 4) == 0)/ { printf("%s: opened by %s (%d)\n", str(args->filename), comm, pid) }'
Attaching 2 probes...

In terminal B:
$ cat blurp.sh
#!/bin/sh
echo "I am blurp ($$)"
echo "blurp" > /tmp/blurp$$.tmp

$ ./blurp.sh
I am blurp (6708)
$ ./blurp.sh
I am blurp (6856)

Back in terminal A:
/tmp/blurp6708.tmp: opened by blurp.sh (17675)
/tmp/blurp6856.tmp: opened by blurp.sh (17829)

What I expected:
For the value of pid to reflect the PID of the triggering process.
What I got:
Value of pid changes with each hit, but it doesn't seem related to the PID of the process that triggered the probe. Nor does it seem to be in the numeric vicinity of recent PIDs.

Can you try writing a C/C++ program that makes the appropriate syscalls? sh could be doing all sorts of funny things under the hood, especially for output redirection.

The shell process writes its own PID into the filename:
/tmp/blurp6708.tmp: opened by blurp.sh (17675)

@jessitron has a theory: Bash sees its Docker container-internal PID, whereas bpftrace reports the global PID.

@danobi I should note that the PID that Bash sees (via $$) is the same as the PID that ps reports for it.

Whoah, I think I pasted the completely wrong bpftrace command in originally. My bad. Will fix.

In a vagrant box it seems to work fine:
vagrant@ubuntu-eoan:~/bpftrace$ echo $$; echo $$ > /tmp/blurp
32514

$ sudo  bpftrace  -e 'tracepoint:syscalls:sys_enter_openat,tracepoint:syscalls:sys_enter_open /args->flags & (0|1|2) &&  (strncmp("/tmp", str(args->filename), 4) == 0)/ { printf("%s: opened by %s (%d)\n", str(args->filename), comm, pid) }'
/tmp/blurp: opened by bash (32514)
^C

What os is this?
OS: Linux 4.19.121-microsoft-standard #1 SMP Fri Jun 19 21:06:10 UTC 2020

@jessitron has a theory: Bash sees its Docker container-internal PID, whereas bpftrace reports the global PID.

bpf_get_current_pid_tgid return the root namespace pid:
vagrant@ubuntu-eoan:~/bpftrace$ sudo unshare --pid -f
root@ubuntu-eoan:/home/vagrant/bpftrace# echo $$; echo $$ > /tmp/xxx
1

/tmp/xxx: opened by bash (31926)

@danobi I should note that the PID that Bash sees (via $$) is the same as the PID that ps reports for it.

Are you running ps inside or outside the container?

What os is this?

Docker with WSL2 as a backend. Debian Buster inside the container.

Are you running ps inside or outside the container?

Inside.

I've tried switching Docker Desktop back to the legacy backend and I'm seeing the same behavior.

I've tried switching Docker Desktop back to the legacy backend and I'm seeing the same behavior.

Legacy?

Are you running ps inside or outside the container?

Inside.

What is the pid outside of the container?

I've tried switching Docker Desktop back to the legacy backend and I'm seeing the same behavior.

Legacy?

Docker Desktop is migrating to WSL2 as its backend, but it can still be run with the previous Docker-provided kernel.

What is the pid outside of the container?

TBH I'm not entirely sure how to find that out with docker desktop.

Not sure if you can access the vm, but if you have full docker access you can probably escape the container :)
I think this is not a bug but just the pid in the root namespace as it doesn't reproduce in a vagrant vm but we need  the pid to verify.

@jessitron has a theory: Bash sees its Docker container-internal PID, whereas bpftrace reports the global PID.

@jessitron and @fbs are right! This is the expected behaviour, but let's double check in case there's a bug!
I don't have docker installed, but this can be checked with something like:
[javierhonduco@taco ~] sudo unshare -pf
[root@taco ~] echo $$
1

and in some namespace above the one we just created:
[javierhonduco@taco ~] ps aux | grep '[u]nshare'
root      226558  0.0  0.0 241152  8048 pts/82   S    07:45   0:00 sudo unshare -pf
[javierhonduco@taco ~] pstree -p 226558
sudo(226558)───unshare(226559)───bash(226560)
[javierhonduco@taco ~] sudo cat /proc/226560/status | grep NSpid
NSpid:  226560  1

As we can see from the root namepace, that in this case it's its parent namespace, it has PID 226560 from the root namespace and 1 from inside the PID namespace we just created.
Hope this helps!

Oh, and @cneira's kernel patch to add a namespace aware pid helper will address this issue

Hi @javierhonduco,
That's right!, you could start using bpf_get_ns_current_pid_tgid() instead of bpf_get_current_pid_tgid(), if your kernel is >= 5.6.
Here is an example, on how this ebpf helper is used:
https://github.com/iovisor/bcc/blob/master/examples/tracing/hello_perf_output_using_ns.py
Bests!

 Something like nspid and nstid should work I think

Closing this as it's not a bug and we got a feature request open for namespace tracing.


Baas v1

Codecov Report

Merging #73 into master will decrease coverage by 4.55%.
The diff coverage is 70%.

@@            Coverage Diff             @@
##           master      #73      +/-   ##
==========================================
- Coverage   83.17%   78.62%   -4.56%
==========================================
  Files          93      117      +24
  Lines        1860     2292     +432
  Branches      105      126      +21
==========================================
+ Hits         1547     1802     +255
- Misses        313      490     +177

Impacted Files
Coverage Δ

...ala/com/ing/baker/recipe/scaladsl/Ingredient.scala
0% <ø> (-90%)
:arrow_down:

...uage/src/main/scala/com/ing/baker/il/package.scala
55.88% <ø> (-29.42%)
:arrow_down:

...main/scala/com/ing/baker/il/petrinet/package.scala
66.66% <ø> (ø)
:arrow_up:

...in/scala/com/ing/baker/recipe/common/package.scala
100% <ø> (ø)
:arrow_up:

...a/com/ing/baker/petrinet/runtime/JobExecutor.scala
94.11% <ø> (ø)
:arrow_up:

...ecipe/commonserialize/EventOutputTransformer.scala
0% <0%> (ø)

...r/runtime/event_extractors/MapEventExtractor.scala
12.5% <0%> (-70.84%)
:arrow_down:

...g/baker/recipe/javadsl/InteractionDescriptor.scala
56.6% <0%> (+1.04%)
:arrow_up:

...cala/com/ing/baker/baas/http/BaasMarshalling.scala
100% <100%> (ø)

.../main/scala/com/ing/baker/il/petrinet/PTEdge.scala
100% <100%> (ø)

... and 72 more

Continue to review full report at Codecov.

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


Update README.md

What does this PR do?
Do you have any concerns with this PR?
How can the reviewer verify this PR?
Any background context you want to provide?
Screenshots or logs (if appropriate)
Questions:

Have you connected this PR to the issue it resolves?
Does the documentation need an update?
Does this add new Python dependencies?
Have you added unit or functional tests for this PR?
Does this patch update any configuration files?

Run Tests

Are you running this?

Run Tests

Run Tests

Run Tests

Run Tests

This was just a test and will not be merged.


update version to 0.5.2-dev

removed broken badge in readme.rst
update travis to test both linux and Mac

Please complete the following checklist:

[x] I have read the guidelines in CONTRIBUTING.md.

[x] I have documented all public-facing changes in CHANGELOG.md.

[ ] This pull request includes code, documentation, or other content derived from external source(s). If this is the case, ensure the external source's license is compatible with scikit-bio's license. Include the license in the licenses directory and add a comment in the code giving proper attribution. Ensure any other requirements set forth by the license and/or author are satisfied. It is your responsibility to disclose code, documentation, or other content derived from external source(s). If you have questions about whether something can be included in the project or how to give proper attribution, include those questions in your pull request and a reviewer will assist you.

[x] This pull request does not include code, documentation, or other content derived from external source(s).

Note: REVIEWING.md may also be helpful to see some of the things code reviewers will be verifying when reviewing your pull request.

@ebolyen , are you able to review and merge? this is a quick and short PR.


Change kernel of case-gini notebook from gds to Python 3

All the other notebooks don't use gds as kernel name (and also if you install the notebook in your environment for the tutorial, this should be Python 3)

Hmm, but the notebook is not included in the environment file we provide. Should we?

The notebook should use the scipygeo18 env. I think thats the name in the
environment.yml
On Mon, Jul 9, 2018, 09:07 Joris Van den Bossche<EMAIL_ADDRESS>wrote:

Hmm, but the notebook is not included in the environment file we provide.
Should we?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/geopandas/scipy2018-geospatial-data/pull/12#issuecomment-403532338,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACJY8-Lb_skdKvHmk67UecKn93wZeaXjks5uE3_EgaJpZM4VH-6o
.

--
Levi John Wolf
Lecturer in Quantitative Human Geography | University of Bristol
Fellow | Center for Spatial Data Science, University of Chicago
Associate Member | Center for Multilevel Modeling, University of Bristol
Interim Director | Q-Step Program, University of Bristol
ljwolf.org

The notebook should use the scipygeo18 env

None of the other is using that name, they all simply use 'python3' (which is IMO easiest). This only means you need to start the notebook in the environment that you want to use (anyhow, we also don't have instructions how to register the newly environment as a kernel)

Ok, that's fine too
On Mon, Jul 9, 2018, 09:39 Joris Van den Bossche<EMAIL_ADDRESS>wrote:

The notebook should use the scipygeo18 env
None of the other is using that name, they all simply use 'python3' (which
is IMO easiest). This only means you need to start the notebook in the
environment that you want to use (anyhow, we also don't have instructions
how to register the newly environment as a kernel)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/geopandas/scipy2018-geospatial-data/pull/12#issuecomment-403541970,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACJY8wo9ydplL_zW7bB0dxiZdDOLPXiuks5uE4cugaJpZM4VH-6o
.

--
Levi John Wolf
Lecturer in Quantitative Human Geography | University of Bristol
Fellow | Center for Spatial Data Science, University of Chicago
Associate Member | Center for Multilevel Modeling, University of Bristol
Interim Director | Q-Step Program, University of Bristol
ljwolf.org


Installation with pm2 not possible

Hej, I tried to install it using your instructions, but pm2 gives me this error:

error: unknown option '--next-gen-js'

Without the option, the run fails.
I tried to run it with forever index.js, but then it says:

Syntax Error: Unexpected token import

Hi! Looks like --next-gen-js flag has been removed in recent versions of PM2. I'm running it with v0.14.7, so you probably need to use the same version.
Feel free to rewrite the code from ES6 into ES5 and submit a PR. Because --next-gen-js flag was used to run ES6 code with Babel, but it seems like they removed it.
I'm going to close the issue. Thanks for reporting!


Starting selenoid video recording from python not working

I added the environment variable and the argument and the mountpoint to the selenoid docker container.
From within my python test code I'm invoking on the options object:
options.set_capability('enableVideo', True)

It seems that it does something to that regard:
docker logs selenoid -f
2024/01/12 12:25:00 [-] [INIT] [Loading configuration files...]
2024/01/12 12:25:00 [-] [INIT] [Loaded configuration from /etc/selenoid/browsers.json]
2024/01/12 12:25:00 [-] [INIT] [Video Dir: /opt/selenoid/video]
2024/01/12 12:25:00 [-] [INIT] [Your Docker API version is 1.43]
2024/01/12 12:25:00 [-] [INIT] [Timezone: UTC]
2024/01/12 12:25:00 [-] [INIT] [Listening on :4444]
2024/01/12 12:25:07 [-] [NEW_REQUEST] [unknown] [<IP_ADDRESS>]
2024/01/12 12:25:07 [-] [NEW_REQUEST_ACCEPTED] [unknown] [<IP_ADDRESS>]
2024/01/12 12:25:07 [0] [LOCATING_SERVICE] [chrome] []
2024/01/12 12:25:07 [-] [DEFAULT_VERSION] [Using default version: latest]
2024/01/12 12:25:07 [0] [USING_DOCKER] [chrome] [latest]
2024/01/12 12:25:07 [0] [CREATING_CONTAINER] [selenoid/chrome]
2024/01/12 12:25:07 [0] [STARTING_CONTAINER] [selenoid/chrome] [3bea10e4cb693203b3538050bb4c4b13ab03d7d4115ac990ff8b8f5a5c9f3561]
2024/01/12 12:25:07 [0] [CONTAINER_STARTED] [selenoid/chrome] [3bea10e4cb693203b3538050bb4c4b13ab03d7d4115ac990ff8b8f5a5c9f3561] [0.24s]
2024/01/12 12:25:07 [0] [CREATING_VIDEO_CONTAINER] [selenoid/video-recorder:latest-release]
2024/01/12 12:25:07 [0] [STARTING_VIDEO_CONTAINER] [selenoid/video-recorder:latest-release] [a76052de820407b940276b71ca874f1e960630b01ac5d2525333ef8071c107b8]
2024/01/12 12:25:07 [0] [VIDEO_CONTAINER_STARTED] [selenoid/video-recorder:latest-release] [a76052de820407b940276b71ca874f1e960630b01ac5d2525333ef8071c107b8] [0.30s]
2024/01/12 12:25:08 [0] [SERVICE_STARTED] [selenoid/chrome] [3bea10e4cb693203b3538050bb4c4b13ab03d7d4115ac990ff8b8f5a5c9f3561] [0.10s]
2024/01/12 12:25:08 [0] [PROXY_TO] [3bea10e4cb693203b3538050bb4c4b13ab03d7d4115ac990ff8b8f5a5c9f3561] [http://<IP_ADDRESS>:4444]
2024/01/12 12:25:08 [0] [SESSION_ATTEMPTED] [http://<IP_ADDRESS>:4444] [1]
2024/01/12 12:25:08 [0] [SESSION_FAILED] [http://<IP_ADDRESS>:4444] [400 Bad Request]
2024/01/12 12:25:08 [0] [STOPPING_VIDEO_CONTAINER] [a76052de820407b940276b71ca874f1e960630b01ac5d2525333ef8071c107b8]
2024/01/12 12:25:10 [0] [REMOVING_CONTAINER] [a76052de820407b940276b71ca874f1e960630b01ac5d2525333ef8071c107b8]
2024/01/12 12:25:10 [0] [FAILED_TO_REMOVE_CONTAINER] [a76052de820407b940276b71ca874f1e960630b01ac5d2525333ef8071c107b8] [Error response from daemon: removal of container a76052de820407b940276b71ca874f1e960630b01ac5d2525333ef8071c107b8 is already in progress]
2024/01/12 12:25:10 [0] [REMOVING_CONTAINER] [3bea10e4cb693203b3538050bb4c4b13ab03d7d4115ac990ff8b8f5a5c9f3561]
2024/01/12 12:25:10 [0] [CONTAINER_REMOVED] [3bea10e4cb693203b3538050bb4c4b13ab03d7d4115ac990ff8b8f5a5c9f3561]
2024/01/12 12:25:13 [-] [SHUTTING_DOWN] [5m0s]

however from then in the python code it ejects:
exiting load monitoring thread
Traceback (most recent call last):
  File "/home/release-test-automation/release_tester/full_download_test.py", line 157, in <module>
    sys.exit(main())
  File "/usr/local/pyenv/versions/3.10.10/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/pyenv/versions/3.10.10/lib/python3.10/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/usr/local/pyenv/versions/3.10.10/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/pyenv/versions/3.10.10/lib/python3.10/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/home/release-test-automation/release_tester/full_download_test.py", line 143, in main
    return package_test(
  File "/home/release-test-automation/release_tester/full_download_test.py", line 87, in package_test
    results.append(test_driver.run_test("all", "all", [dl_new.cfg.version], props))
  File "/home/release-test-automation/release_tester/test_driver.py", line 421, in run_test
    runner = make_runner(
  File "/usr/local/pyenv/versions/3.10.10/lib/python3.10/site-packages/allure_commons/_allure.py", line 172, in impl
    return func(*a, **kw)
  File "/home/release-test-automation/release_tester/arangodb/starter/deployments/__init__.py", line 122, in make_runner
    return Cluster(*args)
  File "/home/release-test-automation/release_tester/arangodb/starter/deployments/cluster.py", line 39, in __init__
    super().__init__(
  File "/home/release-test-automation/release_tester/arangodb/starter/deployments/runner.py", line 216, in __init__
    self.selenium = init_selenium(
  File "/home/release-test-automation/release_tester/arangodb/starter/deployments/selenium_deployments/__init__.py", line 67, in init
    driver = driver_func(**kwargs)
  File "/usr/local/pyenv/versions/3.10.10/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 209, in __init__
    self.start_session(capabilities)
  File "/usr/local/pyenv/versions/3.10.10/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 293, in start_session
    response = self.execute(Command.NEW_SESSION, caps)["value"]
  File "/usr/local/pyenv/versions/3.10.10/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 348, in execute
    self.error_handler.check_response(response)
  File "/usr/local/pyenv/versions/3.10.10/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 229, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.InvalidArgumentException: Message: invalid argument: unrecognized capability: enableVideo
Stacktrace:
#0 0x55c1e50c7f83 <unknown>
#1 0x55c1e4d80cf7 <unknown>
#2 0x55c1e4da8e26 <unknown>
#3 0x55c1e4e03a64 <unknown>
#4 0x55c1e4e0339c <unknown>
#5 0x55c1e4e04f1c <unknown>
#6 0x55c1e4df9e53 <unknown>
#7 0x55c1e4dc1dd4 <unknown>
#8 0x55c1e4dc31de <unknown>
#9 0x55c1e508c531 <unknown>
#10 0x55c1e5090455 <unknown>
#11 0x55c1e5078f55 <unknown>
#12 0x55c1e50910ef <unknown>
#13 0x55c1e505c99f <unknown>
#14 0x55c1e50b5008 <unknown>
#15 0x55c1e50b51d7 <unknown>
#16 0x55c1e50c7124 <unknown>
#17 0x7f8f4af02ac3 <unknown>

any ideas what I'm not doing right here?

Ok, it seems the example generated is wrong.

options.set_capability('selenoid:options.enableVideo', True)

seems to be the way to go instead?

Ok, the magic spell to make it work seems to be nowadays:
options = webdriver.chrome.options.Options()
options.set_capability('selenoid:options', { 'enableVideo', True})

driver = webdriver.Remote(
    command_executor="http://<IP_ADDRESS>:4444/wd/hub",
    options=options)

Please adjust the example generating code and maybe add it somewhere better in the documentation.

We have plans to update UI code snippets.


Adding new tokens causes performance and memory issues

Bug description:

Adding new tokens to the tokenizer and corresponding embeddings causes the embeddings to be finetuned (requires_grad = True after resize_token_embeddings() is called).
The embeddings are updated incurring in higher memory footprint than reported in our paper
The embeddings are not saved with the checkpoints and the reloaded checkpoint will have reduced performance

Note that this bug does not affect the results mentioned in the paper. In our research code, we were explicitly freezing the embeddings after initializing the model. A temporary fix involves the same solution of freezing the embeddings. This fix is not satisfactory for use cases where new tokens need to be added and corresponding representations tuned.
A more general fix would be adding LoRA layers to the embeddings or allowing only the new embeddings to be trained. The LoRA layer for embeddings might not work as well on the output projection layer (mapping back to the vocabulary before softmax).

Very good patch !

@artidoro is there a plan to implement fine tuning on new tokens in the vocabulary?
Thanks for the great repo!

Can you explain why "The LoRA layer for embeddings might not work as well on the output projection layer"? The problem I recently encountered may be related to this. Thanks a lot.

Need this feature +1


Best practice advice for multiple domains

Hi,
we are a SaaS Company and send emails on behalf of your clients.
We will not manage that every one adds SPF or DKIM.
What is best practice that the mail are not recognised as SPAM ?
THX and best wishes
Niels

It would be to add SPF and DKIM.
Messages will be signed using DKIM and if you don't have that, you'll find they nearly always will be marked as spam.

The best way to achieve this will be to set their address as the From address and use your own as the Sender. This will then sign the message using the DKIM from your own domain rather than requiring it on the actual from domain.
You would need to enable this from the Admin page of the server though.


Azure pipeline IOS build displaying error device_info_plus does not support provisioning profiles. device_info_plus does not support provisioning profiles

System info
Issue occurs on: iOS
Plugin name: device_info_plus
Plugin version: 2.1.0
Flutter doctor output:
Azure pipeline IOS build displaying error device_info_plus does not support provisioning profiles. device_info_plus does not support provisioning profiles, but provisioning profile [profile_name] has been manually specified.
All other dependencies working fine but this one causing issue, I tried different method to resolve this but no luck.

Steps to Reproduce

...
...
...

Logs

I suspect this is related to this device info package, how you tell us how to reproduce the error?


can't download subtitle with youtubedl

I can't download subtitle with youtubedl.. This is the command I used:
youtube-dl --write-sub --sub-lang en  https://www.youtube.com/watch?v=8TkdrjFJNS4
When I ran the command this is what it said:
unable to download video subtitles: 8TkdrjFJNS4: Failed to parse XML  (caused by ParseError(ExpatError('no element found: line 1, column 0',),)); please report this issue on https://yt-dl.org/bug .
Please help

What seems to be the problem from my end? :(

what version is your youtube-dl? Perhaps update to the latest?

when I tried to update this comes up:
youtube-dl -U
ERROR: can't find the current version. Please try again later.

[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'--write-sub', u'--sub-lang', u'en', u'https://www.youtube.com/watch?v=XIY0bpApJyI']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 2.7.10 (CPython) - Darwin-17.7.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg N-101053-g0a7c648e2d-tessus, ffprobe N-101053-g0a7c648e2d-tessus
[debug] Proxy map: {}

Use the nightly build (#30839).
Then s/t like this:
$ python -m youtube_dl -v --write-sub --sub-lang en --skip-download 'https://www.youtube.com/watch?v=XIY0bpApJyI'
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'--write-sub', u'--sub-lang', u'en', u'--skip-download', u'https://www.youtube.com/watch?v=XIY0bpApJyI']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Git HEAD: 5e51cb0aa
[debug] Python 2.7.15 (CPython i686 32bit) - Linux-6.1.0-17-686-pae-i686-with-debian-12.4 - OpenSSL 1.1.1a  20 Nov 2018 - glibc 2.1.3
[debug] exe versions: ffmpeg 5.1.4-0, ffprobe 5.1.4-0
[debug] Proxy map: {}
[youtube] XIY0bpApJyI: Downloading webpage
[debug] [youtube] Decrypted nsig s0cG1p3MxS9asi-Kt-i => 45wlvnM0FaIPzQ
[debug] [youtube] Decrypted nsig e1ctcNYVlf93mTJX9EU => ASWRB3Mm3BsDAQ
[debug] Default format spec: bestvideo+bestaudio/best
[info] Writing video subtitles to: The cast spill their real feelings about the show _ Nineteen to Twenty Reunion Special [ENG]-XIY0bpApJyI.en.vtt
$


allow config options to be passed to context

Which issue does this PR close?

N/A
Rationale for this change

I want to be able to configure the context.
What changes are included in this PR?

SessionContext::new() has a new argument for config options dict / hash map
Are there any user-facing changes?

@francis-du @isidentical fyi


plugin: fix bug in the plugin log rpc call

This fixes a mistake and makes a notification for the log
Signed-off-by: Vincenzo Palazzo<EMAIL_ADDRESS>

And also @swaptr thanks to fix my bug with the log level


Add support to GET/SET current Network View.

What I'm really looking for are functions that tell me which view is selected, allow me to select a view, and allow me to select no view

@bdemchak

Also requested by Muhammad Shah.

Addressed in d7851cb2352a37300af8945709ee66c310611ee2
Awaiting release


Fix backwards compatibility when QFIELDCLOUD_DEFAULT_TIME_ZONE is not set

In theory, we should mark all docker-compose envvars mandatory. But it's not the right moment for that right now, already in the backlog.
Fixes a bug introduced by #587 .

:see_no_evil: I will fix this in the evening


Add SIGINT handler that kills child process

The SIGINT handler and the exit handler also use the killPid function to reliably kill child process without leaving orphans (See also https://github.com/cri5ti/grunt-shell-spawn/pull/18)

Looks good.  Merged and published 0.3.10.  Thanks!


feat: Add endpoint to create a trainee profile

An endpoint is required to create an initial trainee profile. This
should not create multiple profiles for the same trainee TIS ID.
TISNEW-3833

Not merged it as it looks coupled to the trainee-details service


Support TrustedScript as an argument to eval

Currently, eval only support string type as an argument. However, Chrome added support for Trusted Types in Chrome 83, which makes TrustedScript type as a valid argument to eval.

fixed?
https://github.com/google/closure-compiler/commit/b152c8b6ea439bebd3146209d862090a93f91d7c#diff-5291c05c61136e88730b36f19bb26f11ece561419e80d7441d3dc6b41e50d64a


README is false advertising

https://github.com/dbcli/cleanup/blob/master/cleanup/main.py doesnt do what the README says ;-)
There are no commands python, js or git

LOL.
We had grand plans of writing a click based command line cleanup tool and use it to build a CLI tutorial. Then we all got busy and none of us followed through.
This is a great opportunity to step up and finish the job @jayvdb. 😄


DL3-74 sync lineitems for returning DL users and add local mock valkyrie

Description
Lineitems are fetched from the LMS to be synced to Valkyrie on every launch (both standard LtiResourceLink launches and Deep Linking launches) except when the database indicates that the lineitems have already been synced. Upon receiving a root_outcome_guid from the lineitems sync for a course that doesn't already have one associated to it, I save the root_outcome_guid to the course and send it to the front end deep linking menu. I also set up INFO level logging for this feature and set the logging level for the AWS envs to INFO by default. Additionally, I added a MockValkyrieController to allow for local testing of the full integration flows.
Motivation and Context
This allows us to match the root_outcome_guid on Deep Linking launches so that in the case where a course has been copied, the course catalog can be hidden from the instructor.
Fixes
DL3-74
How Has This Been Tested?
On this Google Sheet, I outlined all of the possible use cases for the first three launches in an original and in a copied course. Then I eliminated the ones that were effectively duplicates, and eight cases remained, which are highlighted in blue. I went through each of these cases while following along in the logs and the database to ensure that the behavior matched what was expected.
Screenshots
N/A

Database changes
N/A
⚠ Deployment instructions ⚠
N/A
New ENV variables
N/A

Checklist

[x] I have reviewed the AC for this feature and my changes meet all requirements
[ ] (For UI changes) I have considered the accessibility of this feature (see https://www.a11yproject.com/checklist/ for a high-level checklist)
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have requested a review from at least one other dev

Thanks!


Pressing enter on an opened dialog creates duplicate dialogs

Bug type
Component
Component name
MudDialog
What happened?
On an opened dialog, pressing the enter key
opens a new dialog.
Opened dialog:

Opened dialog after pressing enter 3 times:

Expected behavior
The default option to be selected and never duplicate the dialog.
Reproduction link
https://mudblazor.com/components/dialog#usage
Reproduction steps

From the docs, click the "Open Simple Dialog" button.
Press enter. For every enter pressed, a new dialog opens.

Relevant log output
No response
Version (bug)
6.0.9
Version (working)
No response
What browsers are you seeing the problem on?
Firefox, Microsoft Edge
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

It appears that when the dialog opens, the "focus" remains on the button pressed to open it. That's why Enter continues to open more dialogs.

It appears that when the dialog opens, the "focus" remains on the button pressed to open it. That's why Enter continues to open more dialogs.

Yes! You are correct. If I click once inside the dialog, all is as expected.
So, not a Dialog bug but more of a "docs-bug".
Thanks!

I'm creating a new bug because I expect the opened dialog to take the focus away from the
button that opened it.


Refactor E2E tests and fix local E2E tests setup

Why we need this PR?
This PR makes local E2E tests which have been broken for a long time running successfully again. The following changes have been made/added:

Existing tests have been refactored to use Ginkgo which improves the maintainability of our E2E tests, in Behavioural Driven Development (BDD) framework
Updated README.md to run E2E tests locally

so moving forward will we need to maintain the docker-compose and make sure its up to date with new changes?

so moving forward will we need to maintain the docker-compose and make sure its up to date with new changes?

Yes.


[Umbrella] Add Support for executing Scala/Spark Scripts

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Search before asking

[X] I have searched in the issues and found no similar issues.

Describe the proposal
Add support for running scala/spark code snippet through all types of Kyuubi-supported clients.
Task list

[ ] #1490 Introduce the basic framework for running scala
[ ] #XXX Support scala operation logging
[ ] #XXX Support scala operation events
[ ] #XXX Improve scala operation results exchanging
[ ] #XXX Add documentation for scala operation

Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

LGTM


model.summary() raises an AttributeError

When calling model.summary(), I get the following error: AttributeError: module 'rich' has no attribute 'table' (full stack trace below).
Here's my code:
import keras_core as keras

model = keras.Sequential([keras.layers.Dense(1)])
model.summary()  # ERROR

And here's the full stack trace:

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In [2], line 9
      3 model = keras.Sequential([keras.layers.Dense(1)])
      5 # import rich.table
      6 # import rich.markup
      7 # import rich.console
----> 9 model.summary()

File ~/opt/miniconda3/envs/homl3/lib/python3.10/site-packages/keras_core/src/utils/traceback_utils.py:124, in filter_traceback.<locals>.error_handler(*args, **kwargs)
    121     filtered_tb = _process_traceback_frames(e.__traceback__)
    122     # To get the full stack trace, call:
    123     # `keras_core.config.disable_traceback_filtering()`
--> 124     raise e.with_traceback(filtered_tb) from None
    125 finally:
    126     del filtered_tb

File ~/opt/miniconda3/envs/homl3/lib/python3.10/site-packages/keras_core/src/utils/summary_utils.py:212, in print_summary(model, line_length, positions, print_fn, expand_nested, show_trainable, layer_range)
    210 # Right align parameter counts.
    211 for i, name in enumerate(header):
--> 212     column = rich.table.Column(
    213         name,
    214         justify=alignment[i],
    215         width=column_widths[i],
    216     )
    217     columns.append(column)
    219 table = rich.table.Table(*columns, width=line_length, show_lines=True)

AttributeError: module 'rich' has no attribute 'table'

I can work around the issue by importing rich.table before calling model.summary(), but then I get another error for rich.markup. If I import that I get an error for rich.console. And if I import that then model.summary() works fine. So a quick workaround is to run:
import keras_core as keras

model = keras.Sequential([keras.layers.Dense(1)])

import rich.table
import rich.markup
import rich.console
model.summary()  # ERROR

It looks like Keras-Core's summary_utils.py just imports rich and then uses rich.table, rich.markup, and rich.console. However, these are not automatically imported when importing rich, so it will fail unless these packages have already been imported anywhere else in the code.
I suggest adding import rich.table, import rich.markup, and import rich.console in summary_utils.py.

Yeah this makes sense. We can just do from rich import table, etc, and use table, markup and console directly.
I am curious why this is not happening in all installs though. Can you share your system version, python version, rich version?

I applied your suggested fix -- can you check that the new version on main works for you?

Thanks @mattdangerw & @fchollet , I just tested your fix François, it works fine now.

Thanks!


Custom row

How do custom row? Example: i want set color to row.

Sorry @alexeydg , this is one of those things that might prove more difficult than it's worth. I recommend you take a look inside the List operation trait (that you use on your CrudController). In there you'll find the search() method, that you can overwrite however you want in your CrudController just by specifying a method with the same name.
Another option, if you're using Backpack 4.1, would be to add style or class to the column wrapper.
Hope it helps.
Cheers!


[Bug report]

Bug report
Github pages not take effect
Description
When deploying a simple vuepress app to github pages using github actions. This seems success , but open the url 'https://heshimang.github.io/vuepressv2-blog/', is show 404.
Please see below.
github repo
https://github.com/heshimang/vuepressv2-blog
deploy Link
https://heshimang.github.io/vuepressv2-blog/
Steps to reproduce
When i push code every time.

Reproduction link / repo: https://github.com/heshimang/vuepressv2-blog

Expected behavior
Normal page display.
Screenshots

Environment info

Browser: 99.0.4844.51
Output of vuepress info:
I don't konw how to get it. So Sorry.

# Paste output of `vuepress info` here

? Please make sure you opened github pages.

https://docs.github.com/cn/pages/getting-started-with-github-pages/creating-a-github-pages-site#creating-your-site

Thanks for you first, but i make sure opened github pages.
I find out why. I don't change the branch options on github pages, which defaults to mian. I changed it to gh-pages and it worked!


How to prevent mobile keyboard to show when opening the picker?

Mobile keyboard shows when tapping the field/icon to open the picker. This is true whether the text field is visible or not (I tried both)

Set focusOnShow to false.
Be aware that right now setting this to false prevents a click outside of the calendar from closing the calendar (though people are aware of the issue and working toward a fix #1615).

For me, setting this prevents the mobile keyboard from opening only if the date icon is selected. If the input field is selected, the mobile keyboard opens. (confirmed on Chrome on Android 7.0 and Android 5.1, and Safari on iOS 10.0.)

I would recommend to set showClose to true as well, to achieve a better user experience.
If you want to be even more fancy you could try something like this...
bindClickToHide = function () {
  $("#datetimepickerParent").on('click', function () {
    return $('.bootstrap-datetimepicker-widget').hide();
  });
};

unbindClickToHide = function () {
  return $("#datetimepickerParent").unbind('click');
};

registerEvents = function () {
  $('.datetimepicker').on('dp.show', function (event) {
    return bindClickToHide();
  });
  $('.datetimepicker').on('dp.hide', function (event) {
    return unbindClickToHide();
  });
};

This worked for me, showing the picker both with the icon and the input field, but no keyboard shown:
HTML:
<input type='text' class="form-control" placeholder="Fecha Inicio" readonly="true" />

JS:
$('#dateIniPick').datetimepicker({
    format: 'DD/MM/YYYY',
    ignoreReadonly: true,
    allowInputToggle: true
});

Don't forget to adjust you styles, ;)
CSS:
.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {     background-color: #fff !important;     opacity: 1; }
But the last method by gero90 worked perfectly for me too.

Slightly different version of J-Zet's code that allows clicking on $('#mydatefield') to toggle the picker.
$('#mydatefield').datetimepicker({
  focusOnShow: false,
  ignoreReadonly: true
}).on('dp.show', function (e) {
  $(e.target).on('mousedown', function (e) {
    $(e.target).data("DateTimePicker").hide();
    e.preventDefault();
  });
}).on('dp.hide', function (e) {
  $(e.target).off('mousedown');
});

@gero90 your solution worked BEAUTIFULLY and provided EXACTLY what I needed. This allows the Desktop functionality to still work while effectively disabling the user keyboard from popping up on Android and iOS. Beautiful code. Thank you.

@blairsaid I'm glad to help. Thanks for your words!

For anyone still getting with this issue, use what @gero90 did

<input type='text' class="form-control" placeholder="Fecha Inicio" readonly="true" />

JS:

$('#dateIniPick').datetimepicker({
   format: 'DD/MM/YYYY',
   ignoreReadonly: true,
   allowInputToggle: true
});


Fixed grammatical errors in feature_request.md

Reworded the feature_request markdown file
Fixes: #442
Signed-off-by: Barbara Stanley<EMAIL_ADDRESS>

@BarbaraStanley This will require a rebase to fix the merge conflict.


coloring point using pointcolors

Hi Marco,
I have struggling with coloring points using vedo.
I have changed your example like below in order to use point colors and it looks it have a problem. I couldnt figure out what the problem is eventhough I checked pointcolors definitions in your pointcloud class. somehow it doesnt figure out after first assignment
the code is here
  """Colorize a mesh cell by clicking on it"""
  from vedo import Mesh, Plotter, dataurl

  # Define the callback function to change the color of the clicked cell to red
  def func(evt):
      msh = evt.actor
      if not msh:
          return
      pt = evt.picked3d
      # idcell = msh.closest_point(pt, return_cell_id=True)
      # m.cellcolors[idcell] = [255,0,0,255] #RGBA
      idpoint = msh.closest_point(pt,return_point_id=True)
      m.pointcolors[idpoint] = [255,0,0,255]

  # Load a 3D mesh of a panther from a file and set its color to blue
  m = Mesh(dataurl + "panther.stl").c("blue7")

  # Make the mesh opaque and set its line width to 1
  # m.force_opaque().linewidth(1)

  # Create a Plotter object and add the callback function to it
  plt = Plotter()
  plt.add_callback("mouse click", func)

  # Display the mesh with the Plotter object and the docstring
  plt.show(m, __doc__, axes=1).close()

thanks in advance

Sorry for the late reply, this really looks like a bug... but I could not
spot the problem for now.
A workaround is to add
m.pointdata.remove("PointsRGBA")
m.pointcolors[idpoint] = [255,0,0,255]
On Mon, 31 Jul 2023 at 15:10, smoothumut @.***> wrote:

Hi Marco,
I have struggling with coloring points using vedo.
I have changed your example like below in order to use point colors and it
looks it have a problem. I couldnt figure out what the problem is
eventhough I checked pointcolors definitions in your pointcloud class.
somehow it doesnt figure out after first assignment
the code is here
"""Colorize a mesh cell by clicking on it"""
from vedo import Mesh, Plotter, dataurl
Define the callback function to change the color of the clicked cell to red
def func(evt):
msh = evt.actor
if not msh:
return
pt = evt.picked3d
# idcell = msh.closest_point(pt, return_cell_id=True)
# m.cellcolors[idcell] = [255,0,0,255] #RGBA
idpoint = msh.closest_point(pt,return_point_id=True)
m.pointcolors[idpoint] = [255,0,0,255]
Load a 3D mesh of a panther from a file and set its color to blue
m = Mesh(dataurl + "panther.stl").c("blue7")
Make the mesh opaque and set its line width to 1
m.force_opaque().linewidth(1)
Create a Plotter object and add the callback function to it
plt = Plotter()
plt.add_callback("mouse click", func)
Display the mesh with the Plotter object and the docstring
plt.show(m, doc, axes=1).close()
thanks in advance
—
Reply to this email directly, view it on GitHub
https://github.com/marcomusy/vedo/issues/908, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AH2TUB2KYTOLOPPCIP443YTXS6VFRANCNFSM6AAAAAA26HUSYY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Dr. Marco Musy
Sharpe Laboratory, room 563
CRG - Center for Genomic Regulation
C/ Dr. Aiguader 88, E-08003 Barcelona
tel. +34933160185, fax. +34933160099

Thanks a lot Marco,
I have worked with cellcolors instead of pointcolors this time.
But If I need to use pointcolors, I will definitely use this workaround,
thanks a lot again and have a good day
Best Regards


[3.4] Android: Only warn when Target SDK is non default

The validation logic for Min Sdk and Target Sdk was flawed as it triggers
errors for users not using Custom Build even if they never modified the
values themselves.
The default values for those settings get saved in export_presets.cfg and
thus the error gets triggered when moving from 3.4.4 or earlier to 3.4.5, as
the target SDK changed from 30 to 31.
So instead we just raise a warning to make users aware of this non-default
Min Sdk or mostly Target Sdk that might be in their preset.
We also warn when they do use Custom Build as the target SDK 30 would likely
still be an upgrade issue and not an intentional choice, especially given
that Google Play will now require SDK 31.
The export info dialog is now exclusive so that when it doesn't auto-close,
i.e. when it errors, you don't close it by mistake by clicking outside.
The valid range for both options is no longer limited to Godot's own default
target SDK, but can accept higher values (they are not guaranteed to work,
but they might).

Fixes #62465 without breaking compatibility for 3.4.5.

I updated this PR to use r_err to pass warnings (without setting valid = false;). So I reworded them a bit to make them more concise as we're more constrained on string length. They're still with a line break so they will show as two warnings each, but given that it's just a hack to provide users with relevant info on upgrade to 3.4.5, I think it's fine.


"Can't save message" displayed for a message with specific characters

I use Rainloop software on ubuntu 18.04 (on aws ec2).
I encountered a problem when I would save a message.
When I wrote an email message and wanted to save this, so I push "save" button. But this button was turned to red and displayed "Can't save message".
Until now I already could save new messages (, of course I send a these messages).
I checked my message and specified at least 5 characters,

> (1)

to reproduce this problem.
Please teach me why Rainloop can't save a message with specific characters ?
RainLoop version, browser, OS:
Rainloop 1.13.0
Chrome  78.0.3904.87
Windows 10 Pro 1903, 64bit,
Expected behavior and actual behavior:
success to save a message
Steps to reproduce the problem:

login rainloop
push "New message" green button at left-upper corner
enter message body "> (1)"
push "save" button on a editor dialog
this dialog shows "Can't save message"

Logs or screenshots:

I can't reproduce, I followed your steps and it saved fine for me.

Sorry !
This is my mistake.
Now, I checked this issue and I can't reproduce too.
A while ago, I changed WAF (mod_security2) settings for apache2 on rainloop's server.
For checking WAF influence, when I restore WAF settings and I can reproduce this.
So maybe I guess WAF cause this situation.
Not Rainloop's issue.
I'm very sorry.