Random behaviour of XGBoost with small sample size (convergence with high training size)

I tried discussing my problem on the xgboost.ai site but I did not get any responses unfortunately. This is the reason why I have come to this platform for help.
I have used XGBoost for a predictive regression task with a large training set (initially ~1,500,000 samples, 50% subsampled during training). During model optimization I did not encounter any large random accuracy differences during runs.
I wanted to do a hardware comparison between the two environments (& CPU/GPU comparison) that I had used for training. During this comparison, I trained the models on an increasingly large dataset, starting at 100 samples and ending at 1,000,000 samples. For each of the for conditions (environment vs CPU/GPU), the subsampled data was similar. If I understand correctly, XGBoost is a deterministic model when there is no randomness introduced during training due to subsampling. However, I encounter a lot of random behaviour when training on smaller training sets (enormous drop in accuracy). This is not always for one condition (e.g., only for GPUs), but can occur for any of the conditions.
In the plot below, one of the comparisons can be viewed, with a large performance drop for the Colab-CPU condition.

The hardware used is:
CoLab Pro+ (CL
GPU: Tesla V100-SXM2 GPU, 16 Gb RAM
CPU: Xeon CPU (2.00GHz)
Virtual Ubuntu 18.04 environment (VM)
GPU: NVIDIA Quadro RTX 6000, 24 GB RAM
CPU: Intel Xeon Gold (2.30GHz)
Since the using low amount of samples can lead to unexpected behaviour for all conditions, I thought it could maybe be due to floating point errors, but I would not have expected that this would have such a large effect. Can this be the case? Or am I overlooking something else?
I did find out that on the CoLab environment, XGBoost version 0.90 was used, whereas the 1.5.1 package was used in the VM environment. After finding out that they differ in the min_child_weight default (0.50 versus 1, respectively), I set them both explicitedly to 1, which did not reduce the random behaviour.
Thank you in advance! If further information is needed, please let me know.

Hi, by deterministic we usually mean running the same training procedure multiple times on the same data and same hardware, users can obtain the exact same models.
As for the accuracy drop for sampling, it might be expected when the sample size is small. Since you have GPU available, you can try gradient-based sampling to test the limit of sampling size.
If you think the behavior is abnormal, please provide a reproducible example and describe your expected behavior so that we can debug it. Thank you for raising the issue and share your concerns!

So if I understand correctly, you do not think the random behaviour for small samples sizes, for both the two types of CPUs and GPUs but varying per run, is unexpected behaviour?
For me, I would expect approximately the same results when using the same data, or at least not such large differences. Could it then be due to floating points errors?

Hi, could you please elaborate on the randomness? I'm a little bit confused about what you mean by "random". Are you expecting the CPU and GPU to generate the same result? Are you expecting XGBoost to generate the same result for all types of hardware?

Closing due to lack of response. Feel free to reopen if there's new info.


graylog_ldap_settings api call changed in version +4.x

Debug: Prefetching graylog_api resources for graylog_ldap_settings
Debug: GET request for https://localhost.:9000/api/system/ldap/settings with params {}
Error: Got error response {"type":"ApiError","message":"HTTP 404 Not Found"}
Error: Could not prefetch graylog_ldap_settings provider 'graylog_api':

Looking into it preparing PR to solve this.
This is now done using
https://localhost:9000/api/system/authentication/services/backends
https://localhost:9000/api/system/authentication/services/configuration

api calls

We don't use Graylog 4.x ourselves (in part because of the auth system changes) so I'm not easily able to test against it; it might be necessary to make a second type/provider pair for the new auth system, since I'd want to preserve 3.x compatibility for the existing type. Maybe a graylog_auth_backend type?

think that will be indeed the way to go. especially when 3.x needs to be preserved.  Is support for the enterprise features also needed ?  In 4.x, the group mapping is only available in the enterprise version.
And there are 4 types of backends (LDAP, Acitve-directory, okta and OIDC) Laast two are enterprise only.

If you're willing to contribute a PR to add the graylog_auth_backend type, you can include support for whichever backends and features you're interested in implementing. If that does not include the Graylog Enterprise features, that's fine, they an always be added later.
I can see a couple of ways to go in terms of implementation:

You could add separate graylog_auth_backend_ldap, graylog_auth_backend_active_directory, etc., types
You could add a single graylog_auth_backend type which takes a few universal parameters, a paramenter (or perhaps the namevar) to specify which backend in being configured, and then an options parameter for backend-specific configuration. You could then implement wrappers like graylog_api::ldap_auth_backend, graylog_api::active_directory_auth_backend, etc., the way the Input types are handled.

Which method is more appropriate probably depends on what the API looks like on Graylog's side.

see PR #9


Markdown preview code line not active on code elements

VS Code Version: 1.76.0
OS Version: Ubuntu 22.04

When selecting fenced code block in a markdown file in the editor, the code element is not marked with a line in the preview.

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.75.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!


"undefined" is not valid JSON when opening character sheet

Describe the bug
Error when opening character sheet. Undefined is not valid JSON
To Reproduce
Updated from 11.302 to 11.304, error appeared. Does not disappear on rollback to 11.302. Other GMs and users can't see the error.
Difficult to reproduce, but figured it was still worth sharing.
Screenshots

(Second screenshot from when modules were still enabled, but error persists with or without)
Version Numbers

(One active module is the Forge module)
Foundry: 11.304
wfrp4e: 6.5.9
wfrp4e-core: 3.1.4
wfrp4e-starter-set: 3.1.5
wfrp4e-rnhd: 3.0.7
wfrp4e-ua1: 3.0.2

You can ignore it, it's an quirk that sometimes pops up when using wfrp on forge

Alright, thanks for checking it out.
It's possible that this is related to a bug in the Forge module which has recently been fixed but not yet deployed. Hopefully with the new version of the Forge module, this will no longer pop up. If it does resurface, please let me know and I'll hunt it down. Thanks!

It's not a new thing, has been around for over a year, I just haven't found a solution to it.


Add reduced transcript models

return a dataframe indicates each transcript belongs to which group and transcript model.

Codecov Report

Merging #16 into master will increase coverage by 2.87%.
The diff coverage is 97.5%.

@@            Coverage Diff            @@
##           master     #16      +/-   ##
=========================================
+ Coverage   74.72%   77.6%   +2.87%
=========================================
  Files           7       8       +1
  Lines         277     317      +40
=========================================
+ Hits          207     246      +39
- Misses         70      71       +1

Impacted Files
Coverage Δ

R/reduce_transcript_model.R
97.5% <97.5%> (ø)

Continue to review full report at Codecov.

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


Unceasing Flame - Design Brainstorming

The original version: "For every pair of Attacks used in sequence, draw one card. If it's an Attack, gain 1 Energy. If it's a Skill, gain 1 Frail. If it's a Power, discard it."
I have to improve this.

The problems here:
1 - The relic may create situations where the player can only activate it or pass the turn (this is good or bad?)
2 - Discarding powers is too bad for a uncommon relic?
3 - The description is well readable enough? Or the player will think that 3 attacks = 2 pairs?
4 - The relic is too risky or too rewardable?

1 - The relic may create situations where the player can only activate it or pass the turn (this is good or bad?)

Relics usually are about benefits. If the relic has a downside, at least then give to the player the option to not use the relic everytime.

2 - Discarding powers is too bad for a uncommon relic?

Yes if the advantage is not that good.

3 - The description is well readable enough? Or the player will think that 3 attacks = 2 pairs?

It can happen. But let's work with the concept of "charges"... wait, better ask on Discord.
4 - The relic is too risky or too rewardable?
The way it is... hm.

Version 2:
"For every pair of Attacks used in sequence, draw one card. If it's an Attack, it costs 1 less this turn. If it's a Skill, gain 1 Frail. If it's a Power, discard it and draw again."

Ok.
Positive use: you attack twice in a row, draw one card, it's an Attack of cost 1, you use it, attack a fourth time, draw an attack, attack again. 5 attacks in a turn, instead of 3.
Positive use: you attack twice in a row, draw one card, it's an Attack of cost 2, you use it. Two attacks and a strong one instead of three.
Problem is, you can play safe just using a Skill first, then using two attacks. Worst case scenario, Frail DOES NOT affect you.

Version 3:
"For every pair of Attacks used in sequence, draw one card. If it's an Attack, it costs 1 less this turn. If it's a Skill, gain 1 Vulnerable. If it's a Power, discard it and draw again."

Ok, this version effectively gives you extra attacks OR you receive extra damage this turn. It can also be exploited... but then the choice is of the player.

Also, it has a huge problem: in the edge case where the player draw pile ends ONLY with Powers, it ends in an infinite cycle.
Maybe two powers draw result in a Fire orb? Ok, enough for a day.

Ok, one extra thing (not balanced)
Fire Orb -
Passive: every time you attack, the attacked enemy loses Potency HP twice.
Evoke: your next attack has 5 * Potency extra damage.

...wait a second. This effect is... not very useful for people that don't have Powers, and being triggered is mostly luck manipulation. If I'm really going to add Fire orbs, then this need to be better thought. Better to add this to the rare relic.

Version 4:
"For every pair of different Attack cards used in sequence, draw one card. If it's an Attack, it costs 1 less this turn. If it's a Skill, gain 1 Vulnerable. If it's a Power, discard it and draw again. (Yes, this has protection to infinite loops.)"

This version is almost good enough. One last thing that this relic probably needs, considering the risk/reward theme of the relic:
this relic should be optional, linked to a relic as one of the three artifacts that open the act 4.

Right, let's plan it.

Ok, changed name to Red Gi.

One last problem: relics that depend on randomness usually are event or shop types, not uncommon. So, I'm going to get this idea and store it for an extra relic (Violent Ken's, maybe?).
The final version will be:
"If you use three Attack cards this turn, draw a card. If it's an Attack, it costs one less this turn."


[TextField] Enhancement - Need to allow disabling of Chrome's autocomplete for password input fields

Chrome will always attempt to autofill password fields
I'm working on an admin tool to reset other people's passwords, so I don't want the autofill to get in the way
Any text input set to type='password' in Chrome
see:
http://stackoverflow.com/questions/29797226/how-do-i-prevent-auto-complete-use-password-for-option-in-chrome
http://stackoverflow.com/questions/32245874/how-to-remove-password-suggestion-chrome
Versions

Material-UI: 16.2
React: 15.4
Browser: Chrome latest

Thanks much!

Does this not work?
<TextField
  hintText="Password Field"
  floatingLabelText="Password"
  type="password"
  autoComplete="off"
/>

If not, then it looks like stackoverflow links you posted said to try autoComplete="new-password".
For mobile browsers I'd also set:
autoCorrect="off"
autoCapitalize="off"
spellCheck="false"

Unfortunately it does not work. Would be a great feature because autoComplete can cause multiple re-renders.

Material-UI isn't opinionated on that end, you would have to apply the same fix using a native input vs a TextField hence, I'm closing.


Support for inferred measures

It seems inferred measures (like infNDCG) are calculated by a different script, sample_eval.pl.
Additionally, the script uses a different input format.
Implement a facade for sample_eval.pl and adapt tools to get inferred results from it.

Won't fix.
sample_eval uses a different input format with an additional column referring to the stratum from which the document to be evaluated was pooled from. We won't have this information unless we build an additional gold standard using the sampling strategy proposed in the original paper. This is not a priority now, considering that we can obtain all other metrics with the trec_eval script using the known input format.


fix(l10n): New translations

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

GitHub release
v2.17.6

Your semantic-release bot :package::rocket:


How to pass Dynamic param for On-Premise Sql data link services using ADF Pipeline

Dear All.
I have use case for copy the data from On-Premise Sql server to Azure  Data Lake.
case 01:-
i have a controller table with azure sql db that contains all the Dynamic parameter value .
case 02:-
i want to pass there all parameter value automatically to the On-Premise sql Linked services creation and also for azure data lake storage.
case 03:-
these all value will come from my azure sql db table(controller table).
case 04:-
i don't pass the value at the run time for On-Premise sql linked services (like server,dbname,user,pass).
case 05:-
i want to create a pipeline that will full fill the above requirement .
as of now i did with lookup activity :- but @activity value is not able to access through Linked service.
https://social.msdn.microsoft.com/Forums/en-US/1a516e4d-d823-4f31-a01b-174289643cb5/how-to-pass-lookup-activity-output-to-copy-data-from-sql-to-azure-datalake?forum=AzureDataFactory
Please help me.
Thanks
HadoopHelp

@rameshkr1994 Thank you for the feedback. We will review and update accordingly.

@rameshkr1994 Since the issue is not a feedback on the doc in reference, I would recommend you to create a thread on the forums - MSDN  or stack overflow.
Once you post your issue on forums, it will have visibility across the community which is a better suited audience for such types of issues.
Please create a Forum thread and post it's link here and tag me so that we can track that thread. We would love to work with you on the issue on the forums.
I will now proceed to close this issue. Feel free to comment if you have any other queries.


[test] Add missing postprocessing phase to executable stress tests

We need to run utils/swift-darwin-postprocess.py on every executable test on Darwin platforms to work around a dyld issue. (And to ad-hoc sign executables on platforms that need it.)
Add a %target-codesign step to stress tests that are currently missing it.
(cherry picked from commit f56d82fafd047ebd224554b2e778582f33f5a198)

@swift-ci test

@swift-ci build toolchain

Linux Toolchain (Ubuntu 16.04)
Download Toolchain
Git Sha - d144b2270c86e342f5a26f1c391c632d51b8a343
Install command
tar zxf  swift-PR-39354-675-ubuntu16.04.tar.gz
More info

Build failed
Swift Test Linux Platform
Git Sha - d144b2270c86e342f5a26f1c391c632d51b8a343

macOS Toolchain
Download Toolchain
Git Sha - d144b2270c86e342f5a26f1c391c632d51b8a343
Install command
tar -zxf  swift-PR-39354-1126-osx.tar.gz --directory ~/


Create task list UI

New special page that lists pending approvals for the current user.
Part of

https://github.com/ProfessionalWiki/PageApprovals/issues/7

Builds upon

https://github.com/ProfessionalWiki/PageApprovals/issues/24

Initial implementation is done.


Multiple bundles result in duplicate logging

Operating System: MacOS Sierra
Node Version: 8.11.1
NPM Version: 5.6.0
webpack Version: 4.5.0
webpack-hot-client Version: 2.2.2

[x] This is a bug
[ ] This is a feature request
[ ] This is a modification request

Code
  // webpack.config.js (webpack 4)
     entry: {
        vendor: [
            'react',
            'react-dom'
        ]
    },
    optimization: {
        splitChunks: {
            name: 'vendor',
            minChunks: Infinity
        }
    }
    ...

Expected Behavior
Browser output messages once.
Actual Behavior
Each log line it output twice:

It gets really messy with errors. Each error is repeated twice.
I'm curious what happens with code splitting but haven't setup a test with it yet.
For Bugs; How can we reproduce the behavior?
Setup webpack to create a vendor or common bundle, or I bet multiple entrypoints. Start things up, look at browser console.
Thanks again!

Thanks for the issue :beer: sounds like we need to prefix our log messages with the chunk name for a vendor setup like that. Pretty sure we'll need a simple test repo to triage this one. (We're not all react developers :smile:)
As for the mess, not sure we can get around that. Limiting the verbosity of these messages is going to be a net loss for folks not using the same setup. You might also consider changing the log level for the client to limit it to errors.

Thanks, @shellscape. Here's a repo that shows the issue:
https://github.com/mcjfunk/hot-duplicate-output
I created a vendor bundle and two entrypoints. This results in 3x more logging!

Thanks for putting that together. FYI this likely won't result in fewer log messages, as we can't control how webpack processes and reports some things, but a fix should result in more explicit log messages so you can tell what's what and from what source.

FWIW the solution to #53 will fix this particular issue. I believe the causes of both are identical.


Broken/Redirected Link

Issue in ./help/export/analytics-data-feed/c-df-contents/datafeeds-reference.md
The link - https://helpx.adobe.com/analytics/kb/merchandising-evar-instances-lookup-in-postproductlist.html gets redirected to the existing data feed documentation -  https://experienceleague.adobe.com/docs/analytics/export/analytics-data-feed/data-feed-contents/datafeeds-reference.html?#analytics-data-feed
Could we kindly restore the prior link for merchandising eVar instances lookup in the post_product list?

I'm so sorry for the delay. I'm still trying to confirm if the original file is still valid or if any information has changed before I publish anything.

Hello, I've added the file back at https://experienceleague.adobe.com/docs/analytics/export/analytics-data-feed/data-feed-contents/merchandising-evar-lookup.html
I've set up a redirect from the old URL (https://helpx.adobe.com/analytics/kb/merchandising-evar-instances-lookup-in-postproductlist.html), and it should work sometime after 20:00 PST tonight.
Thanks so much for bringing it to our attention!


Switch Header component to v3 design tokens #DS-1453

Description

Additional context

Issue reference
https://jira.almacareer.tech/browse/DS-1453

coverage: 79.414% (+0.7%) from 78.69%
when pulling 81d2d8f54d98d834de3906269bded541b07297f8 on bc/header-v3-design-tokens
into d2d3f545dc14ae213a4336206301e558367268b1 on integration/BC-v3-design-tokens.

In Storybook there is a little glitch in the hamburger menu. Right after the click on the hamburger, it jumps a little bit to right. It can be noticed before the Offcanvas opens.


docs(gsap.pdf): create cheatsheet for GreenSock

original source: https://ihatetomatoes.net/wp-content/uploads/2016/07/GreenSock-Cheatsheet-4.pdf

Sorry no PDF

Sorry no PDF

Okay, no problem. What format should I use. Can you please point me to the documentation.
Thanks!

Okay, no problem. What format should I use. Can you please point me to the documentation.
Thanks!

Something similar to this :) https://github.com/LeCoupa/awesome-cheatsheets/blob/master/backend/node.js

Something similar to this :) https://github.com/LeCoupa/awesome-cheatsheets/blob/master/backend/node.js

Okay. Thanks a ton!

Okay. Thanks a ton!


[stable/prisma] Add missing config param: rawAccess

What this PR does / why we need it:
Adds missing config params: rawAccess, Specifies whether the executeRaw mutation will be enabled in the Prisma API.
https://v1.prisma.io/docs/1.27/prisma-graphql-api/reference/raw-database-access-qwe4/
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[ ] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

@giacomoguiulfo

/assign @giacomoguiulfo

/ok-to-test

/retest

/retest

/retest

/retest


2.7.10 fails to build on FreeBSD 11-CURRENT

Let me know if there is anything else I can provide.
 The
project is managed by a worldwide community of volunteers that use
the Internet to communicate, plan, and develop the OpenSSL tookit
and its related documentation.

OpenSSL is based on the excellent SSLeay library developed by Eric
A. Young and Tim J. Hudson. The OpenSSL toolkit is licensed under
an Apache-style licence, which basically means that you are free
to get and use it for commercial and non-commercial purposes subject
to some simple license conditions.

WWW: http://www.openssl.org/
WWW: http://sctp.fh-muenster.de/dtls-patches.html

build log: https://gist.github.com/tony/ec4e06b3e86cb258a95b

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27868658-2-7-10-fails-to-build-on-freebsd-11-current?utm_campaign=plugin&utm_content=tracker%2F282009&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282009&utm_medium=issues&utm_source=github).

*** WARNING: renaming "_ssl" since importing it failed: build/lib.freebsd-11.0-CURRENT-amd64-2.7/_ssl.so: Undefined symbol "SSLv2_method"

This could be the cause. It looks like something related to OPENSSL_NO_SSL2 is not working properly at least on your system.

$ pkg info openssl
openssl-1.0.2_4
Name           : openssl
Version        : 1.0.2_4
Installed on   : Sat Oct 17 21:59:20 CDT 2015
Origin         : security/openssl
Architecture   : freebsd:11:x86:64
Prefix         : /usr/local
Categories     : security devel
Licenses       :
Maintainer<EMAIL_ADDRESS>WWW            : http://www.openssl.org/
Comment        : SSL and crypto library
Options        :
(... snip ...)
SSL2           : on

Because SSLv2 is insecure nowadays, I'd recommend you to rebuild openssl without SSL2. I think it should solve the build issue of CPython.
Otherwise, CFLAGS="-DOPENSSL_NO_SSL2" might work. I think it'd be better to disable openssl completely.

Thank you, that did the trick.

Do you think it's worth mentioning this at https://github.com/yyuu/pyenv/wiki/Common-build-problems#error-the-python-ssl-extension-was-not-compiled-missing-the-openssl-lib? I can add a note.

I think it's helpful. I'm happy if you update the page. Thanks.

Done. thank you


Add snapshot tests for CLI's check command

Technical Requirements

Add the tests in tests/cli/check.rs.
use include_config! macro to import configurations from a test/fixtures directory where test configurations should be added.
Use the CLI programatically and create snapshot tests.
Take inspiration from the generator.rs

/bounty 50$

/attempt #2640


How to invoke OnImageCaptured

I was trying to use this library to scan barcode as well as to capture images. I can see there is event for the camera view which actually captures the image but I can't see any method exposed which will trigger this event.
I have added cameraview and a button to capture image.
As per the documentation
I am setting the CaptureNextFrame  = true on click of the button in Main Thread but OnImageCaptured  is never getting called.
In the latest release note it is written as
OnImageCaptured is now triggered AFTER OnDetectionFinished and only if BarcodeResults.Count > 0
So looks like this library is only for scanning. We cannot use it as Camera for taking pics?

Hello.
You need to set CaptureNextFrame to true and then next time when the barcode(s) is detected it will fire OnDetectionFinished with barcode data first and OnImageCaptured with the frame image after.
Note that after OnImageCaptured returns CaptureNextFrame will be set to false so you need to set it to true if you want to capture additional images.


Catch permission errors when doing brew cleanup

Hello,
When running brew cleanup, it was unable to delete some files in my PHP install (I guess that I stupidly ran PHP as a different user at some point or something, so that var/logs directory has files that my user couldn't delete).
Removing<EMAIL_ADDRESS>(502 files, 65.6MB)
Error: Directory not empty @ dir_s_rmdir -<EMAIL_ADDRESS>~$

Due to this error, it terminated the brew process, instead of continuing until the end -- and so I lost the ability to easily see how much disk space I regained from running cleanup in the first place.
Suggestion: catch these types of errors, so brew process will continue as normal, proceeding to the next formula in cleanup. Alternatively, if there is some legitimate reason for brew to fully stop processing when this type of error happens, it should still print the wonderful This operation has freed approximately xx GB of disk space message.
So not a major problem, but I thought it would be a useful idea in the future. Thanks for your time.

Please fill in the issue template i.e. provide your brew config and brew doctor output.

Sorry, I didn't think that was necessary because it's not really a bug with Brew, but a suggestion that it should catch errors (in my case, a permission error that was almost certainly my fault) when doing cleanup.
I had to use sudo to delete the<EMAIL_ADDRESS>because my user didn't have permissions to delete a log file in there, so it's expected that brew running as my normal user wouldn't have had permissions to delete it either.
~$ brew config
HOMEBREW_VERSION: 1.7.6-20-gbb177b3
ORIGIN: https://github.com/Homebrew/brew
HEAD: bb177b305596748625ffdbbbe5e523495aca7305
Last commit: 25 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 03c0cf6b5b9b4cb45959fa735a9f610b68a67e00
Core tap last commit: 20 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_DEV_CMD_RUN: 1
HOMEBREW_NO_ANALYTICS_THIS_RUN: 1
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.3.7 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby
Clang: 10.0 build 1000
Git: 2.19.0 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 10, 1.8.0_162
macOS: 10.14-x86_64
CLT: N/A
Xcode: 10.0
XQuartz: 2.7.11 => /opt/X11
~$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
  ghostscript
  php
  mono

I can't reproduce it anymore because I already manually deleted those folders as root (and my brew is 100% clean now), but I imagine it would be reproducible if you create a folder+file that's only modifiable by root in one of the Cellar's versions, and then try to run cleanup.
Hope this helps explain the situation and I didn't forget to include anything.

I imagine it would be reproducible if you create a folder+file that's only modifiable by root in one of the Cellar's versions, and then try to run cleanup.

Could you try that and also include your brew doctor output if/when you can reproduce it? Ideally provide reproduction step commands in here. Thanks!

mujs updated to 1.0.5 now, so I got to use 1.0.4 to demo. Hopefully I'm making it clear that the whole situation is caused by PEBKAC: user creating files in the Cellar that's not able to be deleted by the user invoking brew.
Instructions:
sudo -i (this is the only important part, needed so files created won't be able to be deleted by brew-invoker)
cd /usr/local/Cellar/mujs/1.0.4
mkdir var
touch var/test.log
exit

Now, gives error on cleanup, and doctor is same as before:
~$ brew cleanup
Removing: /usr/local/Cellar/mujs/1.0.4... (10 files, 510.6KB)
Error: Directory not empty @ dir_s_rmdir - /usr/local/Cellar/mujs/1.0.4
~$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
  ghostscript
  php
  mono

Permissions on this stuff:
~$ ls -alh /usr/local/Cellar/mujs/1.0.4/
total 16
drwxr-xr-x  6 mikelund  staff   192B Sep 27 16:25 .
drwxr-xr-x  4 mikelund  staff   128B Sep 27 16:19 ..
-rw-r--r--  1 mikelund  staff   755B Jul 30 15:35 COPYING
-rw-r--r--  1 mikelund  staff   1.6K Aug 26 04:42 README
drwxr-xr-x  4 mikelund  staff   128B Jul 30 15:35 lib
drwxr-xr-x  3 root      staff    96B Sep 27 16:25 var
~$ ls -alh /usr/local/Cellar/mujs/1.0.4/var/
total 0
drwxr-xr-x  3 root      staff    96B Sep 27 16:25 .
drwxr-xr-x  6 mikelund  staff   192B Sep 27 16:25 ..
-rw-r--r--  1 root      staff     0B Sep 27 16:25 test.log

If I fix those permissions (take ownership of that folder and file -- which was created earlier by me -- to my user), brew cleanup runs fine:
~$ brew cleanup
Removing: /usr/local/Cellar/mujs/1.0.4... (5 files, 297.7KB)
Removing: /Users/mikelund/Library/Caches/Homebrew/mujs--1.0.4.high_sierra.bottle.tar.gz... (211KB)
==> This operation has freed approximately 508.7KB of disk space.

Does Homebrew have utilities to regain file ownership en masse? Cask does in the Staged module.

Also noticed the same. var directory was owned by root. Cleanup of PHP 5.6.x and 7.1.x
brew doctor
Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
  php53

brew config
HOMEBREW_VERSION: 1.8.0
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: fdd8e9b7cf1e53322492e1e90f685c19bdfde506
Last commit: 8 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: a5e7728216e0c825dbe6ee347b1432dada577eca
Core tap last commit: 3 hours ago
HOMEBREW_PREFIX: /usr/local
CPU: quad-core 64-bit broadwell
Homebrew Ruby: 2.3.7 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
Clang: 10.0 build 1000
Git: 2.17.1 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.54.0 => /usr/bin/curl
macOS: 10.13.6-x86_64
CLT: <IP_ADDRESS>.1.1535735448
Xcode: 10.0
XQuartz: 2.7.11 => /opt/X11

@steinmb Please avoid "me too" comments; this will apply to everyone. Thanks!


Add support for material-icons

Based on the npm https://github.com/marella/material-icons
All material icons as of 1.10.4 in an enum - ie: pie_chart ->
PieChart("pie_chart") in MDCIconOpts.MDCIconType
Numbers written out using Proper Case 1MP -> OneMp
Output is a Span with the right class (Filled, Outlined, TwoTone, etc)
As elsewhere in KMDC, styling has to be applied externally

Fixes issue KMDC #33: Implement kmdc-icons

@pocharlebois Are you going to submit this for review upstream?


Cannot use const assets name anymore

I have several const that defines some static data in my app.
Before using assets_gen, I could write something like this :
const breath = MultiSelectorItem('breath', 'assets/breath.svg', 'Breath');
But when using assets_gen, this line doesn't work anymore :
const breath = MultiSelectorItem('breath', Assets.breath.path, 'Breath');
It seems that it's because the generated class SvgGenImage.path is a getter, so NOT const.
class SvgGenImage {
  const SvgGenImage(this._assetName);

  final String _assetName;

  [...]

  String get path => _assetName;
  String get keyName => _assetName;
}

Do you have an idea how can I use the asset path in a const ?
EDIT :
I now I could remove flutter_svg: true in pubspec, but using this kind of code is also handy :
child: Assets.breath.svg()

https://github.com/FlutterGen/flutter_gen


improve mem usage and match speed

Coverage remained the same at 0.0% when pulling e8dd851d6dabed4a8126d4456ddf8adcfaec77da on route-improve into 6b236e00e1bb34b6ca19d7014e64bd95c5a80203 on master.


Add theme forest-theme

Screenshot of my A11y card:
For assistance: https://help.github.com/en/articles/file-attachments-on-issues-and-pull-requests

Hey! Could you try tweaking your colors a little bit? If you can get the 3 numbers in the image >= 4.5 so that the text is easy to read, you'll be good to go 👍

Done. sorry about that


Edit and Remove Participations (Frontend)

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

Project coverage is 60.73%. Comparing base (67f81c7) to head (73a8f4f).
Report is 1 commits behind head on master.

Files
Patch %
Lines

...are/humanaethica/config/HEPermissionEvaluator.java
0.00%
3 Missing :warning:

...aethica/participation/ParticipationController.java
0.00%
2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##             master      #90      +/-   ##
============================================
+ Coverage     60.27%   60.73%   +0.45%
- Complexity      502      516      +14
============================================
  Files            65       65
  Lines          1790     1816      +26
  Branches         68       70       +2
============================================
+ Hits           1079     1103      +24
- Misses          679      683       +4
+ Partials         32       30       -2

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

Merge master and resubmit.


Accept generic points as input

cc @jfirebaugh @kkaefer

cc @JaapSuter — does this look OK as a breaking change? With it, you can pass any kinds of custom point types.

Thumbs up!


Re-consider patterns used to set metadata from conventions

See #7301. Currently we have a mechanism for metadata set by convention where attempting to set that piece of metadata may or may not actually do something based on whether or not setting that things is valid. It would be good to consider whether or not this is the best approach given:

There are places, such as in #7301, where a convention should never try to set metadata that is invalid, so it may be that this code is never actually used.
It needs to be clear from API/documentation that a convention is doing a try-set rather than a set. This will likely require API changes.
It may be better for the convention itself to determine whether it is valid to set a property. This is likely to make it easier to understand what the convention is really doing. Also, if it turns out that there only a few conventions that need to do this, then we could end up removing significant code that is not used--see first point.
If there are common things that conventions need to check, such as whether or not something has already been set explicitly, then this could be extracted into common code used from conventions without it being an integral part of every API.

This is related to #214

Merged info into https://github.com/aspnet/EntityFramework/issues/214


x42-plugins: 20180812 -> 20181103

Motivation for this change
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build x42-plugins

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: x42-plugins
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: x42-plugins
Partial log (click to expand)
shrinking /nix/store/s4za4kmw6m422pgn0ipzxj9y4aspfpfn-x42-plugins-20181103/lib/lv2/fat1.lv2/fat1.so
shrinking /nix/store/s4za4kmw6m422pgn0ipzxj9y4aspfpfn-x42-plugins-20181103/lib/lv2/fat1.lv2/fat1UI_gl.so
shrinking /nix/store/s4za4kmw6m422pgn0ipzxj9y4aspfpfn-x42-plugins-20181103/lib/lv2/fil4.lv2/fil4UI_gl.so
shrinking /nix/store/s4za4kmw6m422pgn0ipzxj9y4aspfpfn-x42-plugins-20181103/lib/lv2/fil4.lv2/fil4.so
gzipping man pages under /nix/store/s4za4kmw6m422pgn0ipzxj9y4aspfpfn-x42-plugins-20181103/share/man/
strip is /nix/store/n4hb93w6j076xcjw5pm09rdmc09s075b-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/s4za4kmw6m422pgn0ipzxj9y4aspfpfn-x42-plugins-20181103/lib  /nix/store/s4za4kmw6m422pgn0ipzxj9y4aspfpfn-x42-plugins-20181103/bin
patching script interpreter paths in /nix/store/s4za4kmw6m422pgn0ipzxj9y4aspfpfn-x42-plugins-20181103
checking for references to /build in /nix/store/s4za4kmw6m422pgn0ipzxj9y4aspfpfn-x42-plugins-20181103...
/nix/store/s4za4kmw6m422pgn0ipzxj9y4aspfpfn-x42-plugins-20181103

Failure on aarch64-linux (full log)
Attempted: x42-plugins
Partial log (click to expand)
  -o build/balance.so balance.c \
  -shared -Wl,-Bstatic -Wl,-Bdynamic  -lm
g++: error: unrecognized command line option '-msse'; did you mean '-fdse'?
g++: error: unrecognized command line option '-msse2'
g++: error: unrecognized command line option '-mfpmath=sse'
make[1]: *** [Makefile:192: build/balance.so] Error 1
make[1]: Leaving directory '/build/x42-plugins-20181103/balance.lv2'
make: *** [Makefile:34: balance.lv2] Error 2
builder for '/nix/store/0xs62sqdfinkkgyfp4wdxs1p0vphag2n-x42-plugins-20181103.drv' failed with exit code 2
error: build of '/nix/store/0xs62sqdfinkkgyfp4wdxs1p0vphag2n-x42-plugins-20181103.drv' failed

-msse is an x86 specific flag and Hydra confirms it never builds successfully on ARMv8.
@magnetophon can you restrict platforms to x86 or mark as broken on aarch64 ?

@c0bw3b Thanks, done.

Success on x86_64-linux (full log)
Attempted: x42-plugins
Partial log (click to expand)
shrinking /nix/store/s4za4kmw6m422pgn0ipzxj9y4aspfpfn-x42-plugins-20181103/bin/x42-fat1
shrinking /nix/store/s4za4kmw6m422pgn0ipzxj9y4aspfpfn-x42-plugins-20181103/bin/x42-scope
shrinking /nix/store/s4za4kmw6m422pgn0ipzxj9y4aspfpfn-x42-plugins-20181103/bin/x42-meter
shrinking /nix/store/s4za4kmw6m422pgn0ipzxj9y4aspfpfn-x42-plugins-20181103/bin/x42-fil4
gzipping man pages under /nix/store/s4za4kmw6m422pgn0ipzxj9y4aspfpfn-x42-plugins-20181103/share/man/
strip is /nix/store/n4hb93w6j076xcjw5pm09rdmc09s075b-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/s4za4kmw6m422pgn0ipzxj9y4aspfpfn-x42-plugins-20181103/lib  /nix/store/s4za4kmw6m422pgn0ipzxj9y4aspfpfn-x42-plugins-20181103/bin
patching script interpreter paths in /nix/store/s4za4kmw6m422pgn0ipzxj9y4aspfpfn-x42-plugins-20181103
checking for references to /build in /nix/store/s4za4kmw6m422pgn0ipzxj9y4aspfpfn-x42-plugins-20181103...
/nix/store/s4za4kmw6m422pgn0ipzxj9y4aspfpfn-x42-plugins-20181103


Add intuitive way to open additional traces

fixes #193

Button added to the 'Opened Traces' widget header to allow opening additional traces. Button appears when mouse is hovered over widget
In my approach I'm emitting a new signal when button is clicked, but I can reuse one of the existing signals instead

Named button tooltip "Open New Trace" because I think it differentiates from the context menu "Open Trace" command:

Unable to add '+' to the icon because theia commands accept a single iconClass param and I couldn't find a way to stack multiple icons in one element. We can upgrade font-awesome to v5 to get access to a folder-plus icon

Requested changes:

[ ]  Split changes into two commits (same PR). These are distinct changes even if one is a prerequisite for the other.

Commit 1: Move server health check to Open Trace command (the commit message should justify why this change was made)
Commit 2: Add intuitive way to open additional traces

[ ]  Nitpick: Remove the grey translucent rectangle that appears over the right half of the button when you long hover (see video below)

TraceCompassTutorialTraces.Theia-Trace.Example.Application.-.Google.Chrome.2021-12-06.09-18-40.mp4
I can look at the code more closely after the commit is split because then it will take me less time to understand.
I'm excited to merge this! It really is a great UX improvement. Thank you for the update @hriday-panchasara! 🌿 Also this new code organization makes sense to me. Thank you for the recommendation @bhufmann!

Split the changes into two commits so its more readable
I'm unable to replicate the issue with the button overlay, its appearing normal for me in light and dark themes. Might be a theia bug since we're contributing a command through its api:

I'm unable to replicate the issue with the button overlay, its appearing normal for me in light and dark themes. Might be a theia bug since we're contributing a command through its api:

No problem! It's not happening for me either in the most recent version of these changes so who knows 😄

Requested change:

[ ]   Remove "fixes #193" from the "Move server health check to Open Trace command" commit. This commit is a prerequisite for fixing that issue, but it doesn't fix it. If you want to link it to the issue you could say "Required for fixing #193".

I'm being particular about commit structure and messages because it makes things much easier for future devs to understand and make changes to the code. Imagine if you're trying to understand a file in a new code base and by using "git blame" you can get clear descriptions of the purpose of each line of code from the devs that originally added them. That sounds great to me!
Apart from that, these changes look good to me!. The division of the code in each commit makes sense to me as well as the changes themselves. Thank you for taking the time to adjust the commits. Again, I'll leave it to more experienced coders to give the final approval.

Reworded the commit message

I'm unable to replicate the issue with the button overlay, its appearing normal for me in light and dark themes. Might be a theia bug since we're contributing a command through its api:

I've seen it several times in the latest patch, but can't reliably reproduce it. Anyway, it's not a big issue and shouldn't block this PR.


kibana shows blank page with error

After following the installation procedure and starting nodejs app. It prompted me to enter the password(using basic auth). But after I enter the correct password, I'm getting a blank page with Cannot GET /  error.
Is there some step I'm not aware of during the configurations?
Thanks!

Looks like the fix is not in master yet,
I just git clone https://github.com/izhan/kibana-authentication-proxy.git
and got this commit:
commit 304b944b354f158a18cc584055df635cbb4f5b26 Author: Irvin Zhan<EMAIL_ADDRESS>Date:   Thu Dec 18 09:23:07 2014 -0500 configure to allow for google oauth
and didn't get GET / error

ah yes, my fork you mentioned used a reverse proxy built in express to workaround this.  there are a few more commits that aren't pushed up to that fork that addresses some issues with it.  i can push it up when i have a chance.
we ultimately switched to a simple nginx proxy. the fork had some issues due to a bug in kibana parsing, though that issue might have been fixed in kibana master already.

@izhan support for Kibana 4 is unlikely to be possible on a reverse proxy like this.
Kibana 4 requires its own web tier as explained here: https://github.com/elasticsearch/kibana/issues/1628#issuecomment-58611294
@fangli may I suggest a small explanation in the Readme like this one: https://github.com/hmalphettes/kibana-proxy/commit/f3e9d254dea35ddb15d5e34ae2eb7e5cc9293c24


Full text index not used to speed up query, causing poor performance

Using OrientDB 2.1.13:
CREATE CLASS Abs ABSTRACT
CREATE PROPERTY Abs.name String
CREATE INDEX Abs.name FULLTEXT
CREATE CLASS Ext EXTENDS Abs

INSERT INTO Ext SET name = 'abc'
INSERT INTO Ext SET name = 'def'
INSERT INTO Ext SET name = 'xyz'

// no index used (involvedIndexes does not exist in the returned data)
EXPLAIN SELECT * FROM Ext WHERE name = 'xyz'

// index found (Abs.name) but seems to not be used regardless (3 records and documents read)
// performance on larger datasets is consistent with a table scan
EXPLAIN SELECT * FROM Abs WHERE name = 'xyz'

DROP INDEX Abs.name
CREATE INDEX Abs.name UNIQUE

// index Abs.name used, 1 record and document read in both cases
EXPLAIN SELECT * FROM Ext WHERE name = 'xyz'
EXPLAIN SELECT * FROM Abs WHERE name = 'xyz'

This makes FULLTEXT indexes actively harmful -- they slow down insert performance without helping speed up query performance.

Try using name CONTAINSTEXT 'xyz' instead of name = 'xyz' in your query when indexing using fulltext. Your example uses the index fine for me in version 2.1.11 using CONTAINSTEXT.

Thanks for the suggestions, I appreciate that you are trying to help. However, CONTAINSTEXT creates a fundamentally different query than the name = 'xyz' one. Note how the CONTAINSTEXT query's results are always a superset of the other query's results, but not vice versa -- making this still a serious bug.

Assigned to @maggiolo00 , seems like he missed this conversation.

Hi @obi1kenobi
Native fulltext does not support operator = because it will give you wrong results.
From your example
INSERT INTO Ext SET name = 'xyz'
INSERT INTO Ext SET name = 'xyza'

If the fulltext were used in this case
SELECT * FROM Ext WHERE name = 'xyz'

it would give you 2 results back which is wrong.
If you want to use the fulltext and + operator you should create two indexes one for exact match, one for fullText Match with ContainsText.

Hi @maggiolo00,
That is not the result I am expecting -- I would like only 1 result in that case. However, the fulltext index is sufficient because it's broader, which means it can be used to avoid the full table scan, narrow the possible result set down to those two records, and then only scan them two instead of the tens of thousands of records in the table.
This is very similar to the idea of trigram indexes in many other databases -- just because the index at hand doesn't immediately answer the query by itself, that doesn't mean it can't be useful to trim down the set of rows that have to be checked.
Also, note that EXPLAIN SELECT * FROM Abs WHERE name = 'xyz' says that the index was found and used, when the performance suggests it was not used. This sounds like a bug regardless of the above discussion.

@obi1kenobi
yes it is wrong that is why the full text index is not used with = operator.
We do not support now that concept.
You can manually do that. It is not the best solution but you can do with only one index.
SELECT * FROM Abs WHERE name CONTAINSTEXT 'xyz' && name = 'xyz'

Thanks for the help -- I ended up switching to a non-FULLTEXT index.
I think that the EXPLAIN SELECT bug is worth fixing though, because it claims an index was used when that's not the case.


VRPTW: distance/duration limit per vehicle with a refuel/recharge option

Hello,
I'm working on a version of the VRP which calls for different max durations per vehicle (which I know how to set - https://github.com/google/or-tools/issues/730#issuecomment-467750498), but I also need an option for the vehicles to recharge/refuel. This should reset their cumulative duration with respect to the limit and allow them to continue to be part of the solution.
Is it possible to achieve?
Alternatively, is there a method to define a "buffer" per vehicle? i.e. if the duration between A to B is 1 hour, vehicle 1 buffer is 30 minutes and vehicle 2 buffer is 1 hour, then the solver will consider the duration between A to B give it is assigned to vehicle 1 as 1:30 hours and 2:00 hours given that it's assigned to vehicle 2.
Also, If I want to use condition on distance rather than on duration, such that instead of a limit of x hours driving, I will set a limit of y kms. Do I just need to add a new dimension 'distance' and do the same thing? My objective is to minimize the driving duration (i.e. fuel consumption) and since it's a time-window problem I'm using a duration matrix.
Thanks!

Have you seen
https://github.com/google/or-tools/blob/stable/ortools/constraint_solver/samples/cvrp_reload.py
?
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le dim. 6 oct. 2019 à 04:24, amih77<EMAIL_ADDRESS>a écrit :

Hello,
I'm working on a version of the VRP which calls for different max
durations per vehicle (which I know how to set - #730 (comment)
https://github.com/google/or-tools/issues/730#issuecomment-467750498),
but I also need an option for the vehicles to recharge/refuel. This should
reset their cumulative duration with respect to the limit and allow them to
continue to be part of the solution.
Is it possible to achieve?
Also, If I want to use condition on distance rather than on duration, such
that instead of a limit of x hours driving, I will set a limit of y kms. Do
I just need to add a new dimension 'distance' and do the same thing? My
objective is to minimize the driving duration (i.e. fuel consumption) and
since it's a time-window problem I'm using a duration matrix.
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1624?email_source=notifications&email_token=ACUPL3M6UUVL7742WQ5FQTTQNGOCBA5CNFSM4I53A4LKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HP4HG6Q,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUPL3LWH5ENFKQBBXLZHLLQNGOCBANCNFSM4I53A4LA
.

Thanks for the link. However, I need the focus on the vehicle rather than on the node/location itself since I have several type of vehicles. In a sense, I need a third dimension to the duration_matrix to represent the vehicle.

You can have multiple dimensions.
Having time and distances are common.
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le dim. 6 oct. 2019 à 07:45, amih77<EMAIL_ADDRESS>a écrit :

Thanks for the link. However, I need the focus on the vehicle rather than
on the node/location itself since I have several type of vehicles. In a
sense, I need a third dimension to the duration_matrix to represent the
vehicle.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1624?email_source=notifications&email_token=ACUPL3K7JCQGQCOKDQ4PLCDQNHFWDA5CNFSM4I53A4LKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAOIDLA#issuecomment-538739116,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUPL3NZDLUJSXOH5WNDAQ3QNHFWDANCNFSM4I53A4LA
.

OK, but this is my smallest problem as I can translate distance to duration fairly precisely.
How do I define duration limit per vehicle, buffer (service time) per vehicle? I still don't understand how to do that.
Thanks

You have one dimension for duration, and one for distance. Then you limit
the first one. I do not see the problem.
Le dim. 6 oct. 2019 à 08:28, amih77<EMAIL_ADDRESS>a écrit :

OK, but this is my smallest problem as I can translate distance to
duration fairly precisely.
How do I define duration limit per vehicle, buffer (service time) per
vehicle? I still don't understand how to do that.
Thanks
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1624?email_source=notifications&email_token=ACUPL3LB52YWJJNE37NTTFDQNHKYNA5CNFSM4I53A4LKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAOI5FQ#issuecomment-538742422,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUPL3OK6NIMI6A6HSZAZRDQNHKYNANCNFSM4I53A4LA
.

Say that we have a vehicle that can go for 4 hours, then need to refuel, and can then go again for 4 hours.
Is it possible to configure such model?

have a limit on the 4 hour. the have special refuel nodes where the cumul
var is set to 0, the driving time is reset to zero by having the dimension
set to -4h, and using the slack to compensate for the remaining time.
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le dim. 6 oct. 2019 à 09:23, amih77<EMAIL_ADDRESS>a écrit :

Say that we have a vehicle that can go for 4 hours, then need to refuel,
and can then go again for 4 hours.
Is it possible to configure such model?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1624?email_source=notifications&email_token=ACUPL3OPIFDUMC45ZNPUZ53QNHRFNA5CNFSM4I53A4LKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAOKAYQ#issuecomment-538746978,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUPL3JUZEMXFT6FC5HYIJLQNHRFNANCNFSM4I53A4LA
.

I think I understood now - thanks a lot.
How do I force the solver to make the vehicles visit the special nodes when the cumul var is 0?

It is the over way around. When you are close to the limit, the only
possible paths are to refuel nodes or back to the depot.
Le dim. 6 oct. 2019 à 09:34, amih77<EMAIL_ADDRESS>a écrit :

I think I understood now - thanks a lot.
How do I force the solver to make the vehicles visit the special nodes
when the cumul var is 0?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1624?email_source=notifications&email_token=ACUPL3IMZTPEAZJ5B4BS4V3QNHSPLA5CNFSM4I53A4LKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAOKHQQ#issuecomment-538747842,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUPL3OX5WAL4FXD5W53RJ3QNHSPLANCNFSM4I53A4LA
.

In my model, each vehicle has a unique start location and end location. How can I define these additional refueling locations per each vehicle. Is there a python example somewhere?
Thanks a lot again.

i thought about your solution and looked at the code. questions:

How do I define a node that resets the cumulVar? Is it by passing "True" when adding the new 'Distance' dimension? Can I stick with the Duration dimension and set this value specifically for these points only?

I still don't understand how the solver will include these charging points in the route. Will it try to optimize the result by going to these points voluntarily?

If I can have a small code example that would be really great. Thanks a lot

Have you read the example I sent you ? line 175 ?
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le dim. 6 oct. 2019 à 16:33, amih77<EMAIL_ADDRESS>a écrit :

i thought about your solution and looked at the code. questions:

How do I define a node that resets the cumulVar? Is it by passing
"True" when adding the new 'Distance' dimension? Can I stick with the
Duration dimension and set this value specifically for these points only?
I still don't understand how the solver will include these charging
points in the route. Will it try to optimize the result by going to these
points voluntarily?
If I can have a small code example that would be really great. Thanks a lot
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1624?email_source=notifications&email_token=ACUPL3P6H5UB42EEQGVA5ZTQNJDQRA5CNFSM4I53A4LKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAOTMPI#issuecomment-538785341,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUPL3PTYYJ44CJJ37WSUTDQNJDQRANCNFSM4I53A4LA
.

Nice - thanks a lot.
Just to make sure i understood - lines 182-186 will give the solver an option to unload/recharge/refuel a vehicle, such that it will be able to continue working?

Why the capacity dimension is start_cumul_to_zero=True ? Is there an explanation in the docs about it?
As each vehicle has a different capacity - If I give the special nodes a very high capacity value (say, max over all capacities) will it zero the capacity for each visiting vehicle or it can create a problem?

Thank you!

http://google.github.io/or-tools/cpp_routing/classoperations__research_1_1RoutingModel.html#ab76cd57b0490eb4253fd1bf792e23f16
After rereading your posts, driving time goes up, then is reset to zero,
not the inverse.
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le lun. 7 oct. 2019 à 04:43, amih77<EMAIL_ADDRESS>a écrit :

Nice - thanks a lot.
Just to make sure i understood - lines 182-186 will give the solver an
option to unload/recharge/refuel a vehicle, such that it will be able to
continue working?

Why the capacity dimension is start_cumul_to_zero=True ? Is there
an explanation in the docs about it?
As each vehicle has a different capacity - If I give the special
nodes a very high capacity value (say, max over all capacities) will it
zero the capacity for each visiting vehicle or it can create a problem?

Thank you!
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1624?email_source=notifications&email_token=ACUPL3LE7TF2HV5ED2MND7DQNLZDZA5CNFSM4I53A4LKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAPPDRA#issuecomment-538898884,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUPL3LWOTCAVBLWY23RHUTQNLZDZANCNFSM4I53A4LA
.

I still have another question regarding this. The example you gave me was CVRPTW meaning that the capacities are gathered along the nodes. In my problem, the dimensions are duration with start_cumul_to_zero=False (for he time windows) and distance with start_cumul_to_zero=True such that the cumulative values are gathered along the edges/arcs. In particular, I cant define -capacity for the charging points as in the example.

Is it possible to define negative weighted arcs to the charging points?
Say that the range per vehicle is 100 and it has now traveled 80. The distance from its current location a  to the charging point b is 10 so what should be the the weight on a->b? I still want to restrict vehicles that traveled, say, 95 from reaching from a to b.

Thanks!

have a limit on the 4 hour. the have special refuel nodes where the cumul var is set to 0, the driving time is reset to zero by having the dimension set to -4h, and using the slack to compensate for the remaining time. Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53 00 Le dim. 6 oct. 2019 à 09:23, amih77<EMAIL_ADDRESS>a écrit :
…
Say that we have a vehicle that can go for 4 hours, then need to refuel, and can then go again for 4 hours. Is it possible to configure such model? — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub <#1624?email_source=notifications&email_token=ACUPL3OPIFDUMC45ZNPUZ53QNHRFNA5CNFSM4I53A4LKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAOKAYQ#issuecomment-538746978>, or mute the thread https://github.com/notifications/unsubscribe-auth/ACUPL3JUZEMXFT6FC5HYIJLQNHRFNANCNFSM4I53A4LA .

At the moment, I can't get it to work.
I have 1 vehicle (with start and end location), 2 locations and 1 recharge location.  This is the matrix:
[
   [{'duration': 0, 'distance': 0}, {'duration': 600, 'distance': 501}, {'duration': 600, 'distance': -10000}, {'duration': -1, 'distance': -1}, {'duration': 600, 'distance': 500}],
   [{'duration': -1, 'distance': -1}, {'duration': 0, 'distance': 0}, {'duration': 600, 'distance': 9000}, {'duration': -1, 'distance': -1}, {'duration': 600, 'distance': 500}],
   [{'duration': 600, 'distance': 9000}, {'duration': 600, 'distance': 500}, {'duration': 0, 'distance': 0}, {'duration': -1, 'distance': -1}, {'duration': 600, 'distance': 500}],
   [{'duration': 600, 'distance': 9000}, {'duration': 600, 'distance': 9000}, {'duration': 600, 'distance': 9000}, {'duration': 0, 'distance': 0}, {'duration': 600, 'distance': 9500}],
   [{'duration': -1, 'distance': -1}, {'duration': -1, 'distance': -1}, {'duration': -1, 'distance': -1}, {'duration': -1, 'distance': -1}, {'duration': -1, 'distance': -1}]
]

where -1 will be interpreted to a large value such that this edge won't be in a feasible assignment.
These are the time windows:
[[600, 1020], [3000, 3420], [0, 28920], [120, 28919], [121, 28920]]

and the range and recharge locations defined:
range_dimension.CumulVar(routing.End(0)).SetMax(10000)
index = manager.NodeToIndex(2)  # 2 is the the recharge loc
range_dimension.SlackVar(index).SetRange(0, 10000)
routing.AddDisjunction([index], 0)

But it gives me only location 0 in the assignment (where as if I change 501 to 500 in the first row of the matrix it will also include location 1 in the assignment).

How do I set the CumulVar for the special nodes to 0? I tried with a negative distance to it but the solver disregards this node. It seems to me that the solver can't accept negative weighted
Why do I need to change the duration_dimension? It will change the entire time_windows scheme, isn't it?

Thanks I lot!


QT wallet Listeners page,selection of Keyboard key (Tab) navigation is irregular

User Experience:
In QT wallet Listeners page,selection of Keyboard key (Tab) navigation is irregular. It starts from "keybase" stop button and then "MWC MQS" Stop button and then "Http" stop button.
Expected Result:
Focus should start from  "MWC MQS" Stop button, then "keybase" stop button and then TOR stop button and then  "Http" stop button. It should be in order.

Still an issue, will fix that.

Verified with the latest build and observed Keyboard key (Tab) navigation is still not orderd.
Actual Result:
Focus started from "MWC MQS" Stop button,  "MWC MQS" address and then TOR stop button and then "Http" "Configure" button and then TOR address.
Expected Result:
Focus should start from "MWC MQS" Stop button,  "MWC MQS" address and then TOR stop button , TOR Address and then "Http" "Configure" button.

Verified, hence closing this ticket.


Notify user to save existing page before attaching files.

When an existing page is edited, attaching a file actually attaches to the current revision.

Resolved.


different printer bed size

Good morning,
i would like to use this pack3d script with my printer but i cant find the variable which defines the printer bed volumen. Could you please tell me where to find it?
This is some really great code work you did there.
greetings
Gerhard

Same here.  Trying to pack for a 300x220 bed size on a Creality CR-10mini

Try this section https://github.com/fogleman/pack3d/blob/master/cmd/binpack/main.go
const (
SizeX = 165
SizeY = 165
SizeZ = 320
Testing now...

That doesn't work for me. Would be nice to adjust the size...

Are there plans for an update that would allow us to adjust print volume size? I have tried @brbubba suggestion above and it did not work.


use originalAuthMethod on originalAuthChecker

Fixes #6873
Use originalAuthMethod on originalAuthProvider check.

@sijie can you review it? Do it cover all cases?

@KannarFr Thanks for the fix. Seems there is no test cover this case, Would you please also help provide a test for this case?

@sijie can you review it? Do it cover all cases?

This is the only place that I can see.

@jiazhai @sijie We have an interesting issue, the original auth method & auth data are empty. Only the original principal is filled.

Nvm, missed: forwardAuthorizationCredentials=true.


[Suggestion]: Fixed header on mobile devices

Mobile devices screen is not that big to contain a lot of unnecessary data all the time you are surfing the website, like the website title.
in mobile view we have the fixed header as 2 x 50px containers.
What if we only made the 2nd container fixed and be sticky at top when scrolling down and leave the website title container at the top without fixing at the top of the screen.
I will try to provide some image to describe what I wrote here.

Hello,
I like the suggestion. We are implementing something similar for AdminLTE v3 wihtout compromising the title. Since we are currently not adding new features for V2. Will consider this for V3.
Thanks!

Yeah, I was talking about the upcoming v3,
Could we do anything to help you in it ?


Add connect views

Closes #217

implements Kafka Connect views;
adds yup with isJsonObject validator to validate json inputs;
adds isConfirming prop to ConfirmationModal to disable buttons and modal closing;

Tests:

adds react-test-renderer to have cleaner snapshots;
adds TestRouterWrapper helper component to wrap components that use router parameters;
adds containerRendersView test function to prevent repeated tests for containers.

@RamazanYapparov Could you please take a look BE build?


Add Pointer Event gesture support for pinch zooming

Hello,
Currently I am unable to zoom using pinch gestures on a Surface RT tablet with IE11, neither in metro interface, nor in desktop. Everything seems to be working well on Android and iOS, so I guess it has something to do with pointer events, which seem to be supported in the current version.
I have disabled the default touch interaction for the container which is used for zooming, using the -ms-touch-action: none; css style so that such events are handled in javascript, but to no avail.
Any idea what I might be doing wrong?
Thanks!

thanx @ljani , works for me on Windows Phone Nokia Lumia 630 (Microsoft Edge 25)

Pointer events will be added back. I'll address this issue in the next version.

I have a Lenovo All in one with touch screen. I cannot get this to work with the touch screen either.
I even tried above demo and pinch zoom did not zoom.
mouse wheel works fine.


React hooks

Hello guys,
Are you planning on supporting hooks? In current version i bumped into issue where you can't run production build due to uglify plugin.
I wanted to override/extend webpack config but i dont think i can override uglifyjs, or am i wrong? Thanks

Hi,
It seems that this is a general problem with hooks. I will look at it, but it should be possible to override config.

Do you have a minimal working example? I tried this code with latest react-union and it seems ok.
import React, { useState, useEffect } from 'react';
import PropTypes from 'prop-types';

const Root = ({ namespace, data }) => {
	const [state, setState] = useState('defaultState');
	useEffect(() => {
		setState('one time effect');
	}, []);
	return (
		<div>
			{state}
			<button onClick={() => setState('click state')} />
		</div>
	);
};

mmm, seems like it should have crashed on your example - ill try my self again.
Meanwhile if you wanted to know more about this issue community has with hooks and uglifyJS -

Also back to dirty solution. Is there a possibility to override uglifyJs in react-union-scripts without going straight into node_modules?
const prodWebpack = () => 		merge( 			commonConfig, 			{ 				bail: true, 				devtool: sourceMaps ? 'source-map' : false, 			}, 			//uglifyJsPlugin(cli.verbose, config) 		);
Thanks

@MartinN3 issue with uglify is resolved in<EMAIL_ADDRESS>


[Divider] - Vertical Divider not working anymore

The vertical devider is not working anymore (not even on http://semantic-ui.com/elements/divider.html)
http://jsfiddle.net/rrxh2prc/1/

I can confirm this from Google Chrome version 52.0.2743.116m

#4342
As mentioned there

I've posted a bug with Chromium. There does not appear to be a workaround from a framework level. Hopefully Chrome team can fix this soon.

View Chrome Issue 633011
https://github.com/w3c/csswg-drafts/issues/401


multi geometries and extended coverage

Adds test to cover multi-geomoetries and additional coverage defined in #28

Overall looks great 92.15% (+6.14%) increase in coverage 🙌 What remains:
https://codecov.io/gh/mapbox/vtcomposite/src/ef58432b5c1725fd02263aac9b0ad5f20e466117/src/feature_builder.hpp#L62
Seems to indicate that the multipoint overzooming test needs to use multipoints that contain at least one point that falls inside the overzoomed tile. Or you could bump up the buffer_size and that would increase the coverage, but the former is better I think because it confirms the filtering is working while also confirming it works to encode points that are not filtered. You could craft a geojson where you'd expect one point inside the overzoomed/clipped tiles and one outside, then assert that by counting the points returned and asserting 1.

@millzpaugh - just in case you've not noticed, you can also run make coverage to display code coverage locally - this can be useful to speed up iteration and might help you see quickly if you've gotten a multipoint that falls within the overzoomed bbox (without waiting on travis + codecov)

Awesome job @millzpaugh! 100%! That last one line that is missing cannot be hit, so you can wrap it to ignore and get to 100 like:
diff --git a/src/feature_builder.hpp b/src/feature_builder.hpp
index c5bf114..cce604f 100644
--- a/src/feature_builder.hpp
+++ b/src/feature_builder.hpp
@@ -240,7 +240,9 @@ struct overzoomed_feature_builder
             apply_geometry_polygon(feature);
             break;
         default:
+            // LCOV_EXCL_START
             break;
+            // LCOV_EXCL_STOP
         }
     }
     vtzero::layer_builder& layer_builder_;

@springmeyer when I add these codecov comments in, I get compiler errors when the C++ code tries to build, locally and on Travis. Here's a failing build: https://travis-ci.org/mapbox/vtcomposite/builds/402370631


Spawn Controls

There is currently not an efficient mechanism for controlling mob spawning.
You can currently opt to cancel the SpawnEntityEvent, however, this results in a massive performance hit as the entities are constructed prior to the event being cancelable.
To remedy this, we should be able to cancel the spawning of entities before their construction, and we should be able to have more refined control over the behavior of the world spawner.

That's what the ConstructEntityEvent is for

@DarkArc
While @simon816 is correct, we can't always catch all Entity construction so its a "best effort" due to mods.
As for controlling the world spawner, that is an entirely different beast.

@Zidane I believe there's a Forge event for when an entity is constructed.

@JBYoshi
Again, its best effort...

I'm working on a stopgap implementation for targeting natural SpawnerAnimals spawns to throw ConstructEntityEvent.Pre events, but it's a little finicky and I'm not 100% that i'm doing it optimally where there aren't hundreds of events being thrown each second.


Bump Node version range to 18, 20, 22

#271  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @CatChen and the rest of your teammates on  Graphite


documentation has a lot of problems.

First of all your documentations are not clear and have inconsistencies
for example; for Auth 2 v1/oauth/authorize request docs are not matching there are different parameters and not clear what are the possible values or how to get them.
https://developer.ups.com/api/reference/oauth/authorization-code?loc=en_US
https://developer.ups.com/api/reference?loc=en_US#tag/OAuthAuthCode_other
the code in the last example is not correct either; at least needs to read data from header but there is no such a code.

Hi, we are closing this since we have not received any additional information. If needed, please create a new GitHub issue.


Does not load the page

Don't load page if url ends with .html
Uri LinkProdotto = new Uri("https://www.eaton.com/it/it-it/skuPage.177633.html");
HtmlAgilityPack.HtmlWeb web = new HtmlAgilityPack.HtmlWeb();
try
{
HtmlAgilityPack.HtmlDocument doc = web.Load(LinkProdotto);
HtmlAgilityPack 1.11.48
.Net Framework 4.8

It seems the web server you are trying to load from is taking issue with HtmlAgilityPack's default UserAgent string.
https://github.com/zzzprojects/html-agility-pack/blob/c12580b2025144d618d3397dec1fd81132e3f822/src/HtmlAgilityPack.Shared/HtmlWeb.cs#L100
Set the UserAgent to an empty string, and (with respect to the URL you are using) Bob should be your uncle.
Uri LinkProdotto = new Uri("https://www.eaton.com/it/it-it/skuPage.177633.html");
HtmlAgilityPack.HtmlWeb web = new HtmlAgilityPack.HtmlWeb()
{
    UserAgent = null
};
...

(Side note: In case you are not already aware of it, keep in mind that HtmlAgilityPack is "just" a HTML parser and not a web browser engine and therefore does not execute Javascript, WASM or other dynamic content. It will only parse the source HTML page as provided by the web server. If the page contains Javascript, WASM or other dynamic content, the source HTML page parsed by HtmlAgilityPack can look quite different from the HTML document dynamically created from that source HTML page within a web browser.)

I run into the same issue. I have no clue why it happens either. It appears as though that these websites have some type of protection against crawlers or scrapers. For example, I can visit https://microcenter.com/ just fine on Firefox, but on HTML Agility Pack, it returns some strange page asking me to enable JavaScript. It probably has to do something with cookies or JavaScript. Even when I used curl, I get the same issue. Setting the user agent doesn't change a thing. I think some websites are just impossible to crawl through.

@basicn86 yeah, if you need to process dynamic web content, HAP in itself is not the right (or sole) tool to use. As i mentioned in the side note in my first comment, HAP is just a HTML parser, not a web browser and therefore doesn't have facilities such as a javascript engine or wasm host required for generating dynamic page content. In such cases, the right tool for the job is -- depending on the nature of the application -- either a (headless-capable) browser engine such as CEF as part of your application, or a browser automation tool like Selenium WebDriver plus whichever stand-alone web browser Selenium supports.

I will close this issue as it looks to be answered by @elgonzo
On my side, whenever I need to do something beyond the purpose, HAP can do, such as processing dynamic web content, I always such Selenium WebDriver, which allows me to do pretty much everything including automating some action such as login, submitting form, etc.
Best Regards,
Jon


Problem: ClassicDSD simulation needs more precision

I think the simulation of ClassicDSD has rounding / precision issues.
When does the issue arise?
When simulation CRN in ClassicDSD where the rate constants are numbers with very different magnitudes.
How can one produce the problem?
Simulate the following CRN
directive simulation { final=20; points=1000}
directive simulator stochastic

| On + A->{1} On + A + A
| On + A + A+ A->{1E-15}

| 200 A
| 1 On

What happens?
The A population grows and the second reaction never occurs. The grows continues way beyond 10^6 x A.

What should happen?
Once the A populiton is large enough, the second reaction should be
come very likely. This should disable the system. Other tools predict that this happens around 10^5 x A. But basically always before 10^6 x A.

Also: Check out this system. That does not seem right...
directive simulation {final=2; points=100000}
directive simulator stochastic

| A ->{1} A + A
| A + A + A + A->{1E-7} A + A + A

| 300 A

This does not seem right... The second reaction should be more likely than the first. Thus, we expect the level to drop.
Porpensities in state 300A:

1st reaction: 300 * 1 = 300
2nd reaction: 300299298*297 * 1E-7 = 794

Is this maybe an overflow error?

I used PRISM . It is mainly a model checker but there is a simulation functionality.
I wrote a script that produces a PRISM CTMC model for a given CRN (and some bounds for each species). Then I can simulate the CTMC in PRISM.

Also, I just found another (possibly related?) issue.
This system:
directive simulation {final=100; points=1000}
directive simulator stochastic

| ->{100} X
| X ->{1}
| X ->{1} Y
| X + X + Y ->{0.0001} X + X + X

| 100 X
| 100 Y

Is supposed to oscillate arround state s1 =(100X + 100Y). See PRISM simulation. This can also be checked by computing the propensities for s1. However, the ClassicDSD simulation oscillates around (100X + 200Y). See screenshot.
Is this because of the ternary reaction?

Could it be related to the kinetic rate law assumption? See page 20 of the Visual DSD manual at https://ph1ll1ps.github.io/project/visualdsd/ , pasted below for convenience. Coincidentally, directive simulation {final=100; points=1000; kinetics = Deterministic} appears to give the desired simulation results.
The kinetics setting defines the kinetic rate law to be used for simulation. This is needed due to an important
difference between the kinetic rate laws of stochastic and deterministic systems, specifically in the case of homomultimer formation, which is the formation of complexes involving multiple copies of the same molecular species. The
stochastic rate law includes a k! divisor, where k is the multiplicity of the species, which is not present in the deterministic rate law. For example, the reaction A + A →k B has a deterministic rate law of k[A]^2 , where [A] represents
the concentration of species A, but a stochastic rate law of k[A]([A] − 1)/2, where [A] represents the population of
species A. This difference means that the limiting behaviour of the stochastic mean with increasing copy numbers
does not converge to the deterministic rate equations, as is commonly thought. Only when the stochastic rate laws
are equal to the deterministic rate laws will this be the case. By default, kinetics is set to Contextual, which means
that a deterministic rate law is assumed for the deterministic simulator, while a stochastic rate law is assumed
for the stochastic, cme, lna and mc simulators. Alternatively, the kinetic law can be fixed to either the Stochastic
or Deterministic convention, so that it is the same for all simulators

Yes, @ph1ll1ps is right. Depending on the stochastic rate semantics, you can get different results! It seems that your model in PRISM is using the semantics for the deterministic rate equations. You can very easily change this in DSD.

Regarding the numerical problem identified above, this is the piece of code where the reaction propensities are calculated:
match r.rate with
| Rate.MassAction rate ->
  (match Mset.to_mlist r.reactants with
    | [] -> rate
    | [{multiplicity=1;element=a}] -> rate * (getpop a)
    | [{multiplicity=2;element=a}] ->
       (* Special case - two members of the same species *)
       let pop = getpop a
       rate * pop * (pop - 1.0) * 0.5
    | [{multiplicity=3;element=a}] ->
       let pop = getpop a
       rate * pop * (pop - 1.0) * (pop - 2.0) / 6.0
    | [{multiplicity=1;element=a};{multiplicity=1;element=b}] ->
       (* Simple case - two different species *)
       rate * (getpop a) * (getpop b)
    (* Use binomial coefficients for the general case! *)
    | aa -> aa |> Lib.fold_left (fun acc entry -> acc * (float) (Lib.binom ((int32) (getpop entry.element)) (entry.multiplicity))) rate )

As you can see, we specifically handle multiplicity=3, performing rate * pop * (pop - 1.0) * (pop - 2.0) / 6.0. It might be that if you were to add an equivalent handling for multiplicity=4, the problem above would go away.
The immediate workaround is to encode the 4A -> 3A reaction using a functional rate:

Hi @martinhelfrich ,
The one you used is actually what we use for "deterministic" kinetics when doing a stochastic simulation. Basically, you just don't divide by n!
For reactions involving different species, none of this really matters. In both stochastic and deterministic kinetics, the propensity is k * n_A * n_B. There is no need to invoke the binomial distribution in this case because you're not choosing k molecules from a population of size n. You're always choosing 1 molecule from size n. Accordingly, there is no n_A-1 or n_B-1, nor is there n! So, A + B -> C + D has the same propensity as B + A -> C + D in both cases.

Regarding your question about the default assumption, by default the kinetics option is set to Contextual, which means
that a deterministic rate law is assumed for the deterministic simulator, while a stochastic rate law is assumed
for the stochastic, chemical master equation, linear noise approximation and moment closure simulators, which all assume some underlying noise due to stochastic effects. This contextual assumption was chosen based on the conventions used by the different communities - deterministic versus stochastic. The Gillespie77 paper provides a useful introduction to stochastic kinetics https://pubs.acs.org/doi/10.1021/j100540a008, or see other sources about the Gillespie algorithm. The deterministic setting allows for more flexibility in modelling assumptions.

Thanks again for the help. I will check out the references!


cdr_selector = CDRResidueSelector() SmallKeyVector.hh line: 548

cdr_selector = CDRResidueSelector()

ERROR: Assertion active( key ) failed.
ERROR:: Exit from: /home/benchmark/rosetta/source/build/PyRosetta/linux/clang-3.4.2/python-3.8/release/source/src/utility/keys/SmallKeyVector.hh line: 548
Traceback (most recent call last):
File "", line 1, in
RuntimeError:
File: /home/benchmark/rosetta/source/build/PyRosetta/linux/clang-3.4.2/python-3.8/release/source/src/utility/keys/SmallKeyVector.hh:548
[ ERROR ] UtilityExitException
ERROR: Assertion active( key ) failed.

Is this from a notebook you ran as is, or from your own programming?
If the latter, my initial guess is that you forgot to call the init() function prior to calling other PyRosetta functions.

Is this from a notebook you ran as is, or from your own programming?
If the latter, my initial guess is that you forgot to call the init() function prior to calling other PyRosetta functions.

sorry, I forgot run init().

sorry, I forgot run init().


Upgrade to Gradle 2.2 and related cleanup

Remove explicit references to spring repos
Remove mavenLocal()
Replace mavenCentral() with jcenter()
Remove explicit Gradle wrapper task
Regenerate wrapper for Gradle 2.2
bump project version to 0.1.1

Over the past month+, most of the things cited in this issue have already been covered.


[Doc Request]: Cluster by doc

Is there an existing issue about this doc request?

[X] I have checked the existing issues.

Describe the doc request.
Cluster by is a new feature for increasing performance used in DDL.
Need a full doc on that for 0.7.

记录：加入ddl

add into ddl


Running multiple docker instances simultaneously

Is not possible at the moment because the following xfvb error:
xvfb-run: error: Xvfb failed to start
I found the problem is resolved by removing the locks before running xfvb-run in protractor.sh:
rm -f /tmp/.X*lock
Any chance you could add this?
Thnx

Hi @w4pp
Thanks for bringing up this issue.
I have added flag -a to xvfb which fixes the problem. It's in commit 4c25f1


Feature: Local file access fully available only from code behind

@KristofferStrube Is it possible to select on one page let's say a whole main-directory path, and from a other page set additional folders in that main-directory and read/write/overwrite files into that directory automatically? So with automatically I mean by code, let's say by a event from example a http logic, but important not from a button click event or similar.
So is it possible to use it somehow similar like when you make a local app for example a console app in c# and using some file access like below, but in Blazor WASM?
// write code from backend code when a eventlistener has become a event (conceptual something like this)
string localPath = @"C:\BlazorFolder\Log";  //in Blazor this master-path could also be selected when blazor starts, on a separate page
if( !Directory.Exists( localPath ))
Directory.CreateDirectory( localPath );
if( !File.Exists( localPath + "log.txt")
File.WriteAllText(localPath + "log.txt", string.empty);
string readText = File.ReadAllText(localPath + "log.txt");
string newText = readText  + "LOG-Message : stream service error detected " + DateTime.Now.ToString("MM/dd/yyyy hh:mm tt");
File.WriteAllText(localPath + "log.txt", newText );
If this is possible, could you integrate such a example in your project to demonstrate how this would work in Blazor WASM ?
Thank you!

Hi @KristofferStrube , thank you for your answer! I will have a look at this.
Yes I have an interesting case in mind 😊.. So actual I have a desktop WPF application with MVVM design pattern fortunally so I have the UI nicely separated from the backend libraries. In this desktop application, I have to use a lot of local file accesses which needs to be available also  in Blazor. My goal is now, I would like to take the actual backend libraries from my existing desktop app and move all to Blazor, adapt the UI and then run all in Blazor webassembly. And if file accesses can be kept, theoretically this should all work.
To keep this migration somehow simple, I want to replace all actual functions with System.IO.Directory.xx and System.IO.File.xx with a specific Blazor "equivalent library" which I can simply replace this local directory and file functionalities.
Existing WPF desktop application uses:
System.IO.Directory.Exists(path) -> return bool
System.IO.Directory.CreateDirectory(path) -> return exception if not successfull (authorization etc issue)
System.IO.Directory.GetDirectories(path) -> return string[] of all subdirectories
System.IO.Directory.GetFiles(path, ".json", SearchOption.AllDirectories) -> return string[]
System.IO.Directory.GetFiles(path, ".json", SearchOption.TopDirectoryOnly)  -> return string[]
System.IO.File.Exists(path) -> return bool
System.IO.File.ReadAllText(path) -> return string
System.IO.File.WriteAllText(path, content) -> overwrites existing file, when no file exists it creates it
System.IO.File.Delete(path)
The coolest now would be, if I could simply replace System.IO with a Blazor specific library and it would work same as before ;)

@vcarlucci that sounds like an awesome project. If it is anything you can share then I would love to give it a look as well. Approaches for migrating to other platforms is always interesting to see and study.
I think a demo that showcases the parallel code for all methods and properties from the System.IO.File and System.IO.Directory namespaces would be very interesting. Actually I think this fits better into my Blazor.FileSystem wrapper.
A even more interesting project would be to build an abstraction of the interfaces in the Blazor File System API that extends and overrides the Directory and File types from the .NET standard library like you suggest.
I might get to that at some point. I'm currently on a ski vacation so my setup is limited, but I will give it a look once I am back.

@KristofferStrube I have not yet started with such a file system approach for Blazor. But yes that's exactly what would be really interesting I think. So enjoy your free time and skiing 😊


Method to flush emission to CSV

Addressing #217 after talking with @stas00 (see https://github.com/mlco2/codecarbon/pull/235)  I add a new method flush() that compute emissions and add them to the CSV, and/or call the API if you use it.
I use it in a Keras callback and it do the job of adding a line in the CSV after each epoch.
You can see it in mnist_callback.py
I've added documentation. But no unit test.

Thanks for the language improvement !
I've added unit tests so it's ready for review.

Added on_csv_write: Optional[str]:
:param on_csv_write: "append" or "update". Whether to always append a new line
                        to the csv when writing or to update the existing `run_id`
                        row (useful when calling`tracker.flush()` manually).
                        Accepts one of "append" or "update".


chore: manage examples/* by renovate

Why
Fixes #215 .
Renovate does not manage dependencies in examples/** directory.
I'd like to that renovate updates packages in this directory similar to packages/**.
See #211
What
This repository's configuration extends @cybozu/renovate-config.
@cybozu/renovate-config has a preset as :ignoreModulesAndTests (ref. https://github.com/cybozu/renovate-config/blob/master/package.json#L23).
This preset ignores package.json in examples directory (ref. https://docs.renovatebot.com/presets-default/#ignoremodulesandtests) .
So this PR is that overwrites ignorePaths as not to ignore examples directory.
How to test
renovate-config-validator
Ref. https://docs.renovatebot.com/reconfigure-renovate/#reconfigure-via-pr
Checklist

[x] Read CONTRIBUTING.md
[ ] Updated documentation if it is required.
[ ] Added tests if it is required.
[x] Passed yarn lint and yarn test on the root directory.

Let's see if Renovate sends PRs for packages in examples/

This works fine!!! 👏 👏 👏
https://github.com/kintone/js-sdk/pull/376


Merge plRdf_api(rdfs_read)

Merge plRdf_api(rdfs_read) with entailment modules or with semweb/rdfs.
Implements backward chaining but unsure about correctness, completeness.

This has now moved to a different project, i.e. plRdfEntailment.


FEATURE REQUEST - Support plugin installation

Support plugin installation with this action, such as aws, azurerm, google.

Keep an eye on this feature here:
https://github.com/terraform-linters/tflint/pull/1119
Plugin installation is a bit too complex and core to TFLint to delegate to an action, but tflint init is coming


Authentication failed on Safari

Issue and Steps to Reproduce
Open https://black-rock-0dc6b0d03.1.azurestaticapps.net/ on safari, login by Google then application automatically redirect to https://black-rock-0dc6b0d03.1.azurestaticapps.net/ again.
Versions
Screenshots
Expected
Login success
Actual
Error authentication
An error occurred during authentication.
Additional Details
The console error log is: Error: Service Worker storage disapear — oidc.ts:852

Installed packages:

Thank you @thanhpd56 for the issue.
I think safari and ios made an update and kill service worker quicker now when no tab are active under the domain url.
I will try to make a fix today, but i am one week of. I may fix it in one week if i cannot today. I know what to fix.

Hi @thanhpd56 last published alpha may fix it.
https://icy-glacier-004ab4303-897.westeurope.2.azurestaticapps.net/
I cannot test it on a Mac.

That version work on mac https://black-rock-0dc6b0d03.1.azurestaticapps.net/

Hi @thanhpd56 , on which os are you?


Re-adding a node after it has been deleted doesn't work

Changed the way new diagrams are created and added a ChangeDiagramCommand.


Need Documentation

Require documentation to use
It would be nice to have some initial documentation that would help to get started with the basic swagger document.
Since this is derived from sanic-openapi and sanic-attrs, can we have parts of their documentation that remain the same to at least bootstrap with the basic configurations?

Some documentation is definitely necessary. But for what it's worth, you can look at the examples folder to see a quick example of what the code should look like!

Could you share how do I add path and query params?
I couldn't figure this out.
I used the below:
@doc.consumes({"user": str}, location="query")


Snapshot generation speed should be limited by actual I/O usage

Development Task
Snapshot generation speed should be limited by actual I/O usage instead of the logical size of scanned key-value pairs. The actual I/O usage is based on the compressed SST file size, which is typically 2x smaller than the logical size.

/assign @hhwyt


Unit testing?

Are there any plans to introduce PHPUnit tests?

Basics have been added. Now to create some tests!


error

PS C:\Users\Ryan\Desktop\clean\bubble ia> & C:/Users/Ryan/AppData/Local/Programs/Python/Python311/python.exe "c:/Users/Ryan/Desktop/clean/bubble ia/bubbleblaster.py"
Traceback (most recent call last):
File "c:\Users\Ryan\Desktop\clean\bubble ia\bubbleblaster.py", line 14, in
import util
File "c:\Users\Ryan\Desktop\clean\bubble ia\util.py", line 3, in
import torch
File "C:\Users\Ryan\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch_init_.py", line 148, in
raise err
OSError: [WinError 126] Não foi possível encontrar o módulo especificado. Error loading "C:\Users\Ryan\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\lib\fbgemm.dll" or one of its dependencies.

I reuploaded the BubbleBlaster 2.0.2 and fixed the duplicate numpy error in requirements.txt. Try downloading and reinstalling the dependencies again

Thank you, but now when I open the .exe or .bat file, the CMD window appears and then it closes by itself. The program doesn't open.

Same

Its The Same Error i Checked it

to see errors - add PAUSE to a new line at the very end of your .bat
And yes, I get it too:
Error loading "C:\Users\UserName\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\lib\fbgemm.dll" or one of its dependencies.

exe version has the same error. True, the path to fbgemm.dll is different

https://stackoverflow.com/questions/78114412/import-torch-how-to-fix-oserror-winerror-126-error-loading-fbgemm-dll-or-depen
The issue solved by simply downloading libomp140.x86_64.dll and place it in 'C:\Windows\System32'


Update build release

Questions
Answers

Description?
Update build release

Type?
improvement

BC breaks?
no

Deprecations?
no

Fixed ticket?
Relative to PrestaShop/Prestashop#26767

How to test?
N/A

Thanks @Kaudaj


Tags will not save

Description
Tags will not persist to the database when I include them in my modules form submission.
Steps to reproduce
Add the HandleTags trait to my modules Repository class
Add @formField('tags') to my modules form.blade.php
Expected result
When entering tags into the form field and updating the module, this would save to the db.
Actual result
When entering tags into the form field and updating the module, this does not save to the db, no errors occur.
Versions
Twill version:  2.0
Laravel version: 8.54
PHP version: php:7.4-fpm-alpine running in Docker
Database engine: MySQL

@pboivin apologies I gave the incorrect version in my initial bug report, I am also on 2.5.2

Hello @chrisssthomas,
I also had a quick look on 2.6.0 and also there all seems fine.
I think you did, but you have to actually click on the tag in the dropdown to make it active and highlighted in grey:

Hey @chrisssthomas,
I am closing this as there has not been a reply for a while so I assume things are fine.
If you still encounter the issue, please provide some more examples of how to reproduce.
Kind regards,


Cannot compile the package after update to Visual Studio 2019 16.7.2

The error shows like this:
Your project does not reference "MonoAndroid,Version=v10.0" framework. Add a reference to "MonoAndroid,Version=v10.0" in the "TargetFrameworks" property of your project file and then re-run NuGet restore.	EssentialUIKit.Android

Hi,
We have analyzed your query and we have checked with same version visual studio 2019 16.7.2 and it was working fine at our end. We would like to discuss more about your issue, so please share your licensing details to<EMAIL_ADDRESS>mail id, which will be helpful for us to proceed further.
Regards,
Yuvaraj

Hi @psun888,
As we have not heard from you since our last update, we are proceeding to mark this as closed. Please get back to us with more requested details.
Regards,
@HemalathaMarikuma-syncfusion

Hi @psun888,
As we have not heard from you since our last update, we are proceeding to mark this as closed. Please get back to us with more requested details.
Regards,
@HemalathaMarikuma-syncfusion

@psun888 ,
As we have not heard from you since our last update, we are proceeding to mark this as closed. Please get back to us with more requested details.
Regards,
Hemalatha M.

@psun888 ,
As we have not heard from you since our last update, we are proceeding to mark this as closed. Please get back to us with more requested details.
Regards,
Hemalatha M.


What is the throttling credit time period?

We've been doing some testing on our service bus and stumbled across the service bus throttling limitations.
This document mentions a time period for throttling, but the definition of a time period is not stated. Is it a couple of seconds or is this period different based on credit usages?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: fe6df5d6-16d9-caea-acbc-b802d8ffa245
Version Independent ID: 67e06a3f-a857-1628-7668-84e6691ec1d1
Content: Overview of Azure Service Bus throttling - Azure Service Bus
Content Source: articles/service-bus-messaging/service-bus-throttling.md
Service: service-bus-messaging
GitHub Login: @axisc
Microsoft Alias: aschhab

@paulphillipsuk -

Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can update the document accordingly.

Perfect than you very much.

@paulphillipsuk The time period is mentioned in this part of the article.
Please let us know if any more details are needed and we can consider adding it to the docs.

#please-close


Make getting the template compiler path lazy

Fixes issues when used in nested addons

Failure on beta is expected, going to ignore that and move forward