New color for bootstrap darkroom, material

Is it possible to add the new color "#9f0000" to bootstrap darkroom, color pattern "material" as material color "dark_red"?
Many thanks
Manfred

The colors supported by material bootstrap are listed in https://github.com/FezVrasta/bootstrap-material-design/blob/master/less/_colors.less
If it's an "official" material color, it should be added there, upstream.


Add the ISO8601 formatter into default transformers earlier

In a production app, I couldn't figure out with the 8601 formatter was still firing, after I removed all date formatters. Turns out I removed the formatters before I accessed RKObjectMapping, so in initialize it was getting added back in after I'd made my changes without me knowing. This moves it into load so that it happens earlier

I'm not sure this is guaranteed to be safe when RestKit is included as a static lib, since there's no guarantee that the date value transformer will be loaded


Flow: Broken with POP/KISTI

Import POP/KISTI
Create/enable a Flow renderer

Vapor will throw error stating that you need to select at least two variables. When you try to select a second variable, multiple error messages pop up stating that you need to select a second variable and the variable selection dropdown is reset to <no-variable>.

@sgpearse The Variable Widget seems to refuse to accept the acceptance of a second selection. Could you take a look?


Use array-seq to transform javascript array

This fixes #3
Use doseq for performing side-effects.

Here's some discussion on the differences between for and doseq - https://stackoverflow.com/questions/4725417/difference-between-doseq-and-for-in-clojure


V3 bad gateway

hi,
i'm unable to understand how to debug my shipyard install.
In container page after login i see:
Error...
{"data":"Bad Gateway","status":502,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"url":"/containers/json?all=1","headers":{"Accept":"application/json, text/plain, /"}},"statusText":"Bad Gateway"}
what i do
1- install docker on 2 debian jessie ( node : <IP_ADDRESS>/16,  manager: <IP_ADDRESS>/16 )
2- install and configure swarm ( 1 node docker swarm management and other docker is swarm node )
to check swarm install i'm doing
docker -H tcp://<IP_ADDRESS>:1024 info
Containers: 3
Images: 30
Storage Driver:
Role: primary
Strategy: spread
Filters: affinity, health, constraint, port, dependency
Nodes: 1
 node.troy.kvm: <IP_ADDRESS>:2375
  └ ... ...
GNU/Linux 8 (jessie), storagedriver=aufs
Execution Driver:
Kernel Version:
Operating System:
CPUs: 4
Total Memory: 16.49 GiB
Name:
ID:
Http Proxy:
Https Proxy:
No Proxy:

3 - Get un deploy shipyard has quick start guide V3
Start db container
docker run -d --restart=always --name shipyard-rethinkdb shipyard/rethinkdb

Start Gui
docker run --rm -ti -p 8080:8080 --link shipyard-rethinkdb:rethinkdb -v /var/lib/boot2docker:/etc/docker:ro --name shipyard ehazlett/shipyard:v3 -D server --rethinkdb-addr=rethinkdb:28015 -d tcp://<IP_ADDRESS>:3376 --auth-whitelist-cidr <IP_ADDRESS>/16

"-D" flag aren't usefull
INFO[0000] shipyard version 3.0.0
INFO[0000] whitelisting the following subnets: [<IP_ADDRESS>/16]
INFO[0000] checking database
DEBU[0000] connected to docker: url=tcp://<IP_ADDRESS>:3376
DEBU[0000] configured docker proxy target: http://<IP_ADDRESS>:3376
INFO[0000] controller listening on :8080

That error usually means that the controller can't reach the swarm agent.  Make sure the swarm agent isn't blocked by any firewall and is listening on TCP.

To test it i'm doing this
On host where shipyard controller running
docker -H tcp://<IP_ADDRESS>:2375 info    // It's work

Inside same docker that shipyard controller
curl -X GET "http://<IP_ADDRESS>:2375/info"  // It's work

perhaps is into the V3 docs you specify an
-d tcp://$(docker-machine ip shipyard-swarm-master):3376

do you mean
-d tcp://$(docker-machine ip shipyard-swarm-master):2376

The port 3376 in the docs are for the automated setup using the script (which configures them that way).  You will need to adjust for any custom ports if you don't use the setup since the controller doesn't have access to that information.


[Bug]: Can't close the search bar

Give a brief about the bug :
=> After opening the search bar there's no option to close it!

What is the expected behavior? :
=> There should be a  close button.
Provide step by step information reproduce the bug:
=> I know it's a minor issue but still can you assign me this under GSSoC'24?   It would be my 1st open source contribution...
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

can you please assign this issue to me #102 ?

i want to handle this issue can you please assign it to me.

@Anshu3301 margin & padding reduce

I'll get it done...!


Do not send idle notification if a click occurred during idle delay

Currently when you enabled the 'send notifications when focused' option you will always receive a notification when your character starts idling (assuming you have idle notifications turned on). However, sometimes I'm looking at my character anyway, and notice the idling and already clicked to resolve this during the idle notification delay. In this scenario it's quite annoying to still receive an idle notification.
I suggest we add some logic to the idle notifier (possibly as an option if this breaks some people's workflow) that if the game has received a click during the idle notification delay, the notification gets cancelled.

#3412 solves this

@deathbeam Could someone else review that maybe? It doesn't seem like @Adam- is responding.


" QR code is invalid" validation message is not shown when user scan invalid QR code while withdrawing CELO

Frequency: 100%
Repro App version:  Valora Mainnet build v1.0.0 (11)
Repro on device: Google Pixel XL(8.1) , Vivo 1606 (6.0.1)
Test Account:<PHONE_NUMBER>/ Backup key.
Repro Steps:

Launch the Application and sign in with test account
Tap on the Hamburger menu.
Tap on CELO option
Tap on Withdraw CELO
Tap on QR code icon.
Scan invalid QR code.
Observe.

Current Behavior: User is redirected to the Withdraw CELO screen after scanning invalid QR code.
Expected Behavior: QR code is Invalid message should be shown
Investigation: Issue does not repro when user Scan invalid QR code while sending or requesting payment using QR code.
Impact: User will not get idea why they back to the Withdraw CELO screen
Attachment: Android_QRCode_Validation_CELO.mp4 (Bug observed at 05 sec)

@annakaz , @gnardini verified issue with latest Test Flight build Valora app build  v1.0.0 (15) , Android Valora Mainnet build v1.0.0 (16) and found that issue is fixed as " QR code read failed: Reason: wallet address invalid" message is shown when user scan invalid QR code.
Verified devices: iPhone 7+ (13.3.1), Google Pixel Xl (8.1)


0.5.0 tagged version of 20-deployment.yaml actually deploys v0.4.0 controller

What happened:
The 0.5.0 tagged version of 20-deployment.yaml refers to v0.4.0 of the controller image.
What you expected to happen:
kudobuilder/controller:v0.5.0 should be deployed.
How to reproduce it (as minimally and precisely as possible):
As referred to in the deployment instructions.

:( I guess the release was done from master branch that did not have this change pulled in even though we merged before releasing.


Update to Grandle?

Hi,
I use this plugin together with cordova-admob-pro on phonegap build. Since cordova-admob-pro updated to build with grandle and you both are using play-services my build fails now.
"Error: more than one library with package name 'com.google.android.gms'"
It would be really cool if you could update to grandle too? I think all you need to do is to change in your config.xml your
<dependency id="cordova-plugin-extras-google-play-services" />
<dependency id="cordova-plugin-extras-android-support-library-v4" />
to the corresponding <framework>-Tags.
I feel that is the only option to enable builds with these two plugins.
/Christof

ah, and I saw a similar plugin, cordova-plugin-play-games-services just wrote

Modified to include the new Google Play Services with com.google.android.gms:play-services and avoid some compiling errors. (Available also through npm, new Plugin Registry Format)

and they included the following into their plugin.xml:
        <framework src="com.google.android.gms:play-services-games:+" />
        <framework src="com.google.android.gms:play-services-plus:+" />

Maybe this is also doing the trick here?

@mobilino
Fixed this issue.
Thank you very much!
Sang Ki Kwon

That was quick, thanks!
Could you push the change to npm too? I am using phonegap build and get errors concerning the AppStateManager which you already eliminated in the version here.

@mobilino
Hi
Need to push this update to npm too next day.
Wait little more.
Thanks
Sang Ki Kwon

OK!
/Christof

@mobilino
Pushed this update to npm.
Thanks
Sang Ki Kwon


hotfix(jenkinsisthewayio-redirect) bump httpredirector chart from 0.2.0 to 0.3.0

Ref: https://github.com/jenkins-infra/helpdesk/issues/2943

Merging manually as hotfix.
Tested a deploy locally, here is the helmfile diff:
jenkinsisthewayio-redirector, jenkinsisthewayio-redirect-jenkinsistheway.io, Ingress (networking.k8s.io) has changed:
  # Source: httpredirector/templates/ingress.yaml
  apiVersion: networking.k8s.io/v1
  kind: Ingress
  metadata:
    annotations:
+     cert-manager.io/cluster-issuer: letsencrypt-prod
      nginx.ingress.kubernetes.io/permanent-redirect: https://stories.jenkins.io$request_uri
      nginx.ingress.kubernetes.io/permanent-redirect-code: "308"
    name: "jenkinsisthewayio-redirect-jenkinsistheway.io"
  spec:
    ingressClassName: public-nginx
    rules:
    - host: jenkinsistheway.io
+   tls:
+   - hosts:
+     - jenkinsistheway.io
+     secretName: jenkinsisthewayio-redirect-tls


Modernize repo

This PR gets this repo up to speed with all the recent changes in the template.

Also addresses https://github.com/ProjectPythiaCookbooks/cookbook-template/issues/47


Running quick_start_demo.ipynb reported error OSError

Hello, I'm glad to read your paper, but I ran into a problem while running the code：
Running quick_start_demo.ipynb reported error OSError: [Errno 22] Invalid argument: 'D:\\Users\ure/.torch/iopath_cache\s/ukbw5s673633hsw\publaynet-tf_ efficientdet_d0.pth.tar?dl=1.lock'

same as you, maybe run in linux fit for your situation

I am also facing this issue, and I would like to know how to resolve it going forward.

I also encountered this problem, I'm really frustrated, how can it be solved?

May I kindly inquire if the issue you were facing has been resolved? If so, could you please share the solution that worked for you?

Is this not able to run successfully on a Windows system?

Is this not able to run successfully on a Windows system?

Have you solved it, I also encountered this problem, if you solve it, I want to ask how to solve it, I really need it, thank you

Have you solved it, I also encountered this problem, if you solve it, I want to ask how to solve it, I really need it, thank you


fix: handle when loop_count == 0

when gif->loop_count = 0，this code not send LV_EVENT_LEAVE signal，
As a result, the upper-layer application cannot know that the gif has been played at this time.

Thanks you!


#8 Add breathing exercise

Value Proposition
As a user
I want to take some deep breaths
So that I can focus on myself again
Description

Acceptance Criteria

[ ] A moving circle is shown for "breath in" and "breath out"
[ ] The nav bar has a third Link

Tasks
(for developers team)

[ ] Create new branch
[ ] Add breathing page to the navigation
[ ] Integrate a moving in and moving out circle with css

Complexity
M

As a user
I want to take some deep breaths
So that I can focus on myself again

I know that I need to breathe, but what does that have to do with the app? Most people probably would understand, but for the sake of more clarity...
Suggestion:
As a user
I want to be guided during the breathing exercise (visually)
So that I can learn how to breathe correctly

The nav bar has a third Link

That does what?

The nav bar has a third Link

I need to agree with Josh, i dont really understand the third link thing

Add breathing page to the navigation

also here in the description i dont see any  breathing page to click on.
I think if you fix this its a good userstory :)


yo not installing

Type of issue
bug
My environment

OS version/details: OS 10.13.4
Node version: 10.6.0 (run node --version in your terminal)
npm version: 6.1.0 (run npm --version in your terminal)
Version of yo : N/A (run yo --version in your terminal)

Expected behavior
yo successfully installs when npm install -g yo is run
Current behavior
yo installation fails
***tried to run npx yo doctor which says everything looks fine but yo command still does not exist
Steps to reproduce the behavior
npm install -g yo or sudo npm install -g yo
Command line output
Rielles-MBP:/ rielledizon$ node -v
v10.6.0
Rielles-MBP:/ rielledizon$ npm -v
6.1.0

Rielles-MBP:/ rielledizon$ npm install -g yo
/Users/rielledizon/.npm-global/bin/yo -> /Users/rielledizon/.npm-global/lib/node_modules/yo/lib/cli.js
/Users/rielledizon/.npm-global/bin/yo-complete -> /Users/rielledizon/.npm-global/lib/node_modules/yo/lib/completion/index.js

><EMAIL_ADDRESS>postinstall /Users/rielledizon/.npm-global/lib/node_modules/yo
> yodoctor

Yeoman Doctor
Running sanity checks on your system

✔ Global configuration file is valid
✔ NODE_PATH matches the npm root
✔ Node.js version
✔ No .bowerrc file in home directory
✔ No .yo-rc.json file in home directory
✖ yo version

Your yo version is outdated.

Upgrade to the latest version by running:
npm install -g yo@latest

✔ npm version

Found potential issues on your machine :(
+<EMAIL_ADDRESS>updated 1 package in 5.047s

Figured it out ! npm wasnt pathed.

touch ~/.bash_profile

open ~/.bash_profile

export PATH="/Users/<your home directory>/npm/bin:$PATH"

restart terminal

yo --version should be working


maintainers: add pbsbot

Description of changes
I want to experiment with a bot that is able to change labels on github.
However I do not want to put a commit bit access key in /run/secrets, hence why i am reviving this old bot account @pbsbot i made a long time ago.
How to and whether to differentiate this entry as a bot and not a human is discussable. I've considered adding a team:
--- a/maintainers/team-list.nix
+++ b/maintainers/team-list.nix
@@ -94,6 +94,14 @@ with lib.maintainers;
     shortName = "Blockchains";
   };

+  bot-accounts = {
+    members = [
+      pbsbot
+    ];
+    scope = "Bot accounts that interact with nixpkgs, may be user-run.";
+    shortName = "Bots";
+  };
+
   budgie = {
     members = [
       bobby285271

or extending the lib.maintainers schema
--- a/lib/tests/maintainer-module.nix
+++ b/lib/tests/maintainer-module.nix
@@ -22,6 +22,10 @@ in {
       type = types.nullOr types.ints.unsigned;
       default = null;
     };
+    isBot = lib.mkOption {
+      type = types.bool;
+      default = false;
+    };
     keys = lib.mkOption {
       type = types.listOf (types.submodule {
         options.fingerprint = lib.mkOption { type = types.str; };

But feel like doing neither for such a silly thing.

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Maybe you could just inline { github = …; githubId = …; } into team-list.nix to avoid adding it to the main maintainers list? I don’t know if that’d work with the automation or not.

I want to experiment with a bot that is able to change labels on github.

Wait, so why do you have to add the bot to maintainer list? Even @r-ryantm isn't there. Your bot is also unable to fulfill the expectations of a general maintainer, like replying to related issues, help find the cause/workaround of bugs, etc

I only want the permissions to modify labels on github. @\pbsbot was initially added to the github maintainers-list team manually, but was within the hour removed again due to some automation.
@\NixOSInfra has essentially the setup i want, but asking how that worked on matrix proved ineffective.

@lassulus could we add a "bots" team or something?

bots team sgtm, I would like to have the repo of the bot linked next to the maintainers entry if possible?

Related: https://github.com/NixOS/nixpkgs/pull/350640

Due to a change in time availability Im going to have to shelve this project

Still, an index over the apps and user accounts with access to nixpkgs should be made IMO. The various bots infinisil recently have made should also be listed


DBZ-1850 Delegate signed/nonsigned converion to driver

https://issues.redhat.com/browse/DBZ-1850

Applied. Thx.


Fix Bitset's core dump when copying from an empty Bitset

What do these changes do?

The Bitset can be constructed with size == 0, and when another Bitset copies from the empty Bitset, there will be core dump as the memcpy()

In both copy assignment and move assignment, I think you need to free/deallocate the existing data buffer (if not NULL) first before assigning?
Yes, you are right. Done

Codecov Report

Merging #156 (d7e11ba) into master (515da59) will increase coverage by 0.01%.
The diff coverage is n/a.

Additional details and impacted files

@@            Coverage Diff             @@
##           master     #156      +/-   ##
==========================================
+ Coverage   63.94%   63.96%   +0.01%
==========================================
  Files          67       67
  Lines        6310     6310
==========================================
+ Hits         4035     4036       +1
+ Misses       2275     2274       -1

Flag
Coverage Δ

app_tests
63.96% <ø> (+0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed
Coverage Δ

grape/utils/bitset.h
75.00% <ø> (ø)

... and 1 file with indirect coverage changes


Need to be able to save a geometry

After contructing a geometry, we need to be able to svae it locally on disk.

Galaxy allows files to be downloaded


Is there a way to inject custom JDBC connection factory?

Maybe it is already supported, however I could not find how.
Is there a way to inject custom JDBC connection factory? In my case in order to create a JDBC connection I have to setup the kerberos authentication, and within Kerberos context I can authenticate (create JDBC connection) in RDBMS.
In general I want to inject custom code for connection creation:
    @Override
    public Connection openConnection()
    {
        return Subject.doAs(kerberosAuthentication.getSubject(), (PrivilegedAction<Connection>) () -> {
            try {
                return DriverManager.getConnection(connectionUrl);
            }
            catch (SQLException e) {
                throw new RuntimeException(ee);
            }
        });
    }

I find new one,maybe match your requirement ,URL:  https://github.com/Chris2018998/BeeCP
Show you demo source code
class MyConnecitonFactory implements ConnecitonFactory{
public Connection create()throws SQLException{
.......//here,your code
}
}
@Configuration
public class DataSourceConfig {
@Bean
public DataSource secondDataSource(){
BeeDataSource  datasource= new BeeDataSource(new
BeeDataSourceConfig(driver,url,user,password));
   datasource.setConnectionFactory(new MyConnecitonFactory ());

}
.....
}

I also have the same problem, how did you solve it?

I believe this would be handled with my pull request for dynamic passwords: #2011

I believe this would be handled with my pull request for dynamic passwords: #2011

When will this feature be supported?

I also have the same problem, how did you solve it?

I have not.

It did work for me, I've fixed it, thanks!


FinishedSkybox, Added Temp Day

-Added temporary material
-Swapped Skybox Material
-Tinkered with the lighting systems to make it seem like day.

The lighting looks off on my end:

The grey things are tinted very purple. The lighting also looks too dark on the sides of the islands, and maybe a bit too bright on the tops of the islands.
I know little about lighting, so let me know if we can't / shouldn't fix something with the lighting yet.

I am not getting any issues that Casey is, so I am going to merge it under the assumption it could be a system issue on Casey's end


alt animation can't fully play

I am triying to make a week 7 port but the pretty good animation don't fully plays, there is a way so only that the pretty good animation fully plays until the next note change animation?
https://user-images.githubusercontent.com/86253780/133823956-4cbecc94-926e-4b8f-b1f6-a7c70e526dcb.mp4
https://user-images.githubusercontent.com/86253780/133824047-7fce48cb-bdc1-4e81-a8c2-6f3a1da8fb2f.mp4

That's because Tankman uses a thing on his code that blocks dance() function from being called, this is not really an issue.

That's because Tankman uses a thing on his code that blocks dance() function from being called, this is not really an issue.

So how do i fix it?

Add this to script.lua:
function onUpdate(elapsed)
	if getProperty('dad.curCharacter') == 'tankman' then
		if getProperty('dad.animation.curAnim.name') == 'singDOWN-alt' then
			setProperty('dad.holdTimer', 0);
		end
	end
end


BUG: Covariance calculation in newer numpy

I am getting a bug with newest numpy:
======================================================================
ERROR: Test cov regularization
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/larsoner/custombuilds/mne-python/mne/tests/test_cov.py", line 240, in test_regularize_cov
    exclude='bads')
  File "/home/larsoner/custombuilds/mne-python/mne/cov.py", line 1314, in regularize
    cov['data'][np.ix_(idx, idx)] = C
  File "/home/larsoner/.local/lib/python2.7/site-packages/numpy/lib/index_tricks.py", line 77, in ix_
    raise ValueError("Cross index must be 1 dimensional")
ValueError: Cross index must be 1 dimensional

I think the indexing tricks are not meant to be used in production code, so we should probably switch to np.concatenate. @dengemann okay with you?

Ahh, nevermind it's ix_ not r_. I'll see if I can fix it...

Seems to be some oddity due to running bleeding-edge numpy. Closing for now assuming it's their bug not ours.


Permission denied on fetch APKINDEX.gz

I am getting the following error while running docker-compose up -d
Step 6/17 : RUN apk add --update git gcc libc-dev
---> Running in 6912ab16b217
fetch http://nl.alpinelinux.org/alpine/v3.5/main/x86_64/APKINDEX.tar.gz
ERROR: http://nl.alpinelinux.org/alpine/v3.5/main: Permission denied
WARNING: Ignoring APKINDEX.39282fe4.tar.gz: No such file or directory
fetch http://nl.alpinelinux.org/alpine/v3.5/community/x86_64/APKINDEX.tar.gz
ERROR: http://nl.alpinelinux.org/alpine/v3.5/community: Permission denied
WARNING: Ignoring APKINDEX.9a1b2e7c.tar.gz: No such file or directory
ERROR: unsatisfiable constraints:
gcc (missing):
required by: world[gcc]
git (missing):
required by: world[git]
libc-dev (missing):
required by: world[libc-dev]
Kindly help, all proxy settings are done, Is there any way I can pass proxy to the apk command?

@deepthiseshabattar you might want to ask your question on the Docker community slack or forum instead of there.
Your problem has no relation with Notary, and is most definitely a Docker/proxy configuration/issue.


Poisoned Hand missing from list

Poisoned Hand missing from weapons list

It's in there - make sure you have "Include DLC weapons" checked

The issue was the Unique option was unticked.

Oh yeah that would also do it. The "unique" affinity option shows weapons that can't be assigned affinities, like somber weapons

Changing 'Unique' to 'Somber' might be better for readability, but take that with a grain of salt


Week 2: Team Innovation

Code.org work and notes
Java terminal
Group project brainstorming

2.7/3 Terminal work uses concepts from Code.org, notes included and complete

2.7 bec she did all the work :ok_hand:


tonelib-metal: 1.2.6 -> 1.3.0

Fixes #360192
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4938

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4969

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 360197

x86_64-linux

:white_check_mark: 1 package built:

tonelib-metal


Sharing of a program from a group member to another group member behaves unexpectedly

create a group "g" with some members "01"..."05"
login as a member "01"
sharing a program to another member fails on a public server with the message "account not verified"
on a private server (and on a public server if the previous problem is solved), a further problem arises: if you name the user as "02", the request fails, but it succeeds, if you name the user "g:02"

Solution:

first problem: change ClientProgramController:456 (probably)
second problem: because a group member can only share programs with user of the same group, one solution (among others, maybe better ones) is, that the frontend prefixes the name with "g:"

A further problem is, that the share request is executed twice. It should be checked, whether this is a common error pattern and occurs at other places, too.

the first problem is solved by a commit I'll push soon.
for the second problem I propose to tell the user to prefix with the group name. This solves the problem for the next weeks.
The frontend logic of sharing must be redesigned. My comment of "share request .... twice" was misleading. All sharing data is written to the data base always (you have 8 shares: the frontend issues 8 REST calls). Only the delta should be sent (usually 1 REST call). When this refactoring is done, the group prefix can be added by the front-end.

commit mentioned above is a80563a32626b947f2165d68aae3bf5b2e68e5f3


ERP Measurement Tool for MNE

The Evoked object only has methods to return peak amplitude and latency at present. Is there any interest in the development of additional amplitude and latency measures (e.g., average amplitude in a time window, fractional peak latency)? My thought would be to port the some of the measures implemented in ERPLAB's ERP Measurement Tool to MNE to help facilitate ERP analysis using MNE.
I am happy to lead development of this. These features could be added as methods to the Evoked object, or alternatively be included as a separate library. Is there a preference on which route is best?
Also, while I have coded in Python before, this will be my first time contributing to any Python software development. Thus, I would likely need some help and guidance on navigating development of unit tests and other aspects of contributing.

hi @jdkoen my suggestion would be to start small with what you consider the most key feature of ERPLAB. What would that be? We'll be happy to support you.

Thanks @agramfort! One of the key features (at least to me) is pulling out mean amplitude in a user defined time window. I will start with that, and post here if I have questions or need help.

I would do this with a .mean() method on Evoked like we have a .mean()
method on stc

Thank you for the suggestion.
I just noticed that the .get_peak() method returns the peak amplitude/time
over an entire class of channels (i.e., the peak across all channels).
Would it be useful to have a different function that extracts the peak
amplitude/voltage for a user-specified set of channels? I was unsure of the
rationale for taking a 'global' peak value/latency.
The reason I ask the above question, and more generally, is I wonder if it
will be useful to create a new class to deal with extracting data from
evoked objects. From what I have in mind, it would require ~5-6 new methods
on the Evoked class (with associated private functions).
Currently familiarizing myself with the code structure, but wanted to ask
this now before I start to code.
On Fri, May 29, 2020 at 3:19 AM Alexandre Gramfort<EMAIL_ADDRESS>wrote:

I would do this with a .mean() method on Evoked like we have a .mean()
method on stc

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mne-tools/mne-python/issues/7848#issuecomment-635806453,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXXPVF5ZEBID2KUPEH6NPLRT5OZNANCNFSM4NNL24NQ
.

@jdkoen for a peak over a subset of channels, there are methods evoked.pick, evoked.pick_channels, and evoked.pick_types; these return an evoked instance with a reduced number of channels, so they can be chained with get_peak like so: evoked.copy().pick_channels(['Cz', 'Fz', 'C3', 'C4']).get_peak()
Note the use of copy() because otherwise the various pick methods will modify evoked in place.

Thanks @drammock for that feedback. That approach just slipped my mind. Makes a lot more sense now for how to format the mean signal measure I'm trying to add.

One of the key features (at least to me) is pulling out mean amplitude in a user defined time window.

Chaining can be useful here too:
evoked.copy().crop(tmin=0.09, tmax=0.11).pick_channels(channel_list).data.mean()

will give you average over specified time window and channel_list.
Maybe a good first step would be to add a short example/tutorial dealing with just a few of these measures and then we'll see if some turn out to be too complex to obtain with what is available in mne now.

Maybe a good first step would be to add a short example/tutorial dealing with just a few of these measures and then we'll see if some turn out to be too complex to obtain with what is available in mne now.

I think we should make a tutorial on ERP-style analyses that contain 90% of the analyses people would be interested in. Even if it's long, a .. contents:: at the top will make it easy for people to find what they're looking for. This exercise would make it easy to see what we should turn into a separate function in MNE, if anything.

@sappelhoff or @mmagnuski up for coding this in the next couple of weeks by any chance?

I think we should make a tutorial on ERP-style analyses that contain 90% of the analyses people would be interested in. Even if it's long, a .. contents:: at the top will make it easy for people to find what they're looking for.

I am pretty packed so would be grateful if somebody else can take the time. But I agree that this would be very useful to have.

@larsoner Sorry, I won't be able to do this for the next release. But I will have more time in about 1.5 months - then I could help with such tutorial. :)

Sounds good. Or @jdkoen if you've made some progress, you could also take a stab at it if you want!

Thanks. I’m happy to take a go at it. Sorry for the delay getting back to
this.
On Tue, Aug 25, 2020 at 7:23 PM Eric Larson<EMAIL_ADDRESS>wrote:

Sounds good. Or @jdkoen https://github.com/jdkoen if you've made some
progress, you could also take a stab at it if you want!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mne-tools/mne-python/issues/7848#issuecomment-680316951,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXXPVE4BYDFCSVXVP2JHILSCRBWNANCNFSM4NNL24NQ
.

Here are my thoughts on what measures to add for a tutorial:

Peak amplitude/latency for a single channel
Mean amplitude in a time interval
Fractional Area Latency (for an example, 50% area)
Fractional Peak Latency (to measure onsets)

There are some other measures (e.g., integral measures) that I am not
looking at here. Also, for peak measures (1, 3, and 4 above) there should
likely be options to find absolute, positive, and negative peaks.
Any thoughts on this?
On Tue, Aug 25, 2020 at 7:25 PM Joshua Koen<EMAIL_ADDRESS>wrote:

Thanks. I’m happy to take a go at it. Sorry for the delay getting back to
this.
On Tue, Aug 25, 2020 at 7:23 PM Eric Larson<EMAIL_ADDRESS>wrote:

Sounds good. Or @jdkoen https://github.com/jdkoen if you've made some
progress, you could also take a stab at it if you want!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mne-tools/mne-python/issues/7848#issuecomment-680316951,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXXPVE4BYDFCSVXVP2JHILSCRBWNANCNFSM4NNL24NQ
.

I would start with some minimal set and we can always add more later. No need to be feature-complete from the start. So this seems fine.
One other one I see/use from time to time is area under the curve, but again we can add that later

Just a cross-ref here that we should bring up the "head" coordinate frame standard in MNE in this tutorial as well (see #7455 for example)

Pushing the milestone to 0.22 for this one so it's not a blocker, but @jdkoen there is still time to get this in for 0.21 if you have time to make a push in the next few days

I will have to get to it for the 0.22 release. Hopefully I will have a
little more spare time at the end of this upcoming week.
On Wed, Sep 9, 2020 at 9:32 AM Eric Larson<EMAIL_ADDRESS>wrote:

Pushing the milestone to 0.22 for this one so it's not a blocker, but
@jdkoen https://github.com/jdkoen there is still time to get this in
for 0.21 if you have time to make a push in the next few days
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mne-tools/mne-python/issues/7848#issuecomment-689565409,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXXPVAV4J4GL2XOXTG4AODSE57WFANCNFSM4NNL24NQ
.

@jdkoen we might push 0.22 up to a December rather than March release, feel free to give a PR a shot in the next week or so if you can, otherwise 0.23 is also useful!

Will do. Going to start work on it tonight.
On Tue, Dec 1, 2020 at 1:55 PM Eric Larson<EMAIL_ADDRESS>wrote:

@jdkoen https://github.com/jdkoen we might push 0.22 up to a December
rather than March release, feel free to give a PR a shot in the next week
or so if you can, otherwise 0.23 is also useful!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mne-tools/mne-python/issues/7848#issuecomment-736750649,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXXPVGPA5W4K7JFBMBXMVTSSU33DANCNFSM4NNL24NQ
.

Hello, I was recently reading the chapter about erp peak in the luck's book, and I am very interested in erplab's peak finding tool. But mne's peak finding tool may indeed be a bit unusable for me. When I used mne to analyze eeg data, I exported evoke to pandas after all the analysis was completed to do time slices and find peaks. I feel that this method does have a big problem.
I am very interested in your work. If there is any progress or toolkit code, I will be very willing to try it.

The tutorial I wrote only focused on two common methods (peak amplitude/latency and mean amplitude) but does not include other methods such as fractional peak onset latency, fractional area latency, and signed area latency. These other measures are growing in use and would be of interest to ERP researchers using MNE python. There are a couple of new methods/features that I think can be implemented: 1. I think the get_peak() method should be updated a little bit. At present, it only detects global peak voltages in a time window of interest, but does not detect local peaks which might be more ideal. We could add this using scipy.signal.find_peaks, which I have been using lately. 2. A mean amplitude method would be useful IMHO. While it is fairly straightforward to do with stringing methods together, this may not be as easy for users with less experience in programming. As for the other measures that are currently not in the tutorial, I do agree that a tutorial for these methods will be useful. I think a tutorial can include ways to go about obtaining these measures (such as one off functions in the tutorial) would benefit the users of MNE. I have some functions drafted for all of these from a recent study from my lab (which I'm happy to share), and this could lay the groundwork for determining what new methods (or classes) may be needed. I do wonder if a new class (e.g., ERPMeasurer) that incorporates these methods, as well as a viewer to inspect the results, would be useful. This would be similar to the ERP Measurement Tool in ERPLAB which has an outstanding interactive viewer. I'm very much willing to help with creating this tutorial, and any new potential methods/classes that result from the tutorial. Do others feel this would be beneficial to have a more advanced tutorial?
…
On Thu, Oct 14, 2021 at 11:13 AM Daniel McCloy @.***> wrote: I think we should make a tutorial on ERP-style analyses that contain 90% of the analyses people would be interested in. Even if it's long, a .. contents:: at the top will make it easy for people to find what they're looking for. This exercise would make it easy to see what we should turn into a separate function in MNE, if anything. this was done in #8655 <#8655> (thanks @jdkoen https://github.com/jdkoen !) and the resulting tutorial section is here https://mne.tools/dev/auto_tutorials/evoked/30_eeg_erp.html#amplitude-and-latency-measures. @jdkoen https://github.com/jdkoen were there any computations in there that were complicated / unintuitive enough for end users that you think we should add a dedicated method? (If not, we can close this issue I think) — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#7848 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXXPVDOVXMR3VRA4KX7Y2LUG3XSPANCNFSM4NNL24NQ .

Yes, I'm very much looking forward to it. Looking forward to more detailed and advanced tutorials on how to do this.
Looking forward to your sharing.

Hi everyone. I was recently working on implementing these functions in Python and I found this thread while researching. I have written a small function implementing fractional peak and fractional area methods. I thought you may find this useful, so I opened this repo: https://github.com/SimonErnesto/find_latency
Implementing these methods wasn't particularly difficult and they seem to work fine as far as I can tell, but surely this little function can be improved in many ways. Any feedback is very welcome and if I may be of use just let me know.

would it add new functions to the public API of MNE? can you do the
addition by adding one parameter
on an existing method?
can you share the paper explaining this?
Message ID: @.***>

I'm sorry, I haven't collaborated on development before, so I'm not sure whether I understood your first two questions. Do you mean whether the function I wrote could be integrated into an existing MNE method?
Sadly, I wasn't able to find a paper explaining these methods explicitly. Papers (e.g. Kiesel et al., 2008: https://pubmed.ncbi.nlm.nih.gov/17995913/ ) or books (e.g. Luck, 2014: https://books.google.co.uk/books?id=y4-uAwAAQBAJ ) reporting these measurement techniques tend to keep the math and code hidden (though I may be wrong, and I'm not searching properly). However, I have added two links that explain how these methods are implemented in Matlab in the repo. The areas computed by the fractional area method are very similar to the ones I obtained using integration (numpy's trapz: trapezoidal composite rule). I think that small differences may be due to the corrections applied to the methods, based on the code here: https://lindeloev.net/hej-verden/ (this is the second link in the repo shared in the previous comment). Sorry if I missed something.

@jdkoen do you have an opinion on this?

Thanks @SimonErnesto for sending this along. I think those functions are great! I've put some functions together as well and just made this gist with the code to share them. We definitely implemented things differently, and I will apply them to the example data you included in your repo. Note I have not tested out all of the methods yet as doing a write up of the data I'm applying some of them too took precedence (so it is a work in progress that might have bugs).

@agramfort to get at your question about implementation, one way would be to add methods to the Evoked class. I don't think these can just be added as optional inputs to existing methods (but I may be missing something). I can see three methods to do all of this, which I list below (names of methods are just meant to be descriptive for now).

get_peak: This method already exists, but it does find a global maximum. This might not be ideal in all cases. I would recommend adding an option to find local peaks (using something like scipy.signal.find_peaks). This can be an option that is added. This can return both the peak and
area_amplitude: This is meant to find the mean (or area) amplitude within a given time window. Mean amplitude would be straightforward, whereas area amplitude would use @SimonErnesto approach or the scipy.integrate.trapezoid. The latter is what is used in the ERP Measurement tool and is most similar to the Matlab implementation.
fractional_latencies: This would use the above two methods to return the fractional time points (specified by the user).

Ideally, there would also be some other functions as well to plot the results easily so that the data can be inspected.
@agramfort does this approach fit within the scope/organization framework of MNE-Python development?
Another approach is to make a plugin for MNE python with different classes that could have a .fit() method to apply the computations to an instance/list of evoked objects.

for now we just a nice tutorial in
https://mne.tools/dev/auto_tutorials/evoked/30_eeg_erp.html#amplitude-and-latency-measures
and no public functions. I would not support adding more public methods to
Evoked but rather have (if more and more
people are interested in this) a dedicated module maybe in mne.stats?

Message ID: @.***>

@agramfort @jdkoen I would like to start working on this soon. Do you still suggest creating an entirely new module?

@withmywoessner sure, I suggest adding a mne/stats/erp/_erp.py and in mne/stats/__init__.py add a from ._erp import ... line. That should get the ball rolling.
Please start small in terms of actual additions. For example the first PR could add just #10647. Or maybe starting with the four measures you mention in #12406 wouldn't be too onerous to review assuming they are mathematically very simple (and well documented in some paper).

and in mne/stats/erp/__init__.py add a from ._erp import ... line.

nowadays this should go in the __init__.pyi file, not __init__.py. Also anything imported in __init__.pyi should also get added to __all__ variable in that .pyi file.

Ahh right didn't realize we had lazy-loader-ized mne/stats/!

Hey @drammock @larsoner, do you it would be best to have separate functions for mean amplitude and area? Or should I just include a setting in get_area (or some other name) since mean amp is just the area divided by the interval.

I'm torn because it doesn't seem useful to have two different functions because their functionalities are so similar, but it's hard to come up with a good name. Maybe get_area with a normalize=None | 'interval' and we say mean amplitude is just get_area(normalize='interval') or something like that.

I think I actually disagree here; we could think of get_mean as a convenience wrapper. It's such a common thing to want, it seems a shame to make people type all of get_area(normalize='interval') just to get the mean.

What about naming it something like get_integral then having a mode parameter mode='mean' | 'positive' | 'negative' | 'absolute' | None (standard integral)
I think I might like having one function because it means less searching through documentation. I will ask my coworker who doesn't use Python

No strong feeling from me, get_mean plus get_area (or a get_integral) is fine with me


Hudi partition table not Supported transformations.

Hudi partition table not Supported transformations.
create table syntax:
CREATE TABLE test_create(
    f1 STRING,
    f2 STRING,
    f3 STRING,
    ts timestamp
)using hudi
 partitioned by ( hours(ts))
 options (
  type = 'mor'
 )
 tblproperties (
  primaryKey = 'f1',
  preCombineField = 'ts'
);

Exception:
java.util.concurrent.ExecutionException: java.lang.RuntimeException: org.apache.spark.sql.AnalysisException: Transforms cannot be converted to partition columns: hours(ts)

Not Supported transformations: years(),months(),days(), bucket().......
Environment Description

Hudi version :0.11.0

Spark version :3.1.2

@alexeykudinkin : Can you also follow up on this. guess we may not have the support right now. Please file a tracking ticket and go from there.

@huizhong-sz transformations in partitioning clause are not supported at the moment.
You can work it around by specifying TimestampBasedKeyGenerator which would be producing partition-path as hours based on the ts column.

Created HUDI-4244 to track

closing this one out since its doable as of today. Please continue updating the ticket that got filed for any more enhancement or requests. thanks! appreciate the ask!


Changing line color of box

Is it possible to change the line color of the table?

Hey unrelated to your issue, I'm having an issue with the styling did you have import Antd when you rendered the scheduler component? Here is a link to my issue if you want more detail https://github.com/StephenChou1017/react-big-scheduler/issues/161


Cargo build tasks fail on windows

This is possibly and issue with file extensions
designcompose:cargoBuildX86Debug
designcompose:cargoBuildArm64-v8aDebug
designcompose:cargoBuildArmeabi-v7aDebug
designcompose:cargoBuildX86_64Debug
All fail with the same error:
A problem was found with the configuration of task ':designcompose:cargoBuildX86Debug' (type 'CargoBuildTask').
  - Type 'com.android.designcompose.cargoplugin.CargoBuildTask' property 'cargoBin' specifies file '<HOME_DIR>\.cargo\bin\cargo' which doesn't exist.

The file does exist in that location.  Editing CargoPlugin.kt  line 114 to add an exe will allow the task to continue:
 task.cargoBin.set(
                    cargoExtension.cargoBin.orElse(
                        project.providers.systemProperty("user.home").map {
                            File(it, ".cargo/bin/cargo")
                        }
                    )
                )

change to:
task.cargoBin.set(
                    cargoExtension.cargoBin.orElse(
                        project.providers.systemProperty("user.home").map {
                            File(it, ".cargo/bin/cargo.exe")
                        }
                    )
                )

After making this change the four task still fail but with this error:
could not exec the linker '<HOME_DIR>\AppData\Local\Android\Sdk\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\i686-linux-android26-clang'

Hi! I admit, I hadn't taken the time to make sure that it worked on Windows, our developers work on Linux and Mac.
May I ask why you're trying to build from source? The libraries are being published to Google's Maven repo, so apps can just use the published ones. If you're trying to run the Tutorial app, note that it has a seperate Gradle project, located in reference-apps/tutorial, which use the published libraries and does not involve building any Rust code.

I am trying to run the tutorial app.
I cloned the project an added it to Android studio.  I see these three options in the IDE:

Trying to run the tutorial app from there is giving me the issue.

I just tried it out on a Windows VM and got a different error, looks like Git doesn't handle symlinks on Windows by default, so the tutorial basically has no gradle.properties set. Should be an easy fix. Would you mind creating a seperate ticket for that? I should be able to fix that soon.

Merged in main, can be cherrypicked into a patch release if needed.

Apparently this part is still failing (although the tutorial is building in Windows on every change).

Using commit 92f397b2028129c35e95982abc25290b8441e4f5, i still see the Cargo build issue.  I added a video of how I am attempting to execute the tests as well a screen shot showing the error and the location of cargo on my machine.

https://github.com/google/automotive-design-compose/assets/64603080/8467e4e7-de89-4cee-a223-3524fae9818e

@iamralpht @timothyfroehlich It appears I don't have permissions to assign issues.


Make rand a dependency

This makes libramp use the rand library from crates.io, rather than the unstable one from rustc.  This fixes conflicts and mysterious-looking compile errors in dependent code that uses the external rand crate.

Many thanks for you help. I totally missed that dev-dependency.


Multi chip support

See #51.

Hmm, github was showing the wrong commits for the merge... I fixed that by changing the base to master and set it back to development.

Black magic

Review? By the way after your colpr hack I only see data of one chip when serial scannig. Nice.

Ah good to know. I will do the review in the coming days. Probably not before Monday.

To be tested before merging:

[ ] analog_scan
[ ] digital_scan
[ ] scan_ext_trigger
[ ] scan_fei4_self_trigger
[ ] scan_threshold_fast
[ ] scan_threshold
[ ] tune_fei4
[ ] tune_feedback
[ ] tune_hot_pixels
[ ] tune_noise_occupancy
[ ] tune_stuck_pixel
[ ] tune_tdac
[ ] tune_threshold_baseline

All features are implemented and all scans are tested with 3 chips in parallel. If BEAST results make sense, (especially tuning) I will merge quickly to development to have more testers. All possible enhancements (proper scan data handling in run base, proper serial/parallel scan setting etc.) can go to a new branch then.
@laborleben If you want to comment on bugs / feature regressions do a review please.

This implementation does not work for parallel scans where the configure is based on a fe-setting. E.g. when the enable mask is ORed with an existing enable mask (e.g. see external_trigger_scan). A solution would be to define (like the existing broadcast handles) a multi_handle looping over all chip cfgs. This is nevertheless needed for stave support with more than one data line.

@FlorianHinterkeuser : I added all promised changes. Please test.

All scans that I tested above should be retested now.

This is done. I'm not aware of any issue. The branch can be merged. @DavidLP Still waiting for pyBAR_fei4_interpreter to be available on PYPI to make unit test working again.

Before we merge, I want to merge development into master to have a stable release without multi chip support.


[WIP] refactor: return error instead of panic

Codecov Report

Merging #399 into master will decrease coverage by 0.59%.
The diff coverage is 59.45%.

@@            Coverage Diff            @@
##           master     #399     +/-   ##
=========================================
- Coverage   85.08%   84.49%   -0.6%
=========================================
  Files           7        7
  Lines        1321     1335     +14
=========================================
+ Hits         1124     1128      +4
- Misses        115      120      +5
- Partials       82       87      +5

Impacted Files
Coverage Δ

parser.go
83.44% <45.45%> (-0.61%)
:arrow_down:

operation.go
85.85% <52.94%> (-0.81%)
:arrow_down:

property.go
95.16% <88.88%> (ø)
:arrow_up:

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 b5d2fa7...0c72563. Read the comment docs.

we can close #348 after merged it.

Nice


Version 0.11.1121.0 seems to ignore the customizations in the configuration file.

Environment
Microsoft Windows NT 10.0.18363.0
Any other software?

# Steps to reproduce

In my configuration files I have specified the window size and the default shell. Both of the settings are ignored (same behavior on my 2 PCs). In the configuration file, the two settings are specified as follow:

    "alwaysShowTabs": true,
    "defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",

# Expected behavior

<!-- A description of what you're expecting, possibly containing screenshots or reference material. -->
I expect that the terminal window is opened with the specified size and the specified shell

# Actual behavior

<!-- What's actually happening? -->
Windows Terminal continue to open as default shell PSCore6 instead of my specified PS 7.0 and the size of the window is wrong.

Same thing happening to me, Windows 10 Education (Version 1909 build 18363.778).
My default terminal profile is CMD and it is opening in PS.

Thanks! /dup #5458


@BondarenkoStas added flutter doctor -v output.
Microsoft Windows [Version 10.0.18362.356]
(c) 2019 Microsoft Corporation. All rights reserved.
E:\flutter_app\flutter_app>flutter doctor -v
[√] Flutter (Channel master, v1.10.6-pre.29, on Microsoft Windows [Version 10.0.18362.356], locale en-IN)
• Flutter version 1.10.6-pre.29 at E:\flutter
• Framework revision 919cc97f6a (2 days ago), 2019-09-20 14:57:05 -0700
• Engine revision 99092a0436
• Dart version 2.6.0 (build 2.6.0-dev.1.0 7c1821c4aa)
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at E:\flutter
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• ANDROID_HOME = E:\flutter
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 3.5)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 39.0.3
• Dart plugin version 191.8423
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
[√] VS Code, 64-bit edition (version 1.38.1)
• VS Code at C:\Program Files\Microsoft VS Code
• Flutter extension version 3.4.1
[√] Connected device (2 available)
• Chrome • chrome • web-javascript • Google Chrome 77.0.3865.90
• Server • web    • web-javascript • Flutter Tools
• No issues found!

duplicate of https://github.com/flutter/flutter/issues/40876


fix(interactive): Support Start Tag for Graph Operators in Compiler

What do these changes do?
In the query 'g.V().as('a')...select('a').out()', the 'out()' operator must begin from the 'a' tag. The pull request (PR) modifies the compiler's graph operator structure to fulfill this requirement.

Related issue number

Fixes

Codecov Report

Merging #3376 (385a950) into main (c237328) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

@@           Coverage Diff           @@
##             main    #3376   +/-   ##
=======================================
  Coverage   41.04%   41.04%
=======================================
  Files         109      109
  Lines       11298    11298
=======================================
  Hits         4637     4637
  Misses       6661     6661

Continue to review full report in Codecov by Sentry.

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


[Bug]: xworkspaces not showing urgent label in AwesomeWM

Checklist

[X] I have read the appropriate section in the contributing guidelines
[X] I believe this issue is a problem with polybar itself and not a misconfiguration on my part
[X] I have searched for other open and closed issues that may have already reported this problem
[X] I have checked the known issues page for this problem.
[X] I have followed the debugging guide to narrow down the problem to a minimal config.

Steps to reproduce

Launch polybar.
In Awesome WM rc.lua, add a rule to always run firefox in tag "1". Additionally, remove the wibar by commenting it out.

...

    -- Create the wibox
    -- s.mywibox = awful.wibar {
    --     position = "top",
    --     screen   = s,
    --     widget   = {
    --         layout = wibox.layout.align.horizontal,
    --         { -- Left widgets
    --             layout = wibox.layout.fixed.horizontal,
    --             mylauncher,
    --             s.mytaglist,
    --             s.mypromptbox,
    --         },
    --         s.mytasklist, -- Middle widget
    --         { -- Right widgets
    --             layout = wibox.layout.fixed.horizontal,
    --             mykeyboardlayout,
    --             wibox.widget.systray(),
    --             mytextclock,
    --             s.mylayoutbox,
    --         },
    --     }
    -- }

...

    ruled.client.append_rule {
        rule       = { class = "firefox" },
        properties = { tag = "1", opacity = 1, maximized = false, floating = false }
    }

...

go to any other tag, press Super + r and type "firefox" to launch the program.

Minimal config
; DEFAULT CONFIG
[colors]
background = #282A2E
background-alt = #373B41
foreground = #C5C8C6
primary = #F0C674
secondary = #8ABEB7
alert = #A54242
disabled = #707880

[bar/example]
width = 100%
height = 24pt
radius = 6

; dpi = 96

background = ${colors.background}
foreground = ${colors.foreground}

line-size = 3pt

border-size = 4pt
border-color = #00000000

padding-left = 0
padding-right = 1

module-margin = 1

separator = |
separator-foreground = ${colors.disabled}

font-0 = monospace;2

modules-left = xworkspaces xwindow
modules-right = filesystem pulseaudio xkeyboard memory cpu wlan eth date

cursor-click = pointer
cursor-scroll = ns-resize

enable-ipc = true

; tray-position = right

; wm-restack = generic
; wm-restack = bspwm
; wm-restack = i3

; override-redirect = true

[module/xworkspaces]
type = internal/xworkspaces

label-active = %name%
label-active-background = ${colors.background-alt}
label-active-underline= ${colors.primary}
label-active-padding = 1

label-occupied = %name%
label-occupied-padding = 1

label-urgent = %name%
label-urgent-background = ${colors.alert}
label-urgent-padding = 1

label-empty = %name%
label-empty-foreground = ${colors.disabled}
label-empty-padding = 1

[module/xwindow]
type = internal/xwindow
label = %title:0:60:...%

[module/filesystem]
type = internal/fs
interval = 25

mount-0 = /

label-mounted = %{F#F0C674}%mountpoint%%{F-} %percentage_used%%

label-unmounted = %mountpoint% not mounted
label-unmounted-foreground = ${colors.disabled}

[module/pulseaudio]
type = internal/pulseaudio

format-volume-prefix = "VOL "
format-volume-prefix-foreground = ${colors.primary}
format-volume = <label-volume>

label-volume = %percentage%%

label-muted = muted
label-muted-foreground = ${colors.disabled}

[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock

label-layout = %layout%
label-layout-foreground = ${colors.primary}

label-indicator-padding = 2
label-indicator-margin = 1
label-indicator-foreground = ${colors.background}
label-indicator-background = ${colors.secondary}

[module/memory]
type = internal/memory
interval = 2
format-prefix = "RAM "
format-prefix-foreground = ${colors.primary}
label = %percentage_used:2%%

[module/cpu]
type = internal/cpu
interval = 2
format-prefix = "CPU "
format-prefix-foreground = ${colors.primary}
label = %percentage:2%%

[network-base]
type = internal/network
interval = 5
format-connected = <label-connected>
format-disconnected = <label-disconnected>
label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected

[module/wlan]
inherit = network-base
interface-type = wireless
label-connected = %{F#F0C674}%ifname%%{F-} %essid% %local_ip%

[module/eth]
inherit = network-base
interface-type = wired
label-connected = %{F#F0C674}%ifname%%{F-} %local_ip%

[module/date]
type = internal/date
interval = 1

date = %H:%M
date-alt = %Y-%m-%d %H:%M:%S

label = %date%
label-foreground = ${colors.primary}

[settings]
screenchange-reload = true
pseudo-transparency = true

; vim:ft=dosini

Polybar log
polybar|notice:  Parsing config file: /home/adibf/.config/polybar/config.ini
polybar|notice:  Listening for IPC messages (PID: 1837199)
polybar|notice:  Loading module 'xworkspaces' of type 'internal/xworkspaces'
polybar|notice:  Loading module 'xwindow' of type 'internal/xwindow'
polybar|notice:  Loading module 'filesystem' of type 'internal/fs'
polybar|notice:  Loading module 'pulseaudio' of type 'internal/pulseaudio'
polybar|notice:  pulseaudio: using default sink alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink
polybar|notice:  Loading module 'xkeyboard' of type 'internal/xkeyboard'
polybar|notice:  Loading module 'memory' of type 'internal/memory'
polybar|notice:  Loading module 'cpu' of type 'internal/cpu'
polybar|notice:  Loading module 'wlan' of type 'internal/network'
polybar|notice:  module/wlan: Discovered wireless interface wlp0s20f3
polybar|notice:  Loading module 'eth' of type 'internal/network'
polybar|error: Disabling module "eth" (reason: No interface found for type 'wired')
polybar|notice:  Loading module 'date' of type 'internal/date'
polybar|notice:  Loaded 9 modules
polybar|notice:  Loaded font "monospace" (name=Noto Sans Mono, offset=2, file=/usr/share/fonts/noto/NotoSansMono-Regular.ttf)

Expected behavior
tag "1" that contains the urgent client turns red, as per the setup in polybar's config.ini. AwesomeWM's default wibar correctly shows this behavior.
Actual behavior
no urgent indicator shown in polybar
Window Manager and Version
AwesomeWM 4.3
Linux Distribution
Arch Linux rolling release
Polybar version
polybar 3.6.3

Features: +alsa +curl +i3 +mpd +network(libnl) +pulseaudio +xkeyboard

X extensions: +randr (+monitors) +composite +xkb +xrm +xcursor

Build type: Release
Compiler: /usr/bin/c++
Compiler flags: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/polybar/src=/usr/src/debug -flto=auto -O3 -DNDEBUG -Wall -Wextra -Wpedantic -Wsuggest-override
Linker flags: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -Wall -Wextra -Wpedantic -Wsuggest-override  -Wall -Wextra -Wpedantic -Wsuggest-override

Additional Context / Screenshots
No response

Does the workspace turn red if you open a new tab while firefox is not visible?
My guess is that firefox does not have the urgent bit set when it first opens (at least it doesn't for me if you open an empty window).

Closing due to inactivity


Marathon treats working tasks as unhealthy and kills them

Hi, I have a bunch of applications deployed in dockers on Mesos (v0.22.1) and Marathon (v0.9.0).
Sometimes services restarting in Mesos (completed tasks status is KILLED).
Services use HTTP health checks (intervalSeconds = 30, maxConsecutiveFailures = 3, timeoutSeconds = 20).
It happens randomly and sometimes I even can see when task turns red at Marathon UI even so http check works well in browser (so service is healthy) and then Marathon kills and restart service that impacts overall system performance.
Log:
I1223 12:23:45.058763 32718 slave.cpp:1581] Asked to kill task prod-tracker-backend-processor.63dbfa9b-a965-11e5-a046-e24e
30c7374f of framework 20150527-135958-3712123914-5050-2238-0000
I1223 12:23:45.189750 32720 slave.cpp:2531] Handling status update TASK_KILLED (UUID: 09e76bce-f24c-4999-8933-270baf023c62
) for task prod-tracker-backend-processor.63dbfa9b-a965-11e5-a046-e24e30c7374f of framework 20150527-135958-3712123914-505
0-2238-0000 from executor(1)@<IP_ADDRESS>:33503
I1223 12:23:45.214113 32718 docker.cpp:1009] Updated 'cpu.shares' to 102 at /sys/fs/cgroup/cpu/docker/9e0bc3b40ad9b37c4a0f
6133ca1316c2addd2e2c5a7941e56a4e1770d7afd3a2 for container 9dad82a5-34e1-4bf9-a641-17129464a226
W1223 12:23:45.214740 32718 docker.cpp:1021] Container 9dad82a5-34e1-4bf9-a641-17129464a226 does not appear to be a member
of a cgroup where the 'memory' subsystem is mounted
I1223 12:23:45.216114 32724 status_update_manager.cpp:317] Received status update TASK_KILLED (UUID: 09e76bce-f24c-4999-89
33-270baf023c62) for task prod-tracker-backend-processor.63dbfa9b-a965-11e5-a046-e24e30c7374f of framework 20150527-135958
-3712123914-5050-2238-0000
I1223 12:23:45.216359 32724 status_update_manager.hpp:346] Checkpointing UPDATE for status update TASK_KILLED (UUID: 09e76
bce-f24c-4999-8933-270baf023c62) for task prod-tracker-backend-processor.63dbfa9b-a965-11e5-a046-e24e30c7374f of framework
20150527-135958-3712123914-5050-2238-0000
I1223 12:23:45.221278 32720 slave.cpp:2776] Forwarding the update TASK_KILLED (UUID: 09e76bce-f24c-4999-8933-270baf023c62)
for task prod-tracker-backend-processor.63dbfa9b-a965-11e5-a046-e24e30c7374f of framework 20150527-135958-3712123914-5050
-2238-0000 to master@<IP_ADDRESS>:5050
I1223 12:23:45.222024 32720 slave.cpp:2709] Sending acknowledgement for status update TASK_KILLED (UUID: 09e76bce-f24c-499
9-8933-270baf023c62) for task prod-tracker-backend-processor.63dbfa9b-a965-11e5-a046-e24e30c7374f of framework 20150527-13
5958-3712123914-5050-2238-0000 to executor(1)@<IP_ADDRESS>:33503
I1223 12:23:45.233886 32725 status_update_manager.cpp:389] Received status update acknowledgement (UUID: 09e76bce-f24c-499
9-8933-270baf023c62) for task prod-tracker-backend-processor.63dbfa9b-a965-11e5-a046-e24e30c7374f of framework 20150527-13
5958-3712123914-5050-2238-0000

A lot has changed since Marathon v0.9.0. Does this also happen with a more recent version?
HTTP health checks are performed by the Marathon leader. It would be useful to get the Marathon logs corresponding to the failing health checks.

@gkleiman thanks for reply, I am migrating to the newer marathon and mesos versions now
Where can I find Marathon logs?

@IharKrasnik by default Marathon will log to stdout, but depending your configuration you might also find the logs somewhere in /var/log/

@IharKrasnik I'm looking at this in relation to another issue. Are you still seeing the problem?

@jgarcia-mesosphere hi, yes I still have this issue but only with Marathon 0.9.0 + Mesos 0.22.1. The newer cluster with Marathon 0.13.0 and Mesos 0.26.0 seems to be ok

I have the same issue on RHEL7 system. Basically at random times the container is getting killed and an message is getting thrown out in the log as  "...slave.cpp:1890] Asked to kill task....". Does anybody know if there is a possible solution discussed somewhere?
Below is my current setup:
Marathon: 0.15.0
Mesos: 0.27.0
Docker: 1.7.1

+1 same problem :(
Our environment looks like this:

CentOS 7
Marathon: 0.15.2
Mesos: 0.28.1
Docker: 1.10.3

Our Observations
Services running inside docker are killed and restarted, when they do number crunching and/or are close to the memory limit for a few minutes.1
background information

typically we have Java microservices, e.g. running with memory limit "-Xmx512m"

the service is doing weather forecast, which just consumes ~400m Heap and runs ~3 hours on a macbook
BUT after ~3minutes marathon will kill/restart
during the number crunching the /health response times are within range 100ms ... 1200ms, always "200 OK"

we set marathon / docker limits to "--memory=512m"

we also tried marathon / docker limit set to  "--memory=600m" ==> same issue, but happens later

we set marathon "CPU=0.1"

Marathon Configuration
Health Checks configuration
[
  {
    "path": "/health",
    "protocol": "HTTP",
    "portIndex": 0,
    "gracePeriodSeconds": 30,
    "intervalSeconds": 10,
    "timeoutSeconds": 180,
    "maxConsecutiveFailures": 6,
    "ignoreHttp1xx": false
  }
]

Any ideas, what to do to find the root cause?

+1 same issue

+1

+1

+1

+1 important

@nitram509 can you please post the Marathon leader logs at the time that the task was killed?
One of the health checks probably timed out, making Marathon believe that the task was unhealthy.

+1

I'm afraid that I cannot help you without logs, so please post some logs instead of +1's ;-)

+1

@nitram509 with java mx and app mem both set to 512m you are certain to get tasks being killed.   It is unclear if 600m is enough headroom for a java process.   we commonly use 1.35x is a starting point which is just under 700m.   You have to account for the JRE memory + heap + perm or metaspace.  JNI etc will also have an impact... it also matters which version of Java you are running.
the difference in your scenario vs the original posts is it is highly possible you are having tasks killed by the OOM cgroup manager instead of marathon.   If this is the case you will see OOM notifier is triggered for container in the journal logs of the agent the task was running on.
based on information you provided I would guess you are not seeing issues with marathon but require adjustments in your configuration.   The logs should reveal this either way.
The original post by @IharKrasnik clearly shows the agent log being asked to kill the container.  We need the marathon logs to diagnose that issue.

I have gathered the marathon logs for @nitram509:
Jul  7 12:42:34 ip-10-4-1-10 marathon[941]: [2016-07-07 12:42:34,900] INFO Received health result for app [/haarp/air-quality-service/prod] version [2016-07-07T09:38:22.760Z]: [Healthy(haarp_air-quality-service_prod.2b2c3195-4439-11e6-8f67-02f576c4e3bd,2016-07-07T09:38:22.760Z,2016-07-07T12:42:34.900Z)] (mesosphere.marathon.health.HealthCheckActor:marathon-akka.actor.default-dispatcher-10)
Jul  7 12:42:44 ip-10-4-1-10 marathon[941]: [2016-07-07 12:42:44,921] INFO Received health result for app [/haarp/air-quality-service/prod] version [2016-07-07T09:38:22.760Z]: [Healthy(haarp_air-quality-service_prod.2b2c3195-4439-11e6-8f67-02f576c4e3bd,2016-07-07T09:38:22.760Z,2016-07-07T12:42:44.921Z)] (mesosphere.marathon.health.HealthCheckActor:marathon-akka.actor.default-dispatcher-20)
Jul  7 12:42:54 ip-10-4-1-10 marathon[941]: [2016-07-07 12:42:54,940] INFO Received health result for app [/haarp/air-quality-service/prod] version [2016-07-07T09:38:22.760Z]: [Healthy(haarp_air-quality-service_prod.2b2c3195-4439-11e6-8f67-02f576c4e3bd,2016-07-07T09:38:22.760Z,2016-07-07T12:42:54.940Z)] (mesosphere.marathon.health.HealthCheckActor:marathon-akka.actor.default-dispatcher-21)
Jul  7 12:43:04 ip-10-4-1-10 marathon[941]: [2016-07-07 12:43:04,963] INFO Received health result for app [/haarp/air-quality-service/prod] version [2016-07-07T09:38:22.760Z]: [Healthy(haarp_air-quality-service_prod.2b2c3195-4439-11e6-8f67-02f576c4e3bd,2016-07-07T09:38:22.760Z,2016-07-07T12:43:04.963Z)] (mesosphere.marathon.health.HealthCheckActor:marathon-akka.actor.default-dispatcher-10)
Jul  7 12:43:18 ip-10-4-1-10 marathon[941]: [2016-07-07 12:43:18,855] INFO Received health result for app [/haarp/air-quality-service/prod] version [2016-07-07T09:38:22.760Z]: [Unhealthy(haarp_air-quality-service_prod.2b2c3195-4439-11e6-8f67-02f576c4e3bd,2016-07-07T09:38:22.760Z,ConnectionAttemptFailedException: Connection attempt to <IP_ADDRESS>:31478 failed,2016-07-07T12:43:18.855Z)] (mesosphere.marathon.health.HealthCheckActor:marathon-akka.actor.default-dispatcher-16)
Jul  7 12:43:19 ip-10-4-1-10 mesos-master[896]: I0707 12:43:19.160756  1646 master.cpp:4763] Status update TASK_FAILED (UUID: befdfd61-cb35-48a0-bca2-e069146ca3a7) for task haarp_air-quality-service_prod.2b2c3195-4439-11e6-8f67-02f576c4e3bd of framework 413348e3-a215-4a98-a517-8f3784d86691-0000 from slave 89a2da04-f31b-401c-84e9-71abbf621399-S9 at slave(1)@<IP_ADDRESS>:5051 (<IP_ADDRESS>)
Jul  7 12:43:19 ip-10-4-1-10 mesos-master[896]: I0707 12:43:19.160811  1646 master.cpp:4811] Forwarding status update TASK_FAILED (UUID: befdfd61-cb35-48a0-bca2-e069146ca3a7) for task haarp_air-quality-service_prod.2b2c3195-4439-11e6-8f67-02f576c4e3bd of framework 413348e3-a215-4a98-a517-8f3784d86691-0000
Jul  7 12:43:19 ip-10-4-1-10 mesos-master[896]: I0707 12:43:19.160887  1646 master.cpp:6421] Updating the state of task haarp_air-quality-service_prod.2b2c3195-4439-11e6-8f67-02f576c4e3bd of framework 413348e3-a215-4a98-a517-8f3784d86691-0000 (latest state: TASK_FAILED, status update state: TASK_FAILED)
Jul  7 12:43:19 ip-10-4-1-10 marathon[941]: [2016-07-07 12:43:19,161] INFO Received status update for task haarp_air-quality-service_prod.2b2c3195-4439-11e6-8f67-02f576c4e3bd: TASK_FAILED (Docker container run error: Container exited on error: exited with status 137) (mesosphere.marathon.MarathonScheduler$$EnhancerByGuice$$c6c05dfe:Thread-155280)
Jul  7 12:43:19 ip-10-4-1-10 marathon[941]: [2016-07-07 12:43:19,165] DEBUG Ignoring status for [haarp_air-quality-service_prod.2b2c3195-4439-11e6-8f67-02f576c4e3bd] with no health information (mesosphere.marathon.health.MarathonHealthCheckManager$$EnhancerByGuice$$f9adff8e:ForkJoinPool-2-worker-119)
Jul  7 12:43:19 ip-10-4-1-10 marathon[941]: [2016-07-07 12:43:19,165] INFO Sending event notification for task [haarp_air-quality-service_prod.2b2c3195-4439-11e6-8f67-02f576c4e3bd] of app [/haarp/air-quality-service/prod]: TASK_FAILED (mesosphere.marathon.core.task.update.impl.steps.PostToEventStreamStepImpl$$EnhancerByGuice$$176ee50:ForkJoinPool-2-worker-73)
Jul  7 12:43:19 ip-10-4-1-10 marathon[941]: [2016-07-07 12:43:19,166] INFO initiating a scale check for app [/haarp/air-quality-service/prod] after task [haarp_air-quality-service_prod.2b2c3195-4439-11e6-8f67-02f576c4e3bd}] terminated (mesosphere.marathon.core.task.update.impl.steps.ScaleAppUpdateStepImpl$$EnhancerByGuice$$b159d64b:ForkJoinPool-2-worker-73)
Jul  7 12:43:19 ip-10-4-1-10 mesos-master[896]: I0707 12:43:19.166882  1646 master.cpp:3918] Processing ACKNOWLEDGE call befdfd61-cb35-48a0-bca2-e069146ca3a7 for task haarp_air-quality-service_prod.2b2c3195-4439-11e6-8f67-02f576c4e3bd of framework 413348e3-a215-4a98-a517-8f3784d86691-0000 (marathon) at scheduler-d8efffe0-6462-4383-87a9-65b42d3e11ad@<IP_ADDRESS>:59403 on slave 89a2da04-f31b-401c-84e9-71abbf621399-S9
Jul  7 12:43:19 ip-10-4-1-10 mesos-master[896]: I0707 12:43:19.166919  1646 master.cpp:6487] Removing task haarp_air-quality-service_prod.2b2c3195-4439-11e6-8f67-02f576c4e3bd with resources cpus(*):0.1; mem(*):600; ports(*):[31478-31479] of framework 413348e3-a215-4a98-a517-8f3784d86691-0000 on slave 89a2da04-f31b-401c-84e9-71abbf621399-S9 at slave(1)@<IP_ADDRESS>:5051 (<IP_ADDRESS>)

Unfortunately I can only see the ConnectionAttemptFailedException from marathon master.
The last healthy response was at 12:43:18 but one second later the task was updated to TASK_FAILED state. How comes this together with the health check configuration?
    "intervalSeconds": 10,
    "timeoutSeconds": 180,
    "maxConsecutiveFailures": 6,

The logs from the mesos agent regarding this task_id:
I0707 11:51:41.991942  4295 status_update_manager.cpp:824] Checkpointing ACK for status update TASK_RUNNING (UUID: 150e9b01-afea-4769-97b4-9b0539f46e8a) for task haarp_air-quality-service_prod.2b2c3195-4439-11e6-8f67-02f576c4e3bd of framework 413348e3-a215-4a98-a517-8f3784d86691-0000

I0707 12:43:19.079092  4288 slave.cpp:3002] Handling status update TASK_FAILED (UUID: befdfd61-cb35-48a0-bca2-e069146ca3a7) for task haarp_air-quality-service_prod.2b2c3195-4439-11e6-8f67-02f576c4e3bd of framework 413348e3-a215-4a98-a517-8f3784d86691-0000 from executor(1)@<IP_ADDRESS>:35355
I0707 12:43:19.156324  4295 status_update_manager.cpp:320] Received status update TASK_FAILED (UUID: befdfd61-cb35-48a0-bca2-e069146ca3a7) for task haarp_air-quality-service_prod.2b2c3195-4439-11e6-8f67-02f576c4e3bd of framework 413348e3-a215-4a98-a517-8f3784d86691-0000
I0707 12:43:19.156390  4295 status_update_manager.cpp:824] Checkpointing UPDATE for status update TASK_FAILED (UUID: befdfd61-cb35-48a0-bca2-e069146ca3a7) for task haarp_air-quality-service_prod.2b2c3195-4439-11e6-8f67-02f576c4e3bd of framework 413348e3-a215-4a98-a517-8f3784d86691-0000
I0707 12:43:19.160081  4290 slave.cpp:3400] Forwarding the update TASK_FAILED (UUID: befdfd61-cb35-48a0-bca2-e069146ca3a7) for task haarp_air-quality-service_prod.2b2c3195-4439-11e6-8f67-02f576c4e3bd of framework 413348e3-a215-4a98-a517-8f3784d86691-0000 to master@<IP_ADDRESS>:5050
I0707 12:43:19.160192  4290 slave.cpp:3310] Sending acknowledgement for status update TASK_FAILED (UUID: befdfd61-cb35-48a0-bca2-e069146ca3a7) for task haarp_air-quality-service_prod.2b2c3195-4439-11e6-8f67-02f576c4e3bd of framework 413348e3-a215-4a98-a517-8f3784d86691-0000 to executor(1)@<IP_ADDRESS>:35355
I0707 12:43:19.167239  4295 status_update_manager.cpp:392] Received status update acknowledgement (UUID: befdfd61-cb35-48a0-bca2-e069146ca3a7) for task haarp_air-quality-service_prod.2b2c3195-4439-11e6-8f67-02f576c4e3bd of framework 413348e3-a215-4a98-a517-8f3784d86691-0000
I0707 12:43:19.167330  4295 status_update_manager.cpp:824] Checkpointing ACK for status update TASK_FAILED (UUID: befdfd61-cb35-48a0-bca2-e069146ca3a7) for task haarp_air-quality-service_prod.2b2c3195-4439-11e6-8f67-02f576c4e3bd of framework 413348e3-a215-4a98-a517-8f3784d86691-0000
I0707 12:43:20.163040  4295 slave.cpp:3886] Executor 'haarp_air-quality-service_prod.2b2c3195-4439-11e6-8f67-02f576c4e3bd' of framework 413348e3-a215-4a98-a517-8f3784d86691-0000 exited with status 0
I0707 12:43:20.163080  4295 slave.cpp:3990] Cleaning up executor 'haarp_air-quality-service_prod.2b2c3195-4439-11e6-8f67-02f576c4e3bd' of framework 413348e3-a215-4a98-a517-8f3784d86691-0000 at executor(1)@<IP_ADDRESS>:35355
I0707 12:43:20.163343  4291 gc.cpp:55] Scheduling '/var/lib/mesos/slaves/89a2da04-f31b-401c-84e9-71abbf621399-S9/frameworks/413348e3-a215-4a98-a517-8f3784d86691-0000/executors/haarp_air-quality-service_prod.2b2c3195-4439-11e6-8f67-02f576c4e3bd/runs/996f332c-7376-4ccb-8d91-513665c6d0bb' for gc 6.99999811042667days in the future
I0707 12:43:20.163404  4291 gc.cpp:55] Scheduling '/var/lib/mesos/slaves/89a2da04-f31b-401c-84e9-71abbf621399-S9/frameworks/413348e3-a215-4a98-a517-8f3784d86691-0000/executors/haarp_air-quality-service_prod.2b2c3195-4439-11e6-8f67-02f576c4e3bd' for gc 6.99999810962963days in the future
I0707 12:43:20.163439  4291 gc.cpp:55] Scheduling '/var/lib/mesos/meta/slaves/89a2da04-f31b-401c-84e9-71abbf621399-S9/frameworks/413348e3-a215-4a98-a517-8f3784d86691-0000/executors/haarp_air-quality-service_prod.2b2c3195-4439-11e6-8f67-02f576c4e3bd/runs/996f332c-7376-4ccb-8d91-513665c6d0bb' for gc 6.99999810916741days in the future
I0707 12:43:20.163475  4291 gc.cpp:55] Scheduling '/var/lib/mesos/meta/slaves/89a2da04-f31b-401c-84e9-71abbf621399-S9/frameworks/413348e3-a215-4a98-a517-8f3784d86691-0000/executors/haarp_air-quality-service_prod.2b2c3195-4439-11e6-8f67-02f576c4e3bd' for gc 6.99999810887704days in the future

@bogue1979 what those logs show is that Marathon didn't kill the task, so the health checks are just a red herring and not the root cause of the termination. Marathon got a status update from Mesos saying that the task had failed, but it didn't initiate the kill.
I'd hope to find the root cause of the task failure in the Agent logs or in the task sandbox.

@gkleiman Thank you for pointing in the right direction. Will investigate further.

We've checked on this machine the kernel log, via
journalctl -f _TRANSPORT=kernel
But there is no log in this relevant time window.

I'm closing this issue, as the logs point to an application or Mesos failure, but not to a bug in Marathon.

Thank you all for your support.
Just for your information, these are the kernel logs, which clearly show, that our concrete JVM process hits the cgroup mem-limit and get's killed.
@kensipe Unfortunately, in our case the factor of 1.35 is not enough, because we use a lot of DirectBuffer (a.k.a. off-heap).
kernel: java invoked oom-killer: gfp_mask=0xd0, order=0, oom_score_adj=0
kernel: java cpuset=8efb22f5a09b6621b9aa2507c3a0c35e1b0399588dbb3a073130893cbcdf0c25 mems_allowed=0
kernel: CPU: 1 PID: 9949 Comm: java Tainted: P           OE  ------------   3.10.0-327.13.1.el7.x86_64 #1
kernel: Hardware name: Xen HVM domU, BIOS 4.2.amazon 05/12/2016
kernel:  ffff8801ec262e00<PHONE_NUMBER>30afbc ffff880072f63cd0 ffffffff8163571c
kernel:  ffff880072f63d60 ffffffff816306bc ffff8802ecd5f330<PHONE_NUMBER>000001
kernel:<PHONE_NUMBER>000003 ffff880072f63d30 ffffffff8116ca56 ffff880077dd10e8
kernel: Call Trace:
kernel:  [<ffffffff8163571c>] dump_stack+0x19/0x1b
kernel:  [<ffffffff816306bc>] dump_header+0x8e/0x214
kernel:  [<ffffffff8116ca56>] ? find_lock_task_mm+0x56/0xc0
kernel:  [<ffffffff8116ceee>] oom_kill_process+0x24e/0x3b0
kernel:  [<ffffffff81088dae>] ? has_capability_noaudit+0x1e/0x30
kernel:  [<ffffffff811d3bb5>] mem_cgroup_oom_synchronize+0x575/0x5a0
kernel:  [<ffffffff811d2f80>] ? mem_cgroup_charge_common+0xc0/0xc0
kernel:  [<ffffffff8116d764>] pagefault_out_of_memory+0x14/0x90
kernel:  [<ffffffff8162eaec>] mm_fault_error+0x68/0x12b
kernel:  [<ffffffff81641652>] __do_page_fault+0x3e2/0x450
kernel:  [<ffffffff816416e3>] do_page_fault+0x23/0x80
kernel:  [<ffffffff8163d948>] page_fault+0x28/0x30
kernel: Task in /docker/8efb22f5a09b6621b9aa2507c3a0c35e1b0399588dbb3a073130893cbcdf0c25 killed as a result of limit of /docker/8efb22f5a09b6621b9aa2507c3a0c35e1b0399588dbb3a073130893cbcdf0c25
kernel: memory: usage 712704kB, limit 712704kB, failcnt 3707
kernel: memory+swap: usage 712704kB, limit 1425408kB, failcnt 0
kernel: kmem: usage 0kB, limit<PHONE_NUMBER>740991kB, failcnt 0
kernel: Memory cgroup stats for /docker/8efb22f5a09b6621b9aa2507c3a0c35e1b0399588dbb3a073130893cbcdf0c25: cache:184KB rss:712480KB rss_huge:583680KB mapped_file:24KB swap:0KB inactive_anon:0KB active_anon:712480KB inactive_file:0KB active_file:80KB unevictable:0KB
kernel: [ pid ]   uid  tgid total_vm      rss nr_ptes swapents oom_score_adj name
kernel: [ 9931]     0  9931  1010807   177506     435        0             0 java
kernel: Memory cgroup out of memory: Kill process 16368 (java) score 998 or sacrifice child
kernel: Killed process 9931 (java) total-vm:4043228kB, anon-rss:710024kB, file-rss:0kB
kernel: docker0: port 4(veth5389cf8) entered disabled state
kernel: docker0: port 4(veth5389cf8) entered disabled state
kernel: device veth5389cf8 left promiscuous mode
kernel: docker0: port 4(veth5389cf8) entered disabled state


Bug with github.ref_type

Hello, There is a bug with github.ref_type.
Please see below.
Have a good day!
Thanks.
https://docs.github.com/en/actions/learn-github-actions/contexts#example-contents-of-the-github-context

thanks


Public Preview status for durable-python

Durable function python status was not clear from the this doc. It's mentioned for PowerShell but not for python, therefore reader might get the wrong idea about the status.

@vimalcha : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Move StorageClass definition into Template (env)

Description
This PR moves the StorageClassName definition into the Template Spec (inside the Environment specification), removing it from the startup flags.

/merge

/rebase

/merge


Issue starting bot after updating to latest stable branch

Describe the bug
After updating composer to the latest stable branch, and updating my existing bot to the latest code from the echo bot template and version 4.8.1 of the SDK, I get the following error when starting the bot in the composer:
Could not execute because the specified command or file was not found. Possible reasons for this include: * You misspelled a built-in dotnet command. * You intended to execute a .NET Core program, but dotnet-bin/Debug/netcoreapp2.1/BotProject.dll does not exist. * You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.
I ran dotnet build in the project folder directly without errors.
Here is the console output:

Version
Latest stable branch
Browser

[ ] Chrome
[ ] Safari
[ ] Firefox
[x] Edge

OS

[ ] macOS
[x] Windows
[ ] Ubuntu

Hi @lauren-mills , composer made changes for bot project template , can you try to create a new bot to sync with the latest changes and copy your existing composerdialogs into it to see if this could be reproduced ? Please also make sure the .NET Core SDK is 3.1 and above.

@lauren-mills are you still having issues?


Flox seems much slower in some cases?

Not sure if this belongs in xarray or here. And it's probably caused by me doing something wrong (or have messed up something in numbagg!).
It's motivated by a larger example that runs on dask and takes 128s vs. 8s.
Here's a smaller MCVE:
ds = xr.tutorial.load_dataset('air_temperature')

[ins] In [1]: xr.set_options(use_flox=True)
Out[1]: <xarray.core.options.set_options at 0x15022dbb0>

[nav] In [2]: %timeit -n 1 -r 1 ds.groupby('lon').count(...)
723 ms ± 0 ns per loop (mean ± std. dev. of 1 run, 1 loop each)

[ins] In [3]: xr.set_options(use_flox=False)
Out[3]: <xarray.core.options.set_options at 0x15022d8e0>

[ins] In [4]: %timeit -n 1 -r 1 ds.groupby('lon').count(...)
27.7 ms ± 0 ns per loop (mean ± std. dev. of 1 run, 1 loop each)

INSTALLED VERSIONS
commit:<PHONE_NUMBER>9e75d7b1a73a0e45e2cf4bd376ccaa
python: 3.9.18 (main, Aug 24 2023, 21:19:58)
[Clang 14.0.3 (clang-14<IP_ADDRESS>.1)]
python-bits: 64
OS: Darwin
OS-release: 22.6.0
machine: arm64
processor: arm
byteorder: little
LC_ALL: en_US.UTF-8
LANG: None
LOCALE: ('en_US', 'UTF-8')
libhdf5: 1.12.2
libnetcdf: None
xarray: 2023.9.1.dev10+gff14c6ba.d20230930
pandas: 2.1.1
numpy: 1.26.1
scipy: 1.11.1
netCDF4: None
pydap: None
h5netcdf: 1.1.0
h5py: 3.8.0
Nio: None
zarr: 2.16.0
cftime: 1.6.2
nc_time_axis: None
PseudoNetCDF: None
iris: None
bottleneck: 1.3.7
dask: 2023.5.0
distributed: 2023.5.0
matplotlib: 3.6.0
cartopy: None
seaborn: 0.12.2
numbagg: 0.6.0
fsspec: 2022.8.2
cupy: None
pint: 0.22
sparse: 0.14.0
flox: 0.8.1
numpy_groupies: 0.9.22
setuptools: 68.1.2
pip: 23.2.1
conda: None
pytest: 7.4.0
mypy: 1.6.1
IPython: 8.14.0
sphinx: 5.2.1

autoguessing is setting engine="flox" because it doesn't know about Xarray's ExplicitlyIndexed classes!
Pass engine="numbagg" explicitly in the meantime.
I'm not sure why the augtoguessed engine='flox' chooses to sort either.

I was wrong, the numbagg bit was quite buggy but hopefully #282 fixes all of it. It would be nice to add a logger to log the autoguessing


Missing remote and local address values in hostagent logs on start

Description
When I run limactl start $instance remote address values are missing from this log line:
INFO[0000] [hostagent] new connection from  to

$ limactl start development
INFO[0000] Using the existing instance "development"
INFO[0000] Starting the instance "development" with VM driver "vz"
INFO[0000] [hostagent] hostagent socket created at /Users/development/.lima/development/ha.sock
INFO[0000] [hostagent] Starting VZ (hint: to watch the boot progress, see "/Users/development/.lima/development/serial*.log")
INFO[0000] [hostagent] new connection from  to
INFO[0000] SSH Local Port: 54203
INFO[0000] [hostagent] [VZ] - vm state change: running
INFO[0000] [hostagent] Waiting for the essential requirement 1 of 2: "ssh"
INFO[0010] [hostagent] Waiting for the essential requirement 1 of 2: "ssh"

My instance configuration:
disk: "15GiB"

mountType: "virtiofs"
mounts:
  - location: "~/Lima/development/home"
    mountPoint: "/home/development"
    writable: true
  - location: "/tmp/lima"
    writable: true

vmType: "vz"
os: "Linux"
arch: "aarch64"

audio:
  device: "vz"
video:
  display: "none"
networks:
  - vzNAT: true
ssh:
  localPort: 54203
  loadDotSSHPubKeys: false
  forwardAgent: false
  forwardX11: false
  forwardX11Trusted: false

images:
  - location: "https://dl-cdn.alpinelinux.org/alpine/v3.19/releases/cloud/nocloud_alpine-3.19.1-aarch64-uefi-cloudinit-r0.qcow2"
    digest: "sha512:d5e69cff0ecb0fd3850bd78f56f66131115934df27b2373c35a85a74b9def52822134dd43f90b4fabe239fdd4452026cb45f1c8f0b36a43af69335a26f0959b5"
    arch: "aarch64"
containerd:
  system: false
  user: false

The only package I could find "new connection from" in is https://github.com/containers/gvisor-tap-vsock/blob/main/pkg/tap/switch.go


Update MEI implementation to be spec compliant

Problem
With the change to the MEI spec to now include scoped identifiers in addition to standard/MC types, we need to validate and possibly update our existing SDK implementations + code-gen constructs to ensure they are compliant.

I am unclear on the amount of change here - MEI defines what identifiers are, however from an internal SDK perspective it sounds like we should treat any number as acceptable and maybe add some range validations.
Not having extra validation does not sound like blocking due to spec.

Removing spec tag for now to soften the "blocker" status of this. I am unsure if this is actually for 1.0 anymore now that TestCluster is MEI and we have a sample MEI attribute in all clusters app.

I think we've tackled all that is needed for v1.0.


Bug: Tracing is not working when Event Source decorator is used

Expected Behaviour
If I add @tracer decorator the X-Ray tracing should work
Current Behaviour
If @tracer decorator is used together with @event_source decorator X-Ray tracing is not working.
Also original X-Ray SDK decorator @xray_recorder.capture() not working if @event_source decorator is used.
Code snippet
@tracer.capture_lambda_handler
@event_source(data_class=ActiveMQEvent)
def lambda_handler(event: ActiveMQEvent, context: LambdaContext):

    for message in event.messages:
    ....

### Possible Solution

_No response_

### Steps to Reproduce

Add tracer decorator together with event_source decorator

### Powertools for AWS Lambda (Python) version

latest

### AWS Lambda function runtime

3.12

### Packaging format used

Lambda Layers

### Debugging logs

_No response_

Hi @SZubarev, thanks for opening this issue and reporting what may be a bug.
I was trying to reproduce this error but I couldn't. Following the steps I did to reproduce. Can you please provide a minimal and reproducible code and payload?
code
from aws_lambda_powertools import Tracer
from aws_lambda_powertools.utilities.data_classes import event_source, EventBridgeEvent

tracer = Tracer()

@tracer.capture_lambda_handler
@event_source(data_class=EventBridgeEvent)
def lambda_handler(event: EventBridgeEvent, context):
    print("time ---->", event.time)
    return "OK"

payload
{
  "version": "0",
  "id": "6a7e8feb-b491-4cf7-a9f1-bf3703467718",
  "detail-type": "EC2 Instance State-change Notification",
  "source": "aws.ec2",
  "account": "111122223333",
  "time": "2017-12-22T18:43:48Z",
  "region": "us-west-1",
  "resources": [
    "arn:aws:ec2:us-west-1:123456789012:instance/i-1234567890abcdef0"
  ],
  "detail": {
    "instance_id": "i-1234567890abcdef0",
    "state": "terminated"
  },
  "replay-name": "replay_archive"
}

execution result
Test Event Name
zsas

Response
"OK"

Function Logs
START RequestId: 25dd6166-850a-4a8f-8934-8fa73846a51f Version: $LATEST
time ----> 2017-12-22T18:43:48Z
END RequestId: 25dd6166-850a-4a8f-8934-8fa73846a51f
REPORT RequestId: 25dd6166-850a-4a8f-8934-8fa73846a51f	Duration: 4.09 ms	Billed Duration: 4 ms	Memory Size: 128 MB	Max Memory Used: 63 MB	Init Duration: 527.00 ms
XRAY TraceId: 1-663d4990-18d87888009633dd6dae583a	SegmentId: f5914f9d61cd9bac	Sampled: true

Request ID
25dd6166-850a-4a8f-8934-8fa73846a51f

Trace

Thanks

Root cause was event sourcing from Amazon MQ which doesn't provide XRay headers to request when sending messages to lambda. Closing.


refactor: implemented blake2b-wasm in typescript

The Blake2b-wasm doesn't support in react-native, we should implement it in typescript, so that it can work in all js environments.

Codecov Report

Merging #411 into develop will increase coverage by 0.54%.
The diff coverage is 94.32%.

@@             Coverage Diff             @@
##           develop     #411      +/-   ##
===========================================
+ Coverage    89.91%   90.45%   +0.54%
===========================================
  Files           25       26       +1
  Lines          972     1111     +139
  Branches       237      253      +16
===========================================
+ Hits           874     1005     +131
- Misses          97      105       +8
  Partials         1        1

Impacted Files
Coverage Δ

packages/ckb-sdk-rpc/src/paramsFormatter.ts
100% <ø> (ø)
:arrow_up:

packages/ckb-sdk-utils/src/index.ts
100% <ø> (ø)
:arrow_up:

packages/ckb-sdk-utils/src/crypto/index.ts
100% <100%> (ø)
:arrow_up:

packages/ckb-sdk-utils/src/crypto/blake160.ts
100% <100%> (ø)
:arrow_up:

packages/ckb-sdk-utils/src/crypto/blake2b.ts
94.24% <94.24%> (ø)

The author of blake2b-wasm has published a package that supports pure js and wasm[https://github.com/emilbayes/blake2b/blob/master/index.js], but the blake2b-wasm it supports is up to v1.1(now it's v2.1). Would you like to integrate the wasm in your PR? Or I will do it later.

nice, but i don't have time for that integrate the blake2b and upgrade the blake2b-wasm to the latest version.


add per request attribute store

enable inter-request data sharing.
filter  --(query && fill data to attributes) --> filter -- (actions based on shared data) --> contoller
common scenes:

load balance by sharing session via redis or memcached
enrich request context data by querying cache

Good idea! please:

resolve compilation errors.
run ./format.sh to format the new source code (this needs new version of clang-format in your enviroment).

And IMO, using shired_ptr to achieve this is another option. See:
https://github.com/an-tao/drogon/blob/0b451353918ed6bc8fe702efc07948c8fcef9adf/lib/inc/drogon/WebSocketConnection.h#L80-L111
This approach is definitely faster than std::any, and if users don't use it, they don't need pay for it(constructing a container of std::anys), the downside is that type information is lost and the user must create a uniform type for all attributes(Or a map of any ^.^ ).
What do you think about this?

maybe we can make the attributes feature configurable?

It sounds good. You need to add the appropriate option in the configuration file. Thanks.

Here is the qrcode of a wechat drogon group:

Welcome!


fix(SPV-000): remove job run, move if statement, adjust name

Pull Request Checklist

[ ] 📖 I created my PR using provided  : CODE_STANDARDS
[ ] 📖 I have read the short Code of Conduct: CODE_OF_CONDUCT
[ ] 🏠 I tested my changes locally.
[ ] ✅ I have provided tests for my changes.
[ ] 📝 I have used conventional commits.
[ ] 📗 I have updated any related documentation.
[ ] 💾 PR was issued based on the Github or Jira issue.

https://github.com/bitcoin-sv/spv-wallet/actions/runs/10597844864/job/29368956186

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 49.01%. Comparing base (4541978) to head (b71aa64).

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #679   +/-   ##
=======================================
  Coverage   49.01%   49.01%
=======================================
  Files         264      264
  Lines       12226    12226
=======================================
  Hits         5992     5992
  Misses       5640     5640
  Partials      594      594

Flag
Coverage Δ

unittests
49.01% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report in Codecov by Sentry.

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


Header

Create a separate header component (based on the header in App Catalog)
title as a prop

Not necessary


Get the value of the tracking error after applying a constraint and a ex_ante_tracking_error

What are you trying to do?
I am optimising a portfolio with weights restriction and with ex_ante_tracking_error used (applied as a convex_function).
The process works fine. I get back weights.
My question is: How can I obtain the value of the tracking error?
Thanks so much in advance.
What have you tried?
ef_te_90_pct_co2_reduction = EfficientFrontier(mu, s, weight_bounds=(0, 1))
ef_te_90_pct_co2_reduction.add_constraint(
lambda w: carbon_emissions_data['Carbon intensity'].to_list() @ w <= unconstrained_co2_emissions * 0.10)
ef_te_90_pct_co2_reduction.convex_objective(ex_ante_tracking_error,
cov_matrix=ef_te_90_pct_co2_reduction.cov_matrix,
benchmark_weights=[1 / number_of_companies] * number_of_companies)
What data are you using?
What asset class: stocks from Europe,
how many assets: 600,
how many data points 600stokcks * 3 years.
But data is fine, is working. I just would like to compute the value of the tracking error.

Hi @aloariza,
You could do the following:
from pypfopt import objective_functions

te = objective_functions.ex_ante_tracking_error(w, cov_matrix, benchmark_weights)

Where w is the set of optimal weights. Hope this helps!


Album modelling

Album table and model needs to be done.
attributes:
ID
albumName
owner (foreign key to user table)

There are columns for:
id
title
description
user_id
pictures and albums are tied by the table "pictures_albums" which has colums
picture_id
album_id