Babel-loader - wrong version of dependency.

Is this a bug report?
Not sure
Did you try recovering your dependencies?
Yes, issue still persist.
Which terms did you search for in User Guide?
Preflight / pre-flight check and dependencies.
Environment

System:
    OS: macOS Sierra 10.12.6
    CPU: x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
  Binaries:
    Node: 10.12.0 - /usr/local/bin/node
    Yarn: 1.10.1 - /usr/local/bin/yarn
    npm: 6.4.1 - /usr/local/bin/npm
  Browsers:
    Chrome: 69.0.3497.100
    Firefox: 62.0.3
    Safari: 12.0
  npmPackages:
    react: ^16.5.2 => 16.5.2
    react-dom: ^16.5.2 => 16.5.2
    react-scripts: 2.0.4 => 2.0.4
  npmGlobalPackages:
    create-react-app: 1.5.2

Steps to Reproduce

npx create-react-app my-app or yarn create react-app my-app.
npm start / yarn start

Expected Behavior
I expect it to start up the 'basic' react site on localhost:3000
Actual Behavior
issue
If I run npm ls babel-loader, I get back that the version I have is 8.0.4.
I've tried these steps like 5 times on 2 different projects, both give the same result.
Reproducible Demo
https://github.com/Y2KForever/create-react-app-not-working
NOTE
I tried to do the exact same thing last night, on Windows instead, I got a smilar error then, saying that Webpack was the wrong version. Both have been done on a clean install of NodeJS.

So the path you've redacted is the most important part of the error.  I would advise that you follow the given instructions, and delete the entire node modules as specified by your redacted path in your SS.


Bugfix: Correct math on Mythic D6 Success Rolls

Submission Checklist
Required

[x] The pull request title clearly contains the name of the sheet I am editing.
[x] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[x] The pull request makes changes to files in only one sub-folder.
[x] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

Changes / Description
Per discussion at https://app.roll20.net/forum/post/12154470/mythic-d6-success-threshold/?pageforid=12154577#post-12154577, the current math for Mythic D6 Successes treats any roll of 3, 4, 5, or 6 as a success. Per the rules this is not the intent, as success should occur on rolls of 4, 5, or 6.
This seems to be happening as the dice math in the current html code states >3 which seems like it should work, but per discussions above, this is actually treated as Greater Than or Equal to Three.
To test this I made a custom sheet in my personal roll20 account with this math. As it lacks many of the files found in the official Mythic D6 Sheet there's no pretty formatting, but since this is a calculation-only change, this was adequate for my purposes. I verified these changes worked for both wild and standard dice.

As this is a company sheet I imagine you'll want to get approval from them as well - not sure what your policy for that is - or feel free to get me in touch with them (I don't have a contact with them).

Character Sheet Info Roll20 Internal Use only.

Thank you, @daniel-1789!
@Anduh, you are the code owner here. From the forum discussion, this looks like a very straightforward and necessary fix but policy is to notify you and give you final say in case you have a version of this sheet off the repo that needs updating.

I'll try to find the time over the weekend to look this over, and reach out to the publisher on this correction.
Someone might have mentioning this math issue to me before, so this is probably correct, and have the rulebook somewhere so can check this.


[jss] Plugins don't work when using jss.create()

I followed the example in "Create an own instance of JSS" here, but none of the plugins work in that configuration.  For example, I had the jss-camel-case plugin installed and configured with jss.use(camelCase()), but the browser still showed the camel case version of fontFamily instead of font-family.  JSS itself was otherwise working fine (meaning stylesheets were being attached properly).
I changed the code to use import jss from 'jss' instead, and then the plugins worked as expected.
I'm also using JSS through jss-react.
This version of my file /utils/jss.js (my wrapper for JSS) doesn't work:
import { create } from 'jss';
import camelCase from 'jss-camel-case';
import reactJss from 'react-jss';

export const jss = create();
export const useSheet = reactJss(jss);
jss.use(camelCase());

This version does work, but then doesn't have the benefit of being a separate instance:
import jss from 'jss';
import camelCase from 'jss-camel-case';
import reactJss from 'react-jss';

export const useSheet = reactJss(jss);
export jss from 'jss';

jss.use(camelCase());

are you using latest versions? Is it possible that you use multiple jss versions in your build?

I'm on the following versions, which I believe are all the latest:
$ npm list | grep jss
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├─┬<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>
I don't see any duplicates in the npm list above either.

Ok now I need something reproducible, can you give me a full working example?

I think I have got that issue myself, hold on. Something was broken in the recent releases.

How do you apply useSheet to your components?

If you were doing useSheet(Component, styles) I found the bug in react-jss and just released a 2.0.6 version which fixes the problem.

Yes, that's what I was using.  I'll try the fix in a couple of hours.
Thanks.
Sent from my iPhone

On Apr 11, 2016, at 4:03 AM, Oleg Slobodskoi<EMAIL_ADDRESS>wrote:
If you were doing useSheet(Component, styles) I found the bug in react-jss and just released a 2.0.6 version which fixes the problem.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

Forgot to reply to this the other day.  It's working for me with your change.
Thanks. :+1:


ngrok: include url in error response Display implementation

Current dependencies on/for this PR:

main

PR #132   👈

This stack of pull requests is managed by Graphite.


Make README great for the first time

Waiting for Sylius/Sylius#7264.

As a part of this issue, we should do renaming Bundle -> Plugin. We should also change the name of repository /cc @pjedrzejewski
Related ticket https://github.com/Sylius/Sylius/issues/7851


Steps in wdio-allure reporter

Hi all,
I'm using wdio-allure reporter, i have an issue that all the steps in the report are post/get of the webdriver.
how can i give custom names for the steps? (maybe some thing like @Step in java annotations or allure.createStep).
thanks a lot :)

There already a PR towards implementing this functionality: https://github.com/webdriverio/wdio-allure-reporter/pull/39
Unfortunately the person started doing this does not respond anymore. And I also do not have enough time to finish this.
If you really lack that feature, you can help our and finish that work, contributing one more PR based on that changes.

Let's continue convo in #39


derive standalone: opt out of native proc-macro support

We know that there is none, because rinja_derive_standalone is not run inside of rust, but, as the name says, standalone. This makes the playground WASM data a little smaller.

Nice improvement, thanks!


[New] Create a admin page for seller

in this section we have to create an page for seller so that seller can add their product and track their product.

allow me to handle this issue

@codervivek5 Can you assign me with this issue. I want to contribute to this under GSSOC ' 23


Revisit roadmap

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:
/kind bug
/kind feature

Since we've decided to use seldon core as part of our serving infra, it's better to add more information to our roadmap (and evaluate if we can start training earlier).
/assign @gaocegege
/cc @codeflitting

/kind documentation

SGTM

FYI
I already finished the feasibility research for the training platform and am working on PRD.


Update rpc to newer version of protobuf & Improve MarketPrice

This updates the version of the tdex-protobuf dep to a newer version (not the latest because it requires other changes out of this scope).
Some of the existing RPCs had to be changed in accordance with the new specifications. In particular, the MarketPrice rpc of the trade service now can calculate the preview amount by providing also the quote asset. Prior to this instead, it was expecting only the amount of base asset, thus calculating exclusively quote asset amounts.
This also refactors the existing tests for the various RPC of the application services in a way that before each of them, the db, repos, etc are initialized with mocked data, and also with a mnemonic set to ENV through config to simulate an unlocked wallet if necessary. After a test terminates, all things are unset so that the following don't have corrupted data or whatsoever that can alter its behavior.
For every RPC there should be 2 tests, one for valid cases and one for failing cases (marked with TestFailingXXXX).
Every testcase that was previously run within t.Run, now is an entry in an array of test cases in a []struct{} slice usually called tests. Basically, all the existing test cases were kept, except for some of them that weren't testing anything particularly interesting.
The test TestDepositMarketWithCrawler has been removed since it's not a unit test in the sense that requires more than just the single operator service of the app layer to work as expected. And also, it wasn't either working properly, but since it was marked as not Short, none of us has noticed it.
The use of t.Run has been removed for now because we need to properly understand how to parallelize testing so that we don't encounter race conditions. So I'm expecting tests will be subject of another refactor in the future, but we need to agree on a standard design on how to write them first.
This closes #238.
This closes #218.
Please @tiero @louisinger @sekulicd review this.

Since you updated the proto stubs, also the cmd/tdex should be updated to the new request repsonse. @altafan

cc @altafan

@tiero I added a --num_of_addresses flag to the depositfee and depositmarket CLI commands, and also add the checkpoints to make sure that an amount passed to the MarketPrice is not or does not have a counter amount bigger than its corresponding balance. This is done also when validating the price of a trade proposal.


update AgentOptimizer docs

Why are these changes needed?

update AgentOptimizer docs
Related issue number

Checks

[ ] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[ ] I've made sure all auto checks have passed.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 36.08%. Comparing base (e6237d4) to head (dfdcaea).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2178      +/-   ##
==========================================
- Coverage   37.97%   36.08%   -1.89%
==========================================
  Files          75       75
  Lines        7587     7587
  Branches     1634     1634
==========================================
- Hits         2881     2738     -143
- Misses       4463     4617     +154
+ Partials      243      232      -11

Flag
Coverage Δ

unittests
36.08% <ø> (-1.88%)
:arrow_down:

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

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


Add more 'global' variables to config.py

For example, we can add AIIDALAB_DEFAULT_GIT_BRANCH to specify which default branch should be used when installing an app. Also, it might be useful to have AIIDALAB_DEFAULT_APPS to provide a list of apps to be installed by default.

This would be useful to distinguish which apps are installed on the production aiidalab server or on the development one.


Fix intermittent test failure and Cross-Site Scripting vulnerability.

This PR fixes:

an intermittent test failure in tests/Feature/OperatingSystemScopeTest.php by eliminating the random Resource attributes created by the Resource factory so that only the operating system affects the outcome of the test,
a Cross-Site Scripting vulnerability in serialize-javascript which is a dependency of laravel-mix. See, https://npmjs.com/advisories/1426.

Note:

tests/Feature/PreferencesPageTest was failing prior to my PR. I am not sure whether I should mark that test skipped or not?

This PR was closed prematurely. Resolved by resubmitting the commits from this initial PR here in #187


Allow empty strings in response

GitHub allows for an empty scope string to request public user information: https://docs.github.com/en/developers/apps/building-oauth-apps/scopes-for-oauth-apps#available-scopes. Alternatively I could add an ignoreScopes option like the other "ignore" flags but that looks like it'll get overwhelming quickly. Happy to modify it as needed.
Edit: Alternatively it could also be a skip symbol. Let me know if either of these work for you and I can update the PR.

Thank you @blakeembrey

@blakeembrey do you need this released? Are you okay waiting out an answer from GitHub (wrt #16)?

Happy to wait 😄


Adding a basic Gradio Webui

Hello, I took the initiative to create a gradio webui for your project. Let me know if you need adjustments.

@p0p4k Please check if the latest commits will fulfill those requirements:
https://github.com/Subarasheese/vits2_pytorch/commit/c67fc052152b4d44b4153fdc5fa189841cee2a0d


OCPBUGS-36261: remove sharedingress short in useHCPRouter

Follow-on to https://github.com/openshift/hypershift/pull/4495 to fix AKS break

/jira refresh

/retest

/lgtm

/test e2e-aws


Option to use environment variables for settings

Description
Docker Compose uses environment variables for variable substitution in Compose files. I leverage this heavily in GitLab CI pipelines to "render" Compose files (using docker-compose config). CI variables are passed to jobs as environment variables, and the Compose files in my repositories use these in various ways.
Is it possible to introduce an option to docker-app render and docker-app deploy to use environment variables as a source for settings?
Steps to reproduce the issue:

Create a Docker App with a variable such as $PWD.
If necessary, ensure the variable is defined in the environment.
Render the app with docker-app render.

Describe the results you received:
The rendered app does not contain the value of $PWD from the environment.
Describe the results you expected:
I would like an option to tell Docker App to use environment variables as settings.
Additional information you deem important (e.g. issue happens only occasionally):
Output of docker version:
Client:
 Version:           18.06.0-ce
 API version:       1.38
 Go version:        go1.10.3
 Git commit:        0ffa825
 Built:             Wed Jul 18 19:05:26 2018
 OS/Arch:           darwin/amd64
 Experimental:      true

Server:
 Engine:
  Version:          18.06.0-ce
  API version:      1.38 (minimum version 1.12)
  Go version:       go1.10.3
  Git commit:       0ffa825
  Built:            Wed Jul 18 19:13:46 2018
  OS/Arch:          linux/amd64
  Experimental:     true

Output of docker-app version:
Version:      v0.4.1
Git commit:   48c0769c
Built:        Wed Aug 22 12:01:46 2018
OS/Arch:      darwin/amd64
Experimental: off
Renderers:    none

Output of docker info:
Containers: 41
 Running: 6
 Paused: 0
 Stopped: 35
Images: 254
Server Version: 18.06.0-ce
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host ipvlan macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: active
 NodeID: w97q3z0azzcv970g3e5hn9ski
 Is Manager: true
 ClusterID: o1cdcrn2etmq3kcz2aapse3n4
 Managers: 1
 Nodes: 1
 Orchestration:
  Task History Retention Limit: 5
 Raft:
  Snapshot Interval: 10000
  Number of Old Snapshots to Retain: 0
  Heartbeat Tick: 1
  Election Tick: 10
 Dispatcher:
  Heartbeat Period: 5 seconds
 CA Configuration:
  Expiry Duration: 3 months
  Force Rotate: 0
 Autolock Managers: false
 Root Rotation In Progress: false
 Node Address: <IP_ADDRESS>
 Manager Addresses:
  <IP_ADDRESS>:2377
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: d64c661f1d51c48782c9cec8fda7604785f93587
runc version: 69663f0bd4b60df09991c08812a60108003fa340
init version: fec3683
Security Options:
 seccomp
  Profile: default
Kernel Version: 4.9.93-linuxkit-aufs
Operating System: Docker for Mac
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 7.786GiB
Name: linuxkit-025000000001
ID: PJTX:MLTV:L2TJ:ISDE:ELPG:7QKG:G7HL:D34G:5ERF:SUIX:63WT:6WOR
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 102
 Goroutines: 268
 System Time: 2018-08-24T21:33:11.1974788Z
 EventsListeners: 6
HTTP Proxy: gateway.docker.internal:3128
HTTPS Proxy: gateway.docker.internal:3129
Registry: https://index.docker.io/v1/
Labels:
Experimental: true
Insecure Registries:
 <IP_ADDRESS>/8
Live Restore Enabled: false

Additional environment details (AWS, VirtualBox, physical, etc.):
Docker for Mac 18.06.0-ce-mac69 on macOS 10.13.6.

You could do this explicitly with set.
ie. docker-app render --set PWD=$PWD

One of the things we're experimenting with here is making that interface very explicit. Though better support for this pattern might be nice.


If historical data available, current day shows that

First try the provided script worked flawlessly but after a few hours the daily stats show the all time import, export values, and only previous days work correctly.
Daily:

Previous day:

Also since I can't open a PR here, I'd recommend a few changes to make it clearer how to install W1000-portal.
README.md

Indeed, the current version keeps the most recent day messy (it is already
reported). My plan is to completely rewrite the algorithm but that requires
all the users to recreate the curves on the EON portal as well.
I hope I'll have the time to do this soon.
On Sat, May 27, 2023, 13:22 vksz @.***> wrote:

First try the provided script worked flawlessly but after a few hours the
daily stats show the all time import, export values, and only previous days
work correctly.
Daily:
[image: image]
https://user-images.githubusercontent.com/3627611/241385410-2d88384f-b2c4-44f2-961a-24e18adb505d.png
Previous day:
[image: image]
https://user-images.githubusercontent.com/3627611/241385430-f0ee3494-93a8-45bd-bd02-7ae685917758.png
Also since I can't open a PR here, I'd recommend a few changes to make it
clearer how to install W1000-portal.
README.md
https://github.com/ZsBT/hass-w1000-portal/files/11581672/README.md
—
Reply to this email directly, view it on GitHub
https://github.com/ZsBT/hass-w1000-portal/issues/21, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABF3SO3STO5WEMVPB67UPFTXIHPVZANCNFSM6AAAAAAYRD4NCE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Why use _prelude instead of prelude?

Is there a reason browser-pack auto uglifies the prelude, instead of relying on the consumer (such as browserify index.js | uglifyjs > bundle.min.js) to do so? I was thinking of submitting a patch that helps browserify produce more readable output, but wanted to know if there was a use case I was missing first.

@aearly Thanks for the tip.

Would a simpler flag like to use prelude.js rather than _prelude.js be worth a PR? e.g. devPrelude: true

Yes. Not sure on the specifics, but there should be an option that can be passed to browserify. FYI, when using browserify's standalone option, the UMD prelude is also minified. So that interferes with debugging and it also actually breaks the bundle when the unminified browser pack prelude is used (due to ASI after a return I think).

I agree that an option to have prelude not minified would be very much welcome.


[stdlib] Add Script and Script Extension tests

It seems when I added https://github.com/apple/swift/pull/42227 I did not add tests! Lets add them here.

@swift-ci please test


README: remove Sample Interaction section

It's no longer relevant.

What about providing new sample? :)

@ukhryab, one step at a time=)


Invalid nested list markup in TinyMCE HTMLEditorField content

TinyMCE has the option fix_list_elements defaulting to false, this causes invalid xhtml to be generated on nested lists. Current solution is on each project set this option to true in the main _config.php file by including HtmlEditorConfig::get('cms')->setOption('fix_list_elements', true);. This may be useful to other people to know about, alternatively including this in the main cms HtmlEditorConfig options defined in framework/admin/_config.php would avoid this.
See http://archive.tinymce.com/wiki.php/Configuration3x:fix_list_elements for TinyMCE details.
And https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Lists_and_Counters/Using_CSS_counters#Nesting_counters for the use case.

Ok, shall we turn it on for 4.0? Want to PR it?

Could this be fixed as part of moving to a newer version of tinymce?

I'll add it as a subtask on the internal jira card.

Check out https://www.tinymce.com/docs/plugins/lists/
This will normalize lists with valid HTML

Already fixed in master branch... just tested it. :D


Add --cmds option for passing commands

pdflatex and xelatex accept either a file or commands. Add similar functionality for pydflatex with --cmds option.
From commit:
Similar to passing commands instead of a filename to pdflatex or
xelatex, but still allows for pydflatex to do any path magic and
output file finding it wants. Also allows for using commands with
latexmk, which normally only takes files (e.g. latexmk
-pdflatex="pydflatex --cmds '\def\webver{}').
e.g. Passing parameters to the tex file
Tex file:
\ifdefined\webver
web version
\else
normal version
\fi
pydflatex --cmds '\def\webver{}' texfile

Nice! Great idea. Let me look at this.


Create angular-js-integration-migration.md

This change is

Coverage remained the same at 99.329% when pulling b3edce674bde8c69d8aba5f5839e9c5be07e12f9 on justin808-angular-plus-react into be02c2b93da290edfce5532c4fd5850f78397072 on master.


On VPS IoServer works (HttpServer -> WsServer) Doesnt

$server = IoServer::factory(
new HttpServer(
new WsServer(
new Chat()
)
),
9005,
'<IP_ADDRESS>'
);
$server->run();
I wrote the following proxy. To add upgrade headers. I can see the raw headers when I run Ratchet only using IoServer::factory. So I know my request reaches the code.  Once I add the HttpServer->WsServer code It no longer works. Port opens and is listening but websocket client will not connect.
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/wss [NC]
RequestHeader set Connection "Upgrade"
RequestHeader set Upgrade "websocket"
RewriteRule /wss/(.*) wss://<IP_ADDRESS>:9005/$1 [P,L]

You are listening on port 8080 while you rewrite from nginx to port 9005.

@WyriHaximus Sorry thats a typo. I was trying different ports.  They all have the same result.

Additionally I was able to reach the websocket server by changing my proxy to redirect to ws. instead of wss.  But my browser immediately closes the connection with a 1006 code

It's a bit harder to read without syntax highlighting 😅 . But you are also making a secure websocket connection instead of a plain text websocket connection and I don't see any certificate configuration in your PHP code

@WyriHaximus Will work on that and report back.  Thank you!

Sigh no luck.  Cant reach the websockets server once I add a SecureServer. Also tried port 8080
`$loop = Factory::create();
$ws = new WsServer(new Chat($loop));
$ws->enableKeepAlive($loop);

$http = new HttpServer($ws);
$webSock = new Server('<IP_ADDRESS>:9005', $loop);
$socketServer = new SecureServer(
    $webSock,
    $loop,
    [
        'local_cert' => '***',
         'local_pk' => '***',
        'allow_self_signed' => true,
        'verify_peer' => false
     ]
);
$server = new IoServer($http, $socketServer,$loop);
$server->run();`

Have you tried the other way around first? Just plain text before you dive into setting up a secure server? TLS adds an additional debugging layer.


Cannot use Usb.Events on MAC (arm64) in an osx-x64 targeted application with the latest release

Library version
<IP_ADDRESS>
OS, version, architecture (32 bit / 64 bit)
MAC, Sonoma, arm64/x64
Describe the bug
using an osx-x64 application on an m2 Mac (arm64) with version <IP_ADDRESS> of Usb.Events does not work.
To Reproduce

Create a C# window application that targets osx-x64
Reference Usb.Events version <IP_ADDRESS>
Create an instance of UsbEventWatcher and then dispose it.
Run the application and you will be met with a linker problem, the UsbEventWatcher.Mac.dylib needs to start with lib (libUsbEventWatcher.Mac.dylib) to be linked correctly
once that has been linked correctly and you run the application, upon disposing of usbeventwatcher, it will error saying it can't find libUsbEventWatcher.Mac.dylib x64 version, or that it can't use the current x64 version on an arm64 os.

Expected behavior
Everything should just work.
Additional context
Once you get passed the linking issue, version 10.1.0 of Usb.Events works fine, the latest does not.

Thank you for noticing this.
I have no free time these past few months and some health problems.
I am sorry to say that I don't know when I will look into this.

I have confirmed that this also happens on Apple Mac M1.

I have also confirmed that all version between version <IP_ADDRESS> which you confirmed as working and version <IP_ADDRESS> also work.
Version <IP_ADDRESS> is the only one that does not work.
Very little code was changed between <IP_ADDRESS> and <IP_ADDRESS> as most changes were for adding the documentation.
The only big change was
  <PackageReference Include="System.Management" Version="7.0.0" />

to
  <PackageReference Include="System.Management" Version="8.0.0" />

I tried <IP_ADDRESS> again and now it works without a problem.
I tried it with ProjectReference and with PackageReference, both work.
I don't know what changed, but I can't reproduce the problem anymore.

The only thing I can think of is that I deleted bin and obj folders when I tested each version.
That could have cleared some cached files.
Can you delete bin and obj folders and try again?


Include auth params in unauthorized exception

Fix the C# tunnel management client to propagate additional parameters related to custom auth in case of an unauthorized error. (Other language SDKs don't currently have any special handling of the WWW-Authenticate response header.)

I updated the Get/Set extension methods to use the structured AuthenticationHeaderValue class instead of string.


Failure to read json data

Describe the Issue
When I run goss, the audit fails and my audit file includes the below error:
Error: could not read json data in /tmp/AMAZON2023-CIS-Audit/section_1/cis_1.1/cis_<IP_ADDRESS>.yml: could not unmarshal "---\n\n\n  \ncommand:\n  squashfs:\n    title: <IP_ADDRESS> | Ensure mounting of squashfs filesystems is disabled | modprobe\n    exit-status: 0\n    exec: "modprobe -n -v squashfs | grep -E '(squashfs|install)'"\n    stdout:\n    - install /bin/true\n    meta:\n      server: 2\n      workstation: NA\n      CIS_ID: <IP_ADDRESS>\n      CISv8:\n      - 4.8\n      CISv8_IG1: false\n     CISv8_IG2: true\n      CISv8_IG3: true\n      NISTSP800-53-R5: CM-7\nfile:\n  blacklist_squashfs:\n    title: <IP_ADDRESS> | Ensure mounting of squashfs filesystems is disabled | blacklist\n    exists: true\n    path: /etc/modprobe.d/blacklist.conf\n    contents:\n    - '/^blacklist squashfs/'\n    meta:\n      server: 2\n      workstation: NA\n      CIS_ID: <IP_ADDRESS>\n      CISv8:\n      - 4.8\n      CISv8_IG1: false\n      CISv8_IG2: true\n      CISv8_IG3: true\n      NISTSP800-53-R5: CM-7\n  \n\n" as YAML data: invalid Attribute for File:blacklist_squashfs: path

I thought maybe there is an issue with cis_1.1/cis_<IP_ADDRESS>.yml so I skipped it and figured its the same with other files (I checked two more). I have the same setup for AL2 audit and it works as expected.
Expected Behavior
I expect the audit file to include the result of the audit including the failed controls and applied controls.
Actual Behavior
Error message indicated above.
Control(s) Affected
N/A
Environment (please complete the following information):

branch being used: main
Ansible Version: ansible [core 2.15.3]
Host Python Version: Python 3.9.16
Ansible Server Python Version: N/A
Additional Details:

Additional Notes
Apparently invalid attributes are used in audit templates (path/file, path/contents, and mount/mountpoints)
Possible Solution
View #4

I am also experiencing exactly the same issue.

I am also experiencing exactly the same issue.

I fixed the problem and created a PR you can find here: #4
Would be great if one of the maintainers review and merge. cc: @uk-bolly

Fixed in #8


Import games from a QBJ file

This would take a little bit of work and a lot of testing, but it'd help with tournaments since readers would no longer need to save a copy of the game if they needed to go back and resolve a protest or fix a statkeeping error.

Mapping from QBJ to GameState/events:
collection of match_teams[i].match_players -> GameState.players
collection of match_questions[i].buzzes -> buzz events (correct, wrong, etc.)
collection of match_questions[i].bonus -> BonusAnswerEvent
replacement_tossup_question -> ThrownOutTossupEvent (only one supported)
replacement_bonus_question -> ThrownOutBonusEvent (only one supported)
Substitution events need to be derived from match_teams[i].lineups, with each lineup being diffed against the previous one to create the substitution/add/leave events. It may not be possible to always recover the exact sequence of events: a player leave event and a player join event together looks the same as a player substitution in a QBJ file.
Protests would be lost unless we want to parse the notes section, which is a fragile approach and means that the format used to write protests to a QBJ file cannot change easily in the future.
Note that the packet doesn't travel with the QBJ file, so the import would need the original packet file and the QBJ file.


cannot connect to host via SSH

VSCode Version: 1.51.1
OS Version: Linux x64 5.4.0-54-generic

Hi,
My previous issue seems to have disappeared, so I am opening it again. Suddenly I cannot connect anymore VS Code to a Linux cluster through SSH; everything was working fine until yesterday. Now I get the following outputs in VS Code (the error message is at the very bottom):
[14:57:27.082] Log Level: 2
[14:57:27.084]<EMAIL_ADDRESS>[14:57:27.084] linux x64
[14:57:27.085] SSH Resolver called for "ssh-remote+taurus.hrsk.tu-dresden.de", attempt 1
[14:57:27.086] SSH Resolver called for host: taurus.hrsk.tu-dresden.de
[14:57:27.086] Setting up SSH remote "taurus.hrsk.tu-dresden.de"
[14:57:27.089] Acquiring local install lock: /tmp/vscode-remote-ssh-taurus.hrsk.tu-dresden.de-install.lock
[14:57:27.095] Looking for existing server data file at /home/rigel/.config/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-taurus.hrsk.tu-dresden.de-e5a624b788d92b8d34d1392e4c4d9789406efe8f-0.56.0/data.json
[14:57:27.095] Using commit id "e5a624b788d92b8d34d1392e4c4d9789406efe8f" and quality "stable" for server
[14:57:27.096] Install and start server if needed
[14:57:27.099] Checking ssh with "ssh -V"
[14:57:27.120] > OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020

[14:57:27.123] askpass server listening on /run/user/1000/vscode-ssh-askpass-003459a99cb9d1dd2eaa5acb1f193b260e806800.sock
[14:57:27.123] Spawning local server with {"ipcHandlePath":"/run/user/1000/vscode-ssh-askpass-a0f90119d767073fa1abd2422819619e253e7f87.sock","sshCommand":"ssh","sshArgs":["-v","-T","-D","38821","-o","ConnectTimeout=15","taurus.hrsk.tu-dresden.de"],"dataFilePath":"/home/rigel/.config/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-taurus.hrsk.tu-dresden.de-e5a624b788d92b8d34d1392e4c4d9789406efe8f-0.56.0/data.json"}
[14:57:27.123] Local server env: {"DISPLAY":"1","ELECTRON_RUN_AS_NODE":"1","SSH_ASKPASS":"/home/rigel/.vscode/extensions/ms-vscode-remote.remote-ssh-0.56.0/out/local-server/askpass.sh","VSCODE_SSH_ASKPASS_NODE":"/usr/share/code/code","VSCODE_SSH_ASKPASS_MAIN":"/home/rigel/.vscode/extensions/ms-vscode-remote.remote-ssh-0.56.0/out/askpass-main.js","VSCODE_SSH_ASKPASS_HANDLE":"/run/user/1000/vscode-ssh-askpass-003459a99cb9d1dd2eaa5acb1f193b260e806800.sock"}
[14:57:27.126] Spawned 12518
[14:57:27.207] > local-server> Spawned ssh: 12528
[14:57:27.210] stderr> OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020
[14:57:28.407] stderr> debug1: Server host key: ecdsa-sha2-nistp256 SHA256:PeCpW/gAFLvHDzTP2Rb93NxD+rpUsyQY8WebjQC7kz0
[14:57:29.637] stderr> No Kerberos credentials available (default cache: FILE:/tmp/krb5cc_1000)
[14:57:29.638] stderr>
[14:57:29.638] stderr>
[14:57:29.874] stderr> No Kerberos credentials available (default cache: FILE:/tmp/krb5cc_1000)
[14:57:29.875] stderr>
[14:57:29.875] stderr>
[14:57:30.492] Got askpass request: {"request":"Password:"}
[14:57:30.493] Showing password prompt
[14:57:30.494] Listening for interwindow password on /run/user/1000/vscode-ssh-askpass-8f5fbd08d444004cdc2449522e856645d1b3e066.sock
[14:57:30.494] Writing password prompt to globalState
[14:57:40.550] Got password response
[14:57:40.551] Interactor gave response: ***********
[14:57:40.553] Cleaning up other-window auth server
[14:57:41.127] stderr> Authenticated to taurus.hrsk.tu-dresden.de ([<IP_ADDRESS>]:22).
[14:57:42.368] stderr> CPU-Quotas as of 2020-11-10 10:53
[14:57:42.368] stderr>              Project    Used(h)   Quota(h)       % Comment
[14:57:42.368] stderr>           p_prestige     359613     833334    43.2
[14:57:42.369] stderr>         zihforschung    2700620     416667   648.1 Limit reached (SOFT) *
[14:57:42.369] stderr> * Job priority is minimal for this project
[14:57:42.369] stderr>
[14:57:42.369] stderr> Disk-Quotas for /home as of 2020-11-10 21:50
[14:57:42.370] stderr>                 User   Used(GiB)  Quota(GiB)       % Comment
[14:57:42.370] stderr>                alves        36.3        50.0    72.6
[14:57:42.370] stderr>
[14:57:42.370] stderr> Disk-Quotas for /projects as of 2020-11-23 20:51
[14:57:42.370] stderr>              Project   Used(GiB)  Quota(GiB)       % Comment
[14:57:42.371] stderr>           p_prestige       173.1       200.0    86.5
[14:57:42.371] stderr>         zihforschung       975.2      1400.0    69.7
[14:57:42.371] stderr>
[14:57:42.413] stderr> Early large reservations
[14:57:42.413] stderr>       Begin Time          End Time  Node Count  State
[14:57:42.415] stderr> 2020-05-04 14:32  2021-04-29 14:32           2  zihforschung
[14:57:42.415] stderr> 2020-08-13 10:49  2021-02-09 09:49          47  zihforschung
[14:57:42.415] stderr> 2020-10-08 15:00  2020-11-30 09:00           2  p_emission
[14:57:42.415] stderr> 2020-11-24 08:00  2020-12-25 19:00         107  root,hpcsupport
[14:57:42.416] stderr> 2020-11-25 10:00  2020-12-04 10:00           4  p_emission
[14:57:42.416] stderr> 2020-11-25 10:00  2020-12-09 10:00          50  p_electron
[14:57:42.416] stderr> 2020-11-26 09:00  2020-12-10 09:00          18  p_sinabel
[14:57:42.416] stderr> 2020-11-26 13:00             14:30          12  p_lv_lars2021
[14:57:42.417] stderr> Run 'sinfo -T' for more details.
[14:57:42.418] stderr> ------------------------- Lustre Space Availability ----------------------------
[14:57:42.418] stderr>     Target       Size      Avail      Used%
[14:57:42.447] stderr>    scratch       4.1P       1.3P        68%
[14:57:42.447] stderr>        ssd      42.6T       9.3T        78%
[14:57:42.447] stderr> --------------------------------------------------------------------------------
[14:57:42.448] stderr> stdin: is not a tty
[14:57:42.601] > ready: 42173735ccb8
[14:57:42.839] > Linux 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 11 19:12:04 EDT 2020
[14:57:42.840] Platform: linux
[14:57:43.198] > 42173735ccb8: running
[14:57:43.256] > Acquiring lock on /home/alves/.vscode-server/bin/e5a624b788d92b8d34d1392e4c4d9789406efe8f/vscode-remote-lock.alves.e5a624b788d92b8d34d1392e4c4d9789406efe8f
[14:57:43.284] > Found existing installation at /home/alves/.vscode-server/bin/e5a624b788d92b8d34d1392e4c4d9789406efe8f...
> Checking /home/alves/.vscode-server/.e5a624b788d92b8d34d1392e4c4d9789406efe8f.log and /home/alves/.vscode-server/.e5a624b788d92b8d34d1392e4c4d9789406efe8f.pid for a running server
[14:57:43.286] > Looking for server with pid: 10379
[14:57:43.296] > Found running server...
>
[14:57:43.297] > *
> * Reminder: You may only use this software with Visual Studio family products,
> * as described in the license (https://go.microsoft.com/fwlink/?linkid=2077057)
> *
>
[14:57:43.305] > Checking server status on port 36287 with wget
[14:57:43.365] > 42173735ccb8: start
> sshAuthSock====
> listeningOn==36287==
[14:57:43.366] > osReleaseId==rhel==
> arch==x86_64==
> webUiAccessToken====
> tmpDir==/run/user/2120899==
> platform==linux==
> 42173735ccb8: end
[14:57:43.367] Received install output:
sshAuthSock====
listeningOn==36287==osReleaseId==rhel==
arch==x86_64==
webUiAccessToken====
tmpDir==/run/user/2120899==
platform==linux==

[14:57:43.369] Remote server is listening on 36287
[14:57:43.369] Parsed server configuration: {"remoteListeningOn":{"port":36287},"osReleaseId":"rhel","arch":"x86_64","webUiAccessToken":"","sshAuthSock":"","tmpDir":"/run/user/2120899","platform":"linux"}
[14:57:43.371] Persisting server connection details to /home/rigel/.config/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-taurus.hrsk.tu-dresden.de-e5a624b788d92b8d34d1392e4c4d9789406efe8f-0.56.0/data.json
[14:57:43.374] Starting forwarding server. localPort 36061 -> socksPort 38821 -> remotePort 36287
[14:57:43.375] Forwarding server listening on 36061
[14:57:43.375] Waiting for ssh tunnel to be ready
[14:57:43.378] [Forwarding server 36061] Got connection 0
[14:57:43.381] Tunneled 36287 to local port 36061
[14:57:43.381] Resolved "ssh-remote+taurus.hrsk.tu-dresden.de" to "<IP_ADDRESS>:36061"
[14:57:43.412] ------

[14:57:43.441] [Forwarding server 36061] Got connection 1
[14:57:43.442] [Forwarding server 36061] Got connection 2
[14:57:43.645] Failed to set up socket for dynamic port forward to remote port 36287: Socket closed. Is the remote port correct?
[14:57:43.678] Failed to set up socket for dynamic port forward to remote port 36287: Socket closed. Is the remote port correct?
[14:57:43.680] Failed to set up socket for dynamic port forward to remote port 36287: Socket closed. Is the remote port correct?

The connection used to be very unstable before (dropped all the time), but at least it worked. But now I cannot even get there anymore. Could you help me figure out what is going on?
If someone deletes my issue, please let me know why it is being deleted.
Thanks a lot,

Does this issue occur when all extensions are disabled?: I don't know, but I need the extensions active in the host anyway

Duplicate of https://github.com/microsoft/vscode-remote-release/issues/4075, the issue has been moved to the appropriate repository it has not been deleted. Please do not report issues multiple times.

Sorry, I didn't know it had been moved somewhere else. Feel free to delete this one if you prefer.


Improved indexing

Support array element assignment
Support indexing of multi-dimensional arrays
Support indexer assignment

Partially resolve #39

When a token '=' is detected, AssignmentOperators is checked first of all. My changes did not break this behavior. But it’s impossible to prevent objects from being modified using methods like Dictionary.Add or List.Sort.

Just merged, v2.3.0 Thanks again!


Remove originalResponseHasLocation for LRO

originalResponseHasLocation  can replaced by checking the content of lastKnownLocation, so that we save 1 field for LRO rehydration token.

API change check
API changes are not detected in this pull request.


readme need update

README.md file from Dad Jokes Widget 😉

Thank you, will sort shortly

Fixed : https://github.com/phpsa/filament-feed/commit/4e9e8f3a526f28ed3ad4702f55012bf838cfdd39


Method to get the class name of a player

Add method to getting the class name of a player instead of this id

Fixed with pull request #20


Zero RPN bias

Hi @ruotianluo , i did a train on new model on PASVAL_VOC dataset with Vgg16 (CPU only with roi_pooling, Python 3.6.3) downloaded from https://github.com/jcjohnson/pytorch-vgg. However, i found that there is always zero at the bias of rpn_net, rpn_cls_score_net, rpn_bbox_pred_net, cls_score_net, bbox_pred_net. Is it an error ? If yes, may i know which part should be modified or change ?

It looks like an error.  The biases are initialized to be 0, but they should be updated. Can you check if the learning rate of biases are greater than 0 and the weight decay of biases is not too large.

Hi @ruotianluo , can you show me the line of learning rate and weight decay of biases ? I changed the following few lines in "network.py", but still get the same error.

to

My train.learning_rate=0.0001 and train.weight_decay=0.0001

https://github.com/ruotianluo/pytorch-faster-rcnn/blob/master/lib/model/train_val.py#L126
Here is the place where I set the learning rate and weight decay.

Hi @ruotianluo , thank you very much. The problem solved after setting the flag TRAIN.BIAS_DECAY.


sap_hypervisor_node_preconfigure: replace use of oc with kubernetes.core.k8s

roles/sap_hypervisor_node_preconfigure/tasks/platform/redhat_ocp_virt/main.yml

Check and fail is added if any node is not available

roles/sap_hypervisor_node_preconfigure/tasks/platform/redhat_ocp_virt/configure-worker-node.yml

Check and fail is added if any node is not available
Change oc label node to use kubernetes.core

@geetikakay Agree with oc command removal, this should be agonstic for KubeVirt provisioning.
I do not have access to a KubeVirt instance, 60mins seems sensible because hardware can vary and take a long time for provisioning of large VMs (e.g. 6TiB DRAM) for SAP HANA.

@newkit Can you please review and test this PR ?
At the same time, can you please confirm that the latest kubevirt.core.kubevirt_vm Ansible Module has solved the int parsing issues and does not require workaround usage of ANSIBLE_JINJA2_NATIVE env var?

Finished review

@newkit Thanks , I did requested changes. Please have a look.

@newkit Can you please review and test this PR ?

Reviewed and tested

At the same time, can you please confirm that the latest kubevirt.core.kubevirt_vm Ansible Module has solved the int parsing issues and does not require workaround usage of ANSIBLE_JINJA2_NATIVE env var?

We are still trying to fix the int issue but it's a tough nut. So for now, the ANSIBLE_JINJA2_NATIVE=true workaround is still needed when running the redhat_ocp_virt flavor of the sap_vm_provision role.

This PR became obsolete since there is a better version of this fix in this PR.


Enforce convertDeprecationsToExceptions=true in phpunit configuration if missing entirely

Q
A

BC Break
no

New Feature
yes

Description

This will reset all CI runs behavior back to pre phpunit 9.5.10/8.5.21 where convertDeprecationsToExceptions default value was set from true to false.

IMO this is not to be pursued: it only caused us pain in the past, and deprecations in PHP start becoming more and more meaningless, as more developers lose sight of what it means to develop side-effect-free systems.
Sad, but true :-\


log in with discord

after the update that submit legendary with discord   i have't never see any legendary rapport item

Basically all servers have had hundreds of legendary rapport items submitted since that change, with the exception of Petrania which has only had 76, most likely due to having fewer submissions overall (I'm guessing it's the lowest pop server).


feat: add array support for query value (#1)

What did I change?
I've separated ParamValue and QueryValue, which can be an array.
We can now do:
pathcat("https://example.com", "/:id", {
	id: "123",
	foo: ["b", "a", "r"],
});
// => 'https://example.com/123?foo=b&foo=a&foo=r'

And typescript will throw an error if used this way:
pathcat("https://example.com", "/:id", {
	id: ["1", "2", "3"], // cannot be an array
	foo: ["b", "a", "r"], // can be an array
});

Why did I change it?
This package is great, but it's true that query params can be arrays, and it can be interesting in some cases to be able to benefit from these advantages.

Super thank you, do you think you would be able to add something to the README as well just to explain that arrays are supported? Glad you are able to make good use of the lib :)

Of course, it should be good now 😁

Perfect, will release this now. thanks so much for the contribution!


Image Encoding bgra8

I'm able to launch ZED and everything else I require, but an issue arises which results in the trails_dnn-4 finishing cleanly.

[ INFO] [1537795203.312240992]: Advertised on topic path_odom

[ INFO] [1537795203.313778048]: Advertised on topic path_map

[ WARN] [1537795203.313983104]: 'imu_pub_rate' set to 500 Hz but ZED camera model does not support IMU data publishing.

[ INFO] [1537795203.442537792]: Starting Tracking

[ INFO] [1537795203.448557440]: Init Odometry with first valid pose data : 1

[ INFO] [1537795203.448726304]: Pose Smoothing : 0

[ INFO] [1537795203.448779168]: Spatial Memory : 0

[ INFO] [1537795203.448819456]: Floor Alignment : 1

[ INFO] [1537795203.521931232]: Tracking ENABLED

[FATAL] [1537795203.571486656]: Image encoding bgra8 is not yet supported. Supported encodings: rgb8, bgr8

[trails_dnn-4] process has finished cleanly

log file: /home/nvidia/.ros/log/88d5fa64-bffc-11e8-9f2b-00044b8d7ffe/trails_dnn-4*.log

I've been scouring through and can't seem to find where I can change the encoding from bgra8 to rgb8 or bgr8. I assume its on the ZED side of things.
Cheers!

This was recently changed on ZED ROS side when they removed dependency on OpenCV. That CL has removed RGBA->RGB conversion.
I'm going to fix (soon) caffe_ros node to accept bgra8 encoding as well.

That was quick! Thanks very much.


[CircleCI]Test more npm packages

Description

This catches failures early on and prevents bad packages from being
modified in a way that they are not installable.
Test using node 10.

Tested
See Circle CI test results

Can you provide more context as to why this is helpful, and what kind of errors this will catch?
e.g. I'm assuming we've run into issues that these tests would have caught?

Can you provide more context as to why this is helpful, and what kind of errors this will catch?

One simple example of what this would catch is when someone adds a dependency on a new library X in say mobile and uses it in say contractkit. Development on the monorepo would work but the contractkit package would be broken for the npm install.


The quazip version has vulnerabilities

Description
A patch for quazip vulnerability (CVE-2018-1002209) was released on June 13, 2018, but thunder did not take advantage of the patch.
vulnerability link：https://nvd.nist.gov/vuln/detail/CVE-2018-1002209
path link：https://github.com/stachenov/quazip/commit/5d2fc16a1976e5bf78d2927b012f67a2ae047a98
Steps to Reproduce

Thank you for the feedback. Unfortunately I'm unable to update quazip completely because it unzip part of it became incompatible with others libraries. My suggestion is to fix particular part of this library.


Adding a C++ example + improving CMake

This merge request brings the following:

one additional test covering C++

some CMake improvements

a new way to check the success of a test by comparing to expected output

Hi @romintomasetti - thanks for the contribution, the CMake runtest script looks very promising! 👍
The CI test unfortunately failed on Mac so I cannot merge this as-is. Not sure if you have a Mac and can troubleshoot? Otherwise I'll look into it when I have time. Potentially I'll merge the CMake stuff first, and not activate the cpp test to start with.

I tried experimenting with other C++ objects, and even on Linux it sometimes fails tracking all the allocations/deallocations. Not sure if we can make it work for C++ in any generic case...

Hi again @romintomasetti - I finally had some more time for this.
I found an issue in heapusage which was addressed in #5 that could cause problems in recent OS releases.
After fixing that I added your cpp test as part of #6 - however the cmake test handling was not added.
I will proceed to close this PR first, but feel free to submit a new pull request with the cmake changes if you'd like to see them merged.
Thanks again for your contribution and sorry this PR could not be merged as-is.

Hi @d99kris ! So, as I understand it, the c++ test passes on Mac now ? That's good news !
I'll have a look a new c++ examples, because my project is more c++-ish so it would be great to ensure c++ is supported as much / as deep as possible.
I'll also update this PR to take into account your changes :smile:

Hi @romintomasetti - yes, your c++ test passes now. 👍
I also tested heapusage on some large applications (some written in c and some in c++) and found it's working ok (tested in ubuntu and macos).
Yes please let me know if you find more issues. 👍
Thanks!

To clarify: the c++ passes in terms of correct information reported. I only added it with simple checks on its output, but I manually saw it reported what seemed to be correct.


Add options to define input and content glob pattern for tailwind

Hey, I love this module! But could we allow a bit more flexible in directory structure? When I create multiple smart cells in one kino library but want to share some elements (e.g. form elements) via a shared folder, this setup doesn't work.
The approach is simple: allow users to pass options for --input and --tailwind-content-glob (or -c, multiple entries are possible). The defaults for the new options are set to the values that were hardcoded before, so this change shouldn't break compatibility.

For more context, you want this because you want to have two smart cells on Kino Flame because the k8s needs a yaml editor, and that cannot be enabled dynamically, right?

Right.
Plus, I am thinking about using this for kino_k8s, too.

I really think we should have a single Flame cell with configurable backend, the same way we have a single Database connection cell. I think we should be able to make the editor togglable with reasonable API, I will look at that later today.
Regardless, I'm ok with these additional config options. But also, I'm thinking perhaps we could have a built-in support for a multi-input configuration for having multiple kinos/smart cells in a single npm project (i.e. with a single build/watch commands). I will experiment with that later.

I think we should be able to make the editor togglable with reasonable API

That would definitely be better in this case.

But also, I'm thinking perhaps we could have a built-in support for a multi-input configuration for having multiple kinos/smart cells in a single npm project

Would be nice, too. I'm using npm--run-all on kino_k8s, but it's probably harder to use built-in.
https://github.com/mruoss/kino_k8s/blob/main/package.json

FTR we now have API for toggling editor visibility https://github.com/livebook-dev/kino/pull/467 :)

I am thinking about this and trying to balance configurability and simplicity. I feel that the more generic we make the script, the less benefit there is (compared to what you already do in kino_k8s), because the user needs to pass a lot of options. At this point I am considering that it may be best for kino-bundler to be opinionated about the directory structure. For example, we could require this:
assets/
├── shared/
│   └── *.js
├── packs/
│   ├── cell1/
│   │   ├── ...
│   │   └── main.js
│   └── cell2/
│       ├── ...
│       └── main.js
├── package-lock.json
└── package.json

Every directory in packs/ would be bundled separately, we would look for main.{js,ts,tsx} as the entrypoint. For tailwind we would glob .{js,ts,tsx} inside the given pack and optionally shared/ (if present). If we did that, we would only need to specify output dir for each pack, such as:
"scripts": {
  "build": "kino-bundler --outdir '../lib/assets/[pack]/build'",
  "dev": "npm run build -- --watch --dev"
}

@mruoss if you have opinions on this, or another idea for how the script should work, let me now :)

Oh yes I do agree. We can expect a fix directory structure here. You could even go a step further and be opinionated about --outdir too, no? It looks a bit hand-tailored now with the [pack] in it and ../lib/assets is pretty standard...

Yeah, the main reason for customization is the /build/ suffix I like to add, because it (a) makes clear which part is generated, and (b) in case you need some additional unprocessed assets, you can put those alongside the build directory. But yeah, may as well make that opinionated also!

@mruoss I've just published a new version with the above changes and updated Kino to use it. Feel free to try it out and if there's anything else needed, in particular for typescript, let me know!


Created dedicated flake overlay

This removes the custom pkgs arguments in favor of a default flake overlay.
Doing so enables the follows mechanism for flakes consuming this one.
Some more info: Reinstantiating nixpkgs in consumable flakes seems to be unwise in general: https://zimbatm.com/notes/1000-instances-of-nixpkgs if I understand correctly what your goal is, the better way is to just use pkgs as provided by flake-parts and then create an overlay that exposes the new package.
I've created a quick and dirty test flake that seems to work this way:
{
	description = "flake to test overlay";

	inputs = {
		nixpkgs.url = "nixpkgs/nixos-unstable";
		unitgen = {
			url = "github:IncredibleLaser/nix-store-veritysetup-generator/no-import-nixpkgs";
			inputs.nixpkgs.follows = "nixpkgs";
		};
	};

	outputs = { nixpkgs, ... }:
	let
	  system = "x86_64-linux";
	  pkgs = nixpkgs.legacyPackages.${system};
	in

	{
		devShells.${system}.default = pkgs.mkShell {
			packages = [ pkgs.nix-store-veritysetup-generator ];
		};
	};
}

Running nix develop . on this flake gives a shell with nix-store-veritysetup-generator available.
If I've misunderstood what's being done here (currently learning about nix myself so can't say I'm authoritative), feel free to reject. I just saw the presentation from All Systems Go! regarding NixOS Platform Security and am very intrigued.

Just read that flake-parts do have something to define overlays via perSystem.overlayAttrs, so that might be more in line.
Regardless of the actual implementation, I do think that not importing nixpkgs with the overlay is better here. Currently, there is no reference in the project to pkgs.nix-store-veritysetup-generator (which is why I wasn't exactly sure what the goal here is). If the goal is to enforce the nixpkgs commit in flake.lock regardless of whether the consuming flake instructs it to follow, then the current solution (the one in main) should be correct – however, the package resulting from that overlay is never used as far as I can tell.


License

Hey I realized we don't have a license on this. @freakaziod210, are you ok with me making this MIT license?

Yes'm sir


TextInput Label Overlap

When a TextInput's value has been set before the user has changed it, the label does not shrink and the text overlaps.
As soon as the user changes the value, the label shrinks as expected.
You can see the issue in the snack below.
https://snack.expo.dev/Kf980pU2X
import React, { useState } from 'react';
import { TextInput } from '@react-native-material/core';

const App = () => {
  const [val, setVal] = useState('initial value');
  return (
    <TextInput label="Label" value={val} onChangeText={setVal} />
  );
};

export default App;;

Hi @merklegroot,
Thank you for reporting this issue. Your description is very clear. I will be working on it and I will notify you once this is done.

I still experience this issue, what can be done?
iOS 16.1
@react-native-material/core: 1.3.7
react: 17.0.1,
react-native: 0.64.1


Unity supported or recommended version

@f111fei what version of Unity did you develop this module using? If you can recommend a Unity version I intend to switch my project to it in hopes of achieving greater stability.

Looks like 2018.2.17f1 from commit messages to react-native-unity-demo.


Error while running Image/Text retrieval inference task

I am trying to run the oscar/run_retrieval.py using the base-vg-label oscar model and 1k coco test set.
python oscar/run_retrieval.py
--do_test
--do_eval
--test_split test
--num_captions_per_img_val 5
--eval_img_keys_file datasets/coco_ir/test_img_keys_1k.tsv
--cross_image_eval
--per_gpu_eval_batch_size 64
--eval_model_dir pretrained_models/base-vg-labels/ep_67_588997
The following is the error raised(output on the terminal):-
2021-06-02 09:08:31,344 vlpretrain WARNING: Device: cpu, n_gpu: 0
2021-06-02 09:08:31,344 vlpretrain INFO: output_mode: classification, #Labels: 2
2021-06-02 09:08:31,370 vlpretrain INFO: Evaluate the following checkpoint: pretrained_models/base-vg-labels/ep_67_588997
Traceback (most recent call last):
File "oscar/run_retrieval.py", line 664, in
main()
File "oscar/run_retrieval.py", line 620, in main
model = model_class.from_pretrained(checkpoint, config=config)
File "/export/home/chaudhury/Oscar/transformers/pytorch_transformers/modeling_utils.py", line 450, in from_pretrained
model = cls(config, *model_args, **model_kwargs)
File "/export/home/chaudhury/Oscar/oscar/modeling/modeling_bert.py", line 297, in init
self.loss_type = config.loss_type
AttributeError: 'BertConfig' object has no attribute 'loss_type'
I checked the oscar/modeling/modeling_bert.py file where it tries to access the loss_type attribute of the BertConfig object. In this file, it imports BertConfig from transformers.pytorch_transformers.modeling_bert. So, I checked out the BertConfig object class in transformers/pytorch_transformers/modeling_bert.py and it did not have the loss_type attribute.
Since there is no loss_type attribute, it seems that attribute error is bound to arise.
How to solve this problem? Please help.
Oscar/oscar/modeling/modeling_bert.py - https://github.com/microsoft/Oscar/blob/master/oscar/modeling/modeling_bert.py
Oscar/transformers/pytorch_transformers/modeling_bert.py - https://github.com/huggingface/transformers/blob/067923d3267325f525f4e46f357360c191ba562e/pytorch_transformers/modeling_bert.py

Could you try
pip install --upgrade transformers?

Could you try
pip install --upgrade transformers?

@antocapp  I am also facing similar issue.
according to my understanding https://github.com/microsoft/Oscar is pointing to specific transformers branch.
If we upgrade to latest transformers , it will break other code parts.

@SwatiTiwarii @antocapp  Yes, the latest transformers repo is quite different.
One clear observation is that the specific transformers branch which Oscar points, has a pytorch_transformers sub-folder which is also used for importing in many python codes in Oscar repo whereas the latest transformers doesn't have any pytroch_transformers sub-folder.
So, it seems that the Oscar code is not compatible with the latest transformers branch.

Could you try
pip install --upgrade transformers?

@antocapp I am also facing similar issue.
according to my understanding https://github.com/microsoft/Oscar is pointing to specific transformers branch.
If we upgrade to latest transformers , it will break other code parts.

Please let me know if you have found a workaround to this problem, or when you find one.
Also, if it's possible, could you describe the task in which you encountered a similar error?

Same problem here. Any news on the matter?


Add job_getcwd()

job_getcwd({job}) is to get the current working directory of {job}.
For example, this can be useful to restore the working directory of the shell of :terminal when using :mksession.

I'll add Windows port in later if this will be merged.

This looks like tricky code.  How useful is this?  It also doesn't work on all systems, and I wonder if there are permission problems.

Ah, sorry. This pull request already have Windows port. Thank you.

No reply on my question how this is useful, therefore closing. If you do see a practical use for this, let's hear it.


rebuild country and region dropdowns from WOF

following Aaron's advice at https://github.com/transitland/feed-registry/issues/102#issuecomment-173426406
resolves #128

@meghanhade for you to review and merge whenever.


Implement the interpret method for protein folding.

Protein folding problem lacks the implementation of an interpret method for its result.
The interpret method should be implemented that hopefully makes it easier for the user to decode the meaning of a result, i.e. the shape of a protein. For instance, it could segregate qubits into configuration qubits and interaction qubits. Configuration qubits and their state after optimization could be mapped to a description of the shape of a protein, e.g.:
Turn from main bead {x} in direction {y}.
Another good way of understanding the result is a plotting feature which will be addressed separately in #235.

Does this take care in some way of what was described in #259 - which I see was just closed but no reason was given. Or was it already taken care of in main protein folding work that was done.

Does this take care in some way of what was described in #259 - which I see was just closed but no reason was given. Or was it already taken care of in main protein folding work that was done.

It was taken care of.

Closed by #655


Is there any model descriptions in VESSELS folder?

Hi:
Thanks for the MSS projects. Where can I find the model description for each file in VESSELS folder? I am looking for a model with only one thruster and one rudder. Which file should I refer to?

There are no model descriptions except the comments in the m-files. The models are based on the methods described in my Wiley textbook from 2021. There are ship models with one main engine and one rudder, which can be used. Note that you can change the m-files and add your own propulsion systems.

There are no model descriptions except the comments in the m-files. The models are based on the methods described in my Wiley textbook from 2021. There are ship models with one main engine and one rudder, which can be used. Note that you can change the m-files and add your own propulsion systems.

Dear Professor Fossen :
Thank you for your reply. May I ask what the file name for the model is?

You can use one of the ship models:
clarke83        % linear maneuvering model parametrized using (L,B,T) found from linear regression of model tests
container       % nonlinear maneuvering model of a high-speed container ship, L = 175 m, including roll
mariner         % nonlinear maneuvering model for the Mariner class vessel, L = 160 m
Time-series simulation
SIMclarke83     % simulate clarke83.m under PD control
SIMcontainer    % simulate container.m and Lcontainer.m under PD control
SIMmariner      % simulate mariner.m under PD control


fork & merge threads: staging->master update pattern

problem: how to implement "draft" or "staging" system for a textile thread. In draft mode, local changes to a thread or threads drive the UI like normal without changing the original threads. If the user commits the draft, the original threads are updated and changes are transmitted across network. Otherwise the draft/staging branch is discarded.
More generally, I'd like to be able to:

take some Threads
rewind them to some prior state
fork them
make some changes
merge them back into the original threads.

Describe the solution you'd like
A Thread or set of dependant Threads can be transiently forked or copied into a new set of Threads. The app + UI switches to using these, thus allowing the frontend<->textile data bindings to remain the same. At some point, these threads are merged back into the originals, or discarded. Either way, the app switches back to using the original threads. Perhaps the merge operation works simply by updating the original Threads with just the HEAD values from the draft threads - i.e. no history is merged.
As an example, consider a textile webapp, say draft-js text editor w/ support for images. It uses textile for "everything" (replicated data store + redux event sourcing style bindings for frontend view), making use of several Threads in the process.
Goal: implement a local only "draft stage" that lets the user make changes to their document & files via the ui, see the results, then optionally commit them or revert them. conceptually like git staging. Draft changes do not need to be synchronized across network, although that would be cool.
Describe alternatives you've considered
Instead of implenting directly with Threads, an App could implement a client-only data layer on top of textile that shadows the Threads. In draft mode, the UI makes changes to and previews the results of editing this draft data layer. To commit the draft, the shadow layer is applied to the appropriate Textile threads. Upsides to this approach: may be simpler than that proposed above. Downsides: clientside "shadow threads" require their own UI & data bindings for draft mode. Should shadow threads provide the same / subset API as textile client?
Additional context
I originally asked about this on Textile slack chat. Below is a transcript:

@100ideas: I'd like to use textile threads drive my JS application and provide data versioning & replication. The app is a computational notebook similar to jupyter.  One of the major use cases I want to support is transiently forking part of the state (computational graph), merging in edits, then recomputing the results and showing how they differ from the original (parent) state. This is to help the user iteratively explore the effects of changing their program's structure and its data dependancies - they may want to undo it all, or only commit and merge the changes after experimenting a bit.
the 2019 whitepaper describes textile's store -> events -> dispatcher -> reducers (& datastore) -> event bus -> log service  state update + control loop.
Would it be possible to add special dispatchers + reducers that short-circuit the event-bus and instead only generate temporary local state? Partially inside textile and partially outside of it? I am thinking this might be a nice way to shadow the app's state with a lightweight, transient, non-replicated draft of changes to state and to use this for rendering previews of what the draft changes would do. Or would it be better to build this completely on top of textile, in another separate layer (that perhaps still listens to certain events)?

@carsonfarmer So, this is a much bigger question that relates to how developers can (and will be able to) use threads.
Right now, we essentially have two API levels, one is the Store API, which is what you mentioned above. Complete with existing event codecs etc, with reference implementation in Go, and js-wrappers available to play with.
The second API is the Thread-level API (currently called the Network service layer). This is really just the thread part of threads, the network/data transport protocol so to speak. But developers can have access to this level, which means, you have a lot more control over what eventually gets pushed to peers. This level might be where you'd integrate your special dispatchers and reducers (which we wrap into event codecs).
The other thing you can do is as you suggest, build out some application level logic that takes 'official' store-level data, and generates drafts (maybe even using the same store, but a different keyspace), before committing them to the store.
We actually envisage different store level apis emerging... so while not everyone is going to want the document/model-based framework we've implemented in our reference implementation, the network service layer is pretty agnostic to these details... which is what the codecs help with.
So, long story short... I think you are on the right track... the 'easy' way (from threads perspective) would be to build on top of threads 'as is', with application logic to control draft states. The 'hard' way (again, from threads perspective) would be to build your own 'store'-level APIs, and use the service-level APIs to do the actual hard p2p bits...
Hopefully that stream-of-conciousness response is helpful in your research? Note that js-threads is under heavy development right now, so any inputs or ideas you have here to make it easier as an external dev to start playing with this stuff is super valuable. Follow along here: https://github.com/textileio/js-threads

@100ideas Thank you @carsonfarmer. I still have only the vaguest sense of how to structure a textile app. I guess my next step would be to run the js-foldersync demo and start tweaking it to get some hands-on experience.
If so, I will try the "easy" approach (layer on top) as you described it above.
Just to restate the goal:

consider a textile webapp, say draft-js text editor w/ support for images. It uses textile for "everything" (replicated data store + redux event sourcing style bindings for frontend view)

implement a local only "draft stage" that lets the user make changes to the document via the ui, see the results, then optionally commit them or revert them. conceptually like git staging.

since the way the user will interact with the draft is the exact same as with the original document, and since in "normal mode" the app translates these interactions into textile commands which then update the view (all via Store API), it feels like it would be good to also use textile and its data-view bindings for the draft mode.
You suggested this might be possible with the Store API by providing a different keyspace. Are there any examples or docs that outline how a textile app would use two different keyspaces to fork and merge threads that have the same schema?

@carsonfarmer Cool, yes let’s do a ticket, especially because this is pretty new ground for me/us. The key space thing was more riffing off the top of my head then a fleshed our idea, but essentially, this is like having two separate ‘stores’ or threads with the same data. One for staging, and one for ‘real’.
The way you then might structure it is that you have a store in which you store every update etc, and then only ‘commit’ the good/viable updates to the ‘master’ store. Very much like a git flow. These two stores could actually be two threads, with the same schemas. You could in theory then have some readers following both stores, and some only following master. Day you device peers sync everything, but your collaborators only see the committed stuff?
So really, it’s just two or more threads, with app logic to help the user decide which commits make it to master.

@100ideas hmm, that sounds good. And it would perhaps be useful to occasionally switch to a fresh "master" thread initialialzed from the commit thread, to provide something akin to log compaction

@carsonfarmer Also just FYI, thread forking, snapshots, and even merging are things we’re actively researching/planning for, but haven’t yet made it into the white paper. See for example some earlier stuff here: https://github.com/textileio/go-threads/issues/229 (https://github.com/textileio/go-threads/issues/229)

Incidentally, I looked into trying to create a draft mechanism for an Automerge / Hypermerge document store. Automerge doesn't directly support forking and architecturally favors convergence of replicas over other use cases. According to one of the automerge devs:

@martinkl:
Hi @100ideas, at the moment branches/forks of documents are not well supported. You can get some of the way by maintaining two separate documents, and applying some of the changes to only one of the documents. But there is no built-in support for diffing two documents constructed this way.
I don't think Hypermerge does this either. We did experiment with branching on the Pixelpusher project (https://medium.com/@pvh/pixelpusher-real-time-peer-to-peer-collaboration-with-react-7c7bc8ecbf74) by maintaining separate docs for each branch as described, but the performance was not great.

Notes & code here: https://repl.it/@100ideas/playing-with-automerge

Hi @100ideas, super long delay in updates and responding. But wondering if some recent changes here might get you closer to what you're looking for now. So by separating out the 'Store' from the 'Database', you can have a 'local only' 'Store' for any staged changes (using its own dispatcher), and then when finalized, push the accepted changes onto a 'live' thread for replication etc.

Happy to discuss these ideas further with you on or offline!

Closing this as "stale". In fact, ongoing work as part of The Great Refactor (#414) should cover this usage pattern quite nicely.


cellery view is showing incorrect diagrams

Description:

Build the pet-be cell by using pet-be sample
Run cellery view wso2cellery/pet-be-cell:latest

Suggested Labels:

Bug

Fixed with https://github.com/wso2-cellery/sdk/pull/733

@madushajg, please close this issue once you confirm that it's resolved with above fix.


Closes: #1

Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

username starts with character


File ext ignore case

Closes #165 --> accept database file extension both upper case/lower case/any combination

Lot's of tests are failing. Please investigate why and take action based on that.

Coverage remained the same at 97.007% when pulling 7ea48de9b1a5b90c54c93cadaf8d156b3a22593e on geo4711:file_ext_ignore_case into 9f1c17fb28999aa5190bf79b301cc31a4372cf7a on eerimoq:master.

Please add a test case and I can merge.

thanks a lot for your patience and advice :-)

The documentation here should be updated to match the current implementation. I suggest to write that both lower and upper case file extensions are allowed instead of adding upper case extensions to the table, but it's up to you. Mixing upper and lower case in the same extension is probably not worth mentioning.
https://github.com/eerimoq/cantools/blob/master/cantools/database/__init__.py#L106-L124

Add *.DBC to MANIFEST.in. Otherwise the new file is not part of the release and the test using it will fail.


target_logit's shape

target_logit = cos_theta[torch.arange(0, embbedings.size(0)), label].view(-1, 1)
By this line, it seems the shape is [embbedings.size(0) * embbedings.size(0), 1]. Is it true?

Solved. The label shape should be of 1-dim, i.e. [B] rather than [B, 1]. But when it is [B, 1], the output will be of [B*B, 1].


Feedback Form

Describe the bug:
No feed back form is available but maintained at the footer, I want to make that form.

@shriya030 can i work on this issue

@shriya030 can i work on this issue

Will you link it to some google form or something?

@shriya030 pls assign me this issue.

I  can add very Attractive  responsive feedback from @kumarishalini6  assign this issue to me under LGM Soc'21 program

@shriya030 pls assign me this issue.

Work on this after #35 is resolved!
It will become easy for you.

@shriya030 sure

@shriya030 sure

You can start working on it!

@shriya030 yupp


Set version 4.4.0

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5790

Relevant Lines:
6550

💛  - Coveralls


Milestone 3 - refactoring

Tasks

[x] Refactor data structures
[x] Fix tests
[x] Add benchmarking
[x] Generate weights
[x] Add errors, events, etc.

Changes

Remove unsafe unwraps
Start using BoundedVec
Add account behaviour
Refactor several structs, IbanAccount -> BankAccount, etc.
Refactor several functions, most notably, convert match sth {} to if let Some(_) = sth, etc. This reduced several code lines
Upgrade to polkadot-v0.9.30

Refactoring is complete.
node is compiling and tests are passing.

thx!
Dastan @.***> schrieb am Di., 31. Jan. 2023, 02:21:

Refactoring is complete.
node is compiling and tests are passing.
—
Reply to this email directly, view it on GitHub
https://github.com/element36-io/ocw-ebics/pull/21#issuecomment-1409606890,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANV4FNZOHOZ7INZY5QF7UQDWVBSJDANCNFSM6AAAAAAR2TWM3M
.
You are receiving this because your review was requested.Message ID:
@.***>


Dynamic injection in metadata object

Hi !
I am trying to add some runtime data (like how much time does my test setup takes?) inside the metadata object. After some investigation, I figured I could access the metadata object inside each test, but I cannot find a way to write in it.
it 'logs metadata object' do
  puts metadata # {}
end

Using tags works fine, but they are not dynamic:
it 'logs metadata object with tags', hello: 'you' do
  puts metadata # {:hello=>"you"}
end

Adding to metadata won't work:
it 'add to metadata object does not work', hello: 'you' do
  metadata[:testing_something] = 'This will not appear'
  metadata[:setup_timer] = @setup_timer # computed between before_setup and after_setup hooks
  puts metadata # {:hello=>"you"}
end

Is there a way to inject such data in metadata?
Thanks!

I'll take a look when I get a chance.

Hi !
Thank you for your response!
I've tried to play around the limitation described above today, and I found that calling metadata was using MinispecMetadata::It#metadata, which seems immutable.
I tried uninstalling the gem to run the same test: calling metadata is using Minitest::Runnable#metadata which is mutable as expected.
Thus, I believe something in MinispecMetadata is making metadata immutable or frozen somehow. It really feels like a bug.
Hope this helps 😉

Hi @ordinaryzelig, any news on that subject 😇?

I'm sorry, I haven't had any time to look into this.


add wait command in test

Hi,
thanks for good platform, I'm writing large numbers of test with karate
for some tests, I need to wait for some reason (for example to unlock a locked user), is there any way to place a wait, or sleep between execution?

yes, you can even implement polling easily with a little bit of JS + Java: polling.feature, this is part of the demos.


[Candidate 1v1 Glacial Horses V1] Cars leave green tracks on white snow

Issue Description
Cars leave green tracks on white snow.
Expected behavior
Cars leave grey tracks on white snow.
Screenshots

Fixed with https://github.com/xezon/GeneralsRankedMaps/commit/d0658d193a96c0877f08444b867c728e4766d5e7


.pdepend folder grew to 45 GB

I posted the problem first in the PHPStorm tracker: http://youtrack.jetbrains.com/issue/WI-18654
I use PHPStorm as IDE which provides an interface to PMD.
Windows x64, php installed as standalone with all pear/pecl packages configured correctly as far as I can tell. PMD runs fine and also runs fine in PHPStorm. It just seems that it never cleans up after itself.
I was told to report this here as the PHPStorm devs won't fix it.

+1 any news?

I see the dev finally paid attention 2h ago. Given how long it took for that to happen (no pun intended, we're all very busy people), a fix may take similarly long.
A workaround would be a cron job that runs every M minutes and deletes all files that have not been accessed in H hours. On linux/macosx this will delete files not accessed in the last 24h:
find /path/to/.pdepend -amin +1440 -exec rm {} \;

You may want to couple the above with the timestamp the .pdepend folder itself was last written to or else if you take a break from coding it will eventually delete all files in it. On linux/macosx you could replace 1440 above with $(( ($(date +%s) - $(stat -f %Sm -t %s /path/to/.pdepend))/60 + 1440)) -- 24h after the last timestamp .pdepend was last written to.
NOTE: I haven't tested the above as I haven't used phpmd in a long while, but you get the gist.

Just working on a simple GC for PDepend's cache

@normadize the reason why I assigned this to me is because I am using Windows and PhpStorm, while @manuelpichler does not.
Also @manuelpichler already stated the following in the other ticket:

This issue depends on PDepend and the next release still needs some work, so I move this ticket into milestone 2.3

We can keep this ticket open as it talks about the specific environment (Windows + PhpStorm) even though it should also be fixed once done in PDepend.

@ravage84 no worries, I just replied to provide a possible workaround for those who still use phpmd.

This issue should be fixed with commit #56712b1. So I will make a bugfix release in PDepend and then update the dependency here.

@manuelpichler good news!

done, see release 2.2.1

This is still happening for me at version 2.2.3.
We regularly run out of disk space on our build slaves with phpmd version 2.2.3.
Current .pdepend directory is 11GB in size.

We encounter the same problem in 2.6.0 using php7.2 and ubuntu bionic as the file system (.pdepend) is not cleaned up after the job is done.

Same here on Ubuntu, folder is now 35G
I'm cleaning up with this command:
find ~/.pdepend -type f -mtime +30 -exec rm \;
But it would be nice if it could happen automatically

I do use my own clean up script which has following command
find $HOME/.pdepend -type f -mtime +3 -delete


Missing Section

In a Notebox there is written:
"These bracketed values are placeholders. Replace them with the values in the actual sign-on URL, Identifier and Reply URL. These details are explained in the "View SAML 2.0 Endpoints" section later in this tutorial."
I cannot find the View SAML 2.0 Endpoints section in this article.

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

ID: 40756c7c-63eb-10f8-c8c4-17b57877bb7f
Version Independent ID: 9de82050-9230-0236-c246-b2fd273888ce
Content: Tutorial: Azure Active Directory single sign-on (SSO) integration with DocuSign
Content Source: articles/active-directory/saas-apps/docusign-tutorial.md
Service: active-directory
Sub-service: saas-app-tutorial
GitHub Login: @jeevansd
Microsoft Alias: jeedes

@natiT
Thanks for your feedback! We will investigate and update as appropriate.

Ok never mind. The Documentation of DocuSign and Microsoft are really confusing.
Did not see the Login and Azure AD Identifere URLs because they were hidden.
Problem solved.


Passing variables into mailchimp email

Hi,
I followed this tutorial:
http://thedebuggers.com/send-mailchimp-newsletter-via-php/#comment-150
and I got the basics working. I can send an email to a list based on a mailchimp template.
I can’t seem to get it to pass a variable into the text of the email that is sent.
I don’t really understand this bit .. “To add editable content area in the template, add attributes like mc:edit=”body” in the container.”
What do I have to put in my mailchimp template text to get it to pass the ‘body” variable into the mailchimp email?
‘sections’ => [‘body’ => $html]
Thanks, any help would be much appreciated

Got it working using
Content
Thanks

I can't make it work either
My code:
$date_block = 'StepStone Realty Information Webinar
'.date('l, F jS', strtotime($fourth)).'';
$result2 = $MailChimp->put("campaigns/$campaign_id/content", [
'template' => [
'id' => $template['template_id'],
'sections' => [
'body' => $date_block
]
]
]);
Anyone who can help with this?

The html in the template:  Content


init_embedding

bias = np.sqrt(3.0 / embeddings.size(1))
torch.nn.init.uniform_(embeddings, -bias, bias)

and the pytorch init is init.normal_(self.weight)
why to do this and what is the refer?
look forward for discuss

bias = np.sqrt(3.0 / embeddings.size(1))
torch.nn.init.uniform_(embeddings, -bias, bias)

This is lecun_uniform way of initializing; here, the fan_in is the units of size emb_dim which is obtained using embeddins.size(1) as in the code.
The code samples (i.e. picks) value uniformly in the interval (-bias, +bias) where bias is defined as in the code sqrt(3.0 / emb_dim)

and the pytorch init is init.normal_(self.weight)
why to do this and what is the refer?

Well, there is a whole area of research about why some initializations are better when compared to just initializing by sampling values from a simple uniform or gaussian distribution. Some initializations are found to be empirically better such as lecun_uniform.
Here is one c.f.: initializers/lecun_uniform


Make library working with new CI Session library

CodeIgniter has finally the new Session library. The CI Session Messages library has to test with the new CodeIgniter version and must probably be updated.
https://github.com/bcit-ci/CodeIgniter/issues/3073#issuecomment-70487607

The new Session library in CodeIgniter version 3.0.0 is backward compatible. No changes needed.


Add support for azureblob

Context
The README describes that support for Azure Blob is available using azblob. However, when running it didn't work and it resulted in the following error message:
Unable to open bucket, open blob.Bucket: no driver registered for "azblob" for URL "azblob://<container-name>"; available schemes: file, gs, s3

I forked the project to include "gocloud.dev/blob/azureblob" and it is working for me.
However, my experience with Go is limited so I am not sure if I did it correctly regarding Go versions and the go.mod file.

The change over on your fork look good to me 🙂. A PR would be welcome!

The change over on your fork look good to me 🙂. A PR would be welcome!

Thanks! Created a PR #106

Closed by #106

Thanks @tvandelooij!

Thanks @tvandelooij!

You're welcome! 😄


Add option to return ordered query response

This is probably the easiest way to solve https://github.com/digidem/osm-p2p-server/issues/19

implemented in 3.8.0:
osm.query(bbox, { order: 'type' }, cb)


limit stmgr client reconnect attempts

We found that when network partition happens, stmgr client keeps reconnecting to the other stmgr without any limit. If the network partition problem keeps going on, the whole topology is stuck.
This PR is to mitigate this problem at heron level. Now stmgr client will kill the whole stmgr process after a configured amount of reconnecting.  There's a great chance that after rescheduling, the whole container is scheduled to another host and thus avoid the network partition problem.
The PR is tested with local cluster.

@nlu90 Just looked a little closely at the reconnect interval. Its currently set at 1 second. Which basically means that if we fail for 30 seconds we kill the stmgr. I believe this is too aggressive. Maybe increase the max reconnect attempts from 30 to 300?

@srkukarni Updated.

looks good!


Wrong Config Path and Custom Path.

[X] I'm asking a question
[X] I've looked through the README and FAQ for similar questions
[x] I've searched the bugtracker for similar questions including closed ones

Question
So, i don't know if i'm missing something or if it is really wrong. As said here https://github.com/ytdl-org/youtube-dl#configuration the config path is %APPDATA%\youtube-dl\config.txt but for some reason this path never worked for me, the correct one, at least for me, is %APPDATA%\Roaming\youtube-dl\config.txt. And is it possible to change the default location of the config file without having to specify a command manually every time? I tried to search for both of these doubts, but I didn't find anything totally related. If there are any, I apologize in advance.

%APPDATA% is .../AppData/Roaming in the first place. You technically can't change something default since it's default and incorporated into binary.


feat(design): add toast component

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/develop/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?
The @daffodil/design package is missing a toast component that can be used to display time-sensitive notifications that are related to application level information.
Fixes: N/A
What is the new behavior?
Toast component that is displayed at the top-level of the interface that is used to communicate time-sensitive notifications that are related to application level information.
TODO:

[x] Make duration work
[x] Implement CDK Overlay
[x] Type on button doesn't seem to be working in toast
[ ] Support anchor links as actions
[x] Is there a way to change position strategy depending on screen size?
[x] Can we display the newly opened toast on top of the last one instead of after on the bottom?
[x] Can we support configurable positions? (DaffToastHorizontalPosition and DaffToastVerticalPosition)
[ ] Documentation

Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information

[ ] type on button doesn't seem to be working in toast
[ ] Is there a way to change position strategy depending on screen size?
[ ] Can we display the newly opened toast on top of the last one instead of after on the bottom?
[ ] Can we support configurable positions?
[ ] Documentation

From a discussion between @xelaint and myself, we decide that the toast should not, by default, hand down "status" to its child buttons.

[ ] Prevent users from setting horizontal: center and vertical: center positioning
[ ] How to set dismissible? (close button is shown when dismissible is set to true)
[ ] HostListener for keydown escape doesn't work. I think we need to implement focus trapping, specifically only if it's dismissible

class FocusStack {
  _stack: HTMLElement[] = [];

  push(el: HTMLElement) {
    this._stack.push(el);
    el.focus();
  }

  pop() {
    let el = this._stack.pop();
    while (el === undefined && this._stack.length > 0) {
      el = this._stack.pop();
    }

    if (this._stack.length === 0) {
      (<HTMLElement>document.activeElement).blur();
      return;
    }
    const nextStackItem = this._stack[this._stack.length - 1];
    nextStackItem.focus();
  }

[ ] Implement a focus stack between modal-like elements.
[ ] Change toasts so that they render when the last one is either cleared or duration-removed, not clearing immediately. The filter is in the render layer, not the data layer.
[ ] Implement focus trap on toasts with actions.
[x] Implement dismissible on toasts via data/configuration

TODO:

[ ] Tests

@damienwebdev Need you to review the updates I made to the size property within action, and add tests.