Can't build app // multiple java errors

Describe the bug
While trying to build the app using the 'flutter build apk --split-per-abi' command, the console raises various java exceptions
To Reproduce
Steps to reproduce the behavior:

Install flutter_barcode_scanner (current version is 1.0.1)
Build the apk for the app using 'flutter build apk' command

Expected behavior
Should build correctly without errors
Logs
D:\Documents\Personnel\Programmation\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_barcode_scanner-1.0.1\android\src\main\java\com\amolg\flutterbarcodescanner\FlutterBarcodeScannerPlugin.java:10: error: cannot find symbol
import androidx.lifecycle.DefaultLifecycleObserver;
                         ^
  symbol:   class DefaultLifecycleObserver
  location: package androidx.lifecycle
D:\Documents\Personnel\Programmation\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_barcode_scanner-1.0.1\android\src\main\java\com\amolg\flutterbarcodescanner\FlutterBarcodeScannerPlugin.java:33: error: cannot find symbol
import io.flutter.embedding.engine.plugins.lifecycle.FlutterLifecycleAdapter;
                                                    ^
  symbol:   class FlutterLifecycleAdapter
  location: package io.flutter.embedding.engine.plugins.lifecycle
D:\Documents\Personnel\Programmation\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_barcode_scanner-1.0.1\android\src\main\java\com\amolg\flutterbarcodescanner\FlutterBarcodeScannerPlugin.java:308: error: cannot find symbol
            implements Application.ActivityLifecycleCallbacks, DefaultLifecycleObserver {
                                                               ^
  symbol:   class DefaultLifecycleObserver
  location: class FlutterBarcodeScannerPlugin
D:\Documents\Personnel\Programmation\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_barcode_scanner-1.0.1\android\src\main\java\com\amolg\flutterbarcodescanner\FlutterBarcodeScannerPlugin.java:266: error: cannot find symbol
            lifecycle = FlutterLifecycleAdapter.getActivityLifecycle(activityBinding);
                        ^
  symbol:   variable FlutterLifecycleAdapter
  location: class FlutterBarcodeScannerPlugin
D:\Documents\Personnel\Programmation\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_barcode_scanner-1.0.1\android\src\main\java\com\amolg\flutterbarcodescanner\FlutterBarcodeScannerPlugin.java:268: error: incompatible types: FlutterBarcodeScannerPlugin.LifeCycleObserver cannot be converted to LifecycleObserver
            lifecycle.addObserver(observer);
                                  ^
D:\Documents\Personnel\Programmation\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_barcode_scanner-1.0.1\android\src\main\java\com\amolg\flutterbarcodescanner\FlutterBarcodeScannerPlugin.java:295: error: incompatible types: FlutterBarcodeScannerPlugin.LifeCycleObserver cannot be converted to LifecycleObserver
        lifecycle.removeObserver(observer);
                                 ^
D:\Documents\Personnel\Programmation\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_barcode_scanner-1.0.1\android\src\main\java\com\amolg\flutterbarcodescanner\FlutterBarcodeScannerPlugin.java:315: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Documents\Personnel\Programmation\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_barcode_scanner-1.0.1\android\src\main\java\com\amolg\flutterbarcodescanner\FlutterBarcodeScannerPlugin.java:319: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Documents\Personnel\Programmation\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_barcode_scanner-1.0.1\android\src\main\java\com\amolg\flutterbarcodescanner\FlutterBarcodeScannerPlugin.java:323: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Documents\Personnel\Programmation\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_barcode_scanner-1.0.1\android\src\main\java\com\amolg\flutterbarcodescanner\FlutterBarcodeScannerPlugin.java:327: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Documents\Personnel\Programmation\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_barcode_scanner-1.0.1\android\src\main\java\com\amolg\flutterbarcodescanner\FlutterBarcodeScannerPlugin.java:331: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Documents\Personnel\Programmation\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_barcode_scanner-1.0.1\android\src\main\java\com\amolg\flutterbarcodescanner\FlutterBarcodeScannerPlugin.java:336: error: method does not override or implement a method from a supertype
        @Override
        ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
12 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

Smartphone (please complete the following information):
Tested in emulator, worked correctly, not plateform dependent as it's the build step that goes wrong
Additional context
The app were perfectly working in emulator or on any real device in debug mode few days ago, that's probably due to a flutter update ?

Fixed by updating Flutter to current latest version

Having same error, already run flutter upgrade but still, any other suggestion ?

What's the flutter channel you're using ? Upgrading to stable channel solved the issue for me

I am facing the same problem.. I have the latest version of flutter. any solution?

I am using 1.22.5 stable channel (macOS).
Here are the errors that I am getting,

/Users/mr22726/.pub-cache/hosted/pub.dartlang.org/flutter_barcode_scanner-1.0.1/android/src/main/java/com/amolg/flutterbarcodescanner/FlutterBarcodeScannerPlugin.java:33: error: cannot find symbol
import io.flutter.embedding.engine.plugins.lifecycle.FlutterLifecycleAdapter;
                                                    ^
  symbol:   class FlutterLifecycleAdapter
  location: package io.flutter.embedding.engine.plugins.lifecycle
/Users/mr22726/.pub-cache/hosted/pub.dartlang.org/flutter_barcode_scanner-1.0.1/android/src/main/java/com/amolg/flutterbarcodescanner/FlutterBarcodeScannerPlugin.java:266: error: cannot find symbol
            lifecycle = FlutterLifecycleAdapter.getActivityLifecycle(activityBinding);
                        ^
  symbol:   variable FlutterLifecycleAdapter
  location: class FlutterBarcodeScannerPlugin
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':flutter_barcode_scanner:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 2s
Exception: Gradle task assembleDebug failed with exit code 1

I have latest flutter version but still facing this issue, unable to build apk. Any solution??


[nrf fromlist] net: wifi_mgmt: Pass address instead of value

Fix for not getting expected event information at application. The passing of the address is required not the value, to net_mgmt_event_notify_with_info().
Upstream PR: https://github.com/zephyrproject-rtos/zephyr/pull/59155

Closing as it's merged as part of upmerge.


vectorstores: fix pgvector return nothing when embedding table has ve…

…ctor with different dimensions
Different embedders will have different vector dimensions, and when the embeddings are put into one embedding table, the query will silently error out and return null, which can be circumvented by modifying the sql statement.
Refer to https://github.com/pgvector/pgvector/issues/428
PR Checklist

[ ] Read the Contributing documentation.
[ ] Read the Code of conduct documentation.
[ ] Name your Pull Request title clearly, concisely, and prefixed with the name of the primarily affected package you changed according to Good commit messages (such as memory: add interfaces for X, Y or util: add whizzbang helpers).
[ ] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[ ] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. Fixes #123).
[ ] Describes the source of new concepts.
[ ] References existing implementations as appropriate.
[ ] Contains test coverage for new functions.
[ ] Passes all golangci-lint checks.

@Abirdcfly can you rebase/resolve this this as some pgvector improvements have gone in recently?

Rebased this and validated that the current example produces reasonable results (sidebar: the example's output is not as useful as it could be).
@Abirdcfly can you follow on with a test case (or more elaborate example) that shows/demonstrates the multi-dimension queries working correctly?


Support for adding lambda tags through json file

Currently apex does not support automatically adding or updating lambda tags read through the project.json file. I have added this support on a branch in my repo and would like to discuss this issue before opening a PR. Is there a reason this is not currently supported, and would this feature be desirable?

I just haven't had a need for them personally, but I've seen an issue or two, happy to take a look at a pull-request!

We use tagging to categorize resources and schedule cleanup.  This would be a very useful feature for us.

@tj what happened here? I see that this was merged but I don't see the changes for this on master. I'd like to use the tags support as I have a number of lambdas that need to be tagged based on company guidelines.

@tj @jonathanhughes we are using a custom build of apex in a docker container to deploy our lambdas with tags defined in config and have had absolutely no issues. We would be more than happy to work with you to address anything that may have prevented this from getting released. I can open another PR with the code we wrote if you're still interested in pushing this out.

ah I think I had to revert it due to a panic or something, I forget, I should have left a comment

@tj can we reopen this issue then?

@xoraes @tj I reopened a PR.

Would love to see this feature as well!

Hey,
any news on this? At least some information about whats missing right now?
There is a PR open for 9 months now...

In this case probably just to test that with/without tags don't case any panic()s and that it works as advertised, definitely depends on the feature

@tj @voigt : any update on this. Wanted to know which version this change is going to be in

Hey,
most of the time the tagging worked fine. However, I ran into some issues with the feature from time to time.
I wanted to double check whether its actually the tagging or something on my side.
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x141436c]

goroutine 7 [running]:
github.com/apex/apex/function.(*Function).tags(0xc42015ed00, 0xc4204aa520, 0x280e9f8)
	/Users/christophvoigt/go/src/github.com/apex/apex/function/function.go:934 +0x5c
github.com/apex/apex/function.(*Function).Create(0xc42015ed00, 0xc42040c000, 0x43e, 0xe00, 0xc4203fba40, 0x1)
	/Users/christophvoigt/go/src/github.com/apex/apex/function/function.go:415 +0xd5
github.com/apex/apex/function.(*Function).Deploy(0xc42015ed00, 0x178c758, 0xc42008e1e0)
	/Users/christophvoigt/go/src/github.com/apex/apex/function/function.go:248 +0x2dc
github.com/apex/apex/project.(*Project).Deploy.func1.1(0xc42008e1e0, 0xc42015ed00, 0xc42008e240)
	/Users/christophvoigt/go/src/github.com/apex/apex/project/project.go:205 +0x62
created by github.com/apex/apex/project.(*Project).Deploy.func1
	/Users/christophvoigt/go/src/github.com/apex/apex/project/project.go:202 +0x9e
	to retry, use: --limit @/Users/christophvoigt/go/src/github.com/[...]

What I can already say:

creating tags works fine (on greenfield)
adding/removing/adjusting seems to cause issues


Lots of changes to support the new session API in neo4j-core

Still have a ways to go...

See https://github.com/neo4jrb/neo4j-core/pull/247 for some of what's going on here

[Current coverage][cc-pull] is 97.74%

Merging [#1095][cc-pull] into [master][cc-base-branch] will increase coverage by +0.46%

@@             master      #1095   diff @@
==========================================
  Files           168        166     -2
  Lines         10569      10375   -194
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits          10282      10141   -141
+ Misses          287        234    -53
  Partials          0          0

2 files (not in diff) in spec/unit were modified. more

Misses -4

3 files (not in diff) in spec were modified. more

Misses -3
Hits -2

9 files (not in diff) in lib/neo4j/shared were modified. more

Misses -30
Hits -21

2 files (not in diff) in lib/neo4j/active_rel were modified. more

Misses -7
Hits -2

3 files (not in diff) in ...4j/active_node/query were modified. more

Hits -5

3 files (not in diff) in ...4j/active_node/has_n were modified. more

Misses -8
Hits -11

5 files (not in diff) in ...ib/neo4j/active_node were modified. more

Misses -1
Hits -9

1 files (not in diff) in lib/neo4j were modified. more

Misses -1
Hits -3

2 files in ...pec/unit/active_node were modified. more

Misses -3
Hits -1

4 files in spec/e2e were modified. more

Misses -6
Hits -2

Powered by Codecov. Last updated by [ee45de8...e413bb6][cc-compare]
[cc-base-branch]: https://codecov.io/gh/neo4jrb/neo4j/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/neo4jrb/neo4j/compare/ee45de8b14fffc528d4bb1301fc0956351ea0514...e413bb6949537aec55067d5713f3afbb8b016c2b
[cc-pull]: https://codecov.io/gh/neo4jrb/neo4j/pull/1095?src=pr

Looking forward to see this complete 👍 👍 👍

Yay, this seems to be finally working!  Thanks a lot for help from @ProGM !  I think that it's reporting as not passing because of issues loading neo4j-core from the travis build which is what we'd get when we'd merge to master.  When we do that we can fix the Gemfile
@subvertallchris and @ProGM would you like to look over this PR before we merge it into master?  Don't forget that there is this PR on neo4j-core


WIP: Try testing morph target exports

I don't seem to be able to export morph targets, I thought I'd try updating the tests - but am having trouble running them locally. So opening a PR to see them on a CI system
Related to #1785

It's something specific to my file... can't reproduce it like this.


feat: 使用useForm时调用setFieldsValue后，组件的onChange未主动触发 (#2142)

General

✏ Mark the necessary items without changing the structure of the PR template.

[ ] Pull request template structure not broken

Type

ℹ What types of changes does your code introduce?

👉 Put an x in the boxes that apply

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

Checklist

ℹ Check all checkboxes - this will indicate that you have done everything in accordance with the rules in CONTRIBUTING.

👉 Put an x in the boxes that apply.

[x] My code follows the style guidelines of this project
[x] Is the code format correct
[x] Is the git submission information standard?
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

demo: 表单校验示例中点击设置表单

if (_props?.onChange) {
          _props?.onChange(fieldValue);
        }

上面这段代码，会导致在 componentProps 中使用onChange时，无法获取 formActionType 等参数
{
      label: '服务名',
      field: 'serviceName',
      component: 'ApiAutoComplete',
      componentProps: ({ formActionType }) => {
        return {
          api: findOnlineService,
          labelField: 'value',
          onChange: (value: string) => {
            if (value) {
              const { setFieldsValue, getFieldsValue } = formActionType;
              if (!getFieldsValue().moduleName) {
                setFieldsValue({
                  moduleName: value,
                });
              }
            }
          },
        };
      },
    },```


Slicing of big dask arrays

I'm using dask (currently version 0.17.5) for performing computations on big arrays. Recently I discovered a bug if I perform a slicing operation, see my example below:
import dask.array as da

d1 = da.zeros(1_000_000_000_000, chunks=1_000_000)
d2 = d1[1000:]

assert d1.shape[0] - 1000 == d2.shape[0],\
    f'Size not match, expected {d1.shape[0] - 1000}, got {d2.shape[0]}'

which results in
AssertionError: Size not match, expected<PHONE_NUMBER>00, got<PHONE_NUMBER>00

After some debugging the issue seems to be in _slice_1d:
https://github.com/dask/dask/blob/207afc664d21cdcfda7575f887b4014d31c17575/dask/array/slicing.py#L375
which calculates incorrectly the chunk_boundaries, which seems to be related to an integer overflow. I can fix this use by passing dtype=np.int64 to np.cumsum but I am not sure if it is the best way to fix it and there are maybe more parts of the code in dask where a similiar approach is necessary for big arrays.
Therefore I want to open a discussion here instead of directly opening a PR (which I would be glad to do later).

Thanks for the excellent bug report and analysis @m-rossi .  Yes, I suspect that your understanding is correct.  The one change I would recommend would be to use unsigned integers to get the extra bit np.uint64 :)
A PR would be welcome!

Great idea, thanks.

Is this addressed with PR ( https://github.com/dask/dask/pull/3620 ) or is there more to do here?

Merged.


API.md documentation out of date after PR #471

Describe the bug
docs/API.md says:
The default file sink will flush each log entry as it comes in.

However PR #471 changed the behavior of the default FileSink so it only flushes every 100 log entries.  As a user I was confused by this because it looked like logs weren't getting flushed at all until my program exited and I didn't know about the new buffering behavior.  Probably the docs should be updated.

Good catch. This will correct it. https://github.com/KjellKod/g3log/pull/499


Are recursive replacements on the roadmap?

Hi @coliff,
Firstly, I would like to thank you for doing this project. Secondly, I`ve been trying to find a tool to migrate BS4 to BS5 and this project looked interesting, but the restriction of a flat source directory seems to be too restrictive.
Do you have plans to make replacement recursively? I mean for every file and directory under '/src' perform a deep search replacement. I think this adjust would make your tool more popular and usefull, for me at least :) Most developers have this use case.
As a humble suggestion, if you parametrize the .js to receive in/out directories, I could just make a 'find' based bash script to scan all directories. I dont know how easy/hard is doing it in gulp scripts :) But I`ll try while you dont answer ;)
Best regards,
Thiago

Thanks for the message and suggestion. I agree that the script could be more useful if it allowed for that.
I saw that someone had forked this project (https://github.com/EdRW/bootstrap-5-migrate-tool/commit/d7829a5ce833f68176424422886db73560164f83) and added some config options- including for specifying the input and output directory. I think having that functionality would be great.

I added this functionality in #74 because I needed it urgently in a company project with more than 300 files to search in.

Thanks for that PR @Disane87 ! 🥇


Add Swift 5.x release notes

This patch contains release notes for the new API in Scanner and FileHandle.

@swift-ci please test and merge

@swift-ci please test and merge


build: Update Gradle to version 8.3

See 1. Address some deprecations that result in warnings along the way.

Merging despite the known / temporary SW360 build failure.


Training New Reranker And Benchmarking

Hello,
Great work with a suite of libraries around pygaggle !. Really loved your work. It took me so little time to start work and experimenting on the doc-ranking task.
I have created a new model to see experiments with the Reranker. I wanted to use MS Marco Dataset and see MRR.
I see that this file contains the main script to run for the Marco dataset.
Can you provide a way to extend this module to bring in Outside models for testing and Benchmarking?

Hey!
Thanks for the kind words.
https://github.com/castorini/pygaggle/blob/19b16d28b20bbcead359fc9b4086f33e5c7598f9/pygaggle/rerank/transformer.py#L117
You should look at creating a class like this for an external model if it isn't already included.
And if your model works well you can possibly make a PR and add functionality for it in pygaggle too :)
Then, create a new construction method:
https://github.com/castorini/pygaggle/blob/19b16d28b20bbcead359fc9b4086f33e5c7598f9/pygaggle/run/evaluate_document_ranker.py#L109
Once these two are done, you as is, you should be able to run the rest of the script with little to no changes.
If it is just a regular BERT/T5 with nothing on top, you can just change the function argument to get_model:
https://github.com/castorini/pygaggle/blob/19b16d28b20bbcead359fc9b4086f33e5c7598f9/pygaggle/rerank/transformer.py#L126

Closing... please reopen if there are any additional questions!


Revert "Slows down parallax significantly."

Reverts space-wizards/space-station-14#8691
After having it for a long time, I never ended up liking it and the slowness of the stars looks very janky. Even during shuttle transit it's slow.

It being slow during shuttle transit is a coder issue and not a fault of the parallax itself. This should also not be just flat reverted as the old parallax is Way too fast.

Space is really big

Also I will say these values are bad for scrolling menu parallax so that will also need custom values
tstalker's:
https://user-images.githubusercontent.com/31366439/179257294-ee88848e-b808-4764-bce9-e477849c132e.mp4
yours:
https://user-images.githubusercontent.com/31366439/179257096-e01073d0-ce50-43e2-b92f-71739474a4ec.mp4


Making that React JS work beautifully with Baobab :-)

Hi,
There are a few changes here. Let me summarize:

Fixed so that mixins added will run after the Baobab mixin. This allows mixins to point to the cursors etc. that the Baobab mixin adds. This gives a lot more power to change the behavior of components

The components will now get the state of the cursors added to the state object. The reason for this is that the state object is what React JS uses to evaluate rendering. Now the shouldComponentUpdate and PureRenderMixin are useless and you either have to prevent all rendering (which it actually does now using the PureRenderMixin) or allow rendering and nested rendering all the time. The fix by adding all Baobab state to component state fixes use of PureRenderMixin

Added an option to include the React JS immutable helper. This in combination with the moving of cursor state to component state gives you full control of rendering

Some README updates

Tests of course

Okay, I hope you like!
I have some comments in the 6b11574 commit :-)

Hello @christianalfoni, sorry for the late answer. There are some things I do not understand concerning your PR. I might cherrypick some of your commits so I can integrate it partially for the time being.

Good point. I shall integrate this part.
This seems correct and advisable indeed. Let me just document myself a bit better concerning React so I can reflect on this properly.
I don't get your point here. Doesn't the tree.update and cursor.update already fit your needs?

Hi @Yomguithereal , no worries on late response :-)
I should have explained point 2/3 better, sorry about that. What you want to achieve with React JS is that the component only renders if there is a change in the data model it is based on. Currently the implementation uses "forceUpdate" to render components. The problem with this is that there is no way to avoid rendering when not needed. So in scenarios where you have components that listens to a cursor/tree and the component has a large subtree of components, they will all render, no matter what you do. If one of the subtree components also listens to an update it will render a second time, and so will all its sub components.
By moving the state value of a cursor to the state of the component you are able to control its rendering with "setState" instead. That is something you can control, specifically with the "shouldComponentUpdate" method, which "PureRenderMixin" uses. So that is the first part of the solution.
The second part is when you listen to cursors that holds an object or array. The "PureRenderMixin" is not able to verify a change in the value as it will always be the same array or object, preventing the component from rendering the updates. You can solve this by turning on cloning, but then the component will always render when there is an update, as the array/object will always be different. What you want is the reference on arrays/objects to change when there actually has been a change and that is what "React.addon.update" solves.
So to summarize the flow where you have one component listening to a tree that holds two different array (items and todos):
Push object to array on cursor "items" -> tree emits "update" -> component checks the reference of current "items" array on the state with the new reference coming from the cursor -> It renders because the reference has changed
Push object to different array on cursor "todos" -> tree emits "update" -> the same component again checks for reference change on the "items" array -> It does not do a new render because the "items" array reference has not changed
I hope the summary was okay :-) React JS does recommend using the "addon.update" method in combination with the PureRenderMixin to optimize rendering, so that is basically what I am trying to let Baobab do. http://facebook.github.io/react/docs/update.html

Thanks @christianalfoni for your explanations.
Right now I wonder, how "computed data" fits into the picture.
Facebook suggests to put computed data to the render() method:
http://facebook.github.io/react/docs/interactivity-and-dynamic-uis.html#what-shouldnt-go-in-state
But I think that might be not the best place as it is redundant, if for example two react components need the same computed data.
Now could we handle computed data by
-> not putting the computation into the render() method
-> and not declaring "computed state" in Baobab either
-> but having a method that returns a computed value and calling this method in render()?
Am I right to say, that even if the component doesn't need the cursors' data itself, just the computed data, rerendering would work correctly as long as I pass the cursor (the computed data is relying on) to the react component?

@christianalfoni,
If I understand correctly, moving the cursor data to state has something to do with the prevention of nested renders? I see why forceUpdate is bad and I will indeed follow your PR concerning the move of cursor data to state.
What I don't get is why you need to check the state's differences when using baobab. A cursor will never trigger an update event if its data has not been changed. The only case is when you tell a cursor to update with its already current value (cursor.edit(cursor.get() for instance).
So normally, the part of the state you want to check is only the one which is not relative to your baobab's data.
Are you, in your use case, using a single master component listening to tree updates and not binding key components to cursors?

Hi, yeah, great question!
Lets look at an example. I have 50 components in my application. They are nested in 10 levels. At level 2 I am listening to a specific cursor. Whenever that cursor changes all levels from 3-10 will actually do a render because the specific level 2 component needed to do a render.
To fix this, each component at level 3 will do a "Do I need to render check". They do this by checking their state property (PureRenderMixin). If Baobab saves the state of a cursor on the state object of the component they will be able to check if the state actually has changed, and thus preventing this cascading of renders down the level 3-10.
I think I would get my thoughts out better with a drawing or something. Let me know if my explanation sucks and I will be happy to create a drawing :-)

Ok, so if I understand correctly, the problem at hand here is that the fact that baobab is not totally immutable and keeps references effectively preventing the shouldComponentUpdate of the pureRenderMixin from perform its shallow comparison on the state because of the continuous reference.
I think this is indeed a very important thing to figure out concerning the future of baobab.
The thing is I really love immutability and thinks baobab should be treated "as" immutable but don't want to march completely towards it mostly for perf and lib size reasons (facebook's immutable is fine but a size hulk for instance).
Let's consider the following: what if boabab were to perform internally what the react update addon does? I.e. shifting only the references affected by your update so that the equality checks can be handled gracefully afterwards?

On a different topic, the UIs I build does not often require top-level components to handle cursor data. Rather the leaf components do. But my UIs are rarely very complex and can 1) consider rendering as nearly zero-cost operations and 2) don't have complex sets of nested components.
Your experience with baobab is therefore more than valuable.

Hi again :-)

It would be great if Baobab does what "React.addon.update" does out of the box. I think it is an awesome idea!

It can be difficult to understand the benefits of immutability with React JS. Also the "addon.update" API is an object with special properties ($push, $set etc.), which can be a bit "off putting", as we usually think of APIs as methods. I think those two things combined makes it overlooked very easily. With Baobab and its "select" API, you can easily hide this stuff behind the existing "push", "set" etc. Giving developers a common method API and still get the optimization of immutability with React JS.
I think it is a great idea :-)

I first got into flux when I was building www.jsfridge.com. It is a quite a complex UI and it has lots of application state. I often think of that project when working on flux ideas and contributions. Very glad I can share those experiences in a project like this.

#65 was based on the idea that Baobab state values was not immutable. But generally with flux you use IDs to reference objects, so when going all immutable it might be an idea to investigate selectors that helps with that pattern. For example:

var tree = new Baobab({
  items: []
}, {
  mixins: [React.addon.PureRenderMixin],
  immutable: true
});

tree.select('items', 0) // by index
tree.select('items', {id: 1}) // By prop comparison. Much like underscores "findWhere"

What do you think?

Good afternoon.

I will switch to the react update behaviour soon.
I will try to cherrypick the first commit of this PR.
I will enable the state.cursor (but I need first to solve #44 before so I can simplify the mixin).
I like the select by prop comparison or function and this is what I was foreseeing through #75). I just need to see whether it can be done without too much ado perf-wise.

Good morning!

Yeah, an "immutable" option would be nice I think. It is very React JS specific, at least currently, so forcing it might give problems in other use cases

Cool

Sweet!

Let me know if you would like a new pull request for the mixin fix and/or if I can help you out with any of the other issues.

is done. Moving to other points of the list.

Well, that was fast :-)
This is the functionality of the React JS immutability helpers. I have strike through the ones I suppose already works with immutability?
{$push: array} push() all the items in array on the target.
{$unshift: array} unshift() all the items in array on the target.
{$splice: array of arrays} for each item in arrays call splice() on the target with the parameters provided by the item.
{$set: any} replace the target entirely.
{$merge: object} merge the keys of object with the target.
{$apply: function} passes in the current value to the function and updates it with the new returned value.
It would be nice to get the splice especially, but without the really cumbersome API from Facebook.  It would be a lot better to just replicate the native API, but maybe consider having the "findWhere" possibility here too?
tree.select('items').splice(0, 1);

Sorry, I was a bit misleading, I mixed 1 with 2. I only cherrypicked your commit for the time being ^^.

Ah, hehe ;-)

is now done.

I am listing commands requiring a reference shift:

$push
$unshift

The other are already shifting the reference aren't they?

This is awesome, looking forward to the release, testing it out!
You are referring to $splice and $merge?

1. is now done and affected references will be shifted at update when activating the shiftingReferences option. Baobab's update behaviour shall then be identical to react update's one.
I will add more commands later.

Awesome! You have a new release now? I see npm does not have a new version. No worries, I can just play around with the version on the repo.

I want to wrap some more updates before making a npm release. But it will arrive soon.

Hello @christianalfoni, the 0.3.0 version has been released on npm. You can find the changelog here.
I am therefore closing this PR :)

Hello everyone!
Can anyone help me with this? I want to remove two items from a Baobab Object at the same time. After several seconds I need to remove some items but when I remove the first one, the index is updated and then the second item is not found. Help me please!!

Hello @ismael-hompanera. As for raw JavaScript arrays, you should unset array items in descending order:
var a = ['one', 'two', 'three'];
// Let's say I want to drop 'one' & 'three'
// -> I need to drop the 0 & 2 indexes

// The following will not work because the list will change and when we arrive at 2, it does not exist anymore and has become 1
a.splice(0, 1);
a.splice(2, 1);

// Just delete the items in reverse index order:
a.splice(2, 0);
a.splice(0, 1);

If you have a problem because the second unset might happen several times after the first one, then it's another problem that can be solved differently. But for now, does this solve your problem?

Thanks @Yomguithereal , finally I resolved it with unset(element).


feat(98_esmxport): add esm default export

Recently I upgraded the xlsx version of the project from 0.15.6=>0.18.5, which caused the project to report an error, and I found that the previous project used the following syntax
import xlsx from 'xlsx';
...
xlsx.read(...)
...

This upgrade causes the failure to feel still not very good, should you consider adding a default export?
Thanks for the answer

There's one upgrade caveat that needs to be noted: https://docs.sheetjs.com/docs/getting-started/installation/frameworks#xls-support
The CJS build includes the codepage dependency.  This worked in the past when the library only shipped with the NodeJS and browser standalone builds.  Webpack and other bundlers used the browser build without question.
ESM is a messy ecosystem.  Thanks to incompatibilities between Node ESM / Browser ESM / Deno ESM / "Bundler" ESM, there was no universal way to import the codepage library from the main script.
The uniform solution is to invert the flow.  The ESM builds do not import any dependencies by default, and you now must manually import the codepage tables for XLS support:
import * as xlsx from "xlsx";
import * as cptable from 'xlsx/dist/cpexcel.full.mjs';
xlsx.set_cptable(cptable);


[patch] Cherrypick changes from merging main into Joerg's branch

I should have been more careful to put the generic changes in separate patches and then merge those changes into the main->JNnodes branch, but this will suffice. Just minor stuff: access points for the new for-nodes, and adding pandas to the requirements.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
15 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.04%) to 89.306%

Files with Coverage Reduction
New Missed Lines
%

io_preview.py
7
95.03%

node_library/standard.py
8
92.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.04%

Covered Lines:
3524

Relevant Lines:
3946

💛  - Coveralls


Broken Eye missing MovieClip.swapDepths

Can't click on the eyes.
SWF: 34e337fc371cfcf816abcc4245cbc80ff99aaaf894bd61b0e85ebf0d90dd3381 (Direct Link)

Works for me now.


[BUG] Portal query does not complete

Describe the bug
Portal query does not complete
To Reproduce
Steps to reproduce the behavior:

Go to the portal
Search for M81 with a search radius of 1 arcsec
Click search

Expected behavior
The query should finish, with no results because m81 is not in the field of view of DP0
Screenshots
Here's the query I input:

Desktop (please complete the following information):

OS: Windows
Browser: Chrome

Hi @nsabrams -- thanks for the report!
We are currently experiencing some difficulty with Qserv which is impacting many users' queries.  This may result in abnormally long query execution times, such as you have noted here.
The team is actively pursuing a fix for this right now, and we will keep you all updated here and on other reported issues.  In the meantime we are manually intervening on the server to keep query processing moving along.  Unfortunately, the best advice I can offer at this time when encountering a "stuck" query is to retry after a few minutes.
Thank you for your patience while we work out this bump -- we hope to have smooth query service restored for all of you soon.

Consolidating under https://github.com/rubin-dp0/Support/issues/14 - please subscribe to that for updates.


Made exception more helpful

The exception did not provide adequate context for chasing down the root cause of the error. By adding the field name and affected entity, locating the issue is considerably easier.

thanks ;)


feat(sidepanel): introduce side panel component

Contributes to: https://github.com/carbon-design-system/carbon-for-ai/issues/16
Description
Very much a draft version of the SidePanel.
It is currently based on the branch clean_main.
It has a number of missing features
Questions:

Button set does not re-order when stacked. I am uncertain if the behavior is possible with Web components
Story knobs not working as expected even when changing stories. Not found a declaration form that is either succinct or correctly updates even between stories. Ideally it should be possible to declare many stories with a single template and different default knobs.

Review:

Feedback on the component produced so far would be useful, as it is the fist Web Component I have produced.

For feature parity with the React SidePanel the following are required

[ ] button set to re-order when stacked
[ ] Selector-initial-focus not functional
[ ] Add 2nd step story
[ ] Fix action bar refresh bug - this is a circular resize/scroll issue in reality the HTML needs a refactor to correctly use sticky
but that involves changing the IBM Products code https://github.com/carbon-design-system/ibm-products/issues/4065

NOTES:

Storybooks feels a bit unwieldy for WebComponents, but that may just be use of V6 storybook.

Added closes to PR body.

@annawen1 @ariellalgilmore I realise there are some conflicts to resolve, but would love some feedback on the WebComponent SidePanel implementation so far. Just want to make sure I'm not going in completely the wrong direction with my first WebComponent.

Despite the TODO list I think the component is ready to go experimental @jeffchew @annawen1 @ariellalgilmore
The most obvious issue is the fact that changing some Knobs fails without a refresh or closing and opening the side-panel. This is a bit annoying but not a functional issue as far as I am aware.
There is too much javascript in the title scroll animation and it feels a little flaky. This does not seem to happen in React, but I would like to revisit the React SidePanel to address and update styles. The 15/16 is almost unmaintainable and it took quite a bit of effort to get the Lit component lifecycle to mimic the React behavior. I suspect nothing more than timing is hiding some of the undesirable behavior (at least one repeating loop).

We do have logic to create feature flags for the experimental components that would prevent it from showing in storybook, but since we now have the "experimental" section in storybook I don't think it's necessary. So no additional steps to do in order to ensure this as an experimental component.

@annawen1 queries

@extend seems to get an extra #side-panel selector in CSS (higher specificity) than following CSS is this normal?

@annawen1 queries

@extend seems to get an extra #side-panel selector in CSS (higher specificity) than following CSS is this normal?

sometimes that is the case. if we haven't been able to get the @extend to specify correctly then we end up just copying and pasting the styles

Added a number of updates based on the review.
Additional work is required for full feature parity, mainly re-order of ActionButtons if possible. There is also a fix for the initial select and some refactoring of the Carbon for IBM Products side panel to be accounted for. I would recommend using a separate PR for that work.

LGTM code wise! not sure if we need a design review on this

Should not need a design review, should happen in @carbon/ibm-products for the side panel component.


Nested patterns with dependency fails

module Test
type foo =
  | MkFoo: nat -> foo
assume type bar : foo -> Type0

let fails (x: (f:foo & bar f)) =
  let (| MkFoo i, _ |) = x in
  i

(* .\test.fst(8,2-8,3): (Error) Expected type "f:Test.foo & Test.bar f"; got type "uu___151023:Test.foo & uu___unification_ 26567 x uu___150652" *)
(* 1 error was reported (see above) *)

(* let works (x: (f:foo & bar f)) =  *)
(*   let (| mk, _ |) = x in  *)
(*   let MkFoo i = mk in *)
(*   i *)

Related to #291, #682?

That example seems to work now, but projecting the second component fails with
$ cat Test.fst
module Test
type foo =
  | MkFoo: nat -> foo
assume type bar : foo -> Type0

let fails (x: (f:foo & bar f)) =
  let (| MkFoo i, j |) = x in
  j
$ ./bin/fstar.exe Test.fst
./Test.fst(8,2-8,3): (Error) (*?u59*) _ x is not equal to the expected type Test.bar (Test.MkFoo i) (see also ./Test.fst(7,18-7,19))
1 error was reported (see above)

This failure is accurate. Without an annotation, the locally bound variable escapes its scope. And the error message (if somewhat obtuse) indicates this: the expected type is a function of the variable x only, not i.
If you annotate it like below, it succeeds:
module Test
type foo =
  | MkFoo: nat -> foo
assume type bar : foo -> Type0

let fails (x: (f:foo & bar f)) : bar (dfst x) =
  let (| MkFoo i, j |) = x in
  j

Closing.


Need a precompiled package of erlang21

I m looking for a precompiled package for erlang 21 for ubuntu 16 and 18. Can you help

Hi there, we could help, we that needs to be an adhoc version. If I m not wrong we contacted you today.


ENDPOINT Reference

[Enter feedback here]

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

ID: 5eb90387-ddb2-8fe2-69d5-828a483cb409
Version Independent ID: ed7533b0-9b54-5604-b59a-97f40031afa4
Content: Deploy a Spatial Analysis web app - Azure Cognitive Services
Content Source: articles/cognitive-services/Computer-vision/spatial-analysis-web-app.md
Service: cognitive-services
Sub-service: computer-vision
GitHub Login: @PatrickFarley
Microsoft Alias: pafarley

I believe the doc needs updating to show that "ENDPOINT" actually now reads "BILLING" in the manifest file.
"EULA": {
"value": "accept"
},
#This should now read BILLING
"ENDPOINT":{
"value": ""
},
"APIKEY":{
"value": ""
}

Thanks for the feedback! We are currently investigating and will update you shortly.

I have created a PR to fix this point. Thanks for pointing out it again.


Parse table relation column not showing after migration

The relation column which is being created in parse tables from PFRelation class is not showing anymore on mongodb after migration.
Kindly please provide any details how would that work or show?

Relations are stored in a Join table, not on the objects. Do you see tables starting with _Join?

Yes _Join with table  name shown but would that work as before with PFRelation class??

That's how it's always been


feat(shipper): add amazon.nl support

Proposed change

Add Amazon.nl support.
Type of change

[ ] Dependency upgrade
[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (which adds functionality)
[ ] Breaking change (fix/feature causing existing functionality to break)
[ ] Code quality improvements to existing code or addition of tests
[ ] Documentation update
[ ] Adds a new shipper
[x] Update existing shipper

Additional information

This PR fixes or closes issue: fixes #925

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

Project coverage is 94.38%. Comparing base (8608d22) to head (8a4475b).
Report is 9 commits behind head on dev.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files

@@            Coverage Diff             @@
##              dev     #926      +/-   ##
==========================================
- Coverage   95.07%   94.38%   -0.69%
==========================================
  Files           8        8
  Lines        1482     1532      +50
==========================================
+ Hits         1409     1446      +37
- Misses         73       86      +13

Files
Coverage Δ

custom_components/mail_and_packages/const.py
100.00% <ø> (ø)

... and 3 files with indirect coverage changes


Verify EthPM registry contract on deploy

In order to increase trust to the registry contract, it would be awesome if it automatically verified with ethpm registry deploy ... comand in blockchain explorers like Blockscout or Etherscan since both of them support verify API endpoints:
Blockscout: https://blockscout.com/eth/mainnet/api_docs (no need API key)
Etherscan: https://etherscan.io/apis#contracts (need API key)

Great idea, thanks @vbaranov


Copy button for Blueprints

There should be a copy button to create a new Blueprint based on an existing one.

I shall this one next


ppwater: Watch aaryashree.in

ppwater requests the watch of the watch_keyword aaryashree\.in. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

aaryashree\.in has been seen in 2 true positives, 0 false positives, and 0 NAAs.

Approved by rene in Charcoal HQ


Why GeoReference and not Area class like for the other Location-related API

Problem description
I'm wondering why a specific geoReference attributes defined with GeoReference  class in this API while in other APIs from Device Location family we use area attribute with  Area class as defined in commonalities common yaml.
POSTAL_CODE could be defined as area specialization as CIRCLE or POLYGON.
I tend to think that for consistency we should try to re-use API attributes from one to another.
Possible evolution

Alternative solution

Additional context

OK thanks @fernandopradocabrillo . I tend to think that first, the area as defined today should be extended to add the postalCode and second, each project could select a subset of area specialization depending on the API requirements.
But ok, not here the place to discuss this and probably should be in commonalities. If you're agree we can close the issue.


Animating the placeholder text on homepage is bad for accessibility

Description

Animating the placeholder text of the search bar on the homepage every 100ms is a big problem for accessibility. We should find alternative approaches for this animation.
Reproduction

Visit homepage using AT.
Experience the horror.

Expectation

The animation should be a purely ornamental aspect of the homepage, and should completely cease to exist for assistive technologies.
Additional context

This issue was branched from the homepage PR #593.
Resolution

[ ] 🙋 I would be interested in resolving this bug.

We can probably fix this by putting the animation inside of an aria-hidden, absolutely positioned element with a white background above the real placeholder (which will always contain the full text).


fix: Use same port when restarting Nuxt with random port used

Types of changes

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

Description

It's only for nuxt dev command.
When the given port is already used and Nuxt uses a random port, changing nuxt.config.js will restart the server but it will assign another port again and the DX is ruined.
This PR aims to re-uses the same port when a random port is assigned at first.
Checklist:

[ ] I have added tests to cover my changes (if not applicable, please state why)
-> Will need some help here @clarkdo 🙏
[ ] All new and existing tests are passing.

Can we move used port variable to the listener.js file? Memorizing random port and reusing it again.

Will do it :)

Codecov Report

Merging #5793 into dev will decrease coverage by 0.03%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##              dev    #5793      +/-   ##
==========================================
- Coverage   95.69%   95.66%   -0.04%
==========================================
  Files          82       82
  Lines        2672     2674       +2
  Branches      684      685       +1
==========================================
+ Hits         2557     2558       +1
- Misses         97       98       +1
  Partials       18       18

Flag
Coverage Δ

#e2e
100% <ø> (ø)
:arrow_up:

#fixtures
50.52% <0%> (-0.04%)
:arrow_down:

#unit
92.63% <66.66%> (-0.04%)
:arrow_down:

Impacted Files
Coverage Δ

packages/cli/src/commands/dev.js
82.75% <66.66%> (-2.43%)
:arrow_down:

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 21aaef3...d6d45ae. Read the comment docs.

Thanks @pi0 for the refactor and tests ❤
I reviewed and approve (but cannot through GH since I am the author of the PR).


Handle 'multi' languages/subtitles better

Language
Multi language releases usually list their languages, though I'm not sure if there's a difference between listing e.g. "English" and "Italian", and "English", "Italian", and "Multi" - does "Multi" imply there's more languages than those listed, or is it redundant? Either way, is this standard, or do different groups do different things? Unless it's always redundant, should likely add "Multi" to the output language list, as it's useful to have in case it does have additional meaning, and there are releases with just "MULTi" strings:
Blackish.S01E10.MULTi.1080p.WEB.H264-CiELOS[eztv]
Usecases of language would usually look for specific languages in the parts list anyway, so having a non-language would be fine.
Subtitles
In cases like above, where "Multi" might be redundant, should do the same and just include it.
Currently, if the subs match has no listed languages, it just standardises to "Available". This is true if it's just "subs", or if it's "MSubs", which means multiple subs are available. To be consistent with languages, and to provide a useful distinction, this should also change to being "Multi".

Uhhhhhh this already seems fine? When not standardising, language never has multi and subtitles sometimes does but otherwise you'd just have nothing there so that's fine. When standardising, it is never there.


Please invite me to the Recode-Hive GitHub Community Organization

Name
Suvadip Sana
Discord Username (if applicable)
aquassuva8311
Additional Context
Please accept my invitation. I would like to join this wonderful community.
I would be very grateful if you commit my kind request @sanjay-kv sir.

Invitation sent to join the GitHub Organisation. Welcome to the community 🎉
Don't forget after accepting to make it public so it appears on your GitHub profile for everyone else to see. You can do this by finding your name in the GitHub organisation list and change the dropdown to public https://github.com/orgs/recodehive/people


Dynamic reservations

@edgefox thank you for this! Our team at Mesosphere will review next week.

After deeper review I think there are some inherent design issues with the approach implemented in this pull request.
The philosophy of cassandra-mesos so far has been to avoid attempting to do feature detection against mesos due to fragility and maintenance concerns. Attempting to read the version from the master is very very fragile code (endpoints can go away) and should be removed and not included.  Then the project documentation should be updated to declare a new minimum mesos version of 0.24.0 if dynamic reservations are to be used and left at that.
A new parameter has been added to indicate whether resources reservations should be made or not CASSANDRA_RESERVE.  This parameter should be used to signal to cassandra-mesos whether it should attempt to create resource reservations.  Since role and principal are required in order to create a reservation the user should be expected to provide values, no default principal should be assumed.
The new method reserveResources added to CassandraScheduler effectively just attempts to reserve resources on the node as long as the number of nodes with reservations is lower than the target number of nodes without coordinating that the nodes are actually launched on the node with the reservation. CassandraCluster is the component with the information necessary to determine if a resource reservation should be made on the node. I would expect to see a new similar to this one added to CassandraCluster that CassandraScheduler would then call during CassandraScheduler#evaluateOffer.
CassandraCluster#_getTasksForOffer should then be updated to only launch executors on nodes that have resources reservations.
There is no code that Unreserves resources when a node is terminated, it's not okay to leave a reservation in place when a node is moved to a new host.
No unit or integration tests were added to verify that the new code actually does what it's supposed to and results in the correct state changes.

Hi, any update on this PR? We are looking into running this framework w/ added support of persistent volumes, and I think running on reserved resources is a prerequisite?

This repository is deprecated. Please use the latest supported framework here: https://github.com/mesosphere/dcos-cassandra-service, and provide feedback for us here: https://dcosjira.atlassian.net/browse/CASSANDRA.


remove redundant packages

dotenvx uses @inquirer/prompts which just exports all other @inquirer/ packages. as it only really uses the confirm function, which is just a re-export of @inquirer/confirm, this pr replaces usage of @inquirer/prompts with that
removes update-notifier's usage of configstore and changes it to use conf instead, which is described as an alternative and it's already used by dotenvx
remove semver-diff, can be replaced by a oneliner with semver.gt
remove xdg-basedir as it was imported once in update-notifier but never used (vscode even complained about an unused import)

@motdotla this reduces the dependency count from 192 to 165, hope this pr works and helps dotenvx 👍

now down to 147 https://npmgraph.js.org/?q=https%3A%2F%2Fraw.githubusercontent.com%2Fdotenvx%2Fdotenvx%2Fmain%2Fpackage.json

nice! saw your recent pr that removed some more deps, good work :)


Live preview html not updating with

Hi,
I've read through the troubleshooting guide and it mentions that you have to manually refresh the browser if you have embedded JavaScript - but I can't see any mention of Live Preview not working just when <script> tags are included to pull in external JavaScript files.
Do you have to manually refresh the browser if any <script> tags are used at all?

Posting here rather than opening new issue. I am experiencing this problem running 1.6.0-16680.
In particular, I have narrowed the problem down to prism.js, both locally and externally (cdn). This script is the only one that messes live preview up, whereas using jQuery, modernizr, and other various polyfills does not affect live preview.
For me, with the script included, editing html results in live preview doubling the dom element being edited without css styling. The duplicate is updated, whereas the original remains unchanged, unless you refresh.

Also, it does not matter where the script is placed for me, either in head or body


System attributes for generic systems

Hi,
This is a request for a new feature.  Currently, we cannot use apstra_datacenter_device_allocation to set the system attributes of a generic system.  If I attempt to do so, I get this error...
â”‚ Error: invalid configuration
â”‚
â”‚   with apstra_datacenter_device_allocation.generic-systems["server3"],
â”‚   on build.tf line 48, in resource "apstra_datacenter_device_allocation" "generic-systems":
â”‚   48:   system_attributes        = {
â”‚   49:     name                   = each.value["name"]
â”‚   50:     hostname               = each.value["hostname"]
â”‚   51:   }
â”‚
â”‚ system_attributes may be specified only for "switch" type systems, but the system with label "my_single_001_sys001"
â”‚ has type "server"
I do see that there a previously "solved" issue related to this.  The fix to the issue ensures "server" type systems cannot have their system attributes set with the apstra_datacenter_device_allocation resource.
If apstra_datacenter_device_allocation cannot be updated to perform this change to a "server" type system, I would like to request that a new resource is created to support this function.  Maybe the resource could be called apstra_datacenter_server_allocation?
Thanks,
Will Pincek

Hi @williampincek47,
The attributes (hostname, asn, etc...) of a generic system can be set when it is created using the apstra_datacenter_generic_system resource.
This is a deliberate nudge to create generic systems explicitly vs. discovering their existence and adjusting their parameters (the process required with switches and anything else which follows the created-by-template pattern).

I understand what you are saying.
However, I will say that all of the examples on github (including the AI/ML JVD example) do not use the apstra_datacenter_generic_system resource.  The examples expect that Apstra will scaffold the blueprint based on a template that is loaded with generic systems.  Also, when I asked a SME about it, he said "there is more than one way to skin a cat" so it seems that it is OK to do it either way. :)
To me, it seems that the same problem that we are discussing for generic systems also exists for the leaf nodes of a blueprint (spines also).  I can either instantiate them all by the racks of a template or by adding racks after a blueprint is scaffolded.  Regardless of the method, I still don't have a "switch" resource to manage the individual switches.  I only have a "rack" resource.  It seems that we have been given a fix to the no "switch" resource problem which is the apstra_datacenter_device_allocation resource.  With that resource I can change the deploy mode, name, hostname and so on of any switch I want to.
Why wouldn't it make sense to also solve that problem for generic systems?
Will

without needing a resource defined for a "switch"

Look at it the other way: Spine and Leaf switches exist without terraform having any involvement in their creation or management.  Discovering these objects and changing their configuration is an imperative process. It's a workaround.
Declaring objects along with their attributes via terraform configuration is the natural path.


Add async request: Bug 7123273

Data Plane API - Pull Request
🚨🚨🚨 Bug 7123273 🚨🚨🚨
API Info: The Basics
Most of the information about your service should be captured in the issue that serves as your API Spec engagement record.

Link to API Spec engagement record issue:

Is this review for (select one):

[ ] a private preview
[ ] a public preview
[ ] GA release

Change Scope
This section will help us focus on the specific parts of your API that are new or have been modified. Please share a link to the design document for the new APIs, a link to the previous API Spec document (if applicable), and the root paths that have been updated.

Design Document:
Previous API Spec Doc:
Updated paths:

Viewing API changes
For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.
Suppressing failures
If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
Swagger-Suppression-Process
to get approval.
❔Got questions? Need additional info?? We are here to help!

 Contact us!
The Azure API Review Board is dedicated to helping you create amazing APIs. You can read about our mission and learn more about our process on our wiki.

💬 Teams Channel
💌 email

Click here for links to tools, specs, guidelines & other good stuff
Tooling

Open API validation tools were run on this PR. Go here to see how to fix errors
Spectral Linting
Open API Hub

Guidelines & Specifications

Azure REST API Guidelines
OpenAPI Style Guidelines
Azure Breaking Change Policy

Helpful Links

Schedule a data plane REST API spec review

Checks stuck in `queued` state?
If the PR CI checks appear to be stuck in `queued` state, please add a comment with contents `/azp run`.
This should result in a new comment denoting a `PR validation pipeline` has started and the checks should be updated after few minutes.

I approved this because all I see are description changes; nothing impacting the API contract. Did I miss anything?

I approved this because all I see are description changes; nothing impacting the API contract. Did I miss anything?

Nope, you are correct, the only changes are to the description field.


acc test for migration from es to os and consequent import

This PR adds a simple acceptance test for an ES -> OS migration with subsequent import of the remote OS into an opensearch resource.

Acceptance test failures are related to the unstable flink beta API.
The acceptance tests introduced here pass:


:rocket: Add Unique Name to rewards from the relics so we can easily look up related item data

It'd be nice to have the uniqueName from warframe-items in the titania relic reward data so we can reference those back to the full item data quickly

Apologies for the late response. If we want to do that, how would we name the property, since uniqueName is already in use for warframes own "id" (or whatever else it could be described as).

i don't see why uniqueId couldn't be on relics internal rewards as well

Oh right, my bad, somehow I thought we already used uniqueId as property, and not uniqueName. We can absolutely do that then.

shoot, i mistyped and meant uniqueName 🤦

i'm super silly, cause the RewardItem is clearly on there.... :facepalm:


Claim name of removed package "acid"

Hi PyPi,
I would like to claim the package name "acid".
I understand that PEP541 has been accepted and a system for this is in the works however I would like to enquire regardless as all the current issues that are to do with packages that are still existing on pypi.org
As far as I understand, this package has been removed, and is nowhere to be found, nor a user to be contacted. The package url 404's and pip reports:
python -m pip install acid
Collecting acid
  Could not find a version that satisfies the requirement acid (from versions: )
No matching distribution found for acid

Seeing as this is a removed project whose name cannot be re-registered, is there anything that can be done now or will I have to wait?

Hello @ekohilas, apologies for the delay in processing this request.
As you mention the package is invalid as the original owner deleted all releases in 2014.
Can you confirm your PyPI username to complete the transfer, please?

Hi @yeraydiazdiaz, thank you for your reply!
My pypi username is ekohilas,
apologies for not including it earlier.
Cheers,
Evan.

Confirmed that acid is an invalid project, and have added ekohilas as an owner.


fix highlighting for members when omitting service curly braces

addresses https://github.com/FacilityApi/FacilityVSCode/issues/3
It looks as though there is still an issue with the end pattern because the markdown injection is not working for services without curly braces.
I am not very familiar with TM grammars.

Looked into this again this morning and I think I got it figured out.


"Reuse JavaScript Code Using import" challenge throws

Challenge: https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/es6/reuse-javascript-code-using-import
Forum thread: https://forum.freecodecamp.org/t/reuse-javascript-code-using-import/453041
TypeError: unknown: (0 , s.extname) is not a function
Not sure what is going on. Maybe it's related to some dependencies updates? I didn't look into it at all.

Not sure what is going on. Maybe it's related to some dependencies updates? I didn't look into it at all.

That's my suspicion.  This should have been caught by the tests, though, so I'll look into how that happened.

OK, after a binary search approach of testing various commits, the commit where this challenge displays this error is https://github.com/freeCodeCamp/freeCodeCamp/commit/ad9b1f89d8ef21c8ecd81c95717ed7e5582ff380

I have reset the production branches at 92dfb3065cfc62febb49e5a269c01b8e961ae712 (one commit before the offending commit in discussion) and pushed out deployments which should be ready within the hour.
Nice work pin pointing the commit @RandellDawson
I had my concerns with client breaking somewhere despite our best efforts testing this, @ojeytonwilliams IMHO I think we should rollback parts of the PR and deploy to staging.
Could you urgently look into rolling back bits investigative-ly i.e rolling back only babel changes, followed by the webpack & webpack-cli which I am still skeptical about.
For now once the deployment is out the deployment branches are pinned at 92dfb3065cfc62febb49e5a269c01b8e961ae712 until we get main stable again first thing after the weekend.

The most disturbing part is that our challenge tests did not break and warn us that something was wrong.

Right.
The challenge tests did not break because they are not run in a browser environment. #41602 aims to do something that is going to hopefully bring us closer to testing without missing things. I stress "hopefully" though.
It's not that we didn't do a thorough QA as well. Some of us tested quite a few things if you look at the original PR.
In any case, I have an early confirmation that going back one but the offending commit is going to save us the weekend. Oliver has confirmed he will take a look at expanding the tests.

Hey @freeCodeCamp/dev-team, the staging deployment seems to have been fixed for both this issue and the client search. I am proceeding with a deployment further.

Production is fixed for the challenge in the OP. Please close this when you are happy with the rollback.

Everything is working again on production.


FFT missing?

Is your feature request related to a problem? Please describe.
No response
Describe the solution you'd like
This wasm isn't complete, isn't? I can't find the fft options.
Thanks.
Describe alternatives you've considered
No response
Additional context
No response

FFTW is licensed under GPL license (https://fftw.org/doc/License-and-Copyright.html) And that is not compatible with the  Apache-2.0 license of this project.


Support Requirement Class "Search" from OGC API - Features Part 5 proposal

This PR implements support for OGC API - Features - Part 5: Requirements Class "Search".
For example GeoServer has an ongoing PR which will support the "Search" requirement class from part 5: https://github.com/geoserver/geoserver/pull/7040/. So it would be nice if this client SDK would support the "Search" requirement class from part 5 as well.

Thanks for the contribution! I will try to review within this week.

The PR is merged and at the next step I will make some updates for the package publication in a monorepo. Then I can make a release with a consistent versions for all packages.
@sebastianfrey I have sent you a collaborator invite. That should simplify your future update since I personally don't have a lot of time for OSS projects now.

So I can review and merge PRs, right? Publishing to NPM is still your business, right?

As a collaborator, you will have the read/write access to this repository (see details). The release will remain under my control since npm doesn't seem to allow collaboration for unpaid accounts. Specifically, you can focus on (but don't feel limited to) feature development and technical implementation, while I will spend my time on supporting processes (documentation, changelog, release, or other automation).

As a collaborator, you will have the read/write access to this repository (see details). The release will remain under my control since npm doesn't seem to allow collaboration for unpaid accounts. Specifically, you can focus on (but don't feel limited to) feature development and technical implementation, while I will spend my time on supporting processes (documentation, changelog, release, or other automation).

Sounds great, looking forward to collaborate with you =)

Now released as v0.5.0


[DEVOPS-6963] Add dotnet build configuration from Global-build repo

Purpose
Migrate eventgrid-viewer-blazor Build and Release Pipeline from Azure DevOps to GitHub Actions
Does this introduce a breaking change?

[x] Yes
[ ] No

Pull Request Type
What kind of change does this Pull Request introduce?

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

How to Test
Test build and deploy on Dev
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install

Test the code

What to Check
Verify that the following are valid

pipelines complete with a success result

Other Information

Sorry, pushed this to the wrong repo


Prettify

Have a new background tiling image
Made ticker more 'tickery' (still a markee ftw)
Made stock cards collapse
Tried to shape up the weather to always be sticky

I like it very nice! It is still black magic to me though lol
LGTM

When you expand one of the tickers the UI does something weird lol

Yea   I'll look into it


getting no attribute key error in ubuntu virtual box

bazel-bin/tensorflow/examples/image_retraining/retrain --image_dir ~'/dataset/dosa/'
ERROR:tensorflow:Image directory '~/dataset/dosa/' not found.
Traceback (most recent call last):
File "/home/dile/tensorflow/bazel-bin/tensorflow/examples/image_retraining/retrain.runfiles/org_tensorflow/tensorflow/examples/image_retraining/retrain.py", line 1326, in
tf.app.run(main=main, argv=[sys.argv[0]] + unparsed)
File "/home/dile/tensorflow/bazel-bin/tensorflow/examples/image_retraining/retrain.runfiles/org_tensorflow/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "/home/dile/tensorflow/bazel-bin/tensorflow/examples/image_retraining/retrain.runfiles/org_tensorflow/tensorflow/examples/image_retraining/retrain.py", line 989, in main
class_count = len(image_lists.keys())
AttributeError: 'NoneType' object has no attribute 'keys'
Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
TensorFlow installed from (source or binary):
TensorFlow version (use command below):
Python version:
Bazel version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:
Exact command to reproduce:

You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
You can obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the problem
Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.
Source code / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.

Linux Ubuntu 16.04
source
tensorflow 0.12.1
python 2.7
bazel 0.5.4

when i give this command
bazel-bin/tensorflow/examples/image_retraining/retrain --image_dir '/home/dile/dataset/dosa'
am getting
ERROR:tensorflow:No valid folders of images found at /home/dile/dataset/dosa
but the folder is present in tat directory

Does /home/dile/dataset/dosa contain several folders, each which contains images? What is the output of ls /home/dile/dataset/dosa?

This issue is automatically closed due to lack of activity. Please re-open if this is still an issue for you. Thanks!


Slight design quirks in macOS

Hi! In your screenshots, it looks like you're using windows, so I just wanted to let you know that on macOS, there's a white rectangular spot in the upper left corner (near the traffic lights). This probably makes more sense with a picture:

It goes away when I hide the left panel:

It won't make or break the theme for me, but it would be fantastic if you could fix/make the unhidden left panel look better on MacOS.
Thanks!

ohhh no! ok thank you for brining this up! i will try to get a fix figured out, but i don't have macos so it might take a little bit, sorry!

Can you let me know if that looks any better, if you get a chance?

Hm... it still looks around the same. I made sure to update to the latest version too.

apologies for not having an update! i don't have a mac so testing is difficult. if you bring up the dev tools with cmd+shit+i (i think that is it on osx?) can you click this icon:

and hover over (and click) that weird area? does it tell you what the code is for that area by any chance? is there anything that looks like


.github: remove installation steps for arm64

GitHub's new ARM64 images contain docker so we don't need to keep installing it.

/test


h_out's dimension problem ??

As you mentioned in your paper, h_out belongs to d * N. Shouldn't he belong to (d * n) * n?

Hi @antxyz ,
I am a little bit lost... Could you explain more about your question?

In your AGGCN article, blocks are composed of attention guide layer, dense connection layer and linear combination layer. I want to know whether the dimension of input h_out={h1, h2,..., hn} of linear combination layer is dN or (dN)*N？

I see. The input is d x N.
d is the input dimension of the densely connected layer. You can assume the densely connected layer is a black box. The output dimension of the black box is still d, no matter what the calculation happened inside the box.
Assume you have N different adjacency matrices generated by the attention guided layer. Then you have N different GCNs (densely connected and parameters are not shared) to encode them.
We want to have 1 final representation. Therefore, we simply convert these N outputs (each one has dimension d) into 1 by using a linear transformation.

I got it. Thank you very much.


Can someone explain how routes work?

I dont understand how routes work and i cant seem to find anything about it in the docs. so if somebody could explain it, i would appreciate it. thanks.

Do you mean as in how Postal can handle incoming messages and pass them to an endpoint of your choosing?


KAFKA-16257: Improve logical type compatibility in SchemaProjector

This PR improved logical type compatibility in SchemaProjector.
Decimal type with same scale is compatible with each other.
Timestamp type is compatible with Date and Time type.
Date and Time types are incompatible with each other.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Hi @fanyang Thank you for contributing to Kafka! Is this something that seemed interesting to you, or do you have a use-case in mind?
I labeled this ticket as requires-kip, and if you're interested in tackling the larger project I'm happy to help. If you were just looking for an introductory ticket, check out the newbie label in Jira: https://issues.apache.org/jira/browse/KAFKA-15283?jql=project %3D KAFKA AND resolution %3D Unresolved AND labels %3D newbie ORDER BY priority DESC%2C updated DESC .
When I wrote the ticket originally, it was motivated by the three related tickets, and I included some of the motivation in a comment on one of the tickets: https://issues.apache.org/jira/browse/KAFKA-13505?focusedCommentId=17817494&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17817494
I apologize that I did not adequately summarize that comment in the description of KAFKA-16257, as I think I have caused some confusion.
Connect has "primitive" types, and "logical" types. Logical types are just primitive types plus some schema metadata defining how the primitive value should be interpreted. Connect includes a few standardized primitive types in the API package (Decimal, Date, Time, and Timestamp). Where the confusion arises is that these are not the only logical types out there. Any plugin can define a new logical type at any time using SchemaBuilder. These are the types that aren't able to safely traverse the SchemaProjector, and which motivated the ticket.
While the Decimal and Connect logical types aren't explicitly represented in the SchemaProjector implementation, they all use the no-op conversion path: https://github.com/apache/kafka/blob/d585a494a4871eaecdddf98f8655b8f30c5bd834/connect/api/src/main/java/org/apache/kafka/connect/data/SchemaProjector.java#L188
Regarding the conversion among the time types: A case could be made for Date -> Timestamp referring to the beginning of the day, but that assumes the intent of the user. But Time -> Timestamp interpreted as "Time t in 1970" is mostly nonsensical. I think both cases are abuses of how we represent these values using java.util.Date, and aren't actually desirable.

Hi Greg @gharris1727 ,
Thank you for the comments. I'm interest in this item, and my current usage scenario is also related to avro schema and connect schema. For example, when we write kafka connect record into avro file, we set avro file schema to the schema of the first record, and following records need to be compatible with the avro file.
I have read the comments of other three jira tickets. I think I got your point. For example, the SchemaProjector need to have following behavior:
        // ConnectEnum is a logical type for enum defined in plugin
        Schema sourceSchema = ConnectEnum.builder("Card", Arrays.asList("VISA", "MASTERCARD")).build();
        Schema targetSchema = ConnectEnum.builder("Card", Arrays.asList("VISA", "MASTERCARD", "AMEX")).build();
        // If the Compatibility is Backward, here shoudn't throw exception
        Object projected = SchemaProjector.project(sourceSchema, Card.VISA, targetSchema);

My proposal is to add an interface like:
interface Projectable {
void checkCompatible(Schema source, Schema target, Compatibility compatibility)
}
and a schema class like:
class ProjectableConnectSchema extends ConnectSchema implements Projectable
and then, SchemaProjector can call Logical schemas to check their compatibility
What do you think?
I would like to start a KIP about this improvement. If you can help me with it, it's my honor.
For this PR. I agree with you about the Date/Time/Timestamp convert. So, the PR is not needed. We can close it.


Increment version for spring releases

Increment package version after release of com.azure.spring azure-spring-boot-starter-keyvault-certificates

@chenrujun  FYI


adding HTTPie group and argument from httpie-edgegrid

Hi,
I am working on the plugin httpie-edgegrid to add a --config parameter to httpie. Thus the user would be able to pass the location of the credentials file (original request here).
Thus I have added the following code:
import httpie.cli.definition as httpie_cli_definition

edgegrid_group = httpie_cli_definition.options.add_group("EdgeGrid")
edgegrid_group.add_argument(
    "--config",
    action='edgerc',
    default='~/.edgerc',
    help='.edgerc credentials file (defaults to ~/.edgerc)'
)
httpie_cli_definition.options.finalize()
httpie_cli_definition.parser = httpie_cli_definition.to_argparse(httpie_cli_definition.options)

But when I am issuing a simple httpie command, the parameter does not get recognized:
$ http --auth-type edgegrid -a afadencloud-example-01: --config ./test/sample_edgerc: :/contracts
usage:
    http [METHOD] URL [REQUEST_ITEM ...]

error:
    unrecognized arguments: --config

for more information:
    run 'http --help' or visit https://httpie.io/docs/cli

Httpie-edgegrid seems installed correctly:
$ httpie plugins list
httpie-edgegrid (1.0.2)
  httpie_oauth1 (httpie.plugins.auth.v1)

From the documentation and looking at other httpie plugins, I have not seen even if what I am trying is feasible. Could you please help me out? Thanks 👍
Regards,
Roberto

Hey @robertolopezlopez! We load the argparse parser before we load the plugins, so it is not really possible to create a new one and replace it. But I think for your use case, you should be able to simply add the new group to the existing parser:
import argparse
from httpie.cli.definition import options, parser
from httpie.cli.options import Group, map_qualifiers, ARGPARSE_QUALIFIER_MAP

def add_new_group(
    abstract_group: Group,
    concrete_parser: argparse.ArgumentParser
) -> None:
    """Add a new group to the existing parser."""

    concrete_group = concrete_parser.add_argument_group(
        title=abstract_group.name, description=abstract_group.description
    )
    if abstract_group.is_mutually_exclusive:
        concrete_group = concrete_group.add_mutually_exclusive_group(required=False)

    for abstract_argument in abstract_group.arguments:
        concrete_group.add_argument(
            *abstract_argument.aliases,
            **map_qualifiers(
                abstract_argument.configuration, ARGPARSE_QUALIFIER_MAP
            )
        )

    return concrete_parser

edgegrid_group = options.add_group("EdgeGrid")
edgegrid_group.add_argument(
    '--edgegrid-config',
    action='edgerc',
    default='~/.edgerc',
    help='.edgerc credentials file (defaults to ~/.edgerc)'
)
edgegrid_group.finalize()
add_new_group(edgegrid_group, parser)

Wow @isidentical , I would not have come up with such idea easily. Kudos for you 👍
Now it works locally. Hopefully we will release the new version soon - with this and other changes.
Regards,
Roberto

last question: how can I get access to this parameter from AuthPlugin.get_auth()?

Unfortunately we do not officially support adding new arguments through the plugins API (though we might in the future), so there isn't really a way to do so. The only 'hack' I can think of for the time being is using the edgerc action you have posted here. Possibly something like this:
# Register a new argparse action to change the global RC_PATH
# value.

class EdgeGridSetterAction(argparse._StoreAction):

    def __call__(self, parser, namespace, values, option_string=None):
        # Set the global RC_PATH
        global RC_PATH
        RC_PATH = values

parser.register('action', 'edgerc', EdgeGridSetterAction)

edgegrid_group = options.add_group("EdgeGrid")
edgegrid_group.add_argument(
    '--edgegrid-config',
    action='edgerc',
    default='~/.edgerc',
    help='.edgerc credentials file (defaults to ~/.edgerc)'
)
edgegrid_group.finalize()
add_new_group(edgegrid_group, parser)

Where the EdgeGridSetterAction will receive that specific value, and set it as a global constant (RC_PATH). Then it could be used as:
class EdgeGridPlugin(AuthPlugin):

    name = 'EdgeGrid auth'
    auth_type = 'edgegrid'
    description = ''

    def get_auth(self, username, password):
        rc_path = os.path.expanduser(RC_PATH or "~/.edgerc")
        rc = EdgeRc(rc_path)

Hi @isidentical ,
That's what I would call a great pythonic display :-)
It kind of works. The only problem I can see is that argparse._StoreAction is an internal class, so importing from httpie-edgegrid is not an easy task. What I have done is copying its __init__() implementation to my EdgeGridSetterAction, and then make it extend argparse.Action directly.
This bypass seems to be working, but I need to do more testing.
Thanks once again. I am closing this ticket again, and I hope this time for good ;-)
Roberto


Add Winaero Tweaker

This is a really cool tool, I hope you consider merging it! 😄

Not recommending it anymore.


Undefined stereochemistry: simple wavy bond instead of wedged wavy bond

Is your feature request related to a problem? Please describe.
The use of wavy wedge bonds may create some confusion when compared to the actual dashed 'down' stereochemistry bonds:

Describe the solution you'd like
It may be preferable to replace the edged wavy bond with a simple wavy bond as common in many other chemistry sketcher software:

My computational chemist colleague @fransu86 suggested the idea

Hi @evgeniiFrolov1 !
A small clarification on our request. The idea to have the wavy bond depicted as a line (fourth case in the figure) instead of a 'wedged' shaped wavy bond does not change the stereochemical meaning of the bond itself but it is a more common depiction used by chemists - essentially it's more a stylish request.
Wedged wavy bonds (undefined stereochemistry) can be easily confused with dashed bonds (stereochemistry "down").


install on databricks

How can I install unsloth on databricks notebook?
I tried "pip install "unsloth[cu121-ampere-torch220] @ git+https://github.com/unslothai/unsloth.git"
and I met:
Cloning https://github.com/unslothai/unsloth.git to /tmp/pip-install-rst_tpkk/unsloth_e8849fa753954ad5b20ad0a81efbd0be
Running command git clone --filter=blob:none --quiet https://github.com/unslothai/unsloth.git /tmp/pip-install-rst_tpkk/unsloth_e8849fa753954ad5b20ad0a81efbd0be
fatal: unable to access 'https://github.com/unslothai/unsloth.git/': gnutls_handshake() failed: The TLS connection was non-properly terminated.
error: subprocess-exited-with-error

That seems like internet access does not work maybe?

I used the HTTPS url and choose github as gitprovider when I added a repo to databricks.  I also installed specific version of various packages.
All the steps before trainer_stats = trainer.train() were good. But when I run trainer_stats = trainer.train(), it show:

Currently getting the same issue as Jackie. I'm in a more regulated environment for databricks so I have to first download the repo and install through volumes.  I have a suspicion that it's a dependency conflict but not too sure where to start looking.

I'm also getting the same issue. I've tried installing different versions of the packages, but I end up with the same error.

Hmmm wait is databricks using MLFlow?

Yes. By default Databricks logs the runs with MLFlow.

Hmmm ok - oh also is Databricks multi GPU?

In my instance, I'm only using a single GPU. It's possible to set up a multi GPU cluster, though.

Hmmm tbh I haven't tried Databricks so I can't exactly debug it - I'll see what I can do, but can't promise anything sorrty

Wondering if any progress made on this? We are facing same issue, trying to install from source and everything is okay till you hit trainer.train()

Oh no a segfault?? :(

Think I have it tracked down to tensorboard, which means its most likely a databricks runtime fix not a unsloth one..
Fatal Python error: Segmentation fault

Thread 0x00007fe7c01f2640 (most recent call first):
  File "/usr/lib/python3.11/threading.py", line 324 in wait
  File "/usr/lib/python3.11/queue.py", line 180 in get
  File "/databricks/python/lib/python3.11/site-packages/tensorboard/summary/writer/event_file_writer.py", line 269 in _run
  File "/databricks/python/lib/python3.11/site-packages/tensorboard/summary/writer/event_file_writer.py", line 244 in run
  File "/usr/lib/python3.11/threading.py", line 1038 in _bootstrap_inner
  File "/usr/lib/python3.11/threading.py", line 995 in _bootstrap

Tried turning off mlflow, installer older tensorboard.. no luck so far so leaving here if anyone else wants to debug.. (Check the cluster driver logs for more info)

Update: The Segmentation Fault has been raised internally with Databricks, they have it down as a Feature Request. No ETA yet but hopefully those of us on regulated environments will be able to use Unsloth soon.

@julianmukaj Thanks for the update!!


Update setup script to install C++ complier

Motivation
C++ complier is needed for rocksdb compiling.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Run each command to make sure it works.
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/libra/website, and link to your PR here.)

@bors-libra r=wqfish

:pushpin: Commit 5e9eb53 has been approved by wqfish

:hourglass: Testing commit 5e9eb53c53ad4e92bfd58e09191ba37d3edeb64a with merge fdfd07e26fcf172d86768ea59c7e658059b98de0...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: wqfish
Pushing fdfd07e26fcf172d86768ea59c7e658059b98de0 to master...