sc-install local installation KeyError

Version
0.28.2
On which OS did this happen?
Linux
On which Python version did this happen?
Python 3.12
Reproduction Steps
All commands run:
git -b v0.28.2 git@github.com:siliconcompiler/siliconcompiler.git
cd siliconcompiler
python3 -m venv ./sc-venv
source ./sc-venv/bin/activate
python3 -m pip install -e .
sc-install -group asic

Expected Behavior
Open source ASIC tool dependencies should be installed locally on my system.
Actual Behavior
Receiving the following error
Traceback (most recent call last):
File "~/open-source-cad/siliconcompiler/sc-venv/bin/sc-install", line 8, in
sys.exit(main())
^^^^^^
File "~/open-source-cad/siliconcompiler/siliconcompiler/apps/sc_install.py", line 185, in main
if not install_tool(tool, tools[tool], args.build_dir, args.prefix):
~~~~~^^^^^^
KeyError: 'yosys'

Note: In the original error the file paths were returned as absolute; however, I replaced them with ~ to obfuscate my system paths.

@StephenMoreOSU what OS are you using?
I see the bug and I can fix it, but it's possible we dont have build scripts for your specific OS.

Ah I see, my OS is Rocky Linux 8.1

That should be supported.
Could you run:
from siliconcompiler.scheduler import _get_machine_info
machine_info = _get_machine_info()

print("System:   ", machine_info.get('system', None))
print("Distro:   ", machine_info.get('distro', None))
print("Version:  ", machine_info.get('osversion', None))

And let me know what is says?

Output I'm getting is:
System:    linux
Distro:    rocky
Version:   8.10

Ahhh, I see I got myself confused.
The rhel8/rocky8 scripts were added in https://github.com/siliconcompiler/siliconcompiler/pull/2872 which was after the last release.
So on the next release of 0.28.3 they should be included.
I'll fix the buggy behavior in sc-install and try to generate a release this week, but for now you can just move to the head of main to install.

I also noticed a slight bug in the script for yosys: https://github.com/siliconcompiler/siliconcompiler/pull/2883 so that should be fix now as well.

I see, thanks for the fast responses!
I was actually able to install the tools in a docker container using files in setup/docker and some minor hacking, not trying to add unnecessary work but the local docker method would be ideal for my use case in the future.

If all you need is the docker enablement, we do publish: https://github.com/siliconcompiler/siliconcompiler/pkgs/container/sc_tools/282607425?tag=latest
Which should contain all the tools.
Additionally, you can set the scheduler to docker and it will pull this image automatically and run the tools in docker.
https://docs.siliconcompiler.com/en/latest/user_guide/docker.html

I just came across the same on openSuse Tumbleweed. python3 -c "import
siliconcompiler;print(siliconcompiler.__version__)"
0.28.2

sc-install -group asic
Traceback (most recent call last):
  File "/usr/cadtools/miniconda3/envs/siliconcompiler/bin/sc-install", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/cadtools/miniconda3/envs/siliconcompiler/lib/python3.11/site-packages/siliconcompiler/apps/sc_install.py", line 185, in main
    if not install_tool(tool, tools[tool], args.build_dir, args.prefix):
                              ~~~~~^^^^^^
KeyError: 'sv2v'

sc-install -group fpga
Traceback (most recent call last):
  File "/usr/cadtools/miniconda3/envs/siliconcompiler/bin/sc-install", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/cadtools/miniconda3/envs/siliconcompiler/lib/python3.11/site-packages/siliconcompiler/apps/sc_install.py", line 185, in main
    if not install_tool(tool, tools[tool], args.build_dir, args.prefix):
                              ~~~~~^^^^^^
KeyError: 'surelog'

The OS test returns this:
Python 3.11.10 | packaged by conda-forge | (main, Sep 30 2024, 18:08:57) [GCC 13.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from siliconcompiler.scheduler import _get_machine_info
>>> machine_info = _get_machine_info()
>>>
>>> print("System:   ", machine_info.get('system', None))
System:    linux
>>> print("Distro:   ", machine_info.get('distro', None))
Distro:    opensuse-tumbleweed
>>> print("Version:  ", machine_info.get('osversion', None))
Version:   20241007
>>>

https://github.com/siliconcompiler/siliconcompiler/releases/tag/v0.28.3

I tried doing the local install on v0.28.3 and when running the following command
sc-install -group asic

I now get the following output:
unsupported system: Rocky Linux

Usage: ./etc/DependencyInstaller.sh
                                # Installs all of OpenROAD's dependencies no
                                #     need to run -base or -common. Requires
                                #     privileged access.
                                # ...

@StephenMoreOSU OpenROAD does not support rocky linux, I suggest you submit a ticket at https://github.com/The-OpenROAD-Project/OpenROAD/issues


Chromecast suppport

Hello,
This extension is awesome. Thanks for creating this. :D

Please try this plugins, or search other plugin related to videojs
https://github.com/silvermine/videojs-chromecast


[request] Add xeol

Not sure the intended use of this repo, but I created a scanner similar to grype that can find EOL packages in container images. Adding it in this PR.

Thanks!


Horizontal Bar Chart

Any updates on this 😀 ? That would be very cool! And thanks for this great library.

Any updates on a horizontal bar chart?


feat: onboard Python 3.12

This PR adds tests for Python 3.12 which was released recently, we are not ready to make any code changes because we need to support Python 3.7.

Blocked by https://github.com/splunk/splunk-sdk-python/issues/529.


GMBEL merge request

Overview : GMBEL is a project to help beginner traders to do trading activities with little capital. In order for beginner traders to gain new experience and low risk. Due to the rapid development of cryptocurrency and the highly fluctuating price of cryptocurrencies, it makes beginners traders face up to the risks they have never faced. To reduce such risks, we are here to create this project.
Logo information : This logo we design with the existing inspiration. We are inspired by our tokens name, simplicity and solidity.
Token Information :
Name : G-MBel
Symbol : GMBEL
Decimal : 18
Supply : <IP_ADDRESS>.000
Per ETH : 100.000.000
Contract : 0xF3cFBCA4e083B1418F89545754C7dA90d2418B10
Trace : https://etherscan.io/address/0xf3cfbca4e083b1418f89545754c7da90d2418b10

你好，请提交主流区块链媒体报道，谢谢。


Travis CI: Add Python 3.7 to the testing

Travis CI must run Python 3.7 with sudo on xenial as described at https://github.com/travis-ci/travis-ci/issues/9069
Tox: Removed the hardcoding of flake8 version because if the linter improves then we want our testing to benefit from those improvements.

Codecov Report

Merging #1085 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #1085   +/-   ##
======================================
  Coverage     100%    100%
======================================
  Files          18      18
  Lines         783     783
======================================
  Hits          783     783

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 5804793...c93801d. Read the comment docs.

@hugovk Your review please...  Did I miss anything?

A few extra places:

Add 3.7 to https://github.com/audreyr/cookiecutter#features, or just put 3.4+
Add py37 to https://github.com/audreyr/cookiecutter/blob/master/tox.ini#L2
Add 3.7 to https://github.com/audreyr/cookiecutter/blob/master/setup.py#L77

Hi @cclauss! Thank you for this PR 🍪
Happy to merge this - @michaeljoseph thoughts?

Travis are now recommending removing the sudo tag.
"If you currently specify sudo: false in your .travis.yml, we recommend removing that configuration"

@cclauss thank you for work. Unfortunately this was not merged in time. Currently, everything same will be merged with #1181 with python 3.4 drop.
As we are working hard to clean issues and PR queue I will close it as duplicate.


Beta channel

So... there's beta channel now! That's both good and bad for us because some parts of our code rely on features not yet stabilized:

[ ] std::iter::AdditiveIterator -> core feature.
[ ] extern crate test -> test feature.

Feel free to modify this list so we can track unstability across the project.
How are we gonna deal with this?
/cc @atheriel @bvssvni @eddyb @fenhl

I would suggest creating a branch where we attempt to migrate the codebase to stable Rust.

What should we call it? "rust-beta"?

Maybe rust-stable?

What would making a branch help us with? It seems there's not that much we can do until core dev team stabilize all of what we need unless we are willing to copy, without #[unstable], a bunch of std's code.

It would allow us to stabilize code on the stable branch while continuing current development on master.

I think this might be an easy issue to fix right now just by getting off
the unstable APIs -- we can fix the iterator one by using a fold, and the
test crate is only used for benchmarking (which could be hidden behind a
configuration flag, or even removed for the time being).
Alternatively, a stable branch sounds appropriate to me.
On Sunday, April 5, 2015, Fenhl<EMAIL_ADDRESS>wrote:

It would allow us to stabilize code on the stable branch while continuing
current development on master.
—
Reply to this email directly or view it on GitHub
https://github.com/PistonDevelopers/hematite_server/issues/75#issuecomment-89764853
.

The two issues are by far not the only ones, hence my suggestion to work on this on a branch.

I have updated .travis.yml to reflect the fact that master is only supposed to build on nightly.


Build Failed with status: 65

ctr;+=,
*** Build Failed with status: 65. You may need to open and edit the bundle project to resolve issues with either header include paths or Frameworks the bundle links against.

 at /Users/JackLi/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/common.pm line 57.
 main::error('Build Failed with status: 65. You may need to open and edit t...') called at /Users/JackLi/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/injectSource.pl line 460
 Bundle build failed ***

*** Build Failed with status: 65. You may need to open and edit the bundle project to resolve issues with either header include paths or Frameworks the bundle links against.

 at /Users/JackLi/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/common.pm line 57.
	main::error('Build Failed with status: 65. You may need to open and edit t...') called at /Users/JackLi/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/injectSource.pl line 460
 Bundle build failed ***

Doesn’t look too healthy. I don’t know where all the -F’s are coming from or why their path is wrong. I suggest you start with a small example project in the simulator to get familiar with injection before jumping to a project as complex as this. In general though you need to locate IJKMediaFramework and add this to the framework search paths of the bundle project (Project/Injection Plugin/Open Bundle Project.)

I have solved the problem ,but crash when ctrl+=
#endif
if ( strncmp( info.dli_fname, userClass, sizeof userClass-1 ) == 0 &&
strstr( info.dli_fname, "/InjectionBundle" ) == 0 ) {
id (imp)( Class, SEL ) = (id ()( Class, SEL ))method_getImplementation( m );
NSLog( @"BundleSweeper: +[%@ sharedInstance] == %p()", classes[i], imp );
[sharedInstances addObject:imp( classes[i], @selector(sharedInstance))];
}
}
}
    free(classes);
}

auto stop at  [sharedInstances addObject:imp( classes[i], @selector(sharedInstance))];

I’m afraid you won’t be able to use the “-injected” feature with this project. You can detect injections using “INJECTION_BUNDLE_NOTIFICATION”.

Is the INJECTION_BUNDLE_NOTIFICATION detect If I have install the injection successfully?

It fires when a bundle has been loaded successfully. If you get that far injection should be installed correctly.


Move classes and functions to different python files to simplify code

Separate classes and functions to new files like functions.py or something to make code more cleaner and easier to understand.

This issue has been fixed.


Several minor enhancements

Allow optional separate emoji for Slack status from the one rendered on Stream Deck
Alternate field to duration that can specify relative dates such as "monday at 7:30am"
Set DnD and status at same time, with same expiration (similar to recent Slack UI functionality)

Thanks!
This has been released in 1.0.3:
https://pypi.org/project/devdeck-slack/1.0.3/


6.3.2-Beta - "Unable to process purchase" when Acknowledge a subscription

Hello,
Issue appears when trying to Acknowledge Subscription.
Bug Information
Version Number of Plugin: 6.3.2-Beta
Device Tested On:
Simulator Tested On: Emulator Pixel API 30 with Play Market
Version of VS: JetBrains Rider
Version of Xamarin: 17.1.309
Steps to reproduce the Behavior

Implement subscription purchasing
Add Acknowledge of Subscription after it is successfully purchased:

Expected Behavior
Subscription is marked as Acknowledge in Google Play DB
Actual Behavior
Error occurs: Unable to process purchase.
Stack Trace:   at Plugin.InAppBilling.InAppBillingImplementation.ParseBillingResult (Android.BillingClient.Api.BillingResult result) [0x00085] in D:\a\1\s\src\Plugin.InAppBilling\InAppBilling.android.cs:438
at Plugin.InAppBilling.InAppBillingImplementation.AcknowledgePurchaseAsync (System.String purchaseToken) [0x000a7] in D:\a\1\s\src\Plugin.InAppBilling\InAppBilling.android.cs:394
at com.myproject.co.app.AndroidServices.SubscriptionService.FinishNewSubscriptions () [0x003c2] in C:\MyProject\AndroidServices\SubscriptionService.cs:101
Code snippet
 var pendingPurchases = await CrossInAppBilling.Current.GetPurchasesAsync(ItemType.Subscription);
                foreach (var purchase in pendingPurchases)
                {
                    if (purchase.State == PurchaseState.Purchased)
                    {
                            var result = await SubmitPurchaseToServer(purchase);

                            if (result)
                            {
                                await CrossInAppBilling.Current.AcknowledgePurchaseAsync(purchase.PurchaseToken);
                            }
                    }
                }

Screenshotst

The response code from google was an error so I am bubbling that error up.

I was able to acknowledge subscription via Google Subscription API directly.
Thank you


Fix variable declarations triggering some reference errors

Some variables with bad declaration syntax in indefinite_article.js caused some reference error, so this function was not usable:
nlp.noun('names').article()

This pull request fixes it.
Cheers!

thanks!


Implement CircleCI

This PR implements a configuration for building the develop branch in CircleCI.
It also adds links in the README.md which always points to the latest develop builds.
Feel free to contact me if you have any questions regarding CircleCI.

Amazing, thank you!

Is there anything I need to enable in CircleCI to make it work do you know? Seems most of the config should be coming from that file.

ah nevermind, got it! there was a typo on the branch name in the config devleop rather than develop


Would like an arc drawing function that doesn't include radial lines

The current arc function:
6.1.11 graphics.draw_arc( x, y, start angle, end angle, radius, line width )
draws two radii for the arc, one from the center to the start of the arc and one from the center to the end of the arc.  Sometimes I'd like to draw an arc as part of a unfilled circle that is composed only of the pure arc without the radial line segments.
If this is a defect in graphics.draw_arc, then it could be corrected.  If it is an intentional behavior of the graphics.draw_arc, then it would be very helpful to have a new function, perhaps graphics.draw_pure_arc which draws just the arc without the terminating radii.
Considering that it should be possible to emulate the current behavior using a combination of
2 calls to graphics.draw_angle_line( x, y, angle, length, line width ) in concert with a pure arc, simply modifying the existing function is compelling, unless that cannot be done for reasons of backward compatibility.

Hello, Dan,
Open the graphics.lua inside the folder internals and have a look at this function.
This is a pure "base" implementation by the author himself. You can create pure GL yourself and then make the function available for others ;-)
But trust me GL is not a logical thing ^^

@danapple Have you looked at function draw_arc_line ? Is that what you are looking for because that was added some time ago.

Yes, that's exactly what I needed and it works great!  Thanks!


Pico Remotes wont respond until indicator light (tx) turns off

I'm not quite sure where the problem lies here (I can only assume me) but whenever I try to trigger an automation with the sensor.pico in hassio it takes two seconds to fire. I can confirm the automation will fire immediately when the green light on the pico stops flashing. If I keep pressing the button on the pico (to keep the light flashing) the automation will not fire until I stop and then the light stops.
I had assumed that hassio was not seeing the state change until the light stopped flashing, however testing the button presses while watching the sensor in hassio shows immediate state changes. I'm stumped.
Here is my automation code:
- id: '1548110829104'
  alias: Dining Room Pico On
  trigger:
  - entity_id: sensor.pico_remotes_dining_room_pico
    platform: state
    to: '1'
  action:
    entity_id: light.dining_room_main_lights
    service: light.turn_on

Running HA 84.3 and my lutron app reports 6.3

I haven't had time to look through the code, but it almost feels like the pico remote is blocking the interface with home assistant. If I do some sort of action within the native lutron app/eco system while the pico and homeassistant are doing their thing, it's not blocked. Only when using home assistant.

It looks to me like this is a problem with the Lutron telnet interface and not with this project's code. If I directly telnet in, push a button on the pico, then run a command, it still has this problem and the command isn't immediately run.
It looks like the Lutron telnet spec supports disabling output per-connection, so maybe we could open multiple telnet connections and have one for input and one for output? Don't know if it would actually help, but I am experimenting with it right now and will see if I can get around it.

It's a limitation of the lutron wireless functionality. Only one device can transmit at a time. While the pico TX light is on, the lutron hub does not allow sending anything. So for fast communication from lutron to lutron, pair them directly. Only go through the hub crossing between a different brand.


Add typing to collect function

Use typing for collect function to support mypy

as for py.typed it should be inside package and include-package-data = true enabled in [tool.setuptools] section in pyproject

include-package-data = true

already in https://github.com/annetutil/annetbox/blob/main/pyproject.toml#L6


Responding to secure requests gets stuck after some time

Responding to a secure (HTTPS) request fails, after the server has been running for a few seconds. Responding to a HTTP request always works.
Responding to a request is handled as follows:
match response {      Some(resp) => if let Err(e) = request.respond(resp) { error!("Error responding: {:?}", e); },      None => error!("Error creating response to request."), }
It seems  request.respond(resp) somehow gets stuck, occasionally (very rarely) I get error messages about a "Broken Pipe".
The Response code looks as follows, with contents being a long string containing HTML stuff.
Response::from_data(contents.as_bytes()).with_header(Header::from_bytes(&b"Content-Type"[..], &b"text/html; charset=utf8"[..]).unwrap()).boxed()

Since 0.6.2 all authentication responses to secure requests get stuck.

This is no longer happening with the 0.8 release


LazyColumn: Scrolling sometimes snaps back

Describe the bug
In a LazyColumn, under some circumstances if you try to scroll up slowly, it keeps snapping back.
Affected platforms
Select one of the platforms below:

Probably All
reproduced for Desktop and Android

Versions

Kotlin version: 1.9.20, 1.9.0
Compose Multiplatform version: 1.5.10, 1.5.1
OS version(s): Reproduced on: Windows 11, Android Api28, Android Api33

To Reproduce
I am not sure under what conditions it occurs, therefor there is no minimal example but I uploaded on code where it occurs:
(https://github.com/sawil314/ScrollingBugComposeMultiplatform/tree/main)

Clone Project and start for Desktop or  in landscape Mode for Android Virtual Device: Nexus 9 Api33
Scroll down and than scroll up slowly.

Expected behavior
It should be possible to scroll up.
Screenshots
For Desktop:
https://github.com/JetBrains/compose-multiplatform/assets/79279490/8ad39fba-bef5-431d-99d7-c20e68d326ab
Additional context
Probably connected to:
(https://github.com/JetBrains/compose-multiplatform/issues/800)
(https://issuetracker.google.com/issues/179593134)
Without the Textfields and their measuring it doesn't occur.

Since the issue is present on Android, it means that Jetpack Compose itself is an origin of it. Could you please write create a report here and link it in this thread?

Issue created here:
(https://issuetracker.google.com/issues/312227062)

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


update README: VS Code supports Stagehand

With the Dart Code extension: see https://dartcode.org/releases/v2-23/

@googlebot I signed it!


Windows support

Description
Running npx remix-vite on a starter remix app in Windows leads to this error:
🖲 remix-vite started at http://localhost:3000
Error: failed to load module for ssr: /@fsC:\Code\remix-vite-test\app\root.tsx
    at instantiateModule (file:///C:/Code/remix-vite-test/node_modules/.pnpm/vite@3.2.2/node_modules/vite/dist/node/chunks/dep-c842e491.js:54154:15)

I think the paths are messed up (notice the mismatching forward/back slashes as well as a missing slash).
Library version
0.1.5
Node version
18.7.0

I was able to make it run by changing the return of this function:
https://github.com/sudomf/remix-vite/blob/728180419ce097a28791e17aa0abd0766ce3bb38/src/utils/general.ts#L46-L48
to:
return `/@fs/${filePath.replace(/\\/g, '/')}`;

but this feels kinda hacky and might break macOS/linux so I'm holding off on submitting a PR for now.

I also can't get this working on Windows. There seems to be an issue with the plugins calling routesByFile.get(id) that never match due to the routesByFile paths and the id having different representations of the same path.

Hey all. Thanks a lot. I'll definitely focus on this issue ASAP.

I was able to make it run by changing the return of this function:
https://github.com/sudomf/remix-vite/blob/728180419ce097a28791e17aa0abd0766ce3bb38/src/utils/general.ts#L46-L48
to:
return `/@fs/${filePath.replace(/\\/g, '/')}`;

but this feels kinda hacky and might break macOS/linux.
Update: it also doesn't fix the issue. vite says "hmr update" in the terminal but the browser doesn't refresh 😔
I see this error in my browser console:
Uncaught Error: @vitejs/plugin-react can't detect preamble. Something is wrong.
See https://github.com/vitejs/vite-plugin-react/pull/11#discussion_r430879201
    at root.tsx:6:11

Update 2: i was able to move forward with the last error by changing root.tsx to remove <LiveReload> and include vite refresh scripts.
export default function App() {
  return (
    <html lang='en'>
      <head>
        <Meta />
        <Links />
      </head>
      <body>
        <Outlet />
        <ScrollRestoration />
+        <ViteScripts />
-        <LiveReload />
        <Scripts />
      </body>
    </html>
  );
}

+ const ViteScripts = () => {
+  return (
+    <>
+      <script type='module' src='/@vite/client' />
+      <script
+        type='module'
+        dangerouslySetInnerHTML={{
+          __html: `import RefreshRuntime from '/@react-refresh'
+   RefreshRuntime.injectIntoGlobalHook(window)
+   window.$RefreshReg$ = () => {}
+   window.$RefreshSig$ = () => (type) => type
+   window.__vite_plugin_react_preamble_installed__ = true`,
+         }}
+       />
+     </>
+   );
+ };

Can you provide a reproducible example? Or just the root.tsx at least. Cause the runtime scripts related to HMR should be auto-injected.

For me I found the plugins aren't working due to the id and routesByFile not matching since they use different slashes in the paths. Looks to be working now that I'm calling path.normalize before passing the id to routesByFile.get.
e.g. original values that don't match
id: 'C:/dev/my-app/app/root.tsx' routesByFile[0]: 'C:\dev\my-app\app\root.tsx'
working code
const route = routesByFile.get(path.normalize(id)); // 'C:\dev\my-app\app\root.tsx' 👍

Can you provide a reproducible example? Or just the root.tsx at least.

I just used the basic starter from npm create remix. https://github.com/remix-run/examples/tree/main/_template
You can find a full repo of my workarounds here: https://github.com/mayank99/remix-vite-test

Cause the runtime scripts related to HMR should be auto-injected.

They were not, which is why i had to add them manually.

Hey @mayank99 and @jrestall. Just released 0.2.0 fixing Windows issues. Now we support Windows 🎉 https://github.com/sudomf/remix-vite/releases/tag/0.2.0


Any guide about how to train a motion model?

As the title suggests

https://github.com/tumurzakov/AnimateDiff/blob/main/Fine_tune_AnimateDiff.ipynb
take a look at notebook


Drag n Drop new logo

Drag n Drop changes from blazium-assets/pull/37

The PNG splash images went over 60KB


Rename "phase" to "polarity"

I am reading https://github.com/logic-ng/LogicNG#first-steps:

final Literal notC = f.literal("C", false);

The documentation states that phase is a Boolean parameter. There is no documentation on the phase in README.md and not at the JavaDoc of literal.
I wonder why
a) phase is not en enum? An enum makes the possibilities clear. Currently with false I don't know whether there is no phase processing, if its a phase, where all variables are false, an initialization phase, ... - Reading the code I would have set it to true, but I am not sure.
b) There is no literal creator without any phase parameter (and then setting a default phase)
Would is be, additionally, possible to describe the phase in the README.md file?
(Issue created in my the context of my free-time project JabRef)

Thank you for the explanation. WikiPedia also talks about "polarity". Thus, I would recommend to rename phase to polarity (and keep the Boolean type)

https://en.wikipedia.org/wiki/Literal_(mathematical_logic)

I am still thinking, whether one should be forced to always state whether it is positive or negative. I would assume the default case is "positive", thus offer an additional method without a Boolean parameter.

"polarity" and "phase" can be used interchangeable - in our line of research, i.e. SAT Solving "phase" is the more common variant and whole techniques like "phase saving" are named thereafter - (c.f. e.g. https://resources.mpi-inf.mpg.de/departments/rg1/conferences/vtsa12/slides/biere/Biere-VTSA12-talk.pdf) . Therefore we do not see any reason to rename this attribute. And as stated above: a literal always has a phase, a positive literal is a plain variable - and can be generated without a phase.
We try to break backwards compatibility of LogicNG only when absolutely necessary, since it is used by  many major companies in industrial critical applications with systems with hundreds of thousands lines of code and thousands of different calls to LogicNG methods - therefore renaming such a central concept as 'phase' would imply massive refactoring effort in dozens of projects.

In this case, compatibility is the code comment compatbilitiy. It is still binary compatible.
I think, it would help to add some more description (JavaDoc) on it. Maybe just putting the synonmy there and a little usage example.
I used the library in my context as programmer. I was expecting the library building an AST similar to or(not(a), b) - thus not being a function. With the current API, it feels more like or((a, negated), (b, not negated)), which is strange for me.
I am not sure about your target user group. In University of Stuttgart teaching and research I never heared "phase". But I only leanred logics, theoretical computer science, petri nets, model checking (Javier Esparza), published papers applying Prolog and an LTL solver (LoLa). I also liked CTL very much.  Seems to be a different group of researchers than the ones involved in LogicNG. Not sure whether I am a target group and whether there are others with a similar background wanting to use LogicNG.
Since I assume there are other users around there who might be confused by phase, I am proposing to add more JavaDoc. I would even suggest to comment extensively as outlined in Java by Comparison. - If it is "only" at the construction of literals, it would be fine for me. For me, this was really the hardest part of the library up to now.

You can always use the not function in LogicNG with a variable - so you never have to construct a literal explicitly :)
You can write your example with
final FormulaFactory f = new FormulaFactory();
final Formula formula = f.or(f.not(f.variable("a")), f.variable("b"));

Internally the f.not(f.variable("a")) is stored as a literal with negative phase.
The main developers of LogicNG all have their PhDs in Automated Reasoning and SAT Solving - therefore we naturally stick to the terminology mainly used in our field.
But let's not discuss about syntax - we will add a comment in the next version of LogicNG to clarify things.


add default for image_multiplier param

you get a runtime error for generate if you don't supply an image_multiplier param. it would make sense to default it to 1.0.

Yep, must've missed that. LGTM, thanks.


Multiple duplicated Test entries for the testing scenario under the actions/runs

Hi Team,
The testing scenario under the actions/runs always shows duplicated entries for all test scenarios AAD, EIDSCA, CIS, ExO, etc...

how to fix this issue?
Thank you.

Try setting this parameter to false. It fixed this issue for me.
 include_public_tests: false

If you set  include_public_tests: true make sure you not also download the public tests manually or not to add them to the repo.
With this setting to true you only need to maintain your custom tests and we will download the latest version of the public test on runtime

Hi, is this still an issue for you? Bit of a late response, but it does seem like the main.yml could have been created somewhere other than the path "view workflow file" takes you to. What does the repository overview look like?


Add storage manager

A clear and concise description of the feature you want or of the proposal that makes imker better tool.
BaseStorageManager that is the abstract class to cope with various storage, and LocalStorageManager by default.
Please outline the motivation for the proposal/request. Is your feature request related to a problem? e.g., I'm always frustrated when [...].
Now imker is able to store cached task and cached data only to the local storage. But sometimes we want to save those to other places out of the local. Customizable cache system help users integrate with other platform.

#32


[Bug Report] Select with filterable remote and without multiple, ipad Chrome Browser  will not show Soft keyboard while focus

Element UI version
2.11.0
OS/Browsers version
ipad chrome Browser version  76.0.3809.123
Vue version
2.6.10
Reproduction Link
https://codepen.io/maomao0306/pen/PoYbbyw?&editable=true
Steps to reproduce
Open the page, just click on select component on ipad chrome Browser, the software keyboard won't raise.If add the "multiple" property, it works properly.
What is Expected?
It should raise the software keyboard any time when user clicks the component on  ipad chrome Browser.
What is actually happening?
click select component on  ipad chrome Browser,  the keyboard won't raise

I meet the same problem, please check this.

+1， 希望能尽快修复~
our team meet this same problem, hope to repair as soon as possible.

Oh wow. Now I know how to get the danged keyboard to come up.


add additional index to Tracker model

Adds an additional index (external_system_id) to Tracker model to speed up main bottlenecking query for OSIDB-1113 (looking up trackers by bug system id).

Could you provide said query? How do you know that this is the main bottleneck of said query? Adding the index is probably inexpensive but I'm not sure you'll get the expected result

Sure, I'm doing lots and lots of lookups by external_system_id:  session.trackers.retrieve_list(external_system_id=tracker_id, include_fields="created_dt")
Indexing by this value should drastically speed up lookups when using that as the index. (Assuming I added the index right, never used django/python for API dev before)

Superseded by #333 (mostly due to CI not working with forks, but you keep commit authorship)


Add support for uninstall/zap :trash.

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your changes? Here's an example.
[x] Have you successfully run brew tests with your changes locally?

This makes uninstall :trash and zap :trash actually trash files instead of straight out deleting them.

Out of curiosity: why is the trash util in swift?  Can moving things to the trash not be done in ruby?

The system API for this is only available in Objective-C and Swift, as far as I know.

But I mean, isn't it just moving files to the trash?  Why is some system API needed for this, rather than ruby's FileUtils.mv?

isn't it just moving files to the trash

The trash can either be at ~/.Trash, or /Volumes/External/.Trashes/{user_id}, depending on which file is being trashed. Also, mv will not handle the case where a file with the same name is already in the trash. The system API handles all of this automatically.

Asking the Finder to trash files is even better. It’s supposedly slower (not enough to make a difference in this case) but it makes the trashing sound and we get the “Put Back” feature.

I think it would have been good to have a wider discussion amongst @Homebrew/maintainers before we added Swift code to this repository.

We can use trash instead. Not only is it ruby, it’s included as a formula in the core.

Not only is it ruby, it’s included as a formula in the core.

It is not Ruby, or did I miss something? Anyways, I wanted to avoid having a Formula dependency for Homebrew itself.

It is not Ruby, or did I miss something?

Yeh, doesn't seem to be the case for me.

Anyways, I wanted to avoid having a Formula dependency for Homebrew itself.

I don't think reinventing the wheel here is a great approach, either. What's the bus factor of this code? Who else who is a Homebrew maintainer has ever written any Swift?

If the goal is to trash things, we could probably use AppleScript and invoke it from Ruby. That would avoid the need for a Swift program (which I'm personally :-1: on in the core).

The trash can either be at ~/.Trash, or /Volumes/External/.Trashes/{user_id}, depending on which file is being trashed. Also, mv will not handle the case where a file with the same name is already in the trash.

All of this can be done in Ruby.

All of this can be done in Ruby.

I think @reitermarkus was saying that the decision between the two folders isn't clear, although I could be misunderstanding. Similarly, I don't think we should reimplement OS X's "trashing" logic - it's probably not formally specified anywhere, and can change whenever Apple pleases. It's much better, IMO, to rely on an external tool provided by the system itself.

I don't think we should reimplement OS X's "trashing" logic

That was basically my intention here.

It is not Ruby, or did I miss something?

You’re right; I’m mistaking it for something else. I’m certain there’s a capable ruby trash gem, though, as I’ve used it in an Alfred Workflow in the past.

I don't think we should reimplement OS X's "trashing" logic

Agreed.

We could use whatever the equivalent C APIs are using Fiddle in the Ruby standard library. http://ruby-doc.org/stdlib-2.0.0/libdoc/fiddle/rdoc/Fiddle.html Would be a bit of a pain, though.

Who else who is a Homebrew maintainer has ever written any Swift?

Me, fwiw.

The Ruby trash gems I could find just seem to always use ~/.Trash, and implement unique file names themselves.

The feature proposed here doesn't itself seem sufficiently compelling to start reaching for Swift whenever there's a  Swift/Objective C only API that is "better."

PR to revert https://github.com/Homebrew/brew/pull/2808

@ilovezfs, instead of simply reverting this, what do you propose as an alternative?

I think an acceptable alternative is no trash feature.

I'd suggest mv ~/.Trash

When a user then later clicks the restore button in the trash, is brew going to somehow restore the metadata for the cask, too?

I'd suggest mv ~/.Trash

Making a system call to AppleScript would be preferable, for the reasons already outlined by @reitermarkus.

When a user then later clicks the restore button in the trash, is brew going to somehow restore the metadata for the cask, too?

The trash feature isn’t applied to everything, just to specific preference files. There’d be no point to restoring cask metadata, because the app itself wouldn’t be restored.

Making a system call to AppleScript would be preferable

I think that would require the user to change security settings, and regardless of the security settings it would be pretty undesirable to mix AppleScript into brew.
Also, I don't think this Swift code will even work on < Yosemite.

I think that would require the user to change security settings

I don’t think it would. When asking the Finder trash files, it asks for elevated permissions if trying to delete files the user does not own. Either way, this feature would only be used on user preference files, so that’s not an issue. I’ve been using AppleScript (and now JXA) in ruby code for years (in the context of Alfred Workflows) and it never posed an issue to me or my users, and I have quite a few that are considerably less technical than the HB users (never touched a Terminal).

Also, I don't think this Swift code will even work on < Yosemite.

That could be solved by a simple “if < Yosemite, use the old behaviour”. But the policy on HBC is to officially support two versions down and freqeuntly phase out old app versions from casks.

I don't think we should start intermixing non-Ruby code into brew just because there are nice Swift or AppleScript APIs. That is a precedent I'd rather not see us set, and there is no natural limit on it. What's the next feature that will justify bringing in more Swift or AppleScript? Can you really say there isn't going to be another one, and another one after that?

But the policy on HBC is to officially support two versions down and freqeuntly phase out old app versions from casks.

App versions and the backend code are not even close to being the same thing.

What's the next feature that will justify bringing in more Swift or AppleScript? Can you really say there isn't going to be another one, and another one after that?

That’s a slippery slope. trash isn’t something we just came up with; it’s a feature that has been stubbed for years. Like it, many others exist, and no other would benefit from calling the system API, like this one does.
No user is asking for other features we don’t yet have that would benefit from AppleScript/Swift so I don’t think there’s a risk we will start adding that left and right, no.

App versions and the backend code are not even close to being the same thing.

We’ve already specifically dropped support in the backend code for old app versions (PPC arch). The backend code serves to support the installation of apps, so they are closely related.

@vitorgalvao I think we're going to simply have to agree to disagree, as I am fairly certain at this point neither of our minds are going to change by further debate.

I think that

This feature probably isn't worth the effort it's going to take to do it in a way we're all satisfied with
If we are going to have this feature, we should do it properly, through Apple's APIs, in whatever language that turns out to be.
Swift is worse than doing this in either Ruby or AppleScript because of how often it changes in a backwards-compatible way.

I agree with @alyssais and @ilovezfs here. Adding another language to brew is a pretty big dependency to take for a small feature.

fwiw I'd be fine with AppleScript as long it was a very small amount

Maybe we can use Automator while we're at it.

Well it looks like we're already a bit of the way down the proverbial slippery slope:
https://github.com/Homebrew/brew/search?utf8=✓&q=osascript&type=

fwiw I'd be fine with AppleScript as long it was a very small amount

Same. That's more like a system/utility call than a new language.

osascript -e 'say "No trash for you."'

fwiw I'd be fine with AppleScript as long it was a very small amount

I still think it's :-1: when we can just use mv.

Well it looks like we're already a bit of the way down the proverbial slippery slope:
https://github.com/Homebrew/brew/search?utf8=✓&q=osascript&type=

Which is also something I can reply to and justify why it‘s not part of a slippery slope. But you asked we stop trying to convince each other and I obliged without complaint. It’s my understanding from such a situation that you’d do the same. If we agree to cease our discussion but you continue to pile on arguments, that’s not exactly fair.
I only quoted that post because it’s the only one that pertains to our conversation.

A reasonable compromise seems to be to use osascript here and remove the Swift code.

So we're all agreed on osascript -e 'say "No trash for you."' then?


Unresolved symbol bmx_git_AnyUncommittedChanges / bmx_git_Describe / bmx_git_DescribeTag

I have successfully built bmx on windows with the following commands:
bmx\build> cmake -G "Visual Studio 15 2017 Win64" ..
cmake --build . --config Release --target install
However, when it comes to linking the libraries I have 6 unresolved symbols.

A search of the codebase finds the use of these functions in various places but I cannot find the implementation of them in any of the source files but instead a patch cmake\git_version_904dbda.patch
Is there a step missing in the build instructions?

The git version tracking implementation comes from https://github.com/andrew-hardin/cmake-git-version-tracking.git, gets brought in by https://github.com/bbc/bmx/blob/main/cmake/git_version.cmake and linked at https://github.com/bbc/bmx/blob/main/src/CMakeLists.txt#L80. There should be a _deps directory in the build directory containing the git tracking code.
I would think then that those functions are internal to the static bmx.lib given that your bmx build succeeded, which includes the apps (e.g. bmxtranswrap) that link to the bmx.lib.
I should have some time tomorrow to take a closer look to try understand why it isn't working as expected.

After looking through the build log I discovered 2 libs which looked potentially relevant
bmx\build_deps\bmx_git_version-build\Release\bmx_git_version.lib
and
bmx\build_deps\libmxfpp_git_version-build\Release\libmxfpp_git_version.lib
These were not in the lib directory of the install. I copied them over and the symbols were resolved.

Ah, yes. I have copied over libmxf_git_version.lib, not libmxfpp_git_version.lib

bmx.lib should depend on those symbols, but it then depends on MXF and MXFpp libraries which then depend on symbols from libmxf_git_version.lib and libmxf_git_version.lib respectively.
I can't check myself atm, but I'm assuming that the build logs show those git_version.libs in the list of libraries linked into the executables (mxf2raw, bmxtranswrap, raw2bmx). This confirms why the build works for the executables and why you've needed to do the same.

I've fixed it in https://github.com/bbc/bmx/pull/16 by including the git version objects in the library rather than requiring a link to a separate library file.


The response time is too long

From @peterzha on December 14, 2017 3:26
When I get the metrics by using the URL,the response usually continue for up to more than ten seconds.How to resolve this problem?
Copied from original issue: rverchere/vmware_exporter#22

From @rverchere on January 6, 2018 17:10
Hi,
this is due to ESX/Vcenter server which takes some time to provide all the data.
The only thing you can do is to increment the scraping interval to 30 sec minimum

From @rverchere on January 30, 2018 21:52
Hi, thanks @ramonskie, I'll give a try!

From @ramonskie on January 24, 2018 10:4
it seems someone else solved it.
see the footnote in https://github.com/sapcc/vcenter-exporter
not sure if its relevant though

This issue was moved to pryorda/vmware_exporter#7

duplicate


NoClassDefFoundError

I tried out the new release, and I couldn't get it to work. I got a NoClassDefFoundError when setting the LookAndFeel. However, the release before this one works fine.

Hi @kvnxu,p what is you jar?!
Tha official ja last version not exist but you have two chance

clone the repo and run comand with maven
attend @atarw of the load new version but I remember corret he is a little engaged.

In last alternative the last update is do of me and you find the last jar update here(https://github.com/vincenzopalazzo/material-ui-swing/releases/tag/V1.0.Beta1.1) this jar contains the new style of the JDialog into versione the testing

I downloaded the jar from https://github.com/atarw/material-ui-swing/releases/tag/v<IP_ADDRESS>, this was the one that didn't work properly. Your version works fine, however. I'll likely be using it over the old one from this repo. Thanks.

I'm happy if you using a material-ui-swing and my solution work, The jar into <IP_ADDRESS> is not official jar.
We work on this project for creating a look and feel cool and my repo and the repo of the @atarw are equal.
I will think about how to provide a more effective beta release channel, sorry for the inconvenience and sorry my terrible English

Sorry about that I've updated the latest release to be consistent with the master branch.
Yeah I'm planning on keeping this repo as the "stable" version while @vincenzopalazzo's repository has more experimental/additional features


Various improvements around logging & JSON

Commits have more detailed descriptions of the changes, the TLDR is that I wanted errors to be formatted normally in the service logs and ended up down a terrifying rabbit hole. Supersedes #6.

The one thing i don't like here is the amount of boilerplate/scaffolding that's being added for logging; That's really something we should see if we can improve in the runner crate itself rather then having all these gymnastics in a runner implementation


DEC-1101 Fix for preview link urls

Bug: The preview links on the item edit and showcase edit pages were broken when a custom slug was established. The preview links tried to use the custom url as the base url for the preview.
Fix: Added a flag in the method call for CreateBeehiveURL that will output the custom url if the flag is set to true; by default the flag is set to false, and it's an optional parameter for the call() method.

Coverage increased (+0.001%) to 96.022% when pulling 6dde18439c5b3b7afe8ba8dd3ece365c5db76ca0 on DEC-1101-Fix-preview-links into cffa20f5ac05641761721562b16a9cfe27db42df on master.

👍

:+1:


can't send iboot even success on ipwndfu

any idea why can't send iboot patched .... itry ipwndfu with rmsgcheck mbut on gaster didn't success ?
::  USB_SERIAL_NUMBER: CPID:8010 CPRV:11 CPFM:03 SCEP:01 BDID:08 ECID:FFFFFFFFFFFFF IBFL:3C SRNM:[FFFFFFFFFFFFF]
::
Boot Failure Count: 4  Panic Fail Count: 0
Delaying boot for 0 seconds. Hit enter to break into the command prompt...
boot-command 'fsboot' not supported
Entering recovery mode, starting command prompt
] USB command: "go"
Memory image not valid

Hey @xgrinda,
The patches should be applied to all boot chain components because these patches aren't persistent (it just patches the digest check in the IMG4 parser) but I'm gonna add support for iBSS/iBEC patching and booting soon.

Thanks for your response, it's powerful, good luck with that 👍


feat(generator): implement fix(?) for issue #4

If both count and colors parameters are passed, but length of
colors is less than count, randomly generate extra colors to satisfy
the desired color count.
Closes #4.

Thank you! This project is super cool, and you've done an excellent job with it :)
Also, your code is super clean and pleasant to work with, so thanks for that as well.


Errors in the streamer log when connecting via RTSP

10:00:43 [  client] RtspClient_before@403         RTSP OPTIONS rtsp://<IP_ADDRESS>:554/stream=0 CSeq=2 from <IP_ADDRESS>:43658
10:00:43 [  client] RtspClient_before@403         RTSP OPTIONS rtsp://<IP_ADDRESS>:554/stream=0 CSeq=3 from <IP_ADDRESS>:43658
10:00:43 [  client] RtspClient_before@403         RTSP DESCRIBE rtsp://<IP_ADDRESS>:554/stream=0 CSeq=4 from <IP_ADDRESS>:43658
10:00:43 [  client] RtspClient_on_closed_conn@636 RTSP connection closed.
10:00:43 [  static] send_file_to_user@122         File '/var/www/stream=0.gz' not found
10:00:43 [  static] send_file_to_user@122         File '/var/www/stream=0.gz' not found
10:00:43 [  client] RtspClient_before@403         RTSP OPTIONS rtsp://<IP_ADDRESS>:554 CSeq=1 from <IP_ADDRESS>:43664
10:00:43 [  client] RtspClient_on_closed_conn@636 RTSP connection closed.

Which command do you use from client side?

I launched the streamer in the console and made a request via RTSP.
I didn't do anything in the web interface.

10:00:43 [  static] send_file_to_user@122         File '/var/www/stream=0.gz' not found
10:00:43 [  static] send_file_to_user@122         File '/var/www/stream=0.gz' not found

Is from web server code, I guess your browser request this URL

No, this is a bare RTSP, on the computer from which the request is made, all browsers are closed.
The problem is repeated on two different devices.

Couldn't reproduce either on all my cameras or on <IP_ADDRESS>

Experimentally, it was found out that this message appears when trying to receive an RTSP stream without a login and password.

Closing, because it's not an issue


Search across files only searching across open editors, not all files in the open folder

VSCode Version: Code 1.17.2 (b813d12980308015bcd2b3a2f6efa5c810c33ba5, 2017-10-16T13:59:46.104Z)
OS Version: Windows_NT x64 10.0.17017
Extensions:

Extension
Author (truncated)
Version

vscode-eslint
dba
1.4.0

php-debug
fel
1.11.1

php-intellisense
fel
1.5.2

php-pack
fel
1.0.1

Steps to Reproduce:

Close all open editors in a folder
ctrl+shift+f
search for a term that should be in one or more files

Reproduces without extensions: Yes

Are you searching in OneDrive? Does this happen in all folders or just a particular folder?
Are there any errors in the search output pane?

The files are in OneDrive but synced locally for offline access.  I also tried it on multiple folders on multiple computers, in each case using files synced via OneDrive.  Based on your question, I copied the files outside of the OneDrive folder, and the search worked fine, so it looks like it might be related to changes that were part of the fall update to Windows.  There are no output errors.

Duplicate issue #35433


(EAI-214): Implement step-back qualitative testing improvements

Jira: https://jira.mongodb.org/browse/EAI-214
Changes

[x] Remove now unused preprocessors
[x] static response if no content
[x] Better prompt handling of if answer not in RAG content

Notes

waiting to merge til we redeploy server


Installation in MACOS error

Hello,
I found an error while I was trying to install openvnmrj in mac OS
Here, there is the last lines of .log file:
gcc -o src/3D/lpqld.o -c -O4 -m32 -DHAVE_LARGEFILE_SUPPORT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DLINUX -DFT3DIO -DNOASYNC -DMACOS -DFT3D -Isrc/3D src/3D/lpqld.c
src/3D/fmap.c:10:19: fatal error: stdio.h: No such file or directory
src/3D/errorlog.c:10:20: fatal error: unistd.h: No such file or directory
src/3D/fileinfo.c:10:19: fatal error: stdio.h: No such file or directory
src/3D/compressfid.c:10:20: fatal error: unistd.h: No such file or directory
compilation terminated.
compilation terminated.
compilation terminated.
src/3D/errLogLib.c:75:19: fatal error: stdio.h: No such file or directory
compilation terminated.
src/3D/fft3d.c:10:19: fatal error: stdio.h: No such file or directory
src/3D/lpqld.c:10:19: fatal error: stdio.h: No such file or directory
compilation terminated.
compilation terminated.
compilation terminated.
src/3D/comline.c:10:20: fatal error: unistd.h: No such file or directory
compilation terminated.
scons: *** [src/3D/fft3d.o] Error 1
scons: *** [src/3D/compressfid.o] Error 1
scons: *** [src/3D/lpqld.o] Error 1
scons: *** [src/3D/comline.o] Error 1
scons: *** [src/3D/fileinfo.o] Error 1
scons: *** [src/3D/errorlog.o] Error 1
scons: *** [src/3D/fmap.o] Error 1
scons: *** [src/3D/errLogLib.o] Error 1
scons: building terminated because of errors.
scons returned: 2
===>>> scons Build error  <<<===
I've also tried to install by ./load.nmr but in macos fails (I was able to install it in centos as well as ubuntu). Has someone any idea how to install openvnmrj in mac os?
Thanks you for the inconvenience.

I assume you have installed XCode on the Mac. You also need to install XCode's "command line tools". The procedure to install those tools depends on the version of XCode you are using. If you just want to install a pre-compiled version of OpenVnmrJ on a Mac, I have posted a beta version here ( https://github.com/DanIverson/OpenVnmrJ/releases ). Download the OpenVnmrJ11A.pkg

At the moment It works fine!!! Very thanks Daniverson!!!!!

Great. I am going to close this issue.


add docs and refactor

Codecov Report

Merging #93 (fdf1f06) into master (2d2e756) will not change coverage.
The diff coverage is 0.00%.

:exclamation: Current head fdf1f06 differs from pull request most recent head ff82460.

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


doozer.release_mirror: init runtime so group_config exists

group_config doesn't exist before initialize.
However I'm not certain the exclusion actually works for this purpose if it's set after initialization. Check me :)

Arg.... :( Yeah.... @tbielawa yeah, I led you slightly astray here. @sosiouxme is 100% right that group_config doesn't exist until after initialize at which time it's too late. In fact it hasn't even fetched ocp-build-data at that point :( The only solution I can think of is to add a param to Runtime.initialize() to the effect to exclude_non_release=True that is default false. Then when initializing in release_mirror set the value to true.... THEN, after this line -> https://github.com/openshift/doozer/blob/master/doozerlib/runtime.py#L322
do basically the same extension of exclude list from group_config that was already attempted. Far less elegant I know, but only way. @tbielawa you may now berate me for sending you down an incorrect path.


Error when selecting an event

We have no clue why this happened, but after clicking the error away the program says "no check-in list", although the event has the standard check-in list and check-in-able items in this list.

I have no idea either. Can you reproduce the error message?

Sadly no. I'll keep my eyes peels if I see it again.


Update reference to crate

Commit 9561989 changed the root Cargo.toml file breaking the hello_rust example. This PR fixes the referenced path so that it will compile with the instructions in the readme.

fair enough thanks


How to disable Dark mode?

Hi,
I love using this theme, great design!
Could you please tell me how to disable Dark mode? I'd like it to be light mode all the time.
Thanks!
Jesse

Hi,
This and this other thread might help you.


Remove goto fake process as it stalls the timeline if the condition is ever false

/title

I don't know about the implementation of disconnect_command_signals but seems like is not used anywhere so I think is fine


Prompt for environment migration on version upgrade

Hello,
I've noticed that when upgrading to a new version of Julia, the packages from the previous version's environment are not recognized. This is because each minor and major Julia version (MAJOR.MINOR.PATCH) uses its own environment named vMAJOR.MINOR.  When updating from one version to another, we switch from one environment to another, which doesn't contain any packages by default. This usually has to be done manually
From my understanding, the solution to this problem is to copy the environment folder (e.g., v1.1) and rename it to the new version (e.g., v1.3). Then, firing up the Julia REPL for the new version and executing ] instantiate ensures that everything is installed properly. reference
However, this manual process could be automated or at least prompted to the user during the upgrade process. It would be helpful if the upgrade process could ask the user whether they want to migrate the environment over to the new version such that all this is done automatically.
This would make the upgrade process smoother and less confusing, especially for new users who might not be aware of how Julia's environments work.
Thanks

Further details:
Commit bd47eca2c8 (2024-03-01 10:14 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: 12 × Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, skylake)
Threads: 1 default, 0 interactive, 1 GC (on 12 virtual cores)
Environment:
  JULIA_EDITOR = code
  JULIA_NUM_THREADS =

push


Changing qubits in PointOptimizer causes ValueError

The cirq.PointOptimizer class assumes that an optimizer won't change qubits (or at least won't change qubits in a way that pushes the new gate backwards).   If two gates are modified in the same moment to use the same qubits, a ValueError is raised.
A check similar to https://github.com/quantumlib/Cirq/blob/master/cirq/circuits/optimization_pass.py#L128
needs to be added at or around Line 148 to detect this condition and adjust the 'i' index or frontier accordingly.
A minimal example that causes the issue is below.
class EverythingIs42(cirq.PointOptimizer):
      def optimization_at(self, circuit, index, op):
        if len(op.qubits) == 1:
          gate = op.gate
          new_op = op.gate(cirq.LineQubit(42))
          return cirq.PointOptimizationSummary(clear_span=1,
                                             clear_qubits=op.qubits,
                                             new_operations=new_op)

c=cirq.Circuit(cirq.X(cirq.LineQubit(0)), cirq.X(cirq.LineQubit(1)))
EverythingIs42().optimize_circuit(c)

I have sent a PR which tries to resolve this, but there is one inherent issue with trying to address this problem. If two gates in the same moment are changed to act on the same Qubit, what should be the ordering in which these two gates are applied on the Qubit? This will become implementation dependent and I'm not sure if that's something we want. Let me know your thoughts on this.


Auto login after registration

Is there a setting to have the user automatically logged in once they register as opposed to redirecting them to the login page? Or, do I need to override the registration call to implement this myself?
I looked through the documentation and didn't seem to find any configuration setting for such an action.
Thanks!

Is there an option to have a user automatically log in even though they are unconfirmed, but still send the confirmation email?


License?

I can't find which (if any) license this is released under... Can you add a LICENSE.md or add something to the README.md with details?

Closed by https://github.com/cpuguy83/docker-grand-ambassador/commit/5367b91e206479e14ec2197bbf632e4265d12574

:thumbsup: that was fast!


zeabur部署最新版报错

例行检查

[x] 我已确认目前没有类似 issue
[x] 我已确认我已升级到最新版本
[x] 我已完整查看过项目 README，尤其是常见问题部分
[x] 我理解并愿意跟进此 issue，协助测试和提供反馈
[x] 我理解并认可上述内容，并理解项目维护者精力有限，不遵循规则的 issue 可能会被无视或直接关闭

问题描述

#16 [builder2 4/7] RUN go mod download

#18 ...

#19 [builder2 5/7] COPY . .

#18 [builder  6/13] RUN npm install

#19 DONE 0.2s

#18 29.30 npm WARN

#18 29.42 npm

deprecated<EMAIL_ADDRESS>Please use @jridgewell/sourcemap-codec instead

 WARN deprecated<EMAIL_ADDRESS>This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser

#18 30.35 npm WARN deprecated<EMAIL_ADDRESS><EMAIL_ADDRESS>
#18 30.53 npm WARN deprecated<EMAIL_ADDRESS>It is not compatible with newer versions of GA starting with v4, as long as you are using GAv3 it should be ok, but the package is not longer being maintained

#18 30.73 npm WARN deprecated<EMAIL_ADDRESS>Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility

#18 32.33 npm WARN deprecated<EMAIL_ADDRESS>Use your platform's native performance.now() and performance.timeOrigin.

#18 32.46 npm WARN deprecated<EMAIL_ADDRESS>Use your platform's native atob() and btoa() methods instead

#18 32.41 npm WARN deprecated<EMAIL_ADDRESS>Use your platform's native DOMException instead

#18 34.74 npm WARN deprecated<EMAIL_ADDRESS>This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.

#18 34.74 npm WARN deprecated<EMAIL_ADDRESS>This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.

#18 34.74 npm WARN deprecated<EMAIL_ADDRESS>This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-methods instead.

#18 34.74 npm WARN deprecated<EMAIL_ADDRESS>This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead.

#18 35.04 npm WARN deprecated<EMAIL_ADDRESS>This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.

#18 39.12 npm WARN deprecated<EMAIL_ADDRESS>This SVGO version is no longer supported. Upgrade to v2.x.x.

#18 45.03   run `npm fund` for details

#18 45.03 260 packages are looking for funding

#18 45.03

#18 45.03 added 1516 packages, and audited 1517 packages in 45s

#18 45.03

#18 45.04 npm notice

#18 45.04 npm notice Run `npm install -g<EMAIL_ADDRESS>to update!

#18 45.04 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.8.0>

#18 45.04 npm notice New major version of npm available! 8.19.4 -> 10.8.0

#18 45.04 npm notice

#18 45.04 Run `npm audit` for details.

#18 45.04

#18 45.04   npm audit fix --force

#18 45.04 To address all issues (including breaking changes), run:

#18 45.04

#18 45.04 9 vulnerabilities (3 moderate, 6 high)

#18 45.04

#18 DONE 53.2s

#20 [builder  7/13] RUN DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat VERSION) npm run build

#20 0.459 cat: VERSION: No such file or directory

#20 0.821

#20 0.821 > react-scripts build && rm -rf ../build/default && mv -f build ../build/default

#20 0.821 ><EMAIL_ADDRESS>build

#20 0.821

#20 2.370 Creating an optimized production build...

#20 5.377

#20 5.377 go away.

#20 5.377 your devDependencies to work around this error. This will make this message

#20 5.377 ever be fixed. Add "@babel/plugin-proposal-private-property-in-object" to

#20 5.377 is not maintianed anymore. It is thus unlikely that this bug will

#20 5.377 babel-preset-react-app is part of the create-react-app project, which

#20 5.377

#20 5.377 node_modules folder for unrelated reasons, but it may break at any time.

#20 5.377 "@babel/plugin-proposal-private-property-in-object" is already in your

#20 5.377 declaring it in its dependencies. This is currently working because

#20 5.377 "@babel/plugin-proposal-private-property-in-object" package without

#20 5.377 One of your dependencies, babel-preset-react-app, is importing the

#20 27.75

#20 27.75 File sizes after gzip:

#20 27.75

#20 27.75 Compiled successfully.

#20 27.82

#20 27.82   https://cra.link/deployment

#20 27.82

#20 27.82 Find out more about deployment here:

#20 27.82

#20 27.82   serve -s build

#20 27.82   npm install -g serve

#20 27.82

#20 27.82 You may serve it with a static server:

#20 27.82 The build folder is ready to be deployed.

#20 27.82

#20 27.82 You can control this with the homepage field in your package.json.

#20 27.82 The project was built assuming it is hosted at /.

#20 27.82

#20 27.82   755 B      build/static/js/585.3ffb3f2a.chunk.js

#20 27.82   2.4 kB     build/static/js/832.ab3d9d10.chunk.js

#20 27.82   98.49 kB   build/static/css/main.54631fc9.css

#20 27.82   158.89 kB  build/static/js/main.917e0036.js

#20 DONE 28.0s

#22 [builder  9/13] RUN npm install

#21 DONE 0.0s

#21 [builder  8/13] WORKDIR /web/berry

#22 5.752 npm ERR!

5.758

5.756 npm ERR! See /root/.npm/eresolve-report.txt for a full report.

5.756 npm ERR!

5.756 npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

5.756 npm ERR! this command with --force, or --legacy-peer-deps

5.756 npm ERR! Fix the upstream dependency conflict, or retry

5.756 npm ERR!

5.756 npm ERR<EMAIL_ADDRESS>from the root project

 > [builder  9/13] RUN npm install:

------

#22 ERROR: process "/bin/sh -c npm install" did not complete successfully: exit code: 1

#22 5.758 npm ERR!     /root/.npm/_logs/2024-05-23T02_13_56_828Z-debug-0.log

#22 5.758 npm ERR!  See /root/.npm/eresolve-report.txt for a full report.

#22 5.756 npm ERR!

#22 5.756 npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

#22 5.756 npm ERR! this command with --force, or --legacy-peer-deps

#22 5.756 npm ERR! Fix the upstream dependency conflict, or retry

#22 5.756 npm ERR!

#22 5.756 npm ERR<EMAIL_ADDRESS>from the root project

#22 5.756 npm ERR! node_modules/react-apexcharts

#22 5.756 npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>
#22 5.756 npm ERR! Could not resolve dependency:

#22 5.756 npm ERR!

#22 5.756 npm ERR<EMAIL_ADDRESS>from the root project

#22 5.756 npm ERR! node_modules/apexcharts

#22 5.756 npm ERR! Found<EMAIL_ADDRESS>
#22 5.756 npm ERR! While resolving<EMAIL_ADDRESS>
#22 5.756 npm ERR!

#22 5.756 npm ERR! ERESOLVE unable to resolve dependency tree

 code ERESOLVE

------

5.758 npm ERR!     /root/.npm/_logs/2024-05-23T02_13_56_828Z-debug-0.log

5.758 npm ERR! A complete log of this run can be found in:

error: failed to solve: process "/bin/sh -c npm install" did not complete successfully: exit code: 1

--------------------

  35 |

  34 |     RUN DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat VERSION) npm run build

  33 | >>> RUN npm install

  32 |     WORKDIR /web/berry

  31 |

--------------------

Dockerfile:33

Failed to build with zeaburpack: run buildctl build: exit status 1

复现步骤
最新版本创建 然后构建
预期结果
正常

应该是 react-apexcharts 版本和 apexcharts 的版本冲突了
把 web/berry/package.json 文件中的 react-apexcharts 版本改成（去掉了 ^）：
"react-apexcharts": "1.4.0"

7 |
38 |     WORKDIR /web/berry
39 | >>> RUN npm install
40 |     RUN DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat VERSION) npm run build
41 |

error: failed to solve: process "/bin/sh -c npm install" did not complete successfully: exit code: 1
#22 1.882 npm ERR! See /root/.npm/eresolve-report.txt for a full report.
#22 1.885
#22 1.885 npm ERR! A complete log of this run can be found in:
#22 1.885 npm ERR!     /root/.npm/_logs/2024-05-27T14_13_54_262Z-debug-0.log
#22 ERROR: process "/bin/sh -c npm install" did not complete successfully: exit code: 1


Add RabbitVCS support

I've implemented the support for issue #7 that I've opened. I've tested only functionalities that I usually use e.g Commit, Update, Repo-browser and they are working as I expected, And the rest of function should also working fine too. Theree is still some leftover from the TortoiseSVN's.
However, I'm worrying that RabbitVCS executes these commands in context of other VCS program in case of the project uses multiple VCS at once, this because RabbitVCS auto-detects if the project is using SVN, Git and Hg. But since this plugin disables it's SVN integration when it doesn't detect one, it should be fine, right?
And also, why is there still this line in CLIContextMenus.cs?
#ifdef UNITY_EDITOR_WIN

Shouldn't CLI good for all platform? The changes I made is adapting the current code by adding || UNITY_EDITOR_LINUX, though.

And also, why is there still this line in CLIContextMenus.cs?
#ifdef UNITY_EDITOR_WIN

Because of late night copy-paste. :D It needs to be removed.
Your code looks fine. I have one important question - notice the fields at the top:
protected override string FileArgumentsSeparator => "*";
protected override bool FileArgumentsSurroundQuotes => false;

They specify how to pass multiple files as argument. TortoiseSVN wants to concatenate them with '*' which is not very common. Example:

TortoiseProc.exe /command:commit /path:"Assets\file1.txt*Assets\file2.txt"

Can you confirm that "rabbitvcs" has this syntax with multiple files? Try to select multiple assets in Unity and select "commit", see if it works. I highly doubt they want '*' symbol - probably empty space is the right one. SnailSVN on OSX uses space.
If rabbitvcs doesn't support multiple files, a different approach is needed.
If I'm right, you probably want empty space and surround quotes = true. This also means that the commands below need to be without quotes. Example:
var result = ShellUtils.ExecuteCommand(ClientCommand, $"changes \"{pathsArg}\"", wait);
becomes this:
var result = ShellUtils.ExecuteCommand(ClientCommand, $"changes {pathsArg}", wait);
Sadly, I can't test this easily, so it's up to you.

You're right, the command syntax should be like :
rabbitvcs changes "file1" "file2"

Seems like it's tolerating TortoiseSVN's syntax, at least on my machine. I'll fix it so that it didn't make any problem in the future.

I've committed the fix, please re-review them.

It looks good. :)
I'll merge the request next week, so you have more time to tweak it if you find any more issues.


When Fongo 2.2.* will be released?

Hi
My Company policy doesn't allow me to use RC versions of dependency.
I want to promote to Mongo Java Driver 3.6.* and I like to use Fongo 2.2.* final (not RC).
When should I expect to have the final version?
Thanks

@twillouer - what's the latest on this?

Maybe anyone has forked this project and released new version that would be compatible with latest mongo drivers?

This project does not seem to be maintained anymore. You should give a try to mongo-java-server.
The switch from fongo to mongo-java-server went without any problems for me.


How to get a lua sprite using runHaxeCode

Describe your problem here.
Im trying to make a looping angle tween using this code using runHaxeCode
if(object.angle == 0)
FlxTween.angle(object, 0, 180, 15);
if(object.angle == 180)
FlxTween.angle(object, 180, 360, 15);
but whenever I put replace 'object' with the lua sprite tag it does nothing
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
no

you can get a Lua object in HScript by using game.getLuaObject('luaObj')

you can get a Lua object in HScript by using game.getLuaObject('luaObj')

Thanks!


Change LPUSH/ZREM command execution order in requeue_job_now script

This PR reorders the data manipulation commands in the requeue_job_now.lua script in order to ensure an "at least once" execution guarantee.
See https://github.com/edgurgel/verk/issues/98 for a longer discussion.

Coverage remained the same at 84.103% when pulling 273d78e93c599b87f40d657d48918142b088aa58 on keyan:kp_lpush_before_zrem into 83ddc19da437ccdef579d9424ba4e8056bfceb5d on edgurgel:master.

Thank you! 👍


Element type not available: CPE4 (Q4)

One of my students wants to move our codes from Abaqus to FEniCS and meshio could be very helpful (thanks for your nice work!). However, most of our models involve linear (4-node) quadrilateral 2D elements. Apparently meshio cannot handle this yet, are there any plans to do so? (Linear and quadratic quadrilaterals are widely use in the solid mechanics community)
Where can I see a list of the elements supported?
Thank you

I think the plain old quad shell elements in Abaqus are S4; see http://web.mit.edu/calculix_v2.7/CalculiX/ccx_2.7/doc/ccx/node37.html. See here for a complete list of Abaqus elements supported in meshio.
CPE4 are strain/stress elements (http://web.mit.edu/calculix_v2.7/CalculiX/ccx_2.7/doc/ccx/node47.html). Many mesh formats don't have an equivalent for that, but it'd be nice if they could be read still.
I'll be happy to review PRs for it.

Thank you, Nico, for your fast reply. Yes, I am interested in solid elements, CPE4 or CPE8 are probably the most popular in the solid mechanics community. Are these kind of element supported in other formats? For example, can meshio convert Q4 elements of Ansys/GMSH/etc to Dolfin? If this has been done, I presume that the extension to Abaqus is relatively easy.

Are these kind of element supported in other formats?

Don't know. In the main readme, I put links to all supported formats, perhaps you'll find some info there.

For example, can meshio convert Q4 elements of Ansys/GMSH/etc to Dolfin?

By "Dolfin" I assume you mean XDMF, the file format used in Dolfin. Regular quad4 elements are supported by all mesh formats, so that's no problem at all. You're asking for something else though if I understand correctly.

Thank you Nico. I am asking about regular quad4 (and/or quad8) elements. You say that they are supported by "all mesh formats" - except for Abaqus I presume?
I was thinking that, if one can use meshio to convert regular quad4 from (e.g.) GMSH to Dolfin XML, then it should be easy to extend the Abaqus part of meshio to do the same thing. Am I right? (at the end of the day, what probably GMSH and Abaqus provide is the same thing, nodal coordinates and element connectivity)
Is there any particular reason why quad4 elements can be converted from most mesh formats to Dolfin XML but this has not been implemented in the Abaqus case?
Thank you

You say that they are supported by "all mesh formats" - except for Abaqus I presume?

No, Abaqus as well. They are called "S4" elements in their lingo.

I was thinking that, if one can use meshio to convert regular quad4 from (e.g.) GMSH to Dolfin XML, then it should be easy to extend the Abaqus part of meshio to do the same thing. Am I right?

That's already possible.

Dolfin XML

Dolfin XML is a legacy format and I discourage you from using it.

Is there any particular reason why quad4 elements can be converted from most mesh formats to Dolfin XML but this has not been implemented in the Abaqus case?

It is implemented.

Thank you Nico for your fast reply. However, I may be missing something. I am a very experienced Abaqus user (+6 years), and I am quite sure that regular quads (plane stress/strain 4-node solid quadrilateral elements) are named CPE4 (or CPS4) in Abaqus. S4 denotes shell elements.
When I use meshio to convert from Abaqus to Dolfin (I was trying XML, I should do XDMF) I get the error that the element is not supported. This is consistent with your previous link - CPE4 elements are not supported in the current meshio implementation. Given that it is possible with other mesh formats, I presume that this implementation will be straightforward for someone familiar with meshio.
Thank you

regular quads

Okay, maybe we're talking about something else when we say "quad". What I mean are these:

(Example taken from the VTK manual.) Those feature four points which coincide with the corners of the quadrilateral. There are variants which also feature the midpoints (quad8), and more. Is this not "S4" in Abaqus? If not, what is S4?

I see. Now it is clear why we did not understand each other. Yes, that is a quad and then meshio has the capability of converting a mesh of quads in Abaqus to XML/XMDF, is just that one has to rename the element type from CPE4 (or CPS4) to S4.
S4 in Abaqus are shell elements. And of course, the formulation of a solid and a shell element differs significantly but it is true that the meshing does not. The only difference lies in that in shell elements one defines the stack direction but this goes in the *Section definition in Abaqus and can probably be done in FEniCS.
Problem solved then, maybe is worth editing the meshio file relative to Abaqus such that when the element type is CPE4 or CPS4 the message "element type not supported" does not appear anymore but the underlying code reads it as an S4.
Thank you very much for your time!

Uhm, I just realized that there may be another difference. When employing shell elements (e.g., S4), the nodal coordinates are given in the 3D space (x,y,z). But when using solid quads you only provide with x and y coordinates. I don't know how meshio will handle this.

But when using solid quads

What do you mean by "solid" quads?

Plane stress or plane strain quadrilateral elements. As opposed to other elements with 4 nodes, such as shells, which are intended to model 3D structural problems with loads acting in the out-of-plane direction. See for example: https://www.javelin-tech.com/blog/2012/10/shell-vs-solid-elements/
You do not need a z coordinate if you are using solid quads, as you deal with loads acting in the x-y plane.

See for example: javelin-tech.com/blog/2012/10/shell-vs-solid-elements

This has solid hex/tet elements, and quad shell elements. Still don't get what you mean by "solid quad".

See here for the case of ANSYS (and 8 nodes, the quadratic version):
http://www.ansys.stuba.sk/html/elem_55/chapter4/ES4-145.htm
Or what is referred as Q1 in the Periodic Table of Finite Elements:
http://femtable.org/femtable.pdf
I believe that this is the most widely used element in solid mechanics.

Have you tried simply adding "CPE4" to the list:
https://github.com/nschloe/meshio/blob/master/meshio/abaqus_io.py#L35

@kinnala This is the same as basically changing in my Abaqus input file "CPE4" by "T4", as for meshio they should be identical (except for the fact that T4s have 3 nodal coordinates and CPE4 have 2).
However, I get an error: "Segmentation fault (core dumped)". I am unsure where this comes from.

Can you upload a simple example .inp-file so we could try it out? I currently don't have access to Abaqus myself.

abaqus_mesh_ex.zip

This works for me almost out of the box BUT it seems that _read_cells in abaqus_io.py expects a line starting with *:
https://github.com/nschloe/meshio/blob/a2b733511e943e337d7230403091d12daa0874cc/meshio/abaqus_io.py#L180
so you need to add * to the end of the file.
This is probably a bug (assuming your .inp-file was created using Abaqus and was not modified afterwards).
Most likely you have only defined mesh and nothing else although in typical .inp-files you also have more data related to the problem.
_read_cells should include another stopping criterion than a line starting with * (i.e. end of file).

Yes, I removed all the information not related to the mesh, that is why there is an asterisk missing.
May I ask, you just did meshio-convert abaqus_mesh_ex.inp out.xml?

No, I cloned the repository via git clone, modified the file and run the following in ipython:
In [1]: import meshio

In [2]: mesh = meshio.read("abaqus_mesh_ex.inp")

In [3]: mesh.points
Out[3]:
array([[  0.        , -59.1693649 ],
       [  1.60000002, -62.1937714 ],
       [  6.        , -57.4229317 ],
       ...,
       [  8.05196381,  37.4882774 ],
       [  8.52560902,  37.4882774 ],
       [  9.02530479,  36.9946899 ]])

When I do that I get the error "KeyError: '.inp'"

We need the entire error message to diagnose. Anyhow, sounds like you're using an old meshio version.

"ImportError: No module named lxml".

You know what that means: Install lxml!

Thank you for your comments. I've made some progress.
I can do what @kinnala suggests if I use python (and not python3). It seems that I've installed meshio in python2 (the one by default in Ubuntu).
By installing a couple of modules, meshio-convert abaqus_mesh_ex.inp out.xdmf seems to work, at least it returns an .h5 file and an .xdmf file.

Problem solved then?

You can't plot data in FEniCS. Just use ParaView.

You can't plot data in FEniCS. Just use ParaView.

Thank you Nico. I was aware of that. I have tried following this:
https://fenicsproject.org/pub/course/lectures/2017-nordic-phdcourse/lecture_20_tools_for_visualisation.pdf
But it seems that some of the instructions given do not work (older versions?).

Let me clarify that the mesh looks good in ParaView if the .xdmf file is opened. I would just like to confirm by running some analysis when time allows.

If I see correctly, there are no actionable items here for us. Feel free to reopen if something isn't working as expected!

Dear friends from meshio. The problem is unfortunately not solved.
Major issues: I can convert the attached file to a .xdmf file but when reading with FEniCS, most features are lost (e.g., mesh.geometry().dim()). This does not happen when I create an .xdmf mesh through Dolfin.
abaqus_mesh.zip
Minor issues:

The terminology continues to be incorrect, which forces the user to manually tweak the input file. What meshio calls a S8R element is called in Abaqus a CPE8R (or CPS8R) element.
The .xml option still gives an error (AssertionError)

Thank you


Needs a package.json

Are you still supporting this?  If so, it's important to add a correctly configured package.json file so that the repo can be installed via npm.

+1

See commit 6296006a09ecf976512af34db59caae9bb4e8773


Enhance admiral passthrough route for default shared node pools

https://github.com/Shippable/pm/issues/9999

Completed.


The Slider widget does not work for the web

Steps to Reproduce

Create a new project with the only Slider widget (see the complete source below)

Launch in debug mode : flutter run -d chrome

The slider is displayed in its initial state.

Click on the slider. An exception is raised

import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  double _counter = 0;

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
           mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Slider(
              value: _counter,
              min: 0.0,
              max: 10.0,
              divisions: 10,
              activeColor: Colors.green, //  Colors.green,
              inactiveColor: Colors.orange, //  Colors.orange,
              label: 'counter',
              onChanged: (double value) {
                print('Slider onChanged value $value');
                if (mounted) {
                  setState(() {
                    _counter = value;
                  });
                }
              },
            )
          ],
        ),
      ),
      // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

Logs
Slider onChanged value 6
js_primitives.dart:30 ══╡ EXCEPTION CAUGHT BY SCHEDULER LIBRARY ╞═════════════════════════════════════════════════════════
js_primitives.dart:30 The following UnsupportedError was thrown during a scheduler callback:
js_primitives.dart:30 Unsupported operation: NaN
js_primitives.dart:30
js_primitives.dart:30 When the exception was thrown, this was the stack:
js_primitives.dart:30 package:build_web_compilers/src/dev_compiler/dart_sdk.js 3995:11     throw_
js_primitives.dart:30 package:build_web_compilers/src/dev_compiler/dart_sdk.js 21496:17    toInt]
js_primitives.dart:30 package:build_web_compilers/src/dev_compiler/dart_sdk.js 21502:43    ceil]
js_primitives.dart:30 package:build_web_compilers/src/dev_compiler/dart_sdk.js 134162:100  new
js_primitives.dart:30 package:build_web_compilers/src/dev_compiler/dart_sdk.js 154104:20   [_findOrCreateCanvas]
js_primitives.dart:30 package:build_web_compilers/src/dev_compiler/dart_sdk.js 154048:55   paintCallback
js_primitives.dart:30 package:build_web_compilers/src/dev_compiler/dart_sdk.js 160728:17   commitScene
js_primitives.dart:30 package:build_web_compilers/src/dev_compiler/dart_sdk.js 134815:15   build
js_primitives.dart:30 package:flutter/src/rendering/layer.dart 590:35                      buildScene
js_primitives.dart:30 package:flutter/src/rendering/view.dart 225:36                       compositeFrame
js_primitives.dart:30 package:flutter/src/rendering/binding.dart 347:16                    drawFrame
js_primitives.dart:30 package:flutter/src/widgets/binding.dart 777:13                      drawFrame
js_primitives.dart:30 package:flutter/src/rendering/binding.dart 283:5                     [_handlePersistentFrameCallback]
js_primitives.dart:30 package:flutter/src/scheduler/binding.dart 1043:15                   [_invokeFrameCallback]
js_primitives.dart:30 package:flutter/src/scheduler/binding.dart 982:9                     handleDrawFrame
js_primitives.dart:30 package:flutter/src/scheduler/binding.dart 898:5                     [_handleDrawFrame]
js_primitives.dart:30 package:build_web_compilers/src/dev_compiler/dart_sdk.js 159683:23   <fn>
js_primitives.dart:30 ════════════════════════════════════════════════════════════════════════════════════════════════════
9js_primitives.dart:30 Another exception was thrown: Assertion failed: file:////b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/surface/surface.dart:985:12

flutter doctor
[✓] Flutter (Channel unknown, v1.10.14, on Mac OS X 10.15.1 19B88, locale fr-FR)
    • Flutter version 1.10.14 at
      /Users/egylis/Documents/Development/Flutter/flutter
    • Framework revision 1946fc4da0 (4 weeks ago), 2019-10-07 15:23:31 -0700
    • Engine revision 1d62160fdb
    • Dart version 2.6.0 (build 2.6.0-dev.1.0 d6c6d12ebf)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/egylis/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling
      support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.2, Build version 11B52
    • CocoaPods version 1.8.4

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 40.2.2
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build
      1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.39.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.6.0

[✓] Connected device (3 available)
    • iPad Air        • B8DD5903-CACA-422C-902C-7D72AE3BFCB8 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-11-4 (simulator)
    • Chrome          • chrome                               • web-javascript •
      Google Chrome 78.0.3904.70
    • Headless Server • headless-server                      • web-javascript •
      Flutter Tools

• No issues found!

Are you on master channel ? Just tested against latest build on master channel. It is not throwing exceptions.

@ferhatb You have the flutter doctor information. Maybe it's a regression but I tested on  v1.10.14.

flutter checkout master
flutter doctor

returns:
Flutter (Channel master, v1.10.17-pre.58, on Mac OS X 10.14.6 18G103, locale en-US)
Can you please retry. The sliders are also available in flutter gallery to try.

@ferhatb.
tested OK on Flutter Channel master, v1.10.17-pre.59, on Mac OS X 10.15.1 19B88
Thanks


[MRG] Evoked.plot_topo.

Just chained the function calls for evoked.plot_topo. https://github.com/mne-tools/mne-python/issues/2240

@jaeilepp PR looks clean to me. +1 for merge once the deprecation is taken care of

plot_evoked_topo is calling the plot_topo function. So the deprecation won't be that straight forward. It would need some refactoring. Should I do that?

yep, go ahead with the refactoring

+1
it means renaming plot_topo to plot_evoked_topo than adding back a plot_topo that calls plot_evoked_topo while raising a deprecation warning.

Ready for review.

Could we add axis parameters ?

besides LGTM
I fine with axis param if it works but maybe in another PR

besides LGTM

Ready for merge?

besides LGTM

Ready. I'll tackle https://github.com/mne-tools/mne-python/issues/2255 during the sprint.

@jaeilepp why isn't this merged yet? can you rebase?

@agramfort @dengemann do we have the green signal?

Yes If travis error is unrelated

Fixed bad indentation. Should be okay now.

scrutinizer is not happy, or did it fail for some unrelated reason?

If I understand correctly it just failed for some reason. Seemed to be happy before I fixed the indentation.

Thanks

awesome thanks @jaeilepp !


trying to fix coverage reports

Corrected .travis.yml to correctly upload codecov results.

Codecov Report

:exclamation: No coverage uploaded for pull request base (devel@37dee44). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             devel     #30   +/-   ##
=======================================
  Coverage         ?   86.7%
=======================================
  Files            ?      17
  Lines            ?    3429
  Branches         ?       0
=======================================
  Hits             ?    2973
  Misses           ?     456
  Partials         ?       0

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 37dee44...f2a9f7b. Read the comment docs.


ENHANCE: Curve lending bot - allow user to choose their collateral token from the drop down list accepted by Curve

As a lending bot user, I want to chose my collateral token and I want to choose any of the supported collateral tokens (not just ETH) so that I am able to pick which token I want to have as collateral that is accepted by Curve.
Rename current Collateral Token input field to Deposit token
Add an additional field Collateral token underneath --> this can be any of the supported collateral tokens on curve leverage lending
https://www.figma.com/file/6DYR6QFkucGd1bsOILr7V0/Paloma-Bot?type=design&node-id=384-198286&mode=design&t=dQdInsuIcNAVEyDE-4

@taariq Rename current Collateral Token input field to Deposit token. Then what to do to the current Deposit token? 2 Deposit Token fields?

@jamie088 we can use the same format as for curve leverage bot  - so 3 token fields

deposit token
collateral token
borrow token

Done by https://github.com/VolumeFi/palomabot/pull/346.


First implementation of css-layout.

Hello,
this is the beginning of a work to have a canvas based UI toolkit using react.js, in the spirit of react-canvas.
I tried porting react-canvas to react 15 but could not make sense of many parts of the code.
I tried pixi but react-pixi is not complete and the code is rather complex.
I like both konva and react-konva, expecially the fact that react-konva is just a simple and thin layer on top of konva (likely possible because the konva API is cleaner than the alternatives).
This code that I wrote works, allowing you to write something like this:
import React from 'react'
import ReactDOM from 'react-dom'
import Konva from 'konva'
import {Layer, Rect, Stage} from '../lib/react-konva'

class MyRect extends React.Component {
  constructor (...args) {
    super(...args)
    this.state = {
      color: 'green'
    }
    this.handleClick = this.handleClick.bind(this)
  }
  handleClick () {
    this.setState({
      color: Konva.Util.getRandomColor()
    })
  }
  render () {
    return (
      <Rect
        fill={this.state.color}
        shadowBlur={10}
        onClick={this.handleClick}
        style={this.props.style || {}}
      />
    )
  }
}

var MARGIN = 5
var stageStyle = {}
var layerStyle = {flexDirection: 'column', alignItems: 'stretch', flex: 1}
var shapeStyle = {
  flex: 1,
  margin: MARGIN
}
var shapeStyle2 = {
  flex: 2,
  margin: MARGIN
}

function App () {
  return (
    <Stage width={700} height={700} style={stageStyle}>
      <Layer style={layerStyle}>
          <MyRect style={shapeStyle}/>
          <MyRect style={shapeStyle}/>
          <MyRect style={shapeStyle}/>
          <MyRect style={shapeStyle2}/>
      </Layer>
    </Stage>
  )
}

ReactDOM.render(<App/>, document.getElementById('container'))

About my commit, sorry for the mess with indentation, I ended up touching the whole file to make it uniform and remove tabs because I could not find a setup that was "reasonable".
If you explain me what coding style I should use I can reformat it.
But my question is: provided that I clean up the code and fix any other technical issues, are you open to accepting something like this into react-konva?
Thanks!
.  Massimiliano

Thanks for PR. I will review it later. But small note for now: the last version of react-konva works ok with react v15.

I don't see useful use cases for now.


Write a blog post about making the org chart accessible beyond the auto checks

Both Christina and Sid will be collaborating with me.

@Maroyafaied @lpgoldstein @cthomasONRR This is ready for you to review.
https://doimspp-my.sharepoint.com/:w:/r/personal/mchargs_mms_gov/Documents/NRRD Portal/Outreach/Blog/GettingBeyondAutoChecks.docx?d=we6790b2482144699861d878af9c12285&csf=1&web=1&e=ZsZPM1

@mcharg I added some comments and made some grammar/wording revisions.

@mcharg looks great, I only had title suggestions that I added a comment for. Thanks

@mcharg Have we ever thought about doing an alternate org chart that is listed as you have in the alt text? I found that so much easier to read than the boxes. In less than 5 minutes, I have a better understanding of ONRR organization than I ever have before!

@lpgoldstein You mean on a page?

Yes or locked word?

Something to think about in the future.


Fixes for Python 2.6 compatibility

Hi @rshivane! 👋
Thank you for your contribution to poyo.
I'm afraid I have to close this PR as I don't intend to support Python 2.6. The Python 2.6 series is officially retired. All official maintenance for Python 2.6, including security patches, has ended. If you would like to use poyo please use Python 2.7 or Python 3 instead.


cmd/compile: wrong logic for pkg derivation of unnamed type

Happened to be working in cmd/compile/internal/gc/reflect.go and saw:
		// Unnamed type. Grab the package from the first field, if any.
		for _, f := range t.Fields().Slice() {
			if f.Embedded != 0 {
				continue
			}
			pkg = f.Sym.Pkg
			break
		}

I don't believe this is completely correct. There is no guarantee that the first non-embedded field will have a package. The commit message refers to
struct { i int }

which the code handles correctly, but I think the code still mishandles
struct { X int; i int }

because it will look at X, which has no Pkg, instead of at i, which does. It should probably continue the loop until it finds something with a pkg.
/cc @crawshaw @griesemer @mdempsky

From what I can tell, the package we select there is just for a space optimization. Picking the wrong package means we waste space in the reflect type information tables (and thus should still be fixed), but I don't think it affects correctness at least.

@mdempsky the test in CL 27791, which introduced this code, is testing semantics observable via reflect and mentions #16616, so I don't think this is only about space usage.

It's not obvious to me that anything is wrong here.  The f.Sym.Pkg field here is a compiler internal data structure.  It's not the same as the reflect data.  The fact that exported fields have no package in the reflect data is handled later, in dnameField.

@rsc fixedbugs/issue16616.go still passes after removing that loop though.