PR comment should say "WriteField" not WOF Editor

I just updated a locality record in India and noticed the PR comment still references "WOF Editor", rather than WriteField / Write Field.

Updating data/129/364/746/5/1293647465.geojson using the WOF Editor

The "WOF Editor" texts links to this wof-editor repo, so maybe this is intentional.

Dup of https://github.com/iandees/wof-editor/issues/43.


Make JS and TS tests independent of react-native package name

Summary:
When working with OOT platforms we need to change the react-native package name to something else, which breaks JS and TS tests. This change makes sure that react-native imports map to the packages/react-native, allowing us to reduce the scope of the fork. It should be transparent to the core platforms.
Changelog:
[INTERNAL] [FIXED] - Make JS and TS tests independent of react-native package name
Test Plan:
CI green

This diff seems harmless, but if this config is specific to the use case of maintaining an out-of-tree platform, I'd recommend keeping it separate from the react-native repo's core config. (A shareable Jest preset perhaps?)


Convert to run on postgres:15

@relrod the tox config itself uses make postgres, so if this passes, we should be good, right?


[3pt] Create a Label class

Create a Label class with an association to the Item class (in a separate .rb file).

All Label class properties visible in the diagram should be defined and set up in the constructor method.

The following options should be available:

List all books
List all labels (e.g. 'Gift', 'New')
Add a book

This pull request closes this issue.


[Bug]: Type Inferred Error

Is there an existing issue for this?

[X] I have searched the existing issues

Is there a StackOverflow question about this issue?

[X] I have searched StackOverflow

What happened?
A bug happened! While building the project facing the type mismatch error.
Relevant logcat output
file:///Users/sundaramanikandan/Library/CloudStorage/OneDrive-M2PSolutionsPrivateLimited/Multi_Module_App/nowinandroid-main/benchmarks/build.gradle.kts:57:22: Type mismatch: inferred type is TestExtension! but CommonExtension<*, *, *, *, *> was expected

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Possibly related to https://github.com/android/nowinandroid/pull/854

Downloaded the app today and trying to build the app, still facing the same issue.
Using AGP Version - 8.0.2
Gradle Version - 8.0

Please could you try updating to the latest stable version of Android Studio Giraffe https://developer.android.com/studio which uses AGP 8.1.

This is not a bug, @sundaramanikandan please update your version of android studio to latest, you will be able to build it.

I'm still facing this error even after updating the Android Studio to the latest version (Girrafe).

I'm still facing this error even after updating the Android Studio to the latest version (Giraffe).

Please share the error logs

@shivamdawar97
After updating to the latest Android Studio version, roll back the changed settings to AGP version - 8.1.0, Gradle version - 8.2 and build normally


OpenSSL.framework not found in PackagesFrameworks directory

While developing an expo module to read the PD file from the eGK via NFC and your OpenHealthCardKit I ran into the following issue:
Some context and folder structure:
I am building this module so I can later install it in my expo app and it works just fine with my config plugin and everything.
A thing that needs to be optimized however is the dependencies to the gematik OpenHealthCardKit.
/gk-nfc-reader
- ios/
-- OpenSSL.framework
-- GKNFCReader.swift
-- GKNFCReeader.h
-- all the other files for my native code
- node_modules/
- plugin/
-- src/
---index.ts //this is my expo config plugin
- Resources/ // this folder keeps my localization files for my native siwft module
- src/ // my folder for integrating my native module in RN
-- index.ts
--RNGKNFCReader.ts
-- useReadPersonalData.ts
- app.plugin.js // entry point for the expo config plugin
- -gk-nfc-reader.podspec
- package.json
- other package realtes files

So far I handled the dependencies manually and added the frameworks (HealthCardAccess.framework, NFCCardReaderProvider.framework, etc.) to my module ios folder and referenced them in my .podspec like so:
s.vendored_frameworks = 'ios/*.framework' #include all frameworks from gematik

That was due to the fact that your frameworks can only be added via SPM and there was no way to add an spm_dependency to a .podspec so far. I need the podspec since I am building a react native npm package.
A week ago react native added spm_dependency for the podspec. Which is great because now I can reference your frameworks like so:
spm_dependency(s,
     url: "https://github.com/gematik/ref-OpenHealthCardKit",
     requirement: {kind: "upToNextMajorVersion", minimumVersion: "5.6.0"},
     products: ["CardReaderProviderApi", "HealthCardAccess", "HealthCardControl", "Helper", "NFCCardReaderProvider"]
   ) #include gemtaik frameworks via spm

However, I run into this error with OpenSSL.framework. I am not very familiar with xcode and the build process.
Library not loaded: @rpath/OpenSSL.framework/OpenSSL
Referenced from: <E7AC0210-177A-3DE1-8B7F-6A635A0B947E> /Users/USER/Library/Developer/CoreSimulator/Devices/7BBBC3E6-9E19-4FCB-8A20-32C0CF08D840/data/Containers/Bundle/Application/820E30D7-3CAB-41DE-B5D9-7835C81F91A8/exponativeconfigurationexample.app/Frameworks/gk_nfc_reader.framework/gk_nfc_reader
Reason: tried:
'/Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/OpenSSL.framework/OpenSSL' (no such file),
'/usr/lib/swift/OpenSSL.framework/OpenSSL' (no such file, not in dyld cache),
'/Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/Users/priskakohnen/Library/Developer/Xcode/DerivedData/exponativeconfigurationexample-efbhjbqhfqxnwpgtldkkolknmopi/Build/Products/Debug-iphonesimulator/gk-nfc-reader/PackageFrameworks/OpenSSL.framework

It assumes that the framework should be found in the PackagesFrameworks folder of my module that I am building (the gk-nfc-reader). Which is not the case though. I am wondering if there might be some bug on your side when the HealthCardAccess and HealthCardControl frameworks are build ?
I temporarily fixed this issue by adding you OpenSSL.framework again to my ios folder and added the dependency to the .podspec. However that's not a good solution, as I need to manually keep the framework up to date.
I hope this information can help you somehow to figure out what I am doing and what might be wrong with the build process of the OpenHealthCardKit in case there is a bug.

Actually, you can check out the full code here
gk-nfc-reader

Unfortunately I'm not too familiar with CocoaPods.
OpenSSL-Swift is a precompiled framework that is transitively needed by OHCKit. Maybe CocoaPods needs some more info and it helps if you explicitly express this dependency in another spm_dependency similar like we are doing in our E-Rezept-App's Package.swift https://github.com/gematik/E-Rezept-App-iOS/blob/4e62168b8599b9d404bc6c820eb53e080b6e6714/Package.swift#L94 .. (?)
Something like
spm_dependency(s,
     url: "https://github.com/gematik/OpenSSL-Swift",
     requirement: {kind: "upToNextMajorVersion", minimumVersion: "4.2.0"},
     products: ["OpenSSL-Swift"]
   )

If not, feel free to experiment with podfiles in a branch or fork. We can't support/maintain here very much for now though

Hey, yes I tried that already and it didn't help to fix the error. But I will try out some more and give feedback if I figured something out!


crowdsec: init at 1.3.1

Motivation for this change
Resolves #155822
Package crowdsec 1.3.1 for nix
I'll keep this draft while I investigate the other components such as:
config
patterns
bouncers
etc
I'll probably save nixos module(s) for another PR
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[X] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[X] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[X] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[X] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/crowdsec-package/23040/2


Fix for broken LoadBalancers.getAll function

LoadBalancers.getAll() was failing with the following error:
{ HTTPError: Response code 404 (Not Found)     at EventEmitter.emitter.on (/app/node_modules/do-wrapper-fork/node_modules/got/dist/source/as-promise.js:118:31)     at process._tickCallback (internal/process/next_tick.js:68:7) name: 'HTTPError' }
Debugging this issue resulted in finding that a trailing slash in the API endpoint URL was causing the DO API to look for an ID after the trailing slash. Remove trailing slash from LoadBalancers basePath variable fixes this issue.
I am not sure if this was caused by an issue with the DO API itself, but this fix works for LoadBalancers in do-wrapper. I have not tested whether the LoadBalancers.create function is affected by this pull request. All other calls within the LoadBalancers module utilize a custom actionPath and will not be affected by this change.

@goodlime  apologies for the delay on picking this up. I'd be happy to review the PR but it looks like you have only changed the dist files and not the source .ts ones, so this would be overwritten on the next build.
Please correct and I will review for you.
Thanks!

Appologies, I polluted the PR with some logging I had added subsequently. Should be good to go now.

@goodlime apologies for the delay, approved and published now. Thanks!

@goodlime apologies for the delay, approved and published now. Thanks!


Any dev board is recomended for test ？

Problem
Since we do not know the spec timeline，any dev board is recommended to test a full experience for CHIP？
Proposed Solution
Add the current dev board or avalible simulator？

There are a many boards people are using, one of them which has examples here is the m5stack. That should work for you!


Current DSL's codegen does not support map types

Not all the MIR code can be ported to use the newest DSL's codegen as it does not support protobufs tagged map types. This should be fixed to port all the code and increase readability.

PR #348 adds support for map types to codegen, although it is not being used at the moment. The mir.type field must define both key and val types in the following way keytype|valtype.

Updated to support key types and value types independently. New option types (option mir.key_type and mir.value_type)


Add test for mathjax markup

Some Markdown parsers I've found incorrectly convert _ to <em> and various other things.
MMMarkdown doesn't (great!) but I thought it would be worth having a test to keep it this way
http://www.mathjax.org/

I like to keep tests as focused as possible. What specific failures are these guarding against? I think the test can probably be more focused to those failures.

Specifically, to avoid _ being considered for italic. I know some implementations allow both * and _ to be used for emphasis, but I guess MMMarkdown is only using * (which I agree with), and hence why these tests currently succeed.
The other is that backslashes aren't escaped or unescaped.

MMMarkdown does consider _ to be for italics. But since this test only has 1 _, it's not used for italics.

Oh OK, I stand corrected. I guess the test, therefore, is that the inclusion of only 1 _ doesn't convert the rest of the phrase to italics

Based on that, I don't feel comfortable adding this test. I think the real answer here is to add proper support for mathjax via an extension.
But thanks for submitting this pull request! :sparkles:


⚠ tk has degraded performance

In 0ff6a89, tk ($TK_API_URL) experienced degraded performance:

HTTP code: 200
Response time: 7566 ms

Resolved: tk performance has improved in 9595864.


Can't use the GPT 3 model due insufficient_quota error

Hi, I can't use this plugin due insufficient_quota issue, is this plugin related issue? I've changed only API and user in plugin options.
Error Details:
	Error Code: None
	Error Type: insufficient_quota
	Error Message: You exceeded your current quota, please check your plan and billing details.

Here is more detailed log:
ogHttpGPT: Display: Activate (115036): Activating task
LogHttpGPT_Internal: Display: InitializeRequest (115036): Initializing request object
LogHttpGPT_Internal: Display: SetRequestContent (115036): Mounting content
LogHttpGPT_Internal: Display: SetRequestContent (115036): Selected model supports Chat API. Mounting section history.
LogHttpGPT_Internal: Display: BindRequestCallbacks (115036): Binding callbacks
LogHttpGPT: Display: SendRequest (115036): Sending request
LogHttpGPT: Display: SendRequest (115036): Request sent
LogHttpGPT_Internal: Display: OnProgressUpdated (115036): Progress Updated
LogHttpGPT_Internal: Display: OnProgressUpdated (115036): Content: {
    "error": {
        "message": "You exceeded your current quota, please check your plan and billing details.",
        "type": "insufficient_quota",
        "param": null,
        "code": null
    }
}
; Bytes Sent: 1563; Bytes Received: 206
LogHttpGPT_Internal: Display: OnProgressCompleted (115036): Process Completed
LogHttpGPT_Internal: Display: OnProgressCompleted (115036): Content: {
    "error": {
        "message": "You exceeded your current quota, please check your plan and billing details.",
        "type": "insufficient_quota",
        "param": null,
        "code": null
    }
}
LogHttpGPT: Error: OnProgressCompleted (115036): Request failed
LogHttpGPT: Display: SetReadyToDestroy (115036): Setting task as Ready to Destroy

Hello @seba0456 ! :)
This is related to the OpenAI' account settings. There's some details about this error and solutions here: https://help.openai.com/en/articles/6891831-error-code-429-you-exceeded-your-current-quota-please-check-your-plan-and-billing-details


Investigate report of stray messages

Almost all actions result in the generation of an "action report message".
This is in the form of a flash notice. All pages are designed to display and clear the the flash notice.
Normally the page being displayed is  associated with the action. For example if we edit something we display the recult of the edit together with the edit flash notice.
Sometimes it is not; a good example is the download. we generate the flash message but do not go anywhere. Therefore the message that the file was downloaded will appear whenever we go to a new page..

These situations will be extremely difficult to track as they depend on the series of actions undertaken which often cannot be replicated.
Use of the browser back button does not display a new flash message. It will appear when a new page is downloaded from the server

Have removed the download successful message as this could appear anywhere.
Other cases need to be specifically identified.
This should be closed after review

Kirk
To be honest I have not come across the problem. As I dont have an instance I cannot try to replicate it.
I will see if John has come across it.
Geoff


Plugin breaks on Vite 2.7.0.

There have been some (minor) breaking changes to Vite on the latest version. The API has changed, as detailed here - https://github.com/vitejs/vite/blob/v2.7.1/packages/vite/CHANGELOG.md#270-2021-12-07. I've created a small PR that should fix it. #10

Fixed in v.0.2.2. Thanks for the PR 👍

Not at all, thanks for merging so quickly! 😁


[Multi-GPU] Use Process-based Workers

To run multi-GPU inference, one could do the following:
from mlc_chat import ChatModule
from mlc_chat.callback import StreamToStdout

# Create a ChatModule instance
cm = ChatModule(model="llama-2-7b-chat-hf-q4f16_1")

# Generate a response for a given prompt
output = cm.generate(
    prompt="Hi",
    progress_callback=StreamToStdout(callback_interval=2),
)

# Print prefill and decode performance statistics
print(f"Statistics: {cm.stats()}\n")

# Reset the chat module by
# cm.reset_chat(

Note: we will need to sync with latest main/unity/mlc branches to make this patch work


Balance spacing around =

When the leading or trailing trivia was empty it was replacing the present nodes trivias

@swift-ci please test


ComboBox (within PopupBox) closed when scrolling after value highlighted

When ComboBoxes that are placed within PopupBox are scrolled, after a value has been highlighted by the MouseOver, it closes on the MouseUp without changing the value.
I have tried specifying the StaysOpenOnEdit property but it doesn't seem to have an affect.
This can be recreated in the Demo by adding some additional items, on the Buttons & Toggles page:

I'm not sure what else to try. Any ideas?

The problem is due to the logic in lines 650-670 of PopopBox.cs.  Still not sure how to resolve the issue though.

Yes, we've the same issue in the Drawer, so I need tom come up with a common-ish solution.

Found a solution! See new line below with my initials...
Have given it a decent test and cant see any problems.  Please let me know if you want me to create a pull.
                if ((Mouse.Captured as DependencyObject).GetVisualAncestry().Contains(popupBox._popup.Child))
                {
                    // Take capture if one of our children gave up capture (by closing their drop down)
                    if (!popupBox.IsPopupOpen || Mouse.Captured != null || GetCapture() != IntPtr.Zero) return;

                    Mouse.Capture(popupBox, CaptureMode.SubTree);
                    e.Handled = true;
                }
                else
                {
                    if (popupBox.StaysOpen && popupBox.IsPopupOpen)
                    {
                        // ComboBox fix - SJM
                        if (GetCapture() != IntPtr.Zero) return;

                        // Take capture back because click happend outside of control
                        Mouse.Capture(popupBox, CaptureMode.SubTree);
                        e.Handled = true;
                    }
                    else
                    {
                        popupBox.Close();
                    }
                }

@SJMakin Yes, raise a PR and I will test.


issuer or client_id must not be supplied when users are signing in with Google or Apple.

Bug report
Describe the bug
I'm using Flutter and Dart and I have existing code that lets users create an account or sign in using their Apple Id. Now when a user tries to create an account or log in, the error message returned is issuer or client_id must not be supplied
To Reproduce
This is the reproducible code

  final String randomNonce = uuidV4();
  final String hashedNonce = sha256.convert(utf8.encode(randomNonce)).toString();
  const String clientId = 'com.datefirefly';

  final credential = await SignInWithApple.getAppleIDCredential(
    scopes: [
      AppleIDAuthorizationScopes.email,
    ],
    nonce: hashedNonce,
  );

    GotrueSessionResponse signInRes = await _supabase.client.auth.signIn(
      oidc: OpenIDConnectCredentials(
        idToken: idToken,
        nonce: nonce,
        provider: provider,
        clientId: clientId,
      ),
    );

Expected behavior
The previous, correct, behavior is creating an account or signing into an existing account.
Screenshots

System information

OS: iOS sign in with Apple. Android sign in with Google

Additional context
This was working before and now it isn't with the same code.
I believe it has to do with this PR that was merged:
https://github.com/supabase/gotrue/pull/927

Hey @DanMossa,
There is a security vulnerability with this flow and this is why you get this error message. Please remove any client_id or issuer properites from the requests and only use the provider property instead. Please review the last security advisory published on this repo for more details.
I believe this specific issue was resolved if you were using the Apple or Google issuers and your project was correctly setup. https://github.com/supabase/gotrue/blob/master/internal/api/token.go#L421
Please also reach out to<EMAIL_ADDRESS>if you need direct support on a production project, as GitHub issues are not meant for rapid support but rather about issues with the project itself.


TableView consumes all click events.

I have an EditText as a table cell, But it doesn't get any click events so I can't edit the text.
Is there any way to do it?
Thank you.

I have same problem any solutions for this?

Hi guys,
To be able to edit any cell, you need to use EditText instead of TextView. However, using EditText is very expensive.
So, why you have this problem? You probably have a focus problem.

same with button when I click a button inside the cell  the click listener for the button doesn't trigger.

I think it each cell doesn't support click events for its children

@orlytops That is totally wrong. check this comment

Yeah I think the listener that's been triggered there is the cell Click listener not the button Click listener inside the Cell... I can trigger the button when I double click the cell but I need to click it once. @evrencoskun

I'm declareing the button listener inside the onBindCellViewHolder
here's the sample code
@Override
  public void onBindCellViewHolder(AbstractViewHolder holder, Object cellItemModel, int columnPosition, int rowPosition) {

    CellViewHolder CellViewHolder = (CellViewHolder) holder;
      controlsCellViewHolder.sendButton.setOnClickListener(new View.OnClickListener() {
        @Override
        public void onClick(View v) {
          Log.i("Clicked", "Button Cliked");
        }
      });

  }

@orlytops ye the reason that you have to click double times is the component is not focused. At the first click, it gets focus.
@omar753sahl
I have just changed TextView with EditText. It's the result.

BTW, It's not about the TableView actually, It's about https://stackoverflow.com/questions/38242530/recyclerview-single-click-not-working-but-works-when-click-twice.

@evrencoskun but I need it once do you have any work around about this?

@orlytops Here's a workaround for this.
I changed this method in AbstractItemClickListener from this:
 @Override
    public boolean onInterceptTouchEvent(RecyclerView view, MotionEvent e) {
        return mGestureDetector.onTouchEvent(e);
    }

to this:
 @Override
    public boolean onInterceptTouchEvent(RecyclerView view, MotionEvent e) {
        mGestureDetector.onTouchEvent(e);
        return false;
    }

I was able to edit the editText when it's clicked once by requesting focus and showing the soft keyboard in TableViewListener.
   `@Override
    public void onCellClicked(@NonNull final RecyclerView.ViewHolder    cellView, final int column, final int row) {
    cellText = (EditText)cellView.itemView.findViewById(R.id.cell_data);
    cellText.requestFocus();
    //editTexts are initially disabled to improve on scrolling
    cellText.setEnabled(true);
    //show keyboard
    InputMethodManager imm = (InputMethodManager)       mContext.getSystemService(Context.INPUT_METHOD_SERVICE);
    imm.showSoftInput(cellText, InputMethodManager.SHOW_IMPLICIT);`

@omar753sahl Your solution is perfect! This should be more straightforward in this otherwise fantastic library.

See #253

@ omar753sahl您的解决方案是完美的！在这个原本很棒的库中，这应该更直接。

I have no effect with this configuration. What's the reason I'm missing?


corrected syntax error in database

Added a semicolon at line 325706 in docker-entrypoint-initdb.d/001-init.sql

Thank you!


Basic support for HLSL templating

Support parsing & pass-through of basic HLSL templating introduced in HLSL 2021: https://devblogs.microsoft.com/directx/announcing-hlsl-2021/
Let me know if there's a way to do this that makes more sense, not too familiar with the codebase

github isn't letting me request a review for some reason - @laurentlb @eldritchconundrum

Support for accepting (and mostly ignoring for now) templates (and inheritance)... Interesting!

template<> being parsed as TLVerbatim seems a bit too unstructured, we could add it into the TypeDecl that comes after it.
At this point, maybe TypeBlock should probably get its own type, with named members.
The inside of <...> is kept as a string for now, not parsed at all. No interactions with renames for now I suppose.
The tests only use templates as top-level type declarations, but this also supports declaring local and global variables of templated types. We could have tests for that.

That looks good!

Looks good to me. I have improvements ideas, hopefully I'll do them next week.

sweet tag me in the PR(s) if you're down i'd love to help - i'm tryna get stuff like _Static_assert(is_floating_point<T>::value); working so i can use your awesome tool with code using language features invented after the 80s 🙃

Thanks a lot!


Add Raghvendra Gupta to Contributors list

@raghav9-97, I'm quite elated about your PR. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a PR and learned that I merged it?


Add chromedriver major version configuration #12

Thanx, I'll look into this though I am kind of busy.


Reduce mybinder startup time

The binder re-builds itself after every commit whether the environment.yml is changed or not. This takes a long time and will in future, with even more dependencies even be slower. There are several ways to reduce the startup time and the most promising one from this jupyter discourse page are presented here which splits up the environment and the content in two repositories:
Use two repositories: one for the environment, one for your content - many people change their content much more often than they change the environment needed for it. However, Binder will re-build the environment for any changes to a repository. A hack to get around this is to define an “environment repository” that Binder builds, and use a hook to pull in new content at launch from a “content repository”. This means that your “environment repository” changes less-often, which should result in fewer new builds and reduced launch times. See the instructions in this post to get started.
Use the nbgitpuller.link page to automate separate content/environment repos. The above step can be (mostly) automated by using nbgitpuller.link. This is a little web form that generates JupyterHub links for you. To quickly create a link for content/environment repositories, go here:
nbgitpuller.link?tab=binder
and fill out the form.
You can also pre-populate the form with some fields. For example:
nbgitpuller.link/?tab=binder&repo=https://github.com/binder-examples/requirements
will use the binder-examples repository as the “environment” repo.
The steps towards the use of nbgitpuller should be tracked by this issue.

The split of content and environment is started:

There is now a new repository https://github.com/OpenSenseAction/OPENSENSE_sandbox_environment where the binder environment is going to be specified.
There is a test https://github.com/georges-schutz/OPENSENSE_sandbox_outsource_environment where the testing of this split is done.

Trying out
 ```
https://mybinder.org/v2/gh/OpenSenseAction/OPENSENSE_sandbox_environment/main?urlpath=git-pull?repo=https://github.com/OpenSenseAction/OPENSENSE_sandbox

In the OPENSENSE_sandbox_outsource_environment fork has the environment removed and the README.md adapted points to the binder url using the OPENSENSE_sandbox_environment.
Try with this fork https://github.com/georges-schutz/OPENSENSE_sandbox_outsource_environment
Next is to get this button automatically created correctly when a fork is done

To me it looks as if we just have to adjust the URL template here
With this URL will always reference the env defined in the main branch of the sandbox env repo. That means that, if somebody has to adjust the env, he/she has to do an updated of the env repo first.
The bot that adds the binder button should add a note that users have to take care of env updates in the env repo if they need an env update. In such a case, I would suggest to create a branch or PR of the env repo, do the update of the env there, and then manually adjust the binder URL to test if binder can build the env and if everything runs correctly.

We are close and there is a pull request for it but the readme.md url of the binder button is not loading the notebook
Pointing only too the root is OK it only opens the file tree

@georges-schutz This is the full path that they use in their README
https://mybinder.org/v2/gh/ipython/ipython-in-depth/master?filepath=binder%2FIndex.ipynb

maybe like this
https://mybinder.org/v2/gh/OpenSenseAction/OPENSENSE_sandbox_environment/main?urlpath=git-pull%3Frepo%3Dhttps%253A%252F%252Fgithub.com%252FOpenSenseAction%252FOPENSENSE_sandbox%26urlpath%3Dlab%252Ftree%252FOPENSENSE_sandbox%252Fintro_to_R.ipynb%26branch%3Dmain

(created with nbgitpuller web form)

The pull request PR#31 is ready to be merged back to the upstream.
There is still one other open PR and of cause several forks that may need to merge from the upstream

With #31 now being merge we have the problem that the submodules are not recursively cloned.
nbgitpuller might support that, see https://github.com/jupyterhub/nbgitpuller/pull/123, but I do not (yet) know why.


Have api_settings respond to settings_changed

This is identical to what happens for rest_framework.settings.api_settings.
It should allow (for example) overriding the expiration deltas for a unit test.

Eh, this doesn't seem like it's going to work anytime soon, so closing this for now.


the training at occupancy flow challenge (cvpr 2024)

hi, thanks a lot for the nice work.
I am trying to implement the sparseocc to occupancy flow challenge (cvpr 2024), but the training result is not good, below is the result after 24 epochs on the validation dataset.
The details of the implementation simply replace the GT with the latest challenge GT, change the class number (18->17), and do not consider the flow training.
Have you tried to train on the latest challenge data? Thanks for any comments and suggestions.
|     Class Names      | RayIoU@1 | RayIoU@2 | RayIoU@4 |
+----------------------+----------+----------+----------+
|         car          |  0.103   |  0.152   |  0.182   |
|        truck         |  0.044   |  0.077   |  0.107   |
|       trailer        |  0.024   |  0.038   |  0.059   |
|         bus          |  0.062   |  0.113   |  0.199   |
| construction_vehicle |  0.054   |  0.094   |  0.143   |
|       bicycle        |  0.000   |  0.000   |  0.000   |
|      motorcycle      |  0.000   |  0.000   |  0.000   |
|      pedestrian      |  0.000   |  0.001   |  0.001   |
|     traffic_cone     |  0.000   |  0.000   |  0.000   |
|       barrier        |  0.021   |  0.028   |  0.035   |
|  driveable_surface   |  0.112   |  0.164   |  0.225   |
|      other_flat      |  0.005   |  0.008   |  0.010   |
|       sidewalk       |  0.058   |  0.091   |  0.126   |
|       terrain        |  0.064   |  0.106   |  0.157   |
|       manmade        |  0.034   |  0.054   |  0.085   |
|      vegetation      |  0.020   |  0.036   |  0.063   |
+----------------------+----------+----------+----------+
|         MEAN         |  0.038   |  0.060   |  0.087   |
+----------------------+----------+----------+----------+

Hi, the performance on the challenge dataset should be almost the same as that on Occ3D. You can add my WeChat:<PHONE_NUMBER>0

thank you!


500 internal server error

how to resolve 500 internal server error for this bottle website

here code for this website

You're route doesn't correctly accept a parameter called h0n3y https://bottlepy.org/docs/dev/tutorial.html#request-routing

Working exemple:
from bottle import route, run, template

@route('/hello/<name>')
def index(name):
    return template('<b>Hello {{name}}</b>!', name=name)

run(host='localhost', port=8080)

Even this example shows 500 internal error as i go to the link 'localhost:8080/hello//

Even this example shows 500 internal error as i go to the link 'localhost:8080/hello//

extra / at the end

i fixed that issue by
using this below line in my script:
if name == 'main':
defaultApp .txt


the specific role of the decoder in transformer structure

Hi!
You said that "In the encoder-decoder attention module, the target query can attend to all positions on the template and the search region features, thus learning robust representations for the final bounding box prediction." in your paper. How to understand that? It's really abstract for me.
Thanks for your reply!

@ANdong-star Hi, this process is quite similar to that in the DETR decoder. In DETR, 100 object queries interact with the image features output by the encoder. In STARK, one target query interacts with the joint template-search features to extract the target information. Finally the box prediction head integrate the output of the encoder and the decoder to predict the final box results.

@ANdong-star Hi, this process is quite similar to that in the DETR decoder. In DETR, 100 object queries interact with the image features output by the encoder. In STARK, one target query interacts with the joint template-search features to extract the target information. Finally the box prediction head integrate the output of the encoder and the decoder to predict the final box results.

got it! thanks!


Set CONN_MAX_AGE to 60 seconds -- fixes #710

Setting the value in the production config rather than in the environment variable as it seems clearer like this.

Can you set it as an environment variable in .env? Which if the user didn't set, will default to 0. IMO, CONN_MAX_AGE does not really apply to local environment.

Not sure I understand this:

IMO, CONN_MAX_AGE does not really apply to local environment.

Is it a comment on something I've done wrong? I've updated production.py config, which isn't used by the local environment, as far as I know, and .env file has DJANGO_SETTINGS_MODULE=config.settings.production in it.

What I mean is have something like:
# base.py

DATABASES['default']['CONN_MAX_AGE'] = env.int('CONN_MAX_AGE', default=0)

Users can then override this value on the .env file to whatever they want, you shouldn't just hard-code the value.
# .env file

CONN_MAX_AGE=60

I see, thanks! I've updated the PR.

@webyneter @luzfcb what do you think?

I don't have any strong opinions. Any thoughts from the other maintainers?
Who has the final word on this? I'll remove it if no one else object.

@browniebroke please, leave a comment in the conversation, so the context of discussion is preserved.


Remove Jekyll website generator from repo

Any websites related to ion, ionomy etc. should have their own repos otherwise things get too messy and hard to keep track of.

Wrong repo


Bump version to 6.1.0

Release Notes:
- Add a "CURRENT" redirect. If no version is specified, redirect to the currently effective version.

Sounds good! We can ignore the CI errors (though hopefully #464 will resolve them)


pythonPackages.mysqlclient fails to build

Issue description
In current master branch pythonPackages.mysqlclient fails to build.
Steps to reproduce
Checkout nixpkgs on revision 132a9a0c32b8e2c1c0f97cb27d2e980a7c5e554c and run:
$> nix build -f . pythonPackages.mysqlclient
builder for '/nix/store/1wcp8ym36476w0h89ayqxcm936fm4xrq-python2.7-mysqlclient-1.4.2.post1.drv' failed with exit code 1; last 10 log lines:
  Traceback (most recent call last):
    File "nix_run_setup", line 8, in <module>
      exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))
    File "setup.py", line 16, in <module>
      metadata, options = get_config()
    File "/build/mysqlclient-1.4.2.post1/setup_posix.py", line 51, in get_config
      libs = mysql_config("libs")
    File "/build/mysqlclient-1.4.2.post1/setup_posix.py", line 29, in mysql_config
      raise EnvironmentError("%s not found" % (_mysql_config_path,))
  EnvironmentError: mysql_config not found
[0 built (1 failed), 5 copied (55.7 MiB), 10.4 MiB DL]
error: build of '/nix/store/1wcp8ym36476w0h89ayqxcm936fm4xrq-python2.7-mysqlclient-1.4.2.post1.drv' failed

Technical details

system: "x86_64-linux"
host os: Linux 4.14.103, NixOS, 18.09.2327.37694c8cc0e (Jellyfish)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.1.3
channels(root): "nixos-18.09.2327.37694c8cc0e"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Most likely caused by enabling strictDeps . Unfortunately, the config-tools are not very configuration friendly.
Until https://github.com/NixOS/nixpkgs/issues/51176 is resolved, I would add strictDeps = false; to the package.

Unfortunately this does not change anything, still failing with the same error message..

Hmm, apparently mkPythonDerivation just hardcodes the path without the ability to override it from the attrset passed to buildPythonPackage:
https://github.com/NixOS/nixpkgs/blob/c94f6f22d89668bb0c64db0e77d26f69e27eb395/pkgs/development/interpreters/python/mk-python-derivation.nix#L91
Is that intentional, @FRidh?
Until this is resolved, you can use pythonPackages.mysqlclient.overrideAttrs (old: {strictDeps = false;}):
$ nix build -f . '(with import <nixpkgs> {}; pythonPackages.mysqlclient.overrideAttrs (old: {strictDeps = false;}))'


Cleanup Table View / Collection View section

As there are a lot of projects in Table View / Collection View section there is an idea to separate this section. I think we can create subcategories with projects for UITableView and UICollectionView and projects which are for booth of them. Also, we can create a subsection for cells. What do you think @vsouza @dkhamsing @lfarah @arasu01?

@serhii-londar I moved some projects to a new category called Cards.

I'm thinking to create a sub-category to deal with placeholders too.

Totally agree. Any ideas on new subcategories? Let's open issues

I created a new subcategory: Placeholders.

I'll merge the @zhubofei pull request and close this issue. Great job guys ❤

Thanks!


Correct the contributing guidelines

The contributing guidelines currently state:

That the code is correctly formatted (go fmt).
That the commits are based on a reasonably recent main.
That the author is listed in AUTHORS.
That the output from go lint and go vet is clean

This is not a Go project. The main branch is master not main and there is no AUTHORS file to edit.

corrections are made and committed

There is still a reference to the main branch.

done, used a search function this time.


Invalid JSON causes an exception in JSONDeserializer.deserialize()

When deserializing JSON in JSONDeserializer errors from JSONSerialization.jsonObject() are wrapped in a Result as NSError instead of AnyError.
The cause is that func parseJSON(_ data: Data?) -> Result<Any, AnyError> creates a Result using the Result(attempt: { try JSONSerialization.jsonObject(with: d) }) which just wraps the returned NSError.
I think materialize { try JSONSerialization.jsonObject(with: d) } should be used which wraps the error into an AnyError

This is fixed by Result 3.2.3


Because TS addons need to emit declarations, we need to set noEmit to false

Perhaps emitDeclarationsOnly.

yeah -- more testing is def needed.
The main thing is that Glint silently fails if you have an invalid tsconfig.json :see_no_evil:
hopefully that can be resolved as well, but this PR mostly a reminder to me to actually test stuff locally (I made this PR from browser)

Can you share the context here? Why is this needed now, as it used to work just fine before?

Updated the config

Re-opened here: https://github.com/embroider-build/addon-blueprint/pull/277


Fix typos is Grid Topology documentation

cobed -> cubed and an -> and

Codecov Report

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

@@           Coverage Diff           @@
##           master     #120   +/-   ##
=======================================
  Coverage   88.07%   88.07%
=======================================
  Files           4        4
  Lines         562      562
  Branches      117      117
=======================================
  Hits          495      495
  Misses         38       38
  Partials       29       29

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 1361e8d...235c886. Read the comment docs.

Thanks for this! Really appreciate your contribution.

:+1: my pleasure


Dont add SLE_ prefix to repo in openQA if it starts with SL

This will break the plugin MR, so they will need to regenerate the projects

see https://gitlab.suse.de/openqa/openqa-trigger-from-ibs-plugin/-/merge_requests/206/diffs