HealthCheck information is not persisted

See https://github.com/mesosphere/marathon/issues/2104#issuecomment-281339588 for context
Similar to reservation info not surviving the ser/deser via the InstanceRepo, healthCheck information (as stored in the Mesos TaskStatus on a task) is lost when re-constructing instances from the repo.
@timcharper since you have fixed the related issue with reservations, can you have a look or guide someone through this? We might need to cleanup those formats rather sooner than later.

@heww in #2104 you wrote

At 17:00 (9:00 utc), the instance health check become to unknow

when did you update to Marathon 1.4.1? right before that? hours before?
Can you provide logs from the time when that task's health status became unknown and attach them here?
I can't seem to find evidence for the bug I assumed.

update to v1.4.1 at 2017-02-21T06:08:17.634954754Z

thanks @heww
So, roughly 3 hours after switching to 1.4.1, the health check status information became unknown. I'll investigate if that's possible when the instance becomes unreachable.

the unknown instance is still reachable from marathon ui, i can click the address in the marathon to access my website.

@heww Can you share the complete AppDefinition please? Feel free to cross out any confidential information I'm mostly interested in the complete structure regarding networking config, healthCheck config, etc., in order to reproduce the problem.

my AppDefinition is very simple, no more other things special
{
  "id": "/foo",
  "cmd": null,
  "cpus": 0.3,
  "mem": 512,
  "disk": 0,
  "instances": 1,
  "constraints": [
    [
      "node",
      "LIKE",
      "worker"
    ]
  ],
  "acceptedResourceRoles": [],
  "container": {
    "type": "DOCKER",
    "volumes": [
      {
        "containerPath": "/app/media",
        "hostPath": "/mnt/container-volumes/foo/app/media",
        "mode": "RW"
      }
    ],
    "docker": {
      "image": "index.foo.com/foo/foo:2d4631f0",
      "network": "BRIDGE",
      "portMappings": [
        {
          "containerPort": 5000,
          "hostPort": 0,
          "servicePort": 10102,
          "protocol": "tcp",
          "labels": {}
        }
      ],
      "privileged": false,
      "forcePullImage": true
    }
  },
  "env": {

  },
  "healthChecks": [
    {
      "gracePeriodSeconds": 300,
      "intervalSeconds": 60,
      "timeoutSeconds": 20,
      "maxConsecutiveFailures": 3,
      "portIndex": 0,
      "path": "/",
      "protocol": "HTTP",
      "ignoreHttp1xx": false
    }
  ],
  "labels": {
    "HAPROXY_0_VHOST": "foo.example.com",
    "HAPROXY_GROUP": "external",
    "MARATHON_DNS": "true"
  },
  "uris": [
    "file:///etc/docker.tar.gz"
  ],
  "upgradeStrategy": {
    "minimumHealthCapacity": 0.6,
    "maximumOverCapacity": 1
  }
}

Thanks @heww for the app definition. I couldn't reproduce the reported behavior from 1.3.10 to 1.4.1, but I will try to figure out if some edge case can lead to this.
Do you by chance have any logs (Mesos master/agent and Marathon) from the time of the incident?

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-2045. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.


fat client implementation

Quick update - I'm dropping Python3.9 support because it cleans up config and initialization a lot. If someone needs it it won't be too difficult to add back the support.
Still left todo: primarily tests

I still see some todos, so assuming that it's still work in progress, just left some comments while I was reading

One current problem: events are being dropped on client close if the thread is joined before the internal queue is drained fully.

One current problem: events are being dropped on client close if the thread is joined before the internal queue is drained fully.

Fixed that


Document RSA-PSS DER output change

A fix to https://github.com/openssl/openssl/issues/20088 which I have shared with them.
Checklist
Thank you for your contribution. Please answer the following:

[X] I acknowledge that I am authorized to submit this code under
the terms of the Apache License
[ ] All new public APIs are documented
[ ] All new public functions have tests
[ ] All new public functions have fuzzing tests

This is a mess that goes back much further, see e.g. this note from RFC 5754, which is explicitly about SHA-2 (a very similar note i also in RFC 4055):

NOTE: There are two possible encodings for the AlgorithmIdentifier
parameters field associated with these object identifiers.  The two
alternatives arise from the loss of the OPTIONAL associated with the
algorithm identifier parameters when the 1988 syntax for
AlgorithmIdentifier was translated into the 1997 syntax.  Later, the
OPTIONAL was recovered via a defect report, but by then many people
thought that algorithm parameters were mandatory.  Because of this
history, some implementations encode parameters as a NULL element
while others omit them entirely.  The correct encoding is to omit the
parameters field; however, when some uses of these algorithms were
defined, it was done using the NULL parameters rather than absent
parameters.  For example, PKCS#1 [RFC3447] requires that the padding
used for RSA signatures (EMSA-PKCS1-v1_5) MUST use SHA2
AlgorithmIdentifiers with NULL parameters (to clarify, the
requirement "MUST generate SHA2 AlgorithmIdentifiers with absent
parameters" in the previous paragraph does not apply to this
padding).

RFC 4055 and 8017 both require explicit NULL encoding rather than the encoding that OpenSSL 1.1 used, so the change in OpenSSL seems correct to me and the old documentation was just incorrect (as it quite often is).
Incidentally, that is also the reason for the existence of EVP_MD_FLAG_DIGALGID_NULL and
EVP_MD_FLAG_DIGALGID_ABSENT, but of course the intention was lost somewhere and the former was, to my knowledge, never actually used.

We ran into this undocumented change -- which I agree is now correct -- when a customer was using the old encoding and we stopped working during an OpenSSL upgrade. If you look at the fix you can see some of our investigation.
There's reasons why the IETF doesn't like parameters included as part of algorithms any more, and this is one of them. ;)


Kuka ros2 control and sim support package both added

contains launch file for gazebo classic and gazebo simulators, base models independent of ros2_control support

Except sim_support package we also need ros2_control_support package. So when we are using robot on the HW we don't need to install the simulators. This is dependency management thing.
Also, I have added some small comment to optimize files.

Except sim_support package we also need ros2_control_support package. So when we are using robot on the HW we don't need to install the simulators. This is dependency management thing.
Also, I have added some small comment to optimize files.

Below is the PR for ros2_control part alone
https://github.com/StoglRobotics-forks/kuka_experimental/pull/12

Please also add manual into README.md on how this repository can be used, dependencies installed and robot, mock hardware and simulation can be started.


Fix hierarchy rendering of terms in the world sample

The world sample termset was not correctly indented. Spaces has been added to fix it.

@stevebeauge - thank you for the fix. Much appreciated!


Reimplement copy-paste in the new engine

Ok, I took this for a test drive and found the following:

Sometimes that positions get. bit strange for the pasted components - this isn't hugely important, it was just confusing

The Qualifications for the copied component are not the correct ones:
A keypair has 2 qualifications:

Prop Validations
Can create Key Pair

When I copy a keypair, the qualifications tab shows me:

Prop Validations
si:setObject

The codegen doesn't change to reflect the name of the new component - even when I change it, codegen doesn't re-run

bors merge


Patch build.go so metadata works with "fyne package" when building app based on fyne@develop

Patch build.go so metadata works when "fyne package"ing app built on latest develop branch of fyne

Please provide more info on how you can trigger this problem - to our knowledge the build is not broken with develop branch.

go install fyne.io/tools/cmd/fyne@latest

then inside project
go get fyne.io/fyne/v2@develop

then
fyne package --release

no fyne_metadata_init.go is created and the app when started will have metadata version 0.0.1 and build no 1
I'm packaging my app right now with this patched version because I kept swearing for a week that develop branch broke again when packaging apps and then decided to do something about it.

What version of Go are you using?

go version go1.22.0 windows/amd64

here is some debug output i had put in while figuring out why the cli wasn't generating the metadata go file.
2024/03/31 14:49:05 injectMetadataIfPossible
2024/03/31 14:49:05 fyneGoModVersion v2.4.4-rc2.0.20240329173153-506db546dbfd
2024/03/31 14:49:05 Creating metadata init file
2024/03/31 14:49:11 injectMetadataIfPossible
2024/03/31 14:49:11 fyneGoModVersion v2.4.4-rc2.0.20240329173153-506db546dbfd
2024/03/31 14:49:11 Creating metadata init file

It looks like maybe Go 1.22 changed how versions of unreleased software are labelled...

Or perhaps it was because you downloaded it during a release cycle for the 2.4.x branch.
I suspect that a "go mod tidy" right now would fix the issue as no release candidate is under way.

It looks like maybe Go 1.22 changed how versions of unreleased software are labelled...

Or perhaps it was because you downloaded it during a release cycle for the 2.4.x branch. I suspect that a "go mod tidy" right now would fix the issue as no release candidate is under way.

It must be the latter - Go 1.22 testing here shows no change

can confirm problem still exists even after go mod tidy and downloading latest develop and reinstalling the fyne cmd
go mod tidy
go install fyne.io/tools/cmd/fyne@latest
go get fyne.io/fyne/v2@develop
go: upgraded fyne.io/fyne/v2 v2.4.4-rc2.0.20240329173153-506db546dbfd => v2.4.4-rc2.0.20240401200252-f528f23733b7
fyne package --release

Thanks for this info. I can also replicate it now. Somehow the version depends on state of other branches which I don't understand but the patch does resolve it!


VS Crash after debugging

RTVS_2016-04-25.3
I was debugging, paused debugging, stopped debugging, then opened variable explorer (which was hidden).  VS crashed and this is from event viewer:
Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: Microsoft.R.Host.Client.REvaluationException
   at Microsoft.R.Host.Client.RExpressionEvaluatorExtensions.ThrowOnError(System.String, Microsoft.R.Host.Client.REvaluationResult)
   at Microsoft.R.Host.Client.RExpressionEvaluatorExtensions+<ExecuteAsync>d__3.MoveNext()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
   at Microsoft.Common.Core.TaskExtensions+<DoNotWait>d__4.MoveNext()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__6_1(System.Object)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

I'll work on finding consistent repro and I'll send a frown.

Logs here: \pytools\r\Bugs\1697

Over to Pavel.

I was able to repro a second time.
Open the project at \pytools\r\Bugs\1697\rproject17
Attach debugger
Open TestData/dbg.R
Put a breakpoint in foo().
Source TestData/dbg.R
In REPL, type foo(1,2)
After it hits breakpoint, keep hitting F10.
Pause debugging.
Stop debugging.
Crash.

This is a bit of a unique case. Pause command issues a reentrant eval for browser() (it has to be reentrant to permit the prompt), and that eval remains active until the Browse> prompt that it causes is continued. If, instead, one does Stop Debugging - or e.g. cancels execution in the REPL - that causes this eval to fail. The code that triggers it uses DoNotWait, and doesn't swallow RException that it produces, so it leaks to the thread pool and produces a crash.
Other places that use ExecuteAsync or EvaluateAsync<T> do not use DoNotWait, but instead invoke it wrapped in RunSynchronouslyOnUIThread, which captures any exception and propagates it to the main thread, where it becomes a failing HRESULT when crossing the AD7 boundary, and is caught (and usually reported) by VS debugger code.


btrace: the backtrace does not include the function names

Already applied this PR: https://github.com/baresip/re/pull/177 and got this back trace without function names while examine a memory leak.
mem: Memory leaks (1):
  0x55682b64a248: nrefs=1  size=776     [60 e1 09 67 6e 7f 00 00 00 00 00 00 00 00 00 00 ] [`..gn...........]
/usr/local/lib/libre.so.1(+0x73b32) [0x7f6e6712db32]
/usr/local/lib/libre.so.1(mem_alloc+0x84) [0x7f6e6712dbea]
/usr/local/lib/libre.so.1(mem_zalloc+0x27) [0x7f6e6712dd24]
[0x7f6e6709b027]
[0x7f6e63f381fb]
[0x7f6e63f38824]
[0x7f6e63f36643]
[0x7f6e63f36a73]
[0x7f6e63f36b7d]
/usr/local/lib/libre.so.1(+0x5f927) [0x7f6e67119927]

Build host:

linux
gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)

Can you try: EXTRA_LFLAGS="-rdynamic
For baresip and retest this is set by APP_LFLAGS
https://github.com/baresip/retest/commit/37894fd170bf719f5015729d538f1fe3a2078bc5

This is with baresip. And -rdynamic is defined.

Don't we need -rdynamic also for linking libre.so and baresip modules shared libs?
I put a mem-leak into baresip main.c and also backtrace doesn't show the function name. The tool nm shows this:

$ nm build-x86_64/src/main.o
                 U atoi
                 U baresip_close
...
00000000000000f2 T main
                 U mem_debug
...
0000000000000083 t ua_exit_handler
...

Oh, realized that this maybe is the desired output for a mem-leak in baresip_init(). Right?
mem: Memory leaks (1):
  0x55bddc3b3db8: nrefs=1  size=10      [68 75 55 00 00 00 00 00 00 00                   ] [huU.......      ]
/usr/local/lib/libre.so.1(+0x73b32) [0x7f71a4085b32]
/usr/local/lib/libre.so.1(mem_alloc+0x84) [0x7f71a4085bea]
/usr/local/lib/libre.so.1(mem_zalloc+0x27) [0x7f71a4085d24]
./baresip(baresip_init+0x1a2) [0x55bddbc2d906]
./baresip(main+0x382) [0x55bddbc504ba]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f71a3de50b3]
./baresip(_start+0x2e) [0x55bddbc238de]

The top comment in this issue is from a mem leak which I assume to be in module multicast. I tried also with MOD_LFLAGS      += -rdynamic and got this linker command:
gcc -fPIC  -shared -rdynamic -L/usr/local/lib \
        build-x86_64/modules/multicast/multicast.o build-x86_64/modules/multicast/sender.o build-x86_64/modules/multicast/receiver.o build-x86_64/modules/multicast/player.o build-x86_64/modules/multicast/source.o    \
         -L../re -lre -o multicast.so

But the backtrace contains only the addresses.

Are they static?
"Note that names of "static" functions are not exposed, and won't be available in the backtrace."

A can you try to build libre.a and modules with STATIC=1, maybe this makes a difference for loaded modules and backtrace.

Are they static?
"Note that names of "static" functions are not exposed, and won't be available in the backtrace."

Yes this is the problem. Most functions in baresip modules are static. Now I also realized that the man page of backtrace tells this.

Can you try to build libre.a and baresip modules with STATIC=1, maybe this makes a difference for loaded modules and backtrace.

This helps for baresip modules. The backtrace shows that the memleak is in mcplayer_start(). This is one of the few non-static functions. I am afraid, that the backtrace does not help very much for finding mem leaks in modules. The flag STATIC=1 helps a little bit.

Maybe we can improve this with some addr2line tooling.

Yes something like this should be possible: https://gist.github.com/sreimers/4dace8e8600390a8104dd4ff65fb9165#file-stack_traces-c-L67

Looks great! I think this would be helpful. Looking forward to see results for static functions, also in baresip modules. :-)


Library does not work when link crawled is very slow

When the library is used on a link that is very slow the work threads count goes to zero and the threadmanager closes as there wasn't enough time for the links to be scheduled.
The delay added to wait for the list to be built is not enough
Log.Debug("Waiting for links to be scheduled...");
await Task.Delay(2500).ConfigureAwait(false);

Can confirm, this abot2 just does not work at all... Recommend you stick with abot1 💯

Can you give me a some examples sites/pages please?

http://zalahat.com
Is an example. I have more.
On Sun, Oct 6, 2019 at 4:22 PM Steven<EMAIL_ADDRESS>wrote:

Can you give me a some examples sites/pages please?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sjdirect/abot/issues/203?email_source=notifications&email_token=AD7XTOBJVSCHJPZNWS4QBWDQNHYC7A5CNFSM4I32VE3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAOLHCA#issuecomment-538751880,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD7XTOBR4VAJWKG6OWVSTFLQNHYC7ANCNFSM4I32VE3A
.

Appreciate it. Yes a few more world be helpful as well.

gamble1x2.com
casinosms.pl
centrodeapostas.com
Anything slower than 3 seconds will not be parsed.
On Sun, Oct 6, 2019 at 5:10 PM Steven<EMAIL_ADDRESS>wrote:

Appreciate it. Yes a few more world be helpful as well.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sjdirect/abot/issues/203?email_source=notifications&email_token=AD7XTOBLLD2ANKLJUETFS3TQNH5XNA5CNFSM4I32VE3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAOMJTI#issuecomment-538756301,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD7XTOD3ZNTD74QLKKDDNC3QNH5XNANCNFSM4I32VE3A
.

Instead of just waiting longer I reverted back to the old way of blocking the thread with Thread.Sleep.

@sbonello @erherhh4herh Can you both verify this has been fixed?

Nope same issue. If the site takes longer than 2.5 seconds to load it will
not be parsed.
Simon
On Sun, Oct 6, 2019 at 5:01 PM Simon Bonello<EMAIL_ADDRESS>wrote:

http://zalahat.com
Is an example. I have more.
On Sun, Oct 6, 2019 at 4:22 PM Steven<EMAIL_ADDRESS>wrote:

Can you give me a some examples sites/pages please?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sjdirect/abot/issues/203?email_source=notifications&email_token=AD7XTOBJVSCHJPZNWS4QBWDQNHYC7A5CNFSM4I32VE3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAOLHCA#issuecomment-538751880,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD7XTOBR4VAJWKG6OWVSTFLQNHYC7ANCNFSM4I32VE3A
.

Am able to reproduce and have a fix i'm still testing. Bear with me, hopefully i can polish it up tomorrow.

I believe I fixed the issue. Even added some integration tests to make sure Zalahat is crawled correctly. The latest nuget package (2.0.46) should be up to date. Please verify whether it works or does not for you.

Assuming the silence means its working as expected.


Proposal: Ability to assign and track MAC addresses and pools.

I propose that MAC address pools, assignment and tracking should all be a part of Netbox. While this likely won't matter quite so much with normal hardware devices, VM's can be assigned dynamic MAC's within a variety of different reserved and private pools. The ability to both define pools, and assign new addresses within these pools will be useful from both a functionality and security standpoint.
Thoughts?

Personally I don't think this belongs in the core NetBox suite as it doesn't fall into the right side of the 80% rule.

NetBox already supports the assignment of MAC addresses to interfaces. It doesn't support VMs though, so introducing support for MAC address pools wouldn't make much sense. Maybe we can revisit this idea after VM support gets implemented.


Command: toggle_distraction_free

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1196984-command-toggle_distraction_free?utm_campaign=plugin&utm_content=tracker%2F282001&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282001&utm_medium=issues&utm_source=github).

Migrated to limetext/lime-backend#10.


fix: remove unused package

Signed-off-by: Akarshit Wal<EMAIL_ADDRESS>This PR removes the unused dependency (which had a security issue also)
Testing

Clone the PR, link it using bin/package-link in reaction.
Test the authentication flow.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Training Grabber to notice account name changes within imageboard platforms?

Is your feature request related to a problem? Please describe
Let me take Twitter for example I'm not sure if it applies to other imageboard platforms but let's say I scrape an account @Xyez231 for a month or so, I might leave it as it is and let's say suddenly the next day the account has changed it's name to @XYZ1121 I need to take the effort of going through the internet and seeing if the person is under a different alias and as well as lookup Twitter itself to see if someone has changed their name which takes minutes to maybe even hours and sometimes impossible to know if they have changed their name or deleted their account. Now imagine this is a 500-600 monitor list will be really frustrating to check and correct which account is facing this issue. Not only that I need to keep a constant touch on Grabber's logs to know if something is going wrong.
Describe the solution you'd like
This all sounds too impossible but maybe training Grabber in such a way where it can identify account name changes in Twitter by noticing if its characters match between its old and new name? Or maybe checking if X images from the old account match X images on the new account? Here X is whether both the images have the same metadata to distinguish them? Or maybe if it's possible for Grabber to open up all the images from the old account and maybe understand the pattern and see if it matches any of the accounts on Twitter? maybe once it finds relations with the account it can give the user a prompt suggesting a list of combination usernames showing that these account names could possibly be the new account's name?
Describe alternatives you've considered
No alternatives so far.
Additional context
Take this with a pinch of salt, I feel like this might be too much for Grabber to do all by itself since Grabber was only made to scrape images from said user account's and if an error does come it's up to the person to correct it or leave it as it is. But maybe if it's possible or something could be done about this issue it will surely be nice to have a feature for people who want to just set the monitor list and forget about it and if in case the account name changes the user can receive a prompt that such a thing has happened and maybe even see possible combinations of the new account's username but again it sounds too impossible to implement such a feature for Grabber since even though I've mentioned some solutions there can always be flaws about it and there can't really be a definite way to identify if a user has changed their name or not or if the account itself is deleted so it's basically up to the person to correct it. But all I can do is hope that it might be possible one day.

Grabber has a way to correct that, the renamming tool, I don't know if ti work for twitter, plus you have to save md5 in your filename. But with it you can run in one pass all your folders, then take not of what have changed (update your monitors.), and it will update all your files with new artists name.

Grabber has a way to correct that, the renamming tool, I don't know if ti work for twitter, plus you have to save md5 in your filename. But with it you can run in one pass all your folders, then take note of what have changed (to update your monitors.), and it will update all your files with new artist/author name.

Hmm about this, I haven't tried it yet but it sparked some sort of issue co-related to this thread's topic if I for example have the old account folder name and the person changed his account name to something else Grabber won't combine both the folders into one since it thinks those two are different account name folders where in reality both of them are the same except the person changed his/her username to something else entirely. Maybe the renaming tool which you're talking about might help in this case but I haven't known about this issue until now nor have I tried to actually use the renaming tool.

I understand where you're coming from, but I feel this is not really possible easily, and would be pretty much out of scope for Grabber. If Twitter had some way to "link" to the replacement account sure, but that's not the case, and if it were you could even do it manually without much worries.
Renaming tool shouldn't help much in your case since there's no link between the old content and the new one, unlike other sources where you can just load an image's MD5 / ID and get the updated data.
I'll close at "won't fix" but it's more like impossible / out-of-scope 😞


fix: server mounting [BREAKING CHANGE]

Description
Fixes incorrect usage of originalUrl. Introduced in https://github.com/chimurai/http-proxy-middleware/pull/18
Now you can modify the basePath, which express' app.use already provides..
// mount on "/users" and keep the "/users" base path
app.use('/user', createProxyMiddleware('target': 'https://jsonplaceholder.typicode.com/users'))

// mount on "/users" and change the "/users" base path
app.use('/user', createProxyMiddleware('target': 'https://jsonplaceholder.typicode.com/customers'))

Motivation and Context

https://github.com/chimurai/http-proxy-middleware/issues/225#issuecomment-351230574
https://github.com/chimurai/http-proxy-middleware/pull/723#issuecomment-1068529477
https://github.com/expressjs/express/issues/4854#issuecomment-1066171160

How has this been tested?

Unit tests

Types of changes

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

Checklist:

[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.

Coverage decreased (-0.007%) to 98.788% when pulling e74499e9ae704d35ea7ba409da0f8915ce2892a7 on fix-originalUrl into 8a2e7a6c6db8eb6a91c88e8fb9959e24acc64ca7 on v3.


user.get('rtm.tasks.getList', params, function(err, resp)) not working normally with params

I have tried to use this method to get a taskseries and then filter out all the uncompleted tasks in that list.
I am trying the below nodejs code:
    let params = {
        list_id: "42777480",
        taskseries_id: "361846324",
        completed: ""
    };

    currUser.get('rtm.tasks.getList', params, function(err, resp){
        if (err) {
            return console.log(err.toString());
        }
        console.log(resp);

        var jsonStr = JSON.stringify(resp);
        console.log(jsonStr);
    });

But I got all the lists under the list_id 42777480, the other params still not working. Could you let me know how to use this API to achieve detail filters?
It's really critical for me. Please take a look asap.
Thanks!
Allen

Sorry I didn't see this sooner.  If you haven't gotten it working yet, take a look at the rtm.tasks.getList method documentation here: https://www.rememberthemilk.com/services/api/methods/rtm.tasks.getList.rtm
list_id is a valid method parameter.  However, taskseries_id and completed are not parameters for this method.  If you want to do further filtering on the returned list of tasks, you'll want to use the filter parameter which uses the RTM's Advanced Search syntax: https://www.rememberthemilk.com/help/?ctx=basics.search.advanced


Not working in Android Studio 1.0 RC1

As in subject.

Plugin is not working with AS 1.2 Preview 1


Add support for image optimization

We need to get up to speed with the .NET SDK regarding image optimization.
Here's the code: https://github.com/Kentico/delivery-sdk-net/pull/113/files
Example
Scale
image.jpg?mode=scale&width=300
image.jpg?mode=scale&height=150
image.jpg?mode=fit&height=150&width=300
DPR
image.jpg?mode=scale&width=300&dpr=2.0
Specification
If a developer provides a parameter with invalid value or omits a parameter that is required for desired optimization, the Asset API will either ignore this parameter, or return the original asset without any optimizations.
Also, to keep our sanity, we will transform each image optimization parameter independently from others. Yes, this approach might sometimes produce surprising results. However, both Fastly and imgix are designed to handle a set of parameters that do not make sense and we are not making the situation worse.
Regarding requests to the Asset API, the idea is to go through all parameters, transform the supported ones and get rid of everything else.
To get a grasp of the image optimization You can experiment with two identical images:

https://kentico.imgix.net/src/image.jpg
https://www.fastly.io/image.jpg

rect=x,y,w,h (incompatible with crop)

-
-

x is not float
Nothing

x < 0.0
Nothing

y is not float
Nothing

y < 0.0
Nothing

w is not float
Nothing

w <= 0.0
Nothing

h is not float
Nothing

h <= 0.0
Nothing

h <= 0.0
Nothing

otherwise
crop={w},{h},x{x},y{y}

If the rect parameter is malformed, just ignore it.
fit=crop&crop=focalpoint&fp-x=x&fp-y=y&fp-z=z (incompatible with rect)

-
-

x is not float
set x as 0.5

y is not float
set y as 0.5

z is not float
Nothing

z <= 1.0
Nothing

1 / z < 1.0
Nothing

otherwise
crop={1 / z},{1 / z},offset-x{(x * z - 0.5) / (z - 1)},offset-y{(y * z - 0.5) / (z - 1) * 100}

Both offset-x and offset-y must be clamped into range from 0 to 100.
imgix supports crop by both rectangle and focal point. Unfortunately, it is not so easy to calculate Fastly parameters. Therefore, let's declare the rect parameter more important. So, if both crop by rectangle and focal point are specified, choose the first.
fm=x

-
-

x = gif
format=gif

x = png
format=png

x = png8
format=png8

x = jpg
format=jpg

x = pjpg
format=pjpg

x = webp
format=webp

otherwise
Nothing

fm=webp&lossless=x

-
-

x = 1
format=webpll

x = true
format=webpll

x = 0
format=webply

x = false
format=webply

otherwise
format=webp

q=x

-
-

x is not float
Nothing

otherwise
quality={x}\

auto=x

-
-

x = format
auto=webp

otherwise
Nothing

Local variables and related functions will be required to transform parameters.

Looking over this API, this really can be done today in the view layer of whichever rendering engine one picks using this SDK.  Since a plethora of rendering engines are available in the Java ecosystem, this SDK was designed with an abstraction layer for rendering inline modular content.
That said, the SDK does provide an optional Thymeleaf rendering engine for inline modular content.  The SDK could provide a 'Kentico' Thymeleaf dialect with expression objects to make this (and many other things) easier, as well as potentially being registered into a main application's Thymeleaf rendering engine (outside of inline content).
We have a few things in a custom Thymeleaf dialect that we are using at TrustedChoice.com with Kentico, I'll see what I could carve out some of it and push as a separate Github issue.  Once that support is in, then it should be simple to expand it with this.

Dialect creation issue here: #62

Ok, thanks @aweigold. That sounds good to me :)


[EN] Feedback for: /_langs/en/updates/index.html

Shouldn't there be a way to subscribe to such an important page? Can I use Google Alerts to do this?
Thank you

I have a Google Alert set for: inurl:developers.google.com/web/updates/. I'll update if i get a 'hit'.

We have RSS and atom feeds for this that are referenced in the source.
On Wed, 29 Jul 2015 18:08 Andrew Barfield<EMAIL_ADDRESS>wrote:

I have a Google Alert set for: inurl:developers.google.com/web/updates/.
I'll update if i get a 'hit'.
—
Reply to this email directly or view it on GitHub
https://github.com/google/WebFundamentals/issues/1490#issuecomment-126020531
.

Thank you!


Hotfix - Prevent Center Graph

Description

Perform manual updates to merge the style attributes on the edges.
Remove setStatusStyle errors when re-trigger position.

Testing Steps

perform module installation in packages/graphin
perform npm run dev and observe the console.

thanks, this seems to do the trick!


No deprecation warnings.

Epic

tottaly not stolen from a another suicide mouse mod :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface:

sshhh

tottaly not stolen from a another suicide mouse mod :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface:

shhh

maybe it's from Wednesday idiftely,.,.,..,..,.,

maybe🤔

tottaly not stolen from a another suicide mouse mod :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface: :trollface:

shhh

maybe it's from Wednesday idiftely,.,.,..,..,.,

maybe🤔

nah, it is!!!!1111 bozo

bruh💀

dope

dope

thx


Paths

Considering this link: SPLC where the example show six path traverse through the link (D, F) thus give it the SPLC value 6. They are: B-D-F-H-K, B-D-F-I-L, B-D-F-I-M-N, D-F-H-K, D-F-I-L, and D-F-I-M-N.
My question is: It is possible to output this path nowadays in your source-code?
Thanks a lot.

You need to code the graph from wikipedia as a Graphs.jl graph object. Then you can get the SPLC weights like so, where g represents your graph:
weightsfun = SPLCEdge(:none)
weightsfun(g)

Hello, @jfb-h thanks. That I figured out. See the code below:
`function createGraph(g)
add_edge!(g, 1, 3)
add_edge!(g, 2, 3)
add_edge!(g, 2, 4)
add_edge!(g, 2, 9)

add_edge!(g, 3, 5)
add_edge!(g, 3, 8)

add_edge!(g, 4, 6)
add_edge!(g, 4, 10)

add_edge!(g, 9, 11)

add_edge!(g, 5, 7)

add_edge!(g, 6, 8)
add_edge!(g, 6, 10)

add_edge!(g, 7, 8)

add_edge!(g, 8, 12)

add_edge!(g, 10, 13)
add_edge!(g, 10, 11)

add_edge!(g, 11, 14)

end`
In this code I have created the graph.
When I execute the code:
eweights = SPLCEdge(:none)(g)
It gives me the follow output:
SparseArrays.SparseMatrixCSC{Float64, Int64} with 17 stored entries:   ⋅    ⋅   2.0   ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅     ⋅    ⋅    ⋅    ⋅    ⋅   2.0  5.0   ⋅    ⋅    ⋅    ⋅   1.0   ⋅    ⋅     ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅   3.0   ⋅    ⋅   3.0   ⋅    ⋅    ⋅     ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅   6.0   ⋅    ⋅    ⋅   4.0   ⋅     ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅   4.0   ⋅    ⋅    ⋅    ⋅     ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅   3.0   ⋅   6.0   ⋅     ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅   5.0   ⋅    ⋅    ⋅     ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅   12.0   ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅   2.0    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅   6.0    ⋅   6.0   ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅     ⋅    ⋅   9.0   ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅     ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅     ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅    ⋅     ⋅    ⋅    ⋅
Which It is perfect, however, note that I would like to be able to get all paths from (D, F). They are: They are: B-D-F-H-K, B-D-F-I-L, B-D-F-I-M-N, D-F-H-K, D-F-I-L, and D-F-I-M-N.
To make easier to create the graph, I have used numbers instead of words, where, A == 1, B == 2, so on.
Would be possible to get all the paths?

I was searching and reading some papers, and I found that what I need is the path search, which is performed based on the traversal counts, one can then search for the most significant path(s). According to the literature, it is possible to implement this path search in tree different ways: (i) local search, (ii) global search, and (iii) key-route search.
Is it possible to include these or any of them in the project?
Thanks for your support :D

That's what the mainpath() function does. You pass it the graph, a specification for calculating weights (e.g. SPLCEdge(:none) and a specification for the main path traversal (e.g. ForwardLocal(start)) where start is a vector of nodes at which the main path traversal should be started.

Not sure if I understand, but the central point of main path analysis is generally to get the "main" path, so returning all possible paths is out of scope and also computationally not feasible with all but the simplest graphs. However, the object returned by a call to the mainpath() function contains itself a graph which represents the subgraph obtained by traversing from the start nodes with the specified traversal algorithm along the maximum weight edges/nodes:
mp = mainpath(g, ...)
mp.mainpath # this is the "main path graph"

Thanks for all you help, could you please explain the output that mp.mainpath will return?
Here in my example I got the following output: {7, 6} directed simple Int64 graph. How could I grab all vertex related to the man path. Thanks

For instance, please, see the image bellow.

I created the same representation. Then, I applied the main path analysis like this:
start = [2,4]; traversal = ForwardLocal(start) eweights = SPLCEdge(:none) result = mainpath(g, eweights, traversal) print(result.mainpath)
And the output was: {7, 6} directed simple Int64 graph. Is this correct? How could I grab the vertexs? Thanks :D

@jfb-h I try to replicate in the gist: https://gist.github.com/rdurelli/4d25adec871c12a01b4dcbb1d94f30af
You have been very helpful thanks a lot :D

Running your gist I get a MainPath with 13 vertices and 16 edges. so it looks like it still isn't the same as in the wikipedia one you posted. You might want to plot the graph to figure out what your it looks like and validate your mainpath:
using GLMakie, GraphMakie

labels = ('A':'Z')[1:nv(g)]
graphplot(g, nlables=string.(labels))


Lost all ranks after updating

Description
I updated the plugin after that all ranks went missing, so did i lose all the data now?
Reproduction Steps
How can i fix this?
Expected Behaviour
All ranks would be there after updating
Server Details
paper 1.19.2
LuckPerms Version
v5.4.52
Logs and Configs
No response
Extra Details
No response

Could you please send your full startup logs? LP isn't in the habit of randomly deleting your data so I suspect there was an error loading it.


Preview pane for folders

Describe the solution you'd like
Some additional informations about the folder (like how much sotrage does it take, how much files does it contain, or how much files with x file extension).

@KristofKekesi This enhancement was implemented with #3639.

Unfortunately, Folder previews were not finished in #3639, and were disabled.
I made a new PR where I will continue work on implementing this, #3773.
Also, here's what folder previews look like so far.


Tracking Color not Sticking

The tracking color that shows for each controller doesn't stick, so if i reset the controller it'll show a different color, like red or yellow, but then when in SteamVR it's cyan and magenta. The reason I have a problem with this, is because I either killed the blue in the LED or disconnected it, but red and green work (both cyan and magenta rely on blue... so yeah) .

The tracking color assigned to each controller is doled out in the order the controller connected to psmove service, which is totally arbitrary and leads to problems like this. Someone else was requesting the ability to assign a tracking color to a controller serial number (dedicate a color for their HMD). I think I'll work on that tonight since that'll solve this problem too.

I ended up just recalibrating the cameras to think red is cyan

I found #221, so I closed this one.


Sugestion on future release numbers

I think we have done far too less releases during the past years.
Especially when users complain about stuff not working, it would be much easier if we have a meaningful release version number.
My suggestion is now to:

use Minecraft minor part of version number also as minor part of our version number
only upgrade that number if something in normal code has changed for that version, so definition updates are out of scope
if we provide official release downloads for each of that versions is something different, but at least the nightly builds will have new numbers

With that, users will directly see they are using Minecraft 1.18 but Minutor is still at 2.17, so their new build height will not be rendered correctly. I think it is fine that we have a different major number than Minecraft (2 versus 1), as Mojang probably will never change the major number.
This PullRequest will bump the version number to 2.17.0 as the last major code change was for 1.17 update.

Makes sense.  We also should switch over to using Qt Installer Framework and dynamic linking.  The ridiculous amount of work to compile a static qt is what's really slowing down releases.


note while updating immupdate

Hi,
I use a custom build of this package and was using latest of all dependencies. There was a behavior change of an API on immupdate package. I spent some time hunting it down, and hope it saves some for you.
import update, { updateKey } from 'immupdate';

update now takes an object, and old behavior can be achieved with updateKey. So, in Value.js, we need to use updateKey instead of update.
Cheers.

Awesome. Thanks, will fix that after I come back from vacation.
On Wed, Mar 2, 2016, 22:24 bsr203<EMAIL_ADDRESS>wrote:

Hi,
I use a custom build of this package and was using latest of all
dependencies. There was a behavior change of an API on immupdate package. I
spent some time hunting it down, and hope it saves some for you.
import update, { updateKey } from 'immupdate';
update now takes an object, and old behavior can be achieved with
updateKey. So, in Value.js, we need to use updateKey instead of update.
Cheers.
—
Reply to this email directly or view it on GitHub
https://github.com/prometheusresearch/react-forms/issues/126.

Thanks for mention in, @bsr203 . I'm trying to make a simple date component and onChange returning empty object  instead of date now.

Hm. It's not related to date, will add another issue

available in https://github.com/prometheusresearch/react-forms/pull/135/commits/3fe3709f445bfd789451c9ec0f1089c25baedc6a

We've got rid of immupdate entirely.


Take a look at Typescript types issues as seen in #259

As per title - #259 had some types issues that should be resolved

Fixed by #284

Fixed by #284


Fixed quite a few issues and removed quite a few un-needed containers.

Hello!
Here is what I have changed and fixed:

When pulling from a private server, if the username was an email, and the email had a period, it would add a sub-object in Grafana.
This was fixed by adding the replaceName option to the config, if it is added, the username is replaced with whatever is in the replaceName attribute.

Switch from this container dance to just pure graphite. Makes the compose easier to understand and debugging much easier.

Remove traefik, as it would probably be better for the user to add it themselves.

Fixed the AdminStatsUsers getter, as it was attempting to forEach((user) => {}) over an object. That did not work.

Cleaned up the example config files, making it a bit easier to understand.

Thanks looks good!


Redesigning process

Redesigning Process, removed Sender from API.
We already have MessageEnvelope which carries sender information,
previously the message envelope was created inside the local process.
Now it is created at the call site.
This is done to enable passing message headers together with the message and to eventually complete the outbound middleware.
In my machine the Router tests break now, I cant fint out why.
Any router based example works fine, so I need to locate the issue before merging.

Or is there an issue with the router tests that have been fixed recently?
The tests seems to fail silently here on the CI too.
cc @AsynkronIT/developers

Any way to re-run tests?
It works locally now

Ready for merge cc @AsynkronIT/developers
Failed test is due to problem in Proto.Mailbox which haven't been changed in this PR.

:+1:

LGTM :)


Remote Containers: Try a Sample is not shown

On Pressing F1, I do not see Try a Sample as a option. I see several other Remote Container options as shown in the attached snippet

Please advise.
Thanks

@BXK20 It looks like you are in a WSL window, is that correct?  If so, go to a normal window and you should see it.

Yes. That was the case. Thanks for your immediate response and help.

Great! Closing issue.


[QUESTION] Send json-list from view to controller and download xls

Package version, Laravel version
"laravel/framework": "5.1.*"
"maatwebsite/excel": "~2.1.0"
[QUESTION]
How can i send my json list and other options from the view to my controller and then download the .xls it with ->export() ?
When i have a link in my view Download and i click download it downloads the .xls, but i want to send some parameters (list and options) to my exportJSON method, how can i do that? Because when i use a form as method "POST" it is not returning the .xls

did u find the solution?

@michaeltansy Yes, I came up with this solution:
First I made a form in my view:
<form method="POST" action="/exportJSON" accept-charset="UTF-8" class="form" target="_blank">
That form contains hidden fields with value the stringify of the JSON object:
<input type="hidden" name="eOptions" value="{test:"test"}">
When submitting the form it will execute the exportJSON function.
In my controller (exportJSON function) i get the options like so:
$data = Input::all();
if (Input::has("eOptions")){
$options = json_decode($data["eOptions"], true);
}

thanks @SebSob ! gonna try your solution in my angularjs. hopefully it ends well. thankyou


Screenshare not working for 2nd time onwards in IOS & Video sharing not visible at IOS

Hi,
I was using swift example app to test screenshare. I have seen an issue when you share your screen for the first time then broadcast app will start and screenshare will work fine, when you stop broadcast app will stop. But if you try to share screen for the second time it will not work. It works only for 1st time, next time onwards screenshare won't work.
Its also seen that if we 1st join room > share screen > stop share screen > publish user video using any codec, in IOS UI user video is not visible but its visible in other participants UI.
@hiroshihorie  Any help is really appreciated
TIA

@royatanu94  I experienced this issue as well. Have you found the solution for this?

I think https://github.com/livekit/client-sdk-swift/pull/424 fixes this.


[docs] syncs up rest of declarations

#2299 was merged too quickly

Oops, I missed a coupe of = and ; left behind from converting type alias to interfaces


Update LAB[MB-800]_M05_Lab04_Process_Financial_Transactions.md

Module: 00
Lab/Demo: 00
Fixes # .
Changes proposed in this pull request:

Submitted by MOC Labs Review.


Idea for more accurate defs/refs using tree-sitter

Currently, basic-code-intel cannot provide jump-to-definition for anything but top-level variables/functions, and there are lots of false-positives because it's not scope-aware.
Proposal
Use tree-sitter to build a syntax tree with scope information for a given file in order to reduce false positives for references provide jump-to-definition within the given scope.

Moving to https://github.com/sourcegraph/sourcegraph/issues/2298


class issue

Challenge Use a CSS Class to Style an Element has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

CatPhotoApp

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

It looks like the third test

Your stylesheet should declare a red-text class and have its color set to red.

doesn't allow spaces between color and the colon.

@erictleung That doesn't seem to be the issue. His code passes for me.

@AkiraLaine that code isn't passing for me. Also, you can see in this line that @erictleung is correct.

@bugron My bad, I wasn't using his code. Yeah - it doesn't work.


Update fix id scripts

Minor QoL fixes

Codecov Report

Merging #271 (51ec208) into dev (465be12) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev     #271   +/-   ##
=======================================
  Coverage   64.03%   64.03%
=======================================
  Files          65       65
  Lines        4957     4957
=======================================
  Hits         3174     3174
  Misses       1783     1783

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[docs] Add a new onepirate theme

A simple example theme. Not the prettiest one.

Preview: https://deploy-preview-13769--material-ui.netlify.com/premium-themes/onepirate/

Is this using material-ui library? If not why do we have it under free themes section of material-ui?

@dnafication Don't think of Material-UI purely in terms om Material Design. Any component library consists of two parts - its function, and its appearance.
Material-UI is specifically designed to allow its appearance to be customized, while benefiting from the well tested functionality. The fact that it wasn't clear that OnePirate builds on Material-UI is testament to the flexibility of Material-UI as a core platform for your own design.

That's good to know. 😊

@oliviertassinari I'm trying to clone this example but when I git clone, many of the files are missing.

@kpennell Can we continue the conversation in #14604?

SOUNDS GOOD
On Sat, Mar 2, 2019 at 12:24 PM Olivier Tassinari<EMAIL_ADDRESS>wrote:

@kpennell https://github.com/kpennell Can we continue the conversation
in #14604 https://github.com/mui-org/material-ui/issues/14604?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mui-org/material-ui/pull/13769#issuecomment-468946500,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABAuIYCmfQawtRVqLURSbxB4s7AqZu9vks5vSsHpgaJpZM4Y9lCZ
.


Only supports for multiple brokers

Would you be willing to accept a PR for adding support for multiple brokers.
I'm thinking a comma delimited list, as node-rdkafka normally uses

Thanks, @smilovanovic. Closing this ticket


Typescript Support

Do you intend to add Typescript support at some point in the future?

@seeden I intend to create Typescript typings for your project because it is a great package that deserve it, can I contribute ?


Landuse sort_key funk

What did you see? Wood and other natural landuse are sorting above parks, a regression over v0.7 tiles.
What did you expect? It may actually be better this way, but it's different than before so noting it here. Might require design work?
What map location are you having problems with? East of San Francisco, example tile: http://vector.dev.mapzen.com/osm/all/11/329/791.topojson
Screenshot?

cc @sensescape

Until we support alpha in Eraser Map dots, we should restore the older behavior.
Plus styles like Cinnabar, Refill, and Zinc don't have alpha so would need a different solution (like area grading).

These ones should move down more by forest:
grass			77
meadow			78
scrub			79
wetland			80
wood			81

They used to get no value in v0.7, which meant a client-side value of 1 (at the very bottom).

Other examples:
Vancouver: aquarium needs to be above wood

New York: wood needs to be above park

Note, glacier is in the same natural group, but is already at 11. beach is too, but v0.7 tiles has that at the top of the sort order at 4, and v8 already had it at 86 and that seems to be working. Glacier should probably move up to the same range as grass-wood.

But in Prospect Park it's actually better with the draft v0.8 sort_key values (wood above park):
#16/40.6619/-73.9679

The Vancouver example for Stanley Park (osm link) is a different bug related to ambiguous landuse kinds, where the feature is both park and wood, but for some reason it comes thru as wood. Even building a hierarchy of landuse based on area (https://github.com/mapzen/vector-datasource/issues/446) wouldn't solve that.

Let's limit any more changes to landuse in v0.8 to just these. (It's just pushing around chairs on the Titanic until https://github.com/mapzen/vector-datasource/issues/446 is added.)


Bug when delete text on a table

Steps to reproduce the bug

create a table with only one row and column
type some text
delete the text
Bug: the entire table is removed.

The 2.30.0 version has been updated.
If this issue has not been resolved, please reopen this issue.
Thank you.


Scaffold script aborts when encountering an empty repository

Scaffold Python script will error out when it hits a GitHub repo that is empty.  This is deterministic and repeatable.  Example repo and stack trace below:
https://github.com/com-pas/compas-ui
lfenergy/compas: cloning git@github.com:com-pas/compas-ui.git
Traceback (most recent call last):
File "/home/ubuntu/scaffold-code/scaffold/scaffold.py", line 293, in
ran_command = exec_command(SCAFFOLD_HOME, cfg, sys.argv)
File "/home/ubuntu/scaffold-code/scaffold/scaffold.py", line 167, in exec_command
doNextThing(SCAFFOLD_HOME, cfg, fdServer, prj_only, sp_only)
File "/home/ubuntu/scaffold-code/scaffold/runners.py", line 31, in doNextThing
retval = doNextThingForProject(scaffold_home, cfg, fdServer, prj, sp_only)
File "/home/ubuntu/scaffold-code/scaffold/runners.py", line 50, in doNextThingForProject
retval = doNextThingForSubproject(scaffold_home, cfg, fdServer, prj, sp)
File "/home/ubuntu/scaffold-code/scaffold/runners.py", line 143, in doNextThingForSubproject
return doGetRepoCodeForSubproject(cfg, prj, sp)
File "/home/ubuntu/scaffold-code/scaffold/getcode.py", line 47, in doGetRepoCodeForSubproject
cmts = list(r.iter_commits())
File "/home/ubuntu/scaffold-code/venv/lib/python3.8/site-packages/git/repo/base.py", line 582, in iter_commits
rev = self.head.commit
File "/home/ubuntu/scaffold-code/venv/lib/python3.8/site-packages/git/refs/symbolic.py", line 217, in _get_commit
obj = self._get_object()
File "/home/ubuntu/scaffold-code/venv/lib/python3.8/site-packages/git/refs/symbolic.py", line 210, in _get_object
return Object.new_from_sha(self.repo, hex_to_bin(self.dereference_recursive(self.repo, self.path)))
File "/home/ubuntu/scaffold-code/venv/lib/python3.8/site-packages/git/refs/symbolic.py", line 151, in dereference_recursive
hexsha, ref_path = cls._get_ref_info(repo, ref_path)
File "/home/ubuntu/scaffold-code/venv/lib/python3.8/site-packages/git/refs/symbolic.py", line 201, in _get_ref_info
return cls._get_ref_info_helper(repo, ref_path)
File "/home/ubuntu/scaffold-code/venv/lib/python3.8/site-packages/git/refs/symbolic.py", line 184, in _get_ref_info_helper
raise ValueError("Reference at %r does not exist" % ref_path)
ValueError: Reference at 'refs/heads/master' does not exist

Two possible solutions:

If a repo is empty, don't add to the repos list
Handle an empty repo by ignoring it when downloading - print a status "repo empty, ignoring"

Second - preferred


Feature request: Mouse input support for scrollbar

Follow up of #869.

DUOLabs333 commented on Sep 15, 2021
I know this would be much harder, but is it possible to add mouse support so I can drag the scrollbar up and down?

#1021 was a start :/
nothing happened there, though. Maybe someone can pick up off where they left?


Nightscout devicestatus Upload Failure

As seen in gitter, there appears to be some issue affecting multiple users. The Nightscout Pump pill is undefined, and the OpenAPS pill shows "unknown." I've traced it to a lack of updates to the devicestatus table in mlab for my case, but I'm not sure if this is universal or not.
This has happened to me in the past, but in those instances compacting helped. This time, it does not.
xDrip+ on my phone continues to upload it's battery status to the devicestatus table, so I don't think it's an mlab problem.
I first noticed the issue this time on dev-5.0, but it continues after upgrading to master-5.1

Also (possibly?) relevant: the rig continues to upload basal adjustments to the Treatments table, so it's not that. The rig also still pulls from the entries table, and continues to loop.

As a potential troubleshooting while we figure out root cause: please report your mlab size before and after compacting, and do the compacting (http://openaps.readthedocs.io/en/latest/docs/Troubleshooting/Rig-NS-communications-troubleshooting.html#mlab-maintenance). Compacting success will say successful. If it fails, it just kicks back to the command line.

Also, please report what version of NS you're on

Mlab- Size: Pre: 360.54MB Post: 358.51,   Size on Disk: 496.00MB (I'd compacted yesterday during initial troubleshooting, so I don't have true pre-compact numbers.)
Nightscout: 0.9.3-dev-20161224 (Scott's floating-carbs branch). I've also tried redeploying with the master branch.

I confirm this problem. Same issue with my rig and nightscout.

NS version 0.9.2

What version of jubilinix is being used by people experiencing this problem? Do you have any edison-voltage errors in your pump-loop.log?

Heroku or Azure?  Are there any application errors (on either platform) that might indicate anything?

I am using jubilinux 0.2.0 and yes I have no error message in my log, but record looks strange:
Edison battery at % is charged (>= 98%) or likely charging (60-65%). Pumphistory
-24 < 20m old

Heroku in my case

Sorry, I wrote from a test account.

/var/log/openaps#  ~/src/EdisonVoltage/voltage
Segmentation fault
/var/log/openaps#  ~/src/EdisonVoltage/voltage json batteryVoltage battery
Segmentation fault

This is an issue with the 0.2.0 build. It seems to be missing the components needed to check the battery level (but this may depend on when you downloaded the image).
It has never worked on my 0.2.0 image.

@Diadon81 If you'd like, you could re-flash your Edison back to jubilinux 0.1.1 and see if that fixes the issue.  If so, we can probably come up with a more general solution to at least making sure that the failing EdisonVoltage command doesn't break ns-status uploads.
I'd also like to hear whether others experiencing the issue are all running jubilinux 0.2.0, or if anyone on jubilinux 0.1.1 is also affected.

I'm running the dev rather than master version of 0.5.0 and haven't seen this issue with uploads getting broken on 0.1.0, 0.1.1 or 0.2.0.

I've seen Nightscout uploading delayed. Those problems didn't disappear when I compacted the database. They disappeared after dropping the devicestatus.json. It dropped from:
Size: 288.99MB, Size on disk: 496.00 Mb
to
Size: 43.43 MB, Size on disk: 112.00 Mb
Testing with: oref 0.5.0 and 0.5.1, jubilinux 0.1.1, Nightscout dev branch.

Seems like there are (at least) two different causes of the same symptoms, either:
Size on disk: 496.00 Mb
or
~/src/EdisonVoltage/voltage
Segmentation fault

I also did compacting and cleanup in mLab with no difference in behavior (or even in the sizes on mLab).  Using all the same settings and the newest setup script for oref0 0.5., I've found that I do get the OpenAPS and pump device statuses when I flashed back to Jubilinux 0.1.1 but lose that data (while stilling getting and seeing the temp basal settings on the pump and in Nightscount) on the latest stable Jubilinux release 0.2.0.  From my setups, it seems that the issue is related to Jubilinux 0.2.0.

Jubilinux 0.1.1, edisonvoltage is showing fine in ns-loop.log

Can someone still running jubilinux 0.2.0 please run this for me?
ns-status monitor/clock-zoned.json monitor/iob.json enact/suggested.json enact/enacted.json monitor/battery.json monitor/reservoir.json monitor/status.json --uploader monitor/edison-battery.json
That's from https://github.com/openaps/oref0/blob/master/lib/oref0-setup/edisonbattery.json#L6

@dramageek and you're experiencing the issue with that setup?  What size is your devicestatus collection on disk?

I solved a problem.
Just add iio_basincove_gpadc into /etc/modules-load.d/modules.conf

Cool.  So just grep iio_basincove_gpadc /etc/modules-load.d/modules.conf || echo iio_basincove_gpadc >> /etc/modules-load.d/modules.conf or similar?
Tagging @esialb in case he wants to do that in the image.

I check the source code of voltage.c and found that it gets voltage information from /sys/devices/platform/bcove_adc/basincove_gpadc/. I didn't find this path in my rig after I discover it, the things start to be very simple. I found that this information provided by kernel module:
/lib/modules/3.10.98-jubilinux-edison/kernel/drivers/iio/adc/iio_basincove_gpadc.ko
after I check lsmod, I found that this module isn't loaded. I put it in /etc/modules-load.d/modules.conf, that solved a problem. End of story.

Awesome fix, grep iio_basincove_gpadc /etc/modules-load.d/modules.conf || echo iio_basincove_gpadc >> /etc/modules-load.d/modules.conf (followed by a reboot) fixed the issue for me on Jubilinux 0.2.0.  Thanks!

Doesn't look like that module is needed in older versions of jubilinux:
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

bcm_bt_lpm
bcm4334x
g_multi

uvcvideo
ftdi_sio

Shouldn't do any harm to load up an extra module, though, so I've opened #559 to apply that fix in oref0-setup while installing EdisonVoltage.  If anyone running jubilinux 0.2.0 hasn't yet applied the fix manually and would like to test that, please do.  Otherwise we'll need someone to re-flash a rig with 0.2.0 to test it.

I just reflashed another rig with Jubilinux 0.2.0.  Will running the setup script pull that latest update in so I can test the fix?

You'll need to do this first:
cd ~/src/oref0
git fetch
git checkout voltage-fix
git pull

and then re-run oref0-setup or oref0-runagain.

I followed the steps you posted but it doesn't fix the issue for me.  cat /etc/modules-load.d/modules.conf does not have iio_basincove_gpadc in the list.
Some more info:

root@edison:~/src/oref0# git fetch
root@edison:~/src/oref0# git checkout voltage-fix
Branch voltage-fix set up to track remote branch voltage-fix from origin.
Switched to a new branch 'voltage-fix'
root@edison:~/src/oref0# git pull
Already up-to-date.

It's strange that it said up-to-date, as I only ran the current setup script after flashing (and confirmed that the issue was still there)

That output is normal for git pull after your first checkout of a new branch.
Did you re-run oref0-setup after checking out the new branch?
I guess you probably also need to run npm run global-install right after the checkout and pull.

npm run global-install made all the difference.  voltage-fix successfully resolved the issue on my newly flashed Jubilinux 0.2.0 rig.

Thanks.  Based on that 👍  I just merged #559 to dev.
Is there anyone still experiencing these symptoms who doesn't have jubilinux 0.2.0 or a 496.00 MB devicestatus collection?  Or are we good to close this issue and open a new one for any other related issues?

Are we assuming that the 496MB Size on Disk is the problem then? If so I'll get to cleaning out my mLab.

If you have 496, yes you should compact. Don't clean (delete), ensure you
successfully compact first.
On Fri, Jul 21, 2017 at 5:46 PM Andy Sharrow<EMAIL_ADDRESS>wrote:

Are we assuming that the 496MB Size on Disk is the problem then? If so
I'll get to cleaning out my mLab.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/openaps/oref0/issues/553#issuecomment-317141956, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHH0hW8VHyi-M0ZUwCEUmYaodfWtmYC4ks5sQUZkgaJpZM4Oc9Pk
.

--
Dana Lewis | http://OpenAPS.org | http://DIYPS.org http://diyps.org |
@DanaMLewis http://www.twitter.com/danamlewis |
http://www.linkedin.com/in/danalewis
"Doing something for someone else is more important than anything you would
do for yourself."

I've compacted, but it doesn't affect the size on disk. For some reason that's still around 100MB larger than actual size used.
Either way, I'll donate first, and pull a local copy in case I find it's needed at some point. While we sort this out I've been running longer time AutoTune reports.

I'm having this same issue, but using a Raspberry Pi Zero W, the mentioned device driver does not appear available for Raspian and likely wouldn't work anyways?  OpenAPS appears to be running just fine, setting temp basals etc.  Pump comms are working,
uname: Linux rasp-tf3 4.9.36+ #1015 Thu Jul 6 16:07:57 BST 2017 armv6l GNU/Linux
OpenAPS<EMAIL_ADDRESS>Nightscout: 0.9.2 dev (same issue with master)

I believe this is resolved via the 0.5.3 (or 0.5.4) fixes in master for jubilinux 0.2.0 installs. Closing, please reopen if issue still exists.

I've just encountered what seems like the same issue:

Both OpenAPS and Loop stopped working at about the same time. Upon further investigation and troublshooting, both systems are actually working (setting temp basals, SMB as well as xDrip+ is uploading fine) it is just the pills that aren't displaying correctly. As reported by others earlier, the devicestatus collection is not being updated. The last documents in my devicestatus collection are:

(the records are approximately 18 hours old now.)
Other troubleshooting steps I've done:
Like others before me, I've tried to repair and compact the DB, I've updated to the latest Nightscout Dev (0.10.2-release-20171027), and I've verified that I have plenty of space available on mLab: 297.62 MB (size) and 496.00 MB (size on disk). So there is around 200 MB of space available.
My hunch is that this isn't an OpenAPS issue, but rather a Nightscout issue. I'm going to continue to search through the issue reports and keep trying different troubleshooting, but if anyone has had any luck solving this, please let me know.
Rigs: Jubilinux 0.1.0 and 0.1.1
OpenAPS<EMAIL_ADDRESS>and<EMAIL_ADDRESS>LoopKit: v1.3.2-dev
xDrip+: 2017-11-01 daily

I’m pretty sure mlab looks at the size of the database on disk, not in memory, and 496MB is enough that a subsequent allocation would push it over 500 MB and thus fails, so their limit is in reality 496. Let’s look at how we could reduce the amount of data in the device status collection?

@sulkaharo , I've wondered about that but this was the reply I got from mLab Support back on Jul 27:

Here is the way your data files are allocated in MongoDB using the MMAPv1 storage engine (notice how each subsequent data file increases in size). Here are your actual data files, as they exist on disk:
16M db.0
32M db.1
64M db.2
128M db.3
256M db.4

I understood this to mean that once you cross the 256M threshold, your "size on disk" automatically jumps to 496M, based on how they do file allocation.  Since July, I've been doing regular compact and repair operations and running without any issues.
Recently, though, I've gotten the "your db has exceeded the limit" warning from mLab Support and a subsequent repair and compact operation would not reduce the size from 1.0G to 496M.  So, I ended up dumping my devicestatus collection and then removing all the documents before July 1.  That was enough to shrink the db size to 250M or so and the "size on disk" to 496M.  Also, the warning emails from mLab Support stopped.
So, I think I am ok on space in the DB.  But, there sure might be some other factor that I'm not considering.
Also, I am under the impression that once the DB is full, there shouldn't be any new documents, right?  I'm asking because, I have current records in both the entries and treatments collections.
Here are the stats from my DB:
"db" : "cgmdb",
"collections" : 10,
"views" : 0,
"objects" : 464639,
"avgObjSize" :<PHONE_NUMBER>538285,
"dataSize" : 226542180.0,
"storageSize" : 256389120.0,
"numExtents" : 37,
"indexes" : 32,
"indexSize" : 85643600.0,
"fileSize" : 520093696.0,
"nsSizeMB" : 1,
"extentFreeList" : {
	"num" : 0,
	"totalSize" : 0
},
"dataFileVersion" : {
	"major" : 4,
	"minor" : 22
}

As far as I can tell, the "size" is calculated by adding the dataSize to the indexSize, but even if you would use the storageSize, there should be plenty of unused space in that 496M for growth.
If you really think it is still a mLab storage space issue, I can can remove more from the devicestatus collection to see if that will help.
Is there any way to see logging / debugging info from Nightscout to show if there are errors writing to my mLab DB?

Very interesting investigation.
About entries and treatments collections, i suppose, that it happens because of they allocate  space for each table/collection in advance.
That means you have some free space in entries and treatments collection but lack of space in devicestatus collection.
Отправлено с iPhone

3 нояб. 2017 г., в 9:54, gregtcm<EMAIL_ADDRESS>написал(а):
@sulkaharo , I've wondered about that but this was the reply I got from mLab Support back on Jul 27:
Here is the way your data files are allocated in MongoDB using the MMAPv1 storage engine (notice how each subsequent data file increases in size). Here are your actual data files, as they exist on disk:
16M db.0
32M db.1
64M db.2
128M db.3
256M db.4
I understood this to mean that once you cross the 256M threshold, your "size on disk" automatically jumps to 496M, based on how they do file allocation. Since July, I've been doing regular compact and repair operations and running without any issues.
Recently, though, I've gotten the "your db has exceeded the limit" warning from mLab Support and a subsequent repair and compact operation would not reduce the size from 1.0G to 496M. So, I ended up dumping my devicestatus collection and then removing all the documents before July 1. That was enough to shrink the db size to 250M or so and the "size on disk" to 496M. Also, the warning emails from mLab Support stopped.
So, I think I am ok on space in the DB. But, there sure might be some other factor that I'm not considering.
Also, I am under the impression that once the DB is full, there shouldn't be any new documents, right? I'm asking because, I have current records in both the entries and treatments collections.
Here are the stats from my DB:
"db" : "cgmdb",
"collections" : 10,
"views" : 0,
"objects" : 464639,
"avgObjSize" :<PHONE_NUMBER>538285,
"dataSize" : 226542180.0,
"storageSize" : 256389120.0,
"numExtents" : 37,
"indexes" : 32,
"indexSize" : 85643600.0,
"fileSize" : 520093696.0,
"nsSizeMB" : 1,
"extentFreeList" : {
"num" : 0,
"totalSize" : 0
},
"dataFileVersion" : {
"major" : 4,
"minor" : 22
}
As far as I can tell, the "size" is calculated by adding the dataSize to the indexSize, but even if you would use the storageSize, there should be plenty of unused space in that 496M for growth.
If you really think it is still a mLab storage space issue, I can can remove more from the devicestatus collection to see if that will help.
Is there any way to see logging / debugging info from Nightscout to show if there are errors writing to my mLab DB?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@Diadon81 , it is probably something like that.  I just can't get over that when I removed over 6 months of data from devicestatus last month things were working fine before and after and have continued to do so until 20 hours ago.  I should probably escalate the move of my DB from mLab to my DigitalOcean Droplet to see if that fixes the issue.

@sulkaharo @Diadon81 As a follow-up, I removed more data from devicestatus (all data before September 1), ran the collection compaction and database repair.  The OpenAPS, Loop, Battery, and Pump pills in NS almost immediately started working again.  As an FYI, my current db sizes are:

Thanks again for the suggestions.


Add a way to see the history of a single file in Pure Git

Given a file under git control, return all the commits that changed it backwards in history and show how each commit changed it (i.e. the diff).
Allow the model to be used for further analysis.

It would be great if this worked across renames

The files view now sends into a PureGitFile object, representing the state and evolution of a specific tracked file in the repository.

The history views show commits restricted to a specific path. Those commits are PureGitFileCommit instances which are subclasses of PureGitCommit restricted to that specific path so they can show only the changes to that path, or the contents at that point in time.


No progress in testing coco format data

loading annotations into memory...
Done (t=0.00s)
creating index...
index created!
[                                                  ] 0/710, elapsed: 0s, ETA:

Please use the Error Template.


Analysis runner table fixes

Add more methods for getting ar records
Add typings to billing by ar guid response
Add type annotations into the analysis page
Pull out pieces into their own components

Codecov Report
Attention: Patch coverage is 88.46154% with 12 lines in your changes are missing coverage. Please review.

Project coverage is 76.56%. Comparing base (8c82b5c) to head (eee18b9).
Report is 1 commits behind head on dev.

Files
Patch %
Lines

api/graphql/schema.py
18.18%
9 Missing :warning:

models/models/billing.py
96.20%
3 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #717      +/-   ##
==========================================
+ Coverage   76.49%   76.56%   +0.06%
==========================================
  Files         148      148
  Lines       11798    11883      +85
==========================================
+ Hits         9025     9098      +73
- Misses       2773     2785      +12

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

I have merged mine changes, now I can see all working as it should. Please let me know if you are fine with those. Otherwise I am happy to approve.

Thanks @milo-hyben, didn't realise you had already applied patches for your suggestions, they look great to me. Thanks for patching up my PR :))
I've added a default environment to the migration, should be good to go!


fixed #3860 (deleting caracters on android)

As explained in #3860 - added condition which fixes this bug for me
(only affects mobile versions)

Commit 6019b1308d4c51 does something similar

(Apologies for leaving this entirely ignored for so long. The mobile/IME stuff is subtle and scary and I am not often in the mood for working on it.)


[CHROM-119] Create List Component

What Was Changed

Added new <List />

Child: <ListGroupHeading />
Child: <ListItem />

Added stories for each component's notable props

Sanity Checks

still working on testing

Questions for the Team

The referenced figma file shows a list of radios - is this already handled through <RadioGroup />?
The figma and ticket both show using the list as a conversation. I feel like conversations may have enough different styling and use cases to be their own component - what do you think?
For margin and padding, which can be a string or number, I looked up whether Storybook supports union types in its ArgTypes (for the controls panel), but it looks like it doesn't. Is string OK for the controls? The docs tab at least shows that it can take both types.
Do we want to support children <ListItem />s as well as the items array prop?

Screenshots

The referenced figma file shows a list of radios - is this already handled through ?
Yes, I just plopped the List mockups on this Figma page. Disregard any of the other mockups on that Figma page as they're unrelated.
The figma and ticket both show using the list as a conversation. I feel like conversations may have enough different styling and use cases to be their own component - what do you think?
Yes, I just plopped the List mockups on this Figma page. Disregard any of the other mockups on that Figma page as they're unrelated.


regenerate with cython 0.29 for python 3.7

regenerate _hintsvm.c because previous version will not work for 3.7

I am currently thinking about removing this cython generated .c file from the repository since the current installation process does not use this file at all.
Current installation process regenerates this file from pyx everytime, so as long as we keep Cython as  dependency, we don't have to keep this file.
How do you think?

We will remove libact/query_strategies/_hintsvm.c in #153.


segmentation fault when calling help on GraphNodeProto

System information

Have I written custom code:
Nothing beside the example code below.

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Linux RBSylaptop 4.14.0-2-amd64 #1 SMP Debian 4.14.7-1 (2017-12-22) x86_64 GNU/Linux

TensorFlow installed from:
    $ pip3 install tensorflow-gpu

TensorFlow version:
tf.VERSION = 1.4.1
tf.GIT_VERSION = v1.4.0-19-ga52c8d9
tf.COMPILER_VERSION = v1.4.0-19-ga52c8d9

Python version:
Python 3.6.4

Bazel version:
N/A

GCC/Compiler version:
N/A

CUDA/cuDNN version:
8.0

GPU model and memory:
GeForce GTX 1070
8192 MB

Exact command to reproduce:
python3 -c "import tensorflow as tf; help(tf.profiler.profile(tf.get_default_graph()))"

You can collect some of this information using our environment capture script:
Problem description
Calling help on the value returned by tf.profiler.profile generate a segmentation fault. However it might be related to the warning about the python version.
Source code / logs
Here is the full python session:
$ python3
Python 3.6.4 (default, Jan  5 2018, 02:13:53)
[GCC 7.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
/usr/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: compiletime version 3.5 of module 'tensorflow.python.framework.fast_tensor_util' does not match runtime version 3.6
  return f(*args, **kwds)
>>> help(tf.profiler.profile(tf.get_default_graph()))
Parsing Inputs...

=========================Options=============================
-max_depth                  10000
-min_bytes                  0
-min_peak_bytes             0
-min_residual_bytes         0
-min_output_bytes           0
-min_micros                 0
-min_accelerator_micros     0
-min_cpu_micros             0
-min_params                 0
-min_float_ops              0
-min_occurrence             0
-step                       -1
-order_by                   name
-account_type_regexes       _trainable_variables
-start_name_regexes         .*
-trim_name_regexes
-show_name_regexes          .*
-hide_name_regexes
-account_displayed_op_only  true
-select                     params
-output                     stdout:

==================Model Analysis Report======================
node name | # parameters
_TFProfRoot (--/0 params)

======================End of Report==========================
zsh: segmentation fault  python3

@Celelibi is this still an issue with 1.5?

Nagging Assignee: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

@Celelibi is this still an issue with r1.5 or r1.6rcs?

Nagging Assignee @av8ramit: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.


add hansinikarunarathne and biswajit-9776 as kubeflow member

This PR is to add biswajit-9776 and  @hansinikarunarathne  as a member to Kubeflow.
They are GSOC contributors in 2024 for projects 02 and 03.
Merged PRs of hansinikarunarathne

https://github.com/kubeflow/manifests/pull/2764
https://github.com/kubeflow/manifests/pull/2760
https://github.com/kubeflow/manifests/pull/2759
https://github.com/kubeflow/manifests/pull/2758
https://github.com/kubeflow/manifests/pull/2749
https://github.com/kubeflow/manifests/pull/2731
https://github.com/kubeflow/manifests/pull/2726
https://github.com/kubeflow/manifests/pull/2722
https://github.com/kubeflow/manifests/pull/2708

Merged PRs of biswajit-9776

https://github.com/kubeflow/manifests/pull/2782
https://github.com/kubeflow/manifests/pull/2768
https://github.com/kubeflow/manifests/pull/2757
https://github.com/kubeflow/manifests/pull/2746
https://github.com/kubeflow/manifests/pull/2744
https://github.com/kubeflow/manifests/pull/2743
https://github.com/kubeflow/manifests/pull/2739

@juliusvonkohout I created a PR to add me and biswajit-9776 as Kubeflow members

@hansinikarunarathne please include a list of your merged PRs

@zijianjoy @chensun I can vouch for both.

@hansinikarunarathne please include a list of your merged PRs

Added them

/lgtm
/assign @zijianjoy

CC @kubeflow/kubeflow-steering-committee


How to Evaluate Model?

I trained a model using  python trainer.py --dataset CIFAR10
and evaluated it via python evaler.py --dataset CIFAR10 --checkpoint train_dir/default-CIFAR10_lr_0.0001_update_G5_D1-20171209-215809/model-99001 (with 99001 being chosen somewhat arbitrarily).
The resulting output is:
[2017-12-09 22:52:02,675] dataset: CIFAR10
[2017-12-09 22:52:05,980] Loaded from checkpoint!
[2017-12-09 22:52:05,981] Start 1-epoch Inference and Evaluation
[2017-12-09 22:52:05,981] # of examples = 10000
[2017-12-09 22:52:05,981] max_steps = 1
[2017-12-09 22:52:07,615]  [val   step    0] (1.631 sec/batch, 39.250 instances/sec)

How do I interpret this result? I tried specifying an output_file but the results were unclear (binary file?). Thanks in advance!

The result would be saved as an hdf5 file. For example, you can save the result using this command:
python evaler.py --dataset CIFAR10 --checkpoint train_dir/default-CIFAR10_lr_0.0001_update_G5_D1-20171209-215809/model-99001 --output_file output.hdf5.
This file can be opened with the h5py package.

Thanks for the prompt response! Examining output.hdf5 it appears the only entry is "images"? Is it possible to get classification accuracies?
Also, I used the following code to break the 64x32x32x3 block of images into 64 32x32 RGB images:
import numpy as np
import h5py
from PIL import Image
import pdb

hdf = h5py.File('output_5000.hdf5','r')

# ls = list(hdf.keys())
# print(ls)

data = hdf.get('image')

# 64 x 32 x 32 x 3 block (64 RGB images)
data_array = np.array(data)

for i in range(64):
    image = data_array[i,:,:,:]
    image = Image.fromarray(image, 'RGB')
    image.save('images/{0}.png'.format(i))

But I'm getting some strange results:
 (from model 5000)
 (from model 1001)
 (from model 99001)
Do you have any thoughts on why the generated images look like this?

Running visualize_trainering.py:

Thanks for providing detailed descriptions of the issue. It looks like your model was not trained well. As DCGAN model is sensitive to the weight initialization, I would recommend you to try to run several more jobs. Also, the checkpoint is provided here. You can download the checkpoints to verify if your visualization codes are correct.

Hmm.. I'm guessing my visualization code is not correct because I'm getting the same result even using the checkpoint model. Do you happen to have any visualization code lying around? If not, I'll play around with it and see if I can get it working. Thanks!

Can You explain your statement ? @WilliamCarlos
"DCGAN model is sensitive to the weight initialization "


Possible Entity id leak in nebulous.entity.EntitySystem

Not that important, due to the fact id is a long, but there is a possible id leak at EntitySystem.removeEntity
add 5 entities
Entity[] entities {Entity, Entity, Entity, Entity, Entity};
remove entity[2]
Entity[] entities {Entity, Entity, null, Entity, Entity}
add another entity.
will have index 5 not 2.
Entity[] entities {Entity, Entity, null, Entity, Entity, Entity} which is != {Entity, Entity, Entity, Entity, Entity}

I have fixed the issue with removing entities from the engine. It is now fully supported as expected.
I have not however, fixed the id reallocation because it is not entirely necessary. (unless you have 2.1billion entities) I may get around to implementing a different method at some point.
    public void removeEntity(long id) {

	for(Component c : idHash.get((Long)id).getComponents())
		componentHash.get(c.getClass()).remove(id);

	allEntities.remove(idHash.get(id));
	idHash.remove(id);

    }


[DOCS][SDACCEL] Update AWS F1 deployment

The SDAccel runtime doesn't create a program at the compile time now (#1408).  We don't get CL_INVALID_PROGRAM error anymore on synthesis.

@tqchen can you review this?


Support scopeNotes with single quote

Today, I published the Educational Subject Classification (ESC) via SkoHub.
However, although this is also a slash URI vocab, the HTML rendering did not work out of the box. The first problem was the single quotes for scopeNote. When I replaced them with triple quotes (https://github.com/acka47/skos/commit/781c5422646dca60a13570fb15787b9709bfa9a1) it got a bit better, but no labels were shown. (I fixed this with only using @de language tags, see #24.)

I cannot replicate this, but whatever the issue is here, it most likely not the usage of single quotes. See this single quote version of the ESC and its build.

@acka47 closing this assuming that your build trouble was actually related to #24.


Qt.QtCompat.loadUi was broken in Nuke with Qt.py release 1.0.0b4

We've been running Qt.py 1.0.0b3 in production for some time now without any issues. When I gave PR https://github.com/mottosso/Qt.py/pull/190 a spin, I noticed I got errors in Nuke 9.0v9.
When digging further, it seems that the issue stems from changes implemented in Qt.py 1.0.0b4.
Error
# Result: Traceback (most recent call last):
  File "<string>", line 72, in <module>
  File "<string>", line 69, in __init__
  File "/Users/fredrik/miniconda3/envs/Qtdev_py27/lib/python2.7/site-packages/Qt.py", line 1028, in _loadUi
    Qt.QtCore.QMetaObject.connectSlotsByName(widget)
RuntimeError: Internal C++ object (PySide.QtGui.QMainWindow) already deleted.

Reproducible code
This reproducible code runs fine in e.g. Maya but will crash in Nuke when using Qt.py 1.0.0b4:
Run from Nuke script editor
import tempfile
import os
import io

from Qt import QtWidgets
from Qt import QtCompat

TEMPDIR = tempfile.mkdtemp()
tempfile = os.path.join(TEMPDIR, "qmainwindow.ui")

with io.open(tempfile, "w", encoding="utf-8") as f:
    f.write(u"""\
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>MainWindow</class>
 <widget class="QMainWindow" name="MainWindow">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>223</width>
    <height>140</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>MainWindow</string>
  </property>
  <widget class="QWidget" name="centralwidget">
   <widget class="QPushButton" name="pushButton">
    <property name="geometry">
     <rect>
      <x>70</x>
      <y>40</y>
      <width>80</width>
      <height>16</height>
     </rect>
    </property>
    <property name="text">
     <string>PushButton</string>
    </property>
   </widget>
  </widget>
  <widget class="QMenuBar" name="menubar">
   <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
     <width>223</width>
     <height>17</height>
    </rect>
   </property>
  </widget>
  <widget class="QStatusBar" name="statusbar"/>
 </widget>
 <resources/>
 <connections/>
</ui>
""")

class MyWindow(QtWidgets.QMainWindow):
    def __init__(self, parent=None):
        super(MyWindow, self).__init__(parent)
        self.main_widget = QtCompat.loadUi(tempfile)
        self.setCentralWidget(self.main_widget)

my_window = MyWindow()
my_window.show()

Install the problematic Qt.py version
pip install Qt.py==1.0.0b4

@mottosso I'm labeling this as a bug. Do you have any ideas on why this may be happening or should I check with Foundry Support?

Does it crash outside of Nuke?
If not, we should try and reproduce it without Qt.py before submitting to Foundry.

When running this outside of Nuke using PySide 1.2.4, Python crashes. It's a bit different than when you run the code in Nuke as you have to create QApplication (I added this code to the original post at the top). The window shows but is unresponsive and does not show with the UI file loaded (just an empty window). No traceback is printed out.
I tested this using the following conda environment on Windows (Powershell):
conda create -n pysidedev_py27 python=2.7 pyside
~/.conda/envs/pyside_py27/Scripts/pip.exe install Qt.py==1.0.0b4

My bad!
I forgot to add sys.exit(app.exec_()) after window.show(). This does not crash when run in standalone Python interpreter using PySide 1.2.4 and Qt.py 1.0.0b4:
import sys
import tempfile
import os
import io

from Qt import QtWidgets
from Qt import QtCompat

TEMPDIR = tempfile.mkdtemp()
tempfile = os.path.join(TEMPDIR, "qmainwindow.ui")

with io.open(tempfile, "w", encoding="utf-8") as f:
    f.write(u"""\
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>MainWindow</class>
 <widget class="QMainWindow" name="MainWindow">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>223</width>
    <height>140</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>MainWindow</string>
  </property>
  <widget class="QWidget" name="centralwidget">
   <widget class="QPushButton" name="pushButton">
    <property name="geometry">
     <rect>
      <x>70</x>
      <y>40</y>
      <width>80</width>
      <height>16</height>
     </rect>
    </property>
    <property name="text">
     <string>PushButton</string>
    </property>
   </widget>
  </widget>
  <widget class="QMenuBar" name="menubar">
   <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
     <width>223</width>
     <height>17</height>
    </rect>
   </property>
  </widget>
  <widget class="QStatusBar" name="statusbar"/>
 </widget>
 <resources/>
 <connections/>
</ui>
""")

class MyWindow(QtWidgets.QMainWindow):
    def __init__(self, parent=None):
        super(MyWindow, self).__init__(parent)
        self.main_widget = QtCompat.loadUi(tempfile)
        self.setCentralWidget(self.main_widget)

app = QtWidgets.QApplication(sys.argv)
my_window = MyWindow()
my_window.show()
sys.exit(app.exec_())

I've noticed this happening in nuke if the python reference to the window or its parent goes out of scope.  I generally have to create a global reference to the window, or if it's parented to the main nuke window, a global reference to that.

@bpabel i just ran the following (as per your suggestion) in Nuke 9.0v9, with the same error as before:
import tempfile
import os
import io

from Qt import QtWidgets
from Qt import QtCompat

TEMPDIR = tempfile.mkdtemp()
tempfile = os.path.join(TEMPDIR, "qmainwindow.ui")

with io.open(tempfile, "w", encoding="utf-8") as f:
    f.write(u"""\
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>MainWindow</class>
 <widget class="QMainWindow" name="MainWindow">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>223</width>
    <height>140</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>MainWindow</string>
  </property>
  <widget class="QWidget" name="centralwidget">
   <widget class="QPushButton" name="pushButton">
    <property name="geometry">
     <rect>
      <x>70</x>
      <y>40</y>
      <width>80</width>
      <height>16</height>
     </rect>
    </property>
    <property name="text">
     <string>PushButton</string>
    </property>
   </widget>
  </widget>
  <widget class="QMenuBar" name="menubar">
   <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
     <width>223</width>
     <height>17</height>
    </rect>
   </property>
  </widget>
  <widget class="QStatusBar" name="statusbar"/>
 </widget>
 <resources/>
 <connections/>
</ui>
""")

class MyWindow(QtWidgets.QMainWindow):
    def __init__(self, parent=None):
        super(MyWindow, self).__init__(parent)
        self.main_widget = QtCompat.loadUi(tempfile)
        self.setCentralWidget(self.main_widget)

global nuke_window
nuke_window = QtWidgets.QApplication.activeWindow()

my_window = MyWindow(nuke_window)
my_window.show()

By the way, I believe the widget which disappears is the mainwindow from my UI file. Not the Nuke main window.
I tried this inside of Qt.py:
        global widget
        widget = _UiLoader(baseinstance).load(uifile)
        Qt.QtCore.QMetaObject.connectSlotsByName(widget)

        return widget

However, that resulted in the same error as before:
Traceback (most recent call last):
  File "<string>", line 77, in <module>
  File "<string>", line 70, in __init__
  File "/Users/fredrik/miniconda3/envs/Qtdev_py27/lib/python2.7/site-packages/Qt.py", line 1029, in _loadUi
    Qt.QtCore.QMetaObject.connectSlotsByName(widget)
RuntimeError: Internal C++ object (PySide.QtGui.QMainWindow) already deleted.

@bpabel however, I think you're on to something here. It clearly seems like a reference to the widget is lost and therefore PySide/Nuke is removed.

This issue is not present in Nuke 10.0v6.

Nuke 9.0v9 PySide version: 1.0.9
Nuke 10.0v6 PySide version: 1.2.2

Perhaps related: https://bugreports.qt.io/browse/PYSIDE-10

I just heard back from the Foundry developers:

I've come across a number of issues like this in PySide. For example, you get the same exception thrown if you use anything returned by QWidget.parentWidget or QWidget.findChild. This is a known bug in PySide (https://bugreports.qt.io/browse/PYSIDE-10).

they've managed to create a workaround for it now. And the bug is fixed in later versions of PySide, so only affects Nuke 9, which was using the older PySide 1.0.9."

This is good to know as it's not only a bug in Nuke 9 but also could exist in other applications running this older PySide version.


Add AtomicCell::get_mut

std atomic types also have the same method: e.g., AtomicBool, AtomicUsize

This is apparently not possible to implement in a sound way, and the rationale is non-trivial:

https://github.com/crossbeam-rs/crossbeam/issues/315#issuecomment-462369913
https://github.com/crossbeam-rs/crossbeam/pull/332

@stjepang Ah, I missed that, thanks for pointing that out.

...And I was the one who removed it (https://github.com/crossbeam-rs/crossbeam/pull/506) 😅