OSM data not loading in Rapid

Description
I have had an issue on both macOS and Windows where OSM data does not load in Rapid. I tried the same area in iD Editor and the data loads straight away.
This is the area I am trying to map, but the same issue happened to me yesterday in New York City, and other occasions in different places. If I'm reading the console log correctly, it looks like Rapid is struggling to get the data from OSM's API.
Screenshots

Version
2.2.4
What browser are you seeing the problem on? What version are you running?
Chrome v120.0
The OS you're using
win
Steps to reproduce

Visit rapideditor.org.
Select 'Get started'
Zoom into an area and attempt to map.

The browser URL at the time you encountered the bug
https://rapideditor.org/edit#background=Bing&datasets=fbRoads,msBuildings&disable_features=boundaries&map=20.00/-38.14955/144.35848
The auto-detected useragent string for your browser (leave blank if you're manually filling this form out)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36

That URL is currently working for me. There are a couple of possibilities here:

The OSM API was having issues (this has happened in the past) -- this is probably what was happening, since ERR_CONNECTION_CLOSED is typically done server side.
Your internet service is/was having difficulties routing to the OSM API
A browser addon was causing issues

The first two problems should be transient; the last one would not be.
For the potential ISP issues, if you open the browser console/network activity windows, can you get the API data directly?
Have you tried iD? Have you tried JOSM?
For a potential browser addon problem, what browser addons do you have installed?
Specifically, do you have anything like the Firefox Facebook Container addon?

Agree with Taylor on these points- though i can say I was able to access the OSM API contemporaneously with Ed when he was having difficulties, and it loaded just fine for me. i think that rules out any sort of OSM-wide issue. No other conference goers were experiencing this either.

Thanks for the responses. It happened a over a few days so it seems too regular to be an OSM API issue. I thought I remember it happening over both office and home Wifi so that could rule out my ISP, but I will test in the office tomorrow.
It could be extension related, so I will try a few different things including incognito and report back.

OSM data is not loading in Rapid as an APP. And also any work done is NOT saved and the App stays in a loop "uploading" but such uploading Never happens and all the work is trashed. ANNOYING!!!

No other portion of the road, no rivers, just that uploaded

ID is not doing any better

New day, new network, no issues. I'll report back if I see any issues with OSM data loading.

Thanks, it looks like have been some actual outages on the OSM service over the past few days.
I think Rapid should do a better job handling these issues.
From @eneerhut's screenshot, he's clearly not getting OSM data, but also not seeing any of the error messages.  We do have some code to handle when the API is unavailable, but it doesn't cover this situation with the connection closed.  We should detect it and let the user know.
I think for all these kinds of failures, maybe the right course of action is to direct our users towards reporting the issue on openstreetmap/operations, since it's more for them to deal with.

Keep not loading anything in Rapid, and just portions in ID after awaiting a lot..

@jjiglesiasg : There was a persistent API scraper that was taking the OSM API offline for everyone else.
The server admins did create a fix for it, such that ignoring 408 request timeout errors would be a really bad idea. Like "blocked for 12 hours" bad idea. Right now, it looks like it is restricted to one API endpoint (which I don't think iD or Rapid use), but if it is a malicious actor trying to bring OSM down, I would not be surprised if those rules are extended to the rest of the OSM API.
In the future, before blaming Rapid, iD, or JOSM, please check to see if is something that is happening for everyone else (you can check openstreetmap/operations and the prometheus dashboard, ask on #osm IRC, OSM World Discord, etc.).
In this case, the OSM API was down between 03:40 and 07:00 UTC.
Should we handle issues when uploading better? Yes. We should never lose data. But we need to know what is happening. What were the network responses? Did the OSM server respond with a "good" response and the data never actually made it to the DB? Did the OSM server respond with an undocumented response?
We can guess, but that means that any fix will be a shot in the dark, and could be fixing the wrong problem.

Thanks for the info, but I do not remember place the blame in ID, RAPID or JOSM for the situation. I just pointed that was happening in ID and RAPID who are the apps that I use. And yes I loose data because if you close any of the apps without saving the data is scrapped, not keep for future upload.

Noticed this one again. This time using MapRoulette to cycle through San Francisco crosswalks. I am able to zoom into the same area in a new Rapid Editor/iD window and see all the data.
Could it be possible that cycling through such crosswalk challenges in MapRoulette causes OSM rate limiting?


remove personal workspace

Description

Issues Resolved

Screenshot

Testing the changes

Check List

[ ] All tests pass

[ ] yarn test:jest
[ ] yarn test:jest_integration

[ ] New functionality includes testing.
[ ] New functionality has been documented.
[ ] Update CHANGELOG.md
[ ] Commits are signed per the DCO using --signoff

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

Project coverage is 55.22%. Comparing base (415605f) to head (02aed25).

Additional details and impacted files
@@              Coverage Diff               @@
##           workspace     #271       +/-   ##
==============================================
- Coverage      66.76%   55.22%   -11.55%
==============================================
  Files           3337     1193     -2144
  Lines          64801    24193    -40608
  Branches       10453     4079     -6374
==============================================
- Hits           43263    13360    -29903
+ Misses         18951    10163     -8788
+ Partials        2587      670     -1917

Flag
Coverage Δ

Linux_1
?

Linux_2
55.22% <ø> (-0.01%)
:arrow_down:

Linux_3
?

Linux_4
?

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

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


Discuss jspecify.dev makeover

We touched on this a couple months ago. Now that we're planning to go somewhat more public and publish more content, I thought it'd be helpful to talk about a makeover for the site again.
I spent a few hours this morning in Figma playing with fonts and icons and then a couple more to set things up in docusaurus. Below is the screenshot of the landing page which is a combination of

docusaurus' template and
my amateurish attempt at graphics design (I'm not a designer by any stretch; consider this as just my attempt to make the site standout a little bit; not as a definitive take on branding 🙂).

I guess, overall I have a positive impression from docusaurus: the template feels more modern than what we have now and the toolchain for working with the site is quite good.
I didn't try to port any content from the current site. I can take a stab at it unless somebody feels strongly against going in this direction. Let me know what you think.
Light:

Dark:

I don't know anything about docusaurus, but explore away! As long as it
lets us write docs in markdown, it sounds good to me.
Thanks!
On Wed, Aug 3, 2022 at 11:07 AM Artem Pyanykh @.***>
wrote:

We touched on this a couple months ago. Now that we're planning to go
somewhat more public and publish more content, I thought it'd be helpful to
talk about a makeover for the site again.
I spent a few hours this morning in Figma playing with fonts and icons and
then a couple more to set things up in docusaurus https://docusaurus.io/.
Below is the screenshot of the landing page which is a combination of

docusaurus' template and
my amateurish attempt at graphics design (I'm not a designer by any
means; consider this as just my attempt to make the site standout a little
bit; not as a definitive take on branding 🙂).

I guess, overall I have a positive impression from docusaurus: the
template feels more modern that what we have now and the toolchain for
working with the site is quite good.
I didn't try to port any content from the current site. I can take a
stab at it unless somebody feels strongly against going in this
direction. Let me know what you think.
[image: Screenshot 2022-08-03 at 15 18 10]
https://user-images.githubusercontent.com/2338443/182636846-1225d1ee-6026-48ff-b688-1abfb0a9dde5.png
—
Reply to this email directly, view it on GitHub
https://github.com/jspecify/jspecify/issues/253, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABA3LSKU5GY4OX27BEO3TADVXKDMXANCNFSM55PG4E3Q
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I appreciate your taking this on. And I like the logo. :-)
Are we stepping on each other's toes if I'm changing the landing page .md much?

Thanks @kevinb9n! 🙂 I don't think we're stepping on each other's toes. I'll port the 2 other pages (user guide, the spec) first and then share intermediate results/ping you about the landing page.

I, too, like the logo, as well as the similar hints at the concept of "annotations" in the... workmark, I guess is the term? :) We're going to need some T-shirts when 1.0 arrives!
@KengoTODA has done a good bit of the word on the existing setup and may make a good reviewer. But I don't want to sign anyone else up for doing work :)

I've just submitted #257 which updates the website. Let's discuss next steps on the PR.


fix: allow macro to be called with both StdError and anyhow::Error

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Update dependencies

• Android Gradle Plugin (3.1.2 -> 3.1.4)
• Kotlin (1.2.41 -> 1.2.61)
• OkHttp (3.10.0 -> 3.11.0)
• Okio (1.14.0 -> 2.0.0)
• RxAndroid (2.0.2 -> 2.1.0)
• RxJava (2.1.12 -> 2.2.1)
• RxKotlin (2.2.0 -> 2.3.0)
• Timber (4.7.0 -> 4.7.1)
• Gradle (4.7 -> 4.10)
@gnosis/mobile-devs

Codecov Report

Merging #27 into master will decrease coverage by 0.19%.
The diff coverage is 80%.

@@             Coverage Diff             @@
##             master      #27     +/-   ##
===========================================
- Coverage     64.34%   64.15%   -0.2%
  Complexity      147      147
===========================================
  Files            50       50
  Lines          1237     1236      -1
  Branches        192      194      +2
===========================================
- Hits            796      793      -3
  Misses          350      350
- Partials         91       93      +2

Impacted Files
Coverage Δ
Complexity Δ

...sis/svalinn/security/impls/AesEncryptionManager.kt
73.94% <ø> (ø)
24 <0> (ø)
:arrow_down:

...in/java/pm/gnosis/crypto/utils/CryptoExtensions.kt
73.33% <100%> (ø)
0 <0> (ø)
:arrow_down:

...pto/src/main/java/pm/gnosis/crypto/KeyGenerator.kt
100% <100%> (ø)
2 <1> (ø)
:arrow_down:

crypto/src/main/java/pm/gnosis/crypto/HDNode.kt
81.81% <60%> (-3.9%)
21 <3> (ø)

...rc/main/java/pm/gnosis/crypto/utils/Base58Utils.kt
85.71% <83.33%> (ø)
7 <4> (ø)
: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 0d86311...93c69f9. Read the comment docs.


Does not complete container names with docker rm

As the title says, container names are not coming up with docker rm
Thanks for your work.

Hi @ayZagen. Does that help?

sorry, I forgot to respond, strangely it works now but at that time it was showing files in the current directory.


Zip deploy was failing while deploying code to function apps with below error

These app settings  are already present
WEBSITE_CONTENTAZUREFILECONNECTIONSTRING
WEBSITE_CONTENTSHARE
WEBSITE_RUN_FROM_PACKAGE
This issue was solved either after adding WEBSITE_CONTENTAZUREFILECONNECTIONSTRING and
WEBSITE_CONTENTSHARE but now our azure resources are integrated with vnet.
Github action:

name: 'Run Azure Functions Action'
uses: Azure/functions-action@v1
id: fa
with:
app-name: ${{ env.AZURE_FUNCTIONAPP_NAME }}
#slot-name: ${{ env.SLOT_NAME }}
package: './lastfunczip/target/azure-functions/${{ env.POM_FUNCTIONAPP_NAME }}'
#publish-profile: ${{ steps.publishprofile.outputs.profile }}

Run Azure/functions-action@v1
Using RBAC for authentication, GitHub Action will perform resource validation.
Successfully acquired site configs from function app!
Detected function app sku: Dedicated
Successfully acquired app settings from function app (RBAC)!
Detected function app language: Java
Will archive ./lastfunczip/target/azure-functions/cig-loy-tx-sprt into /home/runner/work/_temp/temp_web_package_44798747365641023.zip as function app content
Will use https:///api/zipdeploy to deploy since RBAC Azure credential is detected.
Setting WEBSITE_RUN_FROM_PACKAGE to 1
Update using context.appService.patchApplicationSettings
App setting WEBSITE_RUN_FROM_PACKAGE propagated to Kudu container
Package deployment using ZIP Deploy initiated.
Error: Failed to deploy web package to App Service.
Error: Execution Exception (state: PublishContent) (step: Invocation)
Error:   When request Azure resource at PublishContent, zipDeploy : Failed to use /home/runner/work/_temp/temp_web_package_44798747365641023.zip as ZipDeploy content
Error:     Failed to deploy web package to App Service.
Internal Server Error (CODE: 500)
Error:       Error: Failed to deploy web package to App Service.
Internal Server Error (CODE: 500)
at Kudu. (/home/runner/work/_actions/Azure/functions-action/v1/node_modules/azure-actions-appservice-rest/Kudu/azure-app-kudu-service.js:175:23)
at Generator.next ()
at fulfilled (/home/runner/work/_actions/Azure/functions-action/v1/node_modules/azure-actions-appservice-rest/Kudu/azure-app-kudu-service.js:5:58)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
Error: Deployment Failed!
Issue with the whitelisting ip of github runner in function app vnet Allow rule. what is the ideal way to whitelist github action runner IP under function app vnet.

Hi @Nagipenugonda, I believe this question would be best asked on the Azure Functions GitHub repo, here: https://github.com/Azure/Azure-Functions

I'm closing this issue here, please feel free to reactivate with more details or open a new issue about an Azure Client Library (SDK).  Thanks


kwctl does not fail in case it can not read the docker config.json

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
During troubleshooting kwctl image pull from authenticated registry I had to specify the parameter --docker-config-json-path and had the false understanding that this does not only take the path to a config.json but I can also specify the json i.e. via --docker-config-json-path /root/oci/reg-auth.json
Unfortunately the putput of kwctl did not give any info that the file could not be read and just in the strace I could find out that it tried to read /root/oci/reg-auth.json/config.json
Expected Behavior
In case the config.json specified can not be read / does not exist - kwctl should thrown an error  message for the user.
Steps To Reproduce
Use kwctl and specify a non existing or non readable --docker-config-json-path
Environment
- OS: Linux
- Architecture: x86_64

Anything else?
No response

Closing, starting with version 1.6.0 kwctl will print an error message if it cannot find a config.json file inside of the directory specified by the user


Package request: steamlink

Project description
Here is what I have tried so far:
# Updates: https://repo.steampowered.com/steamlink/>
{ stdenv, autoPatchelfHook, fetchzip, libsForQt5, xorg, libdrm, libva, libvdpau
, SDL2 }:
stdenv.mkDerivation (self: {
  pname = "steamlink";
  version = "<IP_ADDRESS>8";

  dontWrapQtApps = true;

  # autoPatchelfIgnoreMissingDeps = [ "" ];

  nativeBuildInputs = [ autoPatchelfHook ];
  buildInputs = [
    libsForQt5.qtbase
    libsForQt5.qt5.qtsvg
    xorg.libX11
    libdrm
    libva
    libvdpau
    SDL2
  ];

  src = fetchzip {
    url =
      "https://repo.steampowered.com/steamlink/${self.version}/steamlink-${self.version}.tgz";
    hash = "sha256-HHP5YuspjKRVRwcuFMi7EYLuqpjI8RGqiTOUCxqcKgc=";
  };

  installPhase = ''
    mkdir -p $out/{bin,lib}
    cp $src/bin/* -t $out/bin
    cp $src/lib/* -t $out/lib
  '';
})

I am stuck on:
steamlink: symbol lookup error: steamlink: undefined symbol: _ZN7QWidget15controllerEventEP16QControllerEvent, version Qt_5

Tried with and without pkgs.libsForQt5.callPackage and adjusting lambda arguments accordingly.
Metadata

homepage URL: https://repo.steampowered.com/steamlink/
source URL: https://repo.steampowered.com/steamlink/
license: custom "Steam Link License" for Flathub
platforms: Linux

Add a :+1: reaction to issues you find important.

Afaict, the error originates from steam link requiring a patched qtbase (5), for reference see the flatpak manifest for steamlink. They also appear to apply patches the other qt dependencies.
However the nixpkgs libsForQt5.qtbase doesn't appear to include any of the relevant KDE patches. The patches are open source so we may be able to include them via an override if required.

Duplicate of #77026


Fix DeleteRequest and extend xhr

https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/getAllResponseHeaders

Hi @jordimontana82, any chances to get this into your repo? Thanks


Inconsistency Between MetaMask Transaction Status and Blockchain Explorer Confirmation

Describe the bug
Hello,
I've encountered a significant issue where there is a discrepancy between the transaction status as reported by Metamask and the actual confirmation status on the blockchain explorer. This inconsistency could potentially lead to users submitting duplicate transactions, under the assumption that their initial transaction failed, based on Metamask's status report.
Issue Details:

Metamask indicates that the transaction has "Failed."
However, the blockchain explorer shows the transaction as "Successful" with confirmation by 231 blocks.

Potential Impact:

Users who do not cross-verify the transaction status on a blockchain explorer might attempt to resend the transaction, assuming it has failed as per Metamask's/Other Wallet indication.
This could result in unintended duplicate transactions, leading to unnecessary network congestion and potential loss of funds due to double spending on fees.

Transaction Information:

Transaction Hash: 0x1e1500c7c103b2e58d877760e1bde9bde96dfe429220de86a6a221a39d6510c
Metamask Status: Failed
Blockchain Explorer Status: Success, Confirmed by 231 blocks
Block: 66042
Timestamp: April 30, 2024, 05:13:00 PM +7 UTC

I am including a screenshot for your reference. It is crucial to address this issue to prevent user confusion and to ensure that the Metamask interface accurately reflects the true status of transactions on the blockchain.
Thank you for looking into this matter.

Steps to reproduce
Steps to reproduce here.
Spam policy

[X] I verify that this issue is NOT SPAM and understand SPAM issues will be closed and reported to GitHub, resulting in ACCOUNT TERMINATION.

Could you share the link of this page? looks like the transaction hash is not on chain, guess its reorged by a L1 reorg.

Could you share the link of this page? looks like the transaction hash is not on chain, guess its reorged by a L2 reorg

Could you share the link of this page? looks like the transaction hash is not on chain, guess its reorged by a L2 reorg

https://blockscoutapi.hekla.taiko.xyz/tx/0x1e1500e7c103b2e6d877f60e1bde9bde96dfef429220ed6a6a6a221a39d6510c


[OTHER] Missing Category

What would you like to share or ask?
The Technical Writing category is not listed in the dropdown menu of the Add a New Link Issue template.
Note: I tried doing this PR myself, but decided to close my PR in an effort to give other contributors a chance. This can be done for Hacktoberfest.
Screenshot

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[ ] I am willing to work on this issue (optional)

@CBID2
We need to open this up for others to comment, so that we can know. Limiting the conversations to collaborators would not be correct, I think.

@CBID2
We need to open this up for others to comment, so that we can know. Limiting the conversations to collaborators would not be correct, I think.

You're right 😄

I’d like to work on this

Please assign the issue to me

Hey @barkhaaroraa. Any updates on this?

hi, i'm currently swamped with exams until October 12th, so I won't be able to tackle the issue right away.

@barkhaaroraa
It won't take long, just do it whenever you are free. It will merely take 3 minutes to make the changes.

hi, i've made the necessary changes.


Add vertical wave support, use sin function to generate hues

The sin function allows to decrease density of values around 0 and 1 to avoid too high speed of yellow area. Also added --delta parameter for making the gradient smoother, and parameter --pretend for debugging

Hi Dima, thank you for your contribution to this project. I'll take a look at your code as soon as I can and then merge it.
I'm happy to see proposals to improve the script.
Cheers,

Hi Dima, sorry for the late review. I shared a few comments about your work. I tested it on my keyboard, it's nice !


Add prometheus tests

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

Project coverage is 48.92%. Comparing base (3bf8032) to head (5ec00f2).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #17      +/-   ##
==========================================
+ Coverage   40.94%   48.92%   +7.97%
==========================================
  Files          12       12
  Lines         464      464
==========================================
+ Hits          190      227      +37
+ Misses        252      212      -40
- Partials       22       25       +3

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


Localization broken [HELP NEEDED!]

I broke localization in https://github.com/fulldecent/FDTake/commit/a144638e7c18dda469c36b24bee8536c2492cf54 during the update to Swift 3.0.
Please help!
Full dev video: https://www.youtube.com/watch?v=nkGIlDStD7Q
Problem code:
https://github.com/fulldecent/FDTake/blob/a144638e7c18dda469c36b24bee8536c2492cf54/Source/FDTakeController.swift#L195-L197
    let bundle = Bundle(for: type(of: self))
    let bundleLocalization = bundle.localizedString(forKey: string.rawValue, value: nil, table: nil)

Fixed in c3450d12a3aaa2325465935c2efad156d76672de


package-configuration file parsing bug

Preparation:
I created a package-configuration for PyPI::pillow:9.2.0 based on the examples in https://github.com/oss-review-toolkit/ort-config.
---
id: "PyPI::pillow:9.2.0"
source_artifact_url: "https://files.pythonhosted.org/packages/8c/92/2975b464d9926dc667020ed1abfa6276e68c3571dcb77e43347e15ee9eed/Pillow-9.2.0.tar.gz"
path_excludes:
  - pattern: "Pillow-9.2.0/docs/**"
    reason: "DOCUMENTATION_OF"
  - pattern: "Pillow-9.2.0/Tests/**"
    reason: "TEST_OF"

Bug:
I then tried to pass it to ort-evaluate via --package-configuration-file path/to/source-artifact.yml, but this produces the following error (on both 1020272b9baeabe28a685e4dfa43ba380e66f6b1 and 3696a8eb960da464481ea9295fdca8b54801af26):
________ _____________________
\_____  \\______   \__    ___/ the OSS Review Toolkit, version DOCKER-SNAPSHOT-1020272b9baeabe28a685e4dfa43ba380e66f6b1.
 /   |   \|       _/ |    |
/    |    \    |   \ |    |    Running 'evaluate' under Java 11.0.16 on Linux with
\_______  /____|_  / |____|    4 CPUs and a maximum of 4002 MiB of memory.
        \/       \/
Environment variables:
ORT_CONFIG_DIR = /config
ORT_DATA_DIR = /root/.ort
TERM = xterm
http_proxy = <cencored>
https_proxy = <cencored>
JAVA_HOME = /opt/java/openjdk
ANDROID_HOME = /opt/android-sdk
GOPATH = /tmp/go

Looking for evaluator-specific configuration in the following files and directories:
        /config/copyright-garbage.yml
        /config/license-classifications/generic.yml
13:09:28.562 [main] INFO  org.ossreviewtoolkit.cli.commands.EvaluatorCommand - Read ORT result from 'scan-result.yml' (0.26 MiB) in 1.014654859s.
Exception in thread "main" com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize value of type `java.util.ArrayList<org.ossreviewtoolkit.model.config.PackageConfiguration>` from Object value (token `JsonToken.START_OBJECT`)
 at [Source: (File); line: 2, column: 1]
        at com.fasterxml.jackson.databind.exc.MismatchedInputException.from(MismatchedInputException.java:59)
        at com.fasterxml.jackson.databind.DeserializationContext.reportInputMismatch(DeserializationContext.java:1741)
        at com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken(DeserializationContext.java:1515)
        at com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken(DeserializationContext.java:1462)
        at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.handleNonArray(CollectionDeserializer.java:392)
        at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:252)
        at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:28)
        at com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue(DefaultDeserializationContext.java:323)
        at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4674)
        at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3514)
        at org.ossreviewtoolkit.model.utils.FilePackageConfigurationProvider.<init>(SimplePackageConfigurationProvider.kt:91)
        at org.ossreviewtoolkit.cli.utils.PackageConfigurationOptionKt.createProvider(PackageConfigurationOption.kt:37)
        at org.ossreviewtoolkit.cli.commands.EvaluatorCommand.run(EvaluatorCommand.kt:297)
        at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:198)
        at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:211)
        at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:18)
        at com.github.ajalt.clikt.core.CliktCommand.parse(CliktCommand.kt:400)
        at com.github.ajalt.clikt.core.CliktCommand.parse$default(CliktCommand.kt:397)
        at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:415)
        at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:440)
        at org.ossreviewtoolkit.cli.OrtMainKt.main(OrtMain.kt:81)

Current Workaround(s):
If I only pass it via --package-configuration-dir path/to/, it works without a hitch.
Additional Information:
At first I added all current package-configurations from https://github.com/oss-review-toolkit/ort-config to my repo, while keeping the directory structure. I then noticed that passing --package-configuration-dir package-configurations/PyPI/ does not work at all. This is pretty counter intuitive.
It appears --package-configuration-dir only supports directories with YAML files, each including a package-configuration. The pkg config documentation also implies this.
However, if you keep the directory structure in the example config, I would recommend supporting it as is. This way, it would be also cleaner to manage large number of package-configurations within one config repo.

Note that the YAML file you point the --package-configuration-file option at is supposed to contain a list / array of package configurations, not a single package configuration. So by design you're not supposed to point that option at a single package configuration file from a hierarchy of package configurations. The latter is what --package-configuration-dir. So you should only use either option, depending on whether you decided to organize your package configurations all within a single file, or in a directory structure. It's either or.

Note that the YAML file you point the --package-configuration-file option at is supposed to contain a list / array of package configurations, not a single package configuration.

Could you provide an example? I fail to find one in the config repo.
Do you mean a index/list of individual pkg config files, or a file containing all pkg config files, but in a YAML list structure?

So by design you're not supposed to point that option at a single package configuration file from a hierarchy of package configurations. The latter is what --package-configuration-dir. So you should only use either option, depending on whether you decided to organize your package configurations all within a single file, or in a directory structure. It's either or.

Wait! So the -dir param points to a directory of files, without supporting any kind of (sub-)directory structure? And the -file param points to an index file for a more complex directory structure?
From a certain point of view this is the total opposite of what a user would expect.
Why not parse all yaml files in a directory no matter the dir structure? This would be way more user friendly and the -file parameter could be omitted or actually be used with a single file, with all pkg configs.

Are there any more open questions on this topic @pepper-jk?


Contourf plots look faulty if array contains nans

This plot was created with contourf. It does not look right in regions with gradients. I can put together an MWE if this is necessary, but I just wanted to ask if you are aware of this problem and if it will be fixed.
OS: Ubuntu 20.04
iris: 3.1.dev0
matpltolib: 3.4.2
cartopy: 0.19.0.post2

This is an MWE:
import cartopy.crs as ccrs;
from iris.coords import DimCoord;
from iris.cube import Cube;
import iris.plot as iplt;
import matplotlib.pyplot as plt;
import numpy as np;
import math as mat;
import matplotlib as mpl;
mpl.rcParams["savefig.pad_inches"] = 0.05;

lat = np.linspace(52, 53, 100);
lon = np.linspace(8, 9, 100);
lat_iris = DimCoord(lat, standard_name = "latitude", units = "degrees");
lon_iris = DimCoord(lon, standard_name = "longitude", units = "degrees");

plot_array = np.zeros([len(lat), len(lon)]);

for i in range(len(lat)):
	for j in range(len(lon)):
		plot_array[i, j] = mat.exp((-(i - 50)**2 - (j - 50)**2)/8);
		if i > 70:
			plot_array[i, j] = np.nan;

fig_size = 10;
fig = plt.figure(figsize = (fig_size, fig_size));
proj = ccrs.Mercator(central_longitude = np.mean(lon));
ax = plt.axes(projection = proj);
ax.set_extent([min(lon), max(lon), min(lat), max(lat)], crs = ccrs.PlateCarree());
cube = Cube(plot_array, dim_coords_and_dims = [(lat_iris, 0), (lon_iris, 1)]);
cf = iplt.contourf(cube, cmap = "jet", levels = np.linspace(0, 1, 1000));
fig.savefig("3.0.4.png", dpi = 200, bbox_inches = "tight");

plot with 3.0.4:

plot with 3.1.dev0:

The difference does not occur if the two lines
		if i > 70:
			plot_array[i, j] = np.nan;

are removed.

So I have found out that the reason for this is 68f2032
If I undo this max checking, the problem does not occur.


External link on Pages docs is broken

“Pages home”

Opens pages.dev which currently shows this:

@rita3ko I guess pages.dev isn’t redirecting to http://pages.cloudflare.com
cc @signalnerve

fixed with #529


Alternate fix for #58

Use package-extract to create pkg.js

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

Project coverage is 100.00%. Comparing base (851d4da) to head (29ed96f).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #59   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            5         6    +1
  Lines         1299      1302    +3
=========================================
+ Hits          1299      1302    +3

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

@goodwise, please review, will this work for you instead of #58?


cvxpy/tests: Add test for infeasible boolean problem

Description
Please include a short summary of the change.
We add a new test to cvxpy/tests/test_mip_vars. This test fails with CBC.
#1703 attempts to fix it.
Issue link (if applicable):
Type of change

[ ] New feature (backwards compatible)
[ ] New feature (breaking API changes)
[ ] Bug fix
[X] Other (Documentation, CI, ...)

Contribution checklist

[ ] Add our license to new files.
[ ] Check that your code adheres to our coding style.
[ ] Write unittests.
[ ] Run the unittests and check that they’re passing.
[ ] Run the benchmarks to make sure your change doesn’t introduce a regression.

then update cvxpy/tests/test_conic_solvers.py

with one method for every solver that can handle integer variables?

Does this problem have a clear qualitative property that existing test MILPs do not? An example of such a property is "the root LP relaxation is infeasible". If this problem does introduce a clear qualitative property compared to existing test cases, then yes, please add the test for every solver that supports MILP.

The new tests are failing in several environments, e.g.,
https://github.com/cvxpy/cvxpy/runs/5549355220?check_suite_focus=true#step:6:1367
https://github.com/cvxpy/cvxpy/runs/5549355386?check_suite_focus=true#step:6:1375

The new tests are failing in several environments, e.g.,
https://github.com/cvxpy/cvxpy/runs/5549355220?check_suite_focus=true#step:6:1367
https://github.com/cvxpy/cvxpy/runs/5549355386?check_suite_focus=true#step:6:1375

Yes, this is working as intended. The CBC solver is broken until a working version of CyLP with https://github.com/coin-or/CyLP/pull/150 is released and deployed.

Does this problem have a clear qualitative property that existing test MILPs do not?

I'd say clear enough, it looks like it is the first tested example of an infeasible ILP for which ILP preprocessing does not already lead to an infeasible relaxation, at least for CBC's preprocessor, with default settings.
So I'm going to add it to the other solvers.

@mkoeppe we don't want to merge changes that result in failing tests. I suggest the new CBC test be modified so it expects an assertion failure when CyLP is at or below a certain version and raises a warning to let the user know that situation was encountered. The test should expect no assertion failure when CyLP is a sufficiently high version.

@mkoeppe this looks good to me. You might want to change how CBC status codes are handled per the discussion in https://github.com/cvxpy/cvxpy/commit/d390389cab6a44cd66afff756563b53c4a8aed3a#commitcomment-68775673, which came up after PR #1703 was merged.

You might want to change how CBC status codes are handled per the discussion in d390389#commitcomment-68775673, which came up after PR #1703 was merged.

I think this needs more discussion, so it's best to leave it for a separate PR.

In the CI configurations, it now skips the new test as intended.
I've tested this version locally with https://trac.sagemath.org/ticket/31962 (https://git.sagemath.org/sage.git/commit/?id=6daae939c9ee40f8fa5643a85dc655c067a21525), and it runs and passes the test.

You might want to change how CBC status codes are handled per the discussion in d390389#commitcomment-68775673, which came up after PR #1703 was merged.

I think this needs more discussion, so it's best to leave it for a separate PR.

Agreed.


Unit tests for healtcheck service

Unit tests for healtcheck service.

Pull Request Test Coverage Report for Build 76

3 of 3 (100.0%) changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.4%) to 92.857%

Totals

Change from base Build 74:
-0.4%

Covered Lines:
338

Relevant Lines:
364

💛  - Coveralls


if possible to route all external outbound traffic to egress gateway or someone cluster

some external call A workload, then A workload call back to some external service
do not know external service ip , just know url path
possible to route all outbound traffic match url path to any address to egress gateway?

some external call A workload, then A workload call back to some external service
do not know external service ip , just know url path
possible to route all outbound traffic match url path to any address to egress gateway?

Please ref to this doc: https://istio.io/latest/docs/tasks/traffic-management/egress/egress-gateway/

@zengyuxing007 in this doc to use egress gateway need create serviceentry,but serviceentry need set host/address , but in my case I do not know external service address, so I just want route any address to egress gateway,actually serviceentry host can not set as "*"

@zengyuxing007 in this doc to use egress gateway need create serviceentry,but serviceentry need set host/address , but in my case I do not know external service address, so I just want route any address to egress gateway,actually serviceentry host can not set as "*"

So what do you need egress gateway to do for you? If the request doesn't go through the egress gateway, does it not go through?
The purpose of the istio egress gateway may be to help you add some access control or load balancing, but you need to specify which services you want to access by egress gateway.

are you looking for https://istio.io/latest/docs/tasks/traffic-management/mirroring/?

@zirain i need mirror traffic which to "any/all" external service with specific url path,but in doc is mirror traffic which to some specific workload

Hi @motocoder-cn , have you found the solution yet?
I also have a use case like in the document, which is "all traffic leaving the service mesh must flow through a set of dedicated nodes. These nodes will run on dedicated machines, separated from the rest of the nodes running applications in the cluster "


Pause Live Stream

How can I pause the live stream and stop it for buffering, i tired to set the paused props to false while on streaming, live stream are still streaming. Any idea ?

Any news?

To be able to stop and then play from the live stream at the latest time, I've add this line that had the issue fixed
ReactExoplayerView.java
public void setPausedModifier(boolean paused) {
        isPaused = paused;
        if (player != null) {
            if (!paused) {
                player.seekTo(player.getDuration()); //CUSTOM
                startPlayback();
            } else {
                pausePlayback();
            }
        }
    }


feat: pod lifecycle filtering

Only pods that are not "Failed" or "Succeeded" will be default candidates for scraping.
BREAKING CHANGE: this changes the default behavior of PodMonitoring and ClusterPodMonitoring

Fixes #145

The proposal here is similar to the prometheus-operator approach, however it moves the boolean up to the pod-level, as opposed to the endpoint level. The thinking behind this is that since the lifecycle phase label is at the pod-level, then the configuration for scraping should be at the pod-level as well.
The drawback to this approach is: If one has a PodMonitoring with multiple scrape endpoints, and it's desired to have one endpoint be scraped regardless of pod status, while the other scraped only if the pod is "running", then this is not possible.
However, I can't imagine a case where this would be desired as, by definition, all containers in a Succeeded or Failed pod have exited. If there is some valid use case that we're not foreseeing here, it should still be possible by splitting up the PodMonitoring by scrape endpoint.
The considerations for making this a new default (as opposed to opt-in) are:

Ignoring failed pods is a net beneficial change for managed collection and we want all users to have the feature with little friction.
Scraping a "failed" pod should be the exception and not the rule. The majority of existing PodMonitorings shouldn't need to specify any new configuration to be covered.

Happy to discuss more though if there are other thoughts.

cc @lyanco @bwplotka for your input ^

@bwplotka - added context in the field description to answer your question. Basically the cases from #145 are the motivation. Helping folks reduce their monitoring bill is also a nice benefit 💸


Using a Custom Idempotent Key AND an iterable step = run once only

Using a Custom Idempotent Key and an iterable step (using a for_each:), results in the job queue not running any jobs after the first job is completed. The AcidicJob will only run the first job, including all its steps, but all others jobs enqueued after this are only initialized but never run. In effect, this Custom Indempotent queue is stuck.
Sample code :
class MyJob < ApplicationJob
  # custom idempotent key so that all transactions with the distant server are sequential
  acidic_by do
    distant_server_config = arguments.first   # First parameter to the .perform method
    "DistantServer-" + distant_server_config.api_key
  end

  def perform(distant_server_config)
    @distant_server_config = distant_server_config

    with_acidic_workflow persisting: { collection: [1, 2, 3, 4, 5] } do |workflow|
      workflow.step :step1, for_each: :collection
      workflow.step :step2
    end

  def step1(num)
    p "in step1 with " + num.to_s
    true
  end

  def step2
    p "in step2"
    true
  end
end

Then do
dist_server.api_key = "abcdef"
MyJob.perform_later(dist_server)
sleep 2
MyJob.perform_later(dist_server)
Result
step1 is displayed 5 times, followed by step2
(the second job is never executed)
Expected result
step1 is displayed 5 times, followed by step2
step1 is displayed 5 times, followed by step2

Disregard this PR.
I now understand that this is the actual expected result. Idempotent keys does not make jobs with two identical keys execute serially (one after the other), it make them execute only the first time. I misunderstood the goal of this package.


add that you need :tzdata in applications

might help someone from getting started and not understanding timex needs the tzdata server started.

Closed in #10


[NFT] Does not display the right contract type

Using the <NFT /> component like this does not display the right type. Expecting erc1155, got erc721
<NFT
  address="0xE95A09ed92979622AbaaC65AE72954E61101851a"
  chain="rinkeby"
  metadata={{
    description: 'Aura Protective High Top Sneaker',
    image: 'https://ipfs.moralis.io:2053/ipfs/QmVJ4WmEcahDDnQc3hvV71sGgDVYwLZukXS3TzqEzwfcxc/blank.mp4',
    name: 'Footwear'
  }}
  tokenId="1"
/>

Hey @iuliannov
Thanks for letting us know.
When a user is explicitly passing the metadata prop the contract type was hardcoded as ERC721. Now users can pass the contract type as well.
Just an FYI. You can enable fetchMetadata={true} and it will automatically fetch the data for you 😄
<NFT
  address="0xE95A09ed92979622AbaaC65AE72954E61101851a"
  chain="rinkeby"
  fetchMetadata={true}
  tokenId="1"
/>

This was failing for this particular case. Because the fetched video had link in format ipfs://....
This is fixed now.Please check our storybook https://web3ui.github.io/web3uikit/?path=/story/1-web3-nft--crypto-punk-01&args=chain:rinkeby;address:0xE95A09ed92979622AbaaC65AE72954E61101851a .

Closing this issue now 🙌🏻


valuesOf(IndexIterator) with webstorage never dispatch a response

Hi,
When using valuesOf with sessionstorage or localstorage, the deferred object seems to be lost if there is no results.
Here is a sample code :
`
var db = new ydn.db.Storage('bugfix111, { stores : [{name: 'item', keyPath: 'id', indexes : [{name:'type', keyPath:'type'}]}]},  {mechanisms: ['localstorage']});
var it = ydn.db.IndexIterator.where('item', 'type', '=', 'folder');
db.values(it).then(function(r) {
console.log(r);
}, function(e) {
console.log(e);
});
`
I'm I doing something wrong or is this possibly a bug ? If it's a bug I'll give a try to submit a PR.
Thanks

Duplicate of #90

Thanks @mehdirande PR welcome.


Toggle GeoNames reconciliation hits in review.html

Reconciliation now runs against a wdgn index that includes the previous 3.6m wikidata records and ~10m geonames records. The list of hits on the right for a given place record on the left will include all hits from both sources, but will filter the display:

if there is >=1 hit with dataset=="wikidata" and >=1 with dataset=="geonames", the Wikidata hits will display, the geonames ones will be hidden, and a button to "Show GeoNames records" appears near the top.
if there are no Wikidata hits, and >=1 GeoNames hits, those will display
if there are no GeoNames hits, then only the Wikidata hits display

This is a "beta" approach to providing more candidate matches for geocoding
The issue(s) are:

the "Show GeoNames records" button toggles only the hit list, not the markers
although Wikidata and Geonames are differentiated in the list with color, the markers are not

A screen where this can be tested

[ ] Fix "{% url 'datasets:review' pk=ds_id tid=task_id passnum=passnum %}" in review-common.js

features.properties.ds is either "wikidata" or "geonames", and features currently have a green property to indicate the data point being matched.

I think we should maintain the color scheme of v2, and v3 so far:

the user record: green
the hit record: orange if wikidata; blue-ish if geonames

The colors I used in the template on the id field should be changed to indicate that

text-bg-warning, text-bg-warning
Also...the hover behavior on wikidata record globe icon works, but not on geonames records.

re: fwiw, src_ids - these are not unique; lots of datasets have 1, 2, 3, ...

By src_id in this context I was referring to a "_" concatenation of a source identifier ("wd" or "gn") numerical id.

@kgeographer: datasets.views.review has this line of code:
  authname = "Wikidata" if auth == "wd" else "WHG"

... which I think probably needs to be generalised to allow for GeoNames (it gets written into the jsonb.citation of PlaceGeoms). Similarly, there's a write_wd_pass0 function and I wonder if that also needs to allow for GeoNames?

Sounds right. Off shopping, offline for an hourOn May 17, 2024, at 10:22, Stephen Gadd @.***> wrote:
@kgeographer: datasets.views.review has this line of code:
authname = "Wikidata" if auth == "wd" else "WHG"
... which I think probably needs to be generalised to allow for GeoNames (it gets written into the jsonb.citation of PlaceGeoms). Similarly, there's a write_wd_pass0 function and I wonder if that also needs to allow for GeoNames?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

re: "Similarly, there's a write_wd_pass0 function and I wonder if that also needs to allow for GeoNames?"
this is now working properly so I think this issue can be closed?

I didn't actually address these:

[ ] authname = "Wikidata" if auth == "wd" else "WHG" in datasets.views.review
[ ] write_wd_pass0 function needs to allow for GeoNames

I did - done


Next.js Image bug in i18n?

Version:
    "next": "^15.1.2",
    "nextra": "3.3.0",
    "nextra-theme-docs": "3.3.0",

my code:
import Image from 'next/image';

![Comflowy](/introduction/comflowy-hero.png)

<Image src={"/introduction/comflowy-hero.png"} alt="Comflowy" width={100} height={100} />

result ( the markdown version image is ok):

error from terminal:
 GET /zh/introduction/comflowy-hero.png 404 in 209ms

Try adding /public at the beginning to see if it works.


File Character Set

Expected behavior
when uploading files to our custom tables, we have a file character set column for it along with the blob, filename, file_mimetype and data created columns. your pl/sql code which is inserting into the custom table do not reference that column
Actual behavior
no file character set column in handle
Steps to reproduce the issue
APEX version (4.2.6 / 5.0.3)
5.1.1
Used web server / version and platform (ORDS 3.0.3 / Tomcat 7 / Apache 2.4 / Linux x64)
ORDS
Used web browser / version and platform (Chrome 48 Mac / Firefox 44 Windows)
Firefox 56.01

What would it mean to have a character set for an image in a blob?

I would suggest you to use the APEX collection method instead of custom table.
Thus when developing a plugin I can´t know how the tables look like in you env this method is much more flexible...
You just have to read the readme :)
https://github.com/Dani3lSun/apex-plugin-dropzone#inserting-uploaded-files-into-your-own-tables

I am using APEX collection method. I just add one more true action to refreshReportAfterUpload dynamic action with the pl/sql you provided to insert the file into my custom table
If I upload it to apex.oracle.com, can you have a look into it please?
My whole project is stuck because of this uploading file things.
I tried before the interactive gird with file upload item, but its not working. I have open a thread for that as well.
https://community.oracle.com/thread/4089531
Regards.
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Daniel<EMAIL_ADDRESS>Sent: Sunday, October 22, 2017 11:04 AM
To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [Dani3lSun/apex-plugin-dropzone] File Character Set (#33)
I would suggest you to use the APEX collection method instead of custom table.
Thus when developing a plugin I can´t know how the tables look like in you env this method is much more flexible...
You just have to read the readme :)
https://github.com/Dani3lSun/apex-plugin-dropzone#inserting-uploaded-files-into-your-own-tables
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Dani3lSun/apex-plugin-dropzone/issues/33#issuecomment-338456773, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQEbgQL9bu06xn8AppkuB0epnvwed7v3ks5suujzgaJpZM4QB007.

As mentioned in the description you react to the Dropzone Upload completed event, after that you execute custom PL/SQL code (example in the readme), here in the insert statement you can include your custom columns, but of course you have to know the "file character set" to insert it...
And after that you can do an refresh of an report...
But if you have an example on apex.oracle.com I can have a look when I have time...

Thank you very much for the kind guidance and help. Very much appreciated.
I have uploaded the page into apex.oracle.com. please find the details below
Workspace =madrasa
User=demo
Password=demo
Application=
Page=21
Problems:

The apex collection report is not properly refreshing upon uploading multiple file. Try to upload 3 files one after another and see the report refreshing behavior.
Upon clicking the remove link, it should delete from the EIU_FILES.

Thanks again.
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Daniel<EMAIL_ADDRESS>Sent: Sunday, October 22, 2017 11:20 AM
To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [Dani3lSun/apex-plugin-dropzone] File Character Set (#33)
As mentioned in the description you react to the Dropzone Upload completed event, after that you execute custom PL/SQL code (example in the readme), here in the insert statement you can include your custom columns, but of course you have to know the "file character set" to insert it...
And after that you can do an refresh of an report...
But if you have an example on apex.oracle.com I can have a look when I have time...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Dani3lSun/apex-plugin-dropzone/issues/33#issuecomment-338457478, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQEbgZU_d9FmnAIDnK4Ckp2bhE04umNfks5suuyvgaJpZM4QB007.

Ok I just had a quick look at your code...
The Dropzone region settings look find, but your Dynamic Actions are a bit weird...
refreshReportAfterUpload

You do an refresh before the PL/SQL code, should be the other way round
You delete the collection in the PL/SQL code (at the end), but your refresh will refresh an report that selects this collection, this won´t work because you deleted all records just before
--> You have to select your files table "EIU_FILES" in this report...

But when you do that you will loose the delete files functionality, because the apex collection is already deleted (You can´t delete files that are already gone)
How delete files function work:
APEX collection
You upload your files into an APEX collection, this will return the SEQ_ID (Kind of PK of an collection) to the client. When you click the delete link, a delete of one record in the collection is done, with that SEQ_ID
Custom table
You upload your files into an custom table, this will return the ID (PK of your table generated by Before Insert Trigger) to the client. When you click the delete link, a delete of one record in this table is done, with that PK
So you can´t mix that 2 methods. You can´t upload to APEX collection, then do an insert to your table and delete the collection after that. And then do an delete on link click of one file of the APEX collection...The collection is already empty at this point...
You can solve this by having a temp upload page. So you upload all files to a collection, have the delete function on, so users can delete single files from this collection. And you have a separate "save" button that executes an insert into your own table at the end...

Custom table You upload your files into an custom table, this will return the ID (PK of your table generated by Before Insert Trigger) to the client. When you click the delete link, a delete of one record in this table is done, with that PK
thats what i want. but do you know how to refer to the foreign key in the grid above?
detail question:
i have a grid named dropzone section progress details  it has a primary key called EE_SEC_PROGREES_ID. select the user select any row in this grid and try to click on dropzone region to upload a file, this primary key should be used when the files are uploaded to my custom table.

I know what you will do, but this combination is not supported out-of-the-box
You can either use APEX collection method, then you will be able to upload and delete files within that collection
OR
you can use custom table method, then you will be able to upload and delete files within that table.
But if you use the custom table, your table has to be like the plugin wants it (I can´t know how all the tables outside will be structured, another user will have another column ans so on, therefore use the APEX collection way.)
But you CAN´T use APEX collection and delete files from your custom table!  Then 3 files will be saved to your table

Create an dropzone region (APEX collection + WITHOUT Delete function) + Report that selects your table + use the DA (Upload completed) to save files like here:
https://github.com/Dani3lSun/apex-plugin-dropzone#inserting-uploaded-files-into-your-own-tables
But now you have to develop your own delete function, probably an row link inside you report like here:

So you can directly delete your table files, without the dropzone native delete functionality...

Hope this helps...

Thank you so much for the guidance.
I dont want to combine apex collection and custom table. I will go for custom table instead. I have a question,
If i go for custom table, i would be able to reference a foreign key of its parent grid row?
I would be able to delete row from custom table?
Thank u so much
Get Outlook for Androidhttps://aka.ms/ghei36

From: Daniel Hochleitner<EMAIL_ADDRESS>Sent: Sunday, October 22, 2017 9:05:03 PM
To: Dani3lSun/apex-plugin-dropzone
Cc: maahjoor; Author
Subject: Re: [Dani3lSun/apex-plugin-dropzone] File Character Set (#33)
I know what you will do, but this combination is not supported out-of-the-box
You can either use APEX collection method, then you will be able to upload and delete files within that collection
OR
you can use custom table method, then you will be able to upload and delete files within that table.
But if you use the custom table, your table has to be like the plugin wants it (I can´t know how all the tables outside will be structured, another user will have another column ans so on, therefore use the APEX collection way.)
But you CAN´T use APEX collection and delete files from your custom table!  Then 3 files will be saved to your table

Create an dropzone region (APEX collection + WITHOUT Delete function) + Report that selects your table + use the DA (Upload completed) to save files like here:
https://github.com/Dani3lSun/apex-plugin-dropzone#inserting-uploaded-files-into-your-own-tables
But now you have to develop your own delete function, probably an row link inside you report like here:

[files]https://user-images.githubusercontent.com/698942/31864310-7eaa64c6-b75b-11e7-9cde-2623346998aa.png
So you can directly delete your table files, without the dropzone native delete functionality...
Hope this helps...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Dani3lSun/apex-plugin-dropzone/issues/33#issuecomment-338492793, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQEbgX6-pUCol6QR9Tkt8cgzmj8SmxZWks5su3W-gaJpZM4QB007.

You don´t understand me, if you would like to set additional columns like foreign key column or your characterset column you MUST use the APEX collection method...
As described in the readme, the custom table method works only with an table that is exactly how the plugin needs it, no additional columns...

Okay,
It means I cannot adopt your plugin because I don’t have that much specialty in apex. It would be much better if you create a sample table and tell us step wise approach to handle all the complexities related to that. Because most of the users want to store the files in the database in a table. The format of that table is almost the same.
File_id
File_name
Mimetype
Blob
Date
Anyhow, I will search for some other solutions.
Thank you so much for your kind support and guidance and the time you give to me.
Very much appreciated.
Regards.
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Daniel<EMAIL_ADDRESS>Sent: Sunday, October 22, 2017 9:37 PM
To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [Dani3lSun/apex-plugin-dropzone] File Character Set (#33)
You don´t understand me, if you would like to set additional columns like foreign key column or your characterset column you MUST use the APEX collection method...
As described in the readme, the custom table method works only with an table that is exactly how the plugin needs it, no additional columns...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Dani3lSun/apex-plugin-dropzone/issues/33#issuecomment-338495040, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQEbgZdABz1D1M4RK-21KKgMQ-35NbYFks5su31IgaJpZM4QB007.

Okay.
I think I did it. I generate the report from my eiu_files table, I have added a recyclebin icon, upon clicking the icon, a row is deleted from my custom table. After I complete this, I want to upload the steps to do it.
Pelase tell me one  things.
I want to remove the Remove File link. How to do that please check image below
<EMAIL_ADDRESS>Regards.
From: Daniel<EMAIL_ADDRESS>Sent: Sunday, October 22, 2017 9:37 PM
To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [Dani3lSun/apex-plugin-dropzone] File Character Set (#33)
You don´t understand me, if you would like to set additional columns like foreign key column or your characterset column you MUST use the APEX collection method...
As described in the readme, the custom table method works only with an table that is exactly how the plugin needs it, no additional columns...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Dani3lSun/apex-plugin-dropzone/issues/33#issuecomment-338495040, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQEbgZdABz1D1M4RK-21KKgMQ-35NbYFks5su31IgaJpZM4QB007.

Hi,
Here are the steps to implement the dropzone plugin into a custom table.
STEP 1. Create table custom_table( FILE_ID  number primary key, FILENAME varchar2(1000),FILE_MIMETYPE varchar2(500),FILE_CHARSET varchar2(500), FILE_BLOB blob, CREATED date, ANY_FOREIGN_KEY_ID NUMBER);
STEP 2.  Create a hidden page item named P17_CURRENT_ROW with the following settings
Value Protected = No
Source = null
Warn on unsaved changes =No
STEP 3. Set Item value on row select
Dynamic action: event = Selection Change [interactive Grid]
Selection type = Region
Region= your region having the primary key column
<EMAIL_ADDRESS>Now create two True actions for that dynamic action, one to set the hidden item value and another to refresh the (APEX Collection) region created in step below
<EMAIL_ADDRESS><EMAIL_ADDRESS>Step: on your dropzone region, set the following dynamic action
<EMAIL_ADDRESS><EMAIL_ADDRESS>Do a region refresh
<EMAIL_ADDRESS>And a remove dynamic action
<EMAIL_ADDRESS>Step: Modify the DB Files (APEX Collection) region’s query as below
SELECT FILE_ID, FILENAME, FILE_MIMETYPE, FILE_CHARSET,  round(dbms_lob.getlength(FILE_BLOB) / 1024 / 1024, 3) as file_length, CREATED, ANY_FOREIGN_KEY_ID, 0 as Download from eiu_files where EE_SEC_PROGRESS_ID=:P17_CURRENT_ROW
Page items to submit =P17_CURRENT_ROW
Step: create a del column
<EMAIL_ADDRESS>In the attribute section of the region of the del column, add the following java script
function(config) {
config.views = {
chart: false
};
// there should already be a built in action for this but currently there isn't
config.initActions = function(actions) {
    actions.add({
        name: "row-delete",
        labelKey: "Delete Row",
        action: function(event, element) {
            var rec,
                view = $("#emp_ig").interactiveGrid("getViews","grid"),
                row$ = $( element ).closest( "tr" );

            rec = view.view$.grid( "getRecords", [ row$ ] );
            view.model.deleteRecords( rec );
        }
    });
}

return config;

}
You will get a recyclebin icon with delete functionality
That’s it.
I will try to upload the application I developed in my apex.oracle.com account and share it with you in the GitHub repository of Daniel<EMAIL_ADDRESS>I am just stuck with the download link in the DB Files (APEX Collection) region. Once fixed, I will upload.
Thank you very much Mr. Daniel<EMAIL_ADDRESS>You did brilliant job by developing this plugin and great job to share with the community.
Note: oracle apex is going to finish support for jquery in the future releases. What you will do with your plugin?
Regards.
From: Daniel<EMAIL_ADDRESS>Sent: Monday, October 23, 2017 3:00 PM
To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [Dani3lSun/apex-plugin-dropzone] File Character Set (#33)
Great that it worked, but that is exactly what I wrote here under point 2 :)
#33 (comment)https://github.com/Dani3lSun/apex-plugin-dropzone/issues/33#issuecomment-338492793
You just have to disable the integrated dropzone delete function, like:
[page_designer]https://user-images.githubusercontent.com/698942/31885813-19796452-b7f2-11e7-856d-23d4a00b741a.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Dani3lSun/apex-plugin-dropzone/issues/33#issuecomment-338623456, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQEbgQt-u6F2PG5o7g24prT0aqE7R494ks5svHG9gaJpZM4QB007.

HI,
I am successful in the uploading files. But I cannot manage to download.
Can you help me a little please?
I have uploaded it into apex.oracle.com. details are below
Workspace=madrasa
User=demo
Password=demo
App=DropZone
Page = 17.
Region=DB Files (APEX Collection)
Problems
Problem 1: P17_CUR_ROW_DBFILES_REG cannot populated when the page load. But when we check any row in the DB Files (APEX Collection) region, it is populated fine. Instead, I want it to be populated when the page loads. The first row of the region should be selected.
Problem 2:
The link for download is not good. Specially the request part
<EMAIL_ADDRESS>I alter the DOWNLOAD_DROPZONE_FILE process like below
DECLARE
l_mime_type VARCHAR2(100) := 'application/octet-stream';
l_file_id   NUMBER:=:P17_CUR_ROW_DBFILES_REG;
l_file_name VARCHAR2(100);
l_length    NUMBER;
l_blob      BLOB;
CURSOR l_cur IS
SELECT FILENAME    AS file_name,
FILE_MIMETYPE    AS mime_type,
FILE_BLOB AS lob_loc
FROM eiu_files
WHERE EE_SEC_PROGRESS_ID=:P17_CURRENT_ROW
AND FILE_ID = l_file_id;
BEGIN
-- set file_id
l_file_id :=:P17_CUR_ROW_DBFILES_REG;
-- get clob from collection
OPEN l_cur;
FETCH l_cur
INTO l_file_name,
l_mime_type,
l_blob;
CLOSE l_cur;
l_length := dbms_lob.getlength(l_blob);
-- Download wenn BLOB gefüllt
IF l_length IS NOT NULL THEN
-- set up HTTP header
owa_util.mime_header(l_mime_type,
FALSE);
-- set the size so the browser knows how much to download
htp.p('Content-length: ' || l_length);
-- the filename will be used by the browser if the users does a save as
htp.p('Content-Disposition:  inline; filename="' || l_file_name || '"');
-- close the headers
owa_util.http_header_close;
-- download the BLOB
wpg_docload.download_file(l_blob);
END IF;
END;
Can you have a look into the application please? It is almost done, but the download cannot work.
Thank you very much.
Regards.
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Muhammad<EMAIL_ADDRESS>Sent: Tuesday, October 24, 2017 2:56 PM
To<EMAIL_ADDRESS><EMAIL_ADDRESS>Cc<EMAIL_ADDRESS>Subject: RE: [Dani3lSun/apex-plugin-dropzone] File Character Set (#33)
Hi,
Here are the steps to implement the dropzone plugin into a custom table.
STEP 1. Create table custom_table( FILE_ID  number primary key, FILENAME varchar2(1000),FILE_MIMETYPE varchar2(500),FILE_CHARSET varchar2(500), FILE_BLOB blob, CREATED date, ANY_FOREIGN_KEY_ID NUMBER);
STEP 2.  Create a hidden page item named P17_CURRENT_ROW with the following settings
Value Protected = No
Source = null
Warn on unsaved changes =No
STEP 3. Set Item value on row select
Dynamic action: event = Selection Change [interactive Grid]
Selection type = Region
Region= your region having the primary key column
<EMAIL_ADDRESS>Now create two True actions for that dynamic action, one to set the hidden item value and another to refresh the (APEX Collection) region created in step below
<EMAIL_ADDRESS><EMAIL_ADDRESS>Step: on your dropzone region, set the following dynamic action
<EMAIL_ADDRESS><EMAIL_ADDRESS>Do a region refresh
<EMAIL_ADDRESS>And a remove dynamic action
<EMAIL_ADDRESS>Step: Modify the DB Files (APEX Collection) region’s query as below
SELECT FILE_ID, FILENAME, FILE_MIMETYPE, FILE_CHARSET,  round(dbms_lob.getlength(FILE_BLOB) / 1024 / 1024, 3) as file_length, CREATED, ANY_FOREIGN_KEY_ID, 0 as Download from eiu_files where EE_SEC_PROGRESS_ID=:P17_CURRENT_ROW
Page items to submit =P17_CURRENT_ROW
Step: create a del column
<EMAIL_ADDRESS>In the attribute section of the region of the del column, add the following java script
function(config) {
config.views = {
chart: false
};
// there should already be a built in action for this but currently there isn't
config.initActions = function(actions) {
    actions.add({
        name: "row-delete",
        labelKey: "Delete Row",
        action: function(event, element) {
            var rec,
                view = $("#emp_ig").interactiveGrid("getViews","grid"),
                row$ = $( element ).closest( "tr" );

            rec = view.view$.grid( "getRecords", [ row$ ] );
            view.model.deleteRecords( rec );
        }
    });
}

return config;

}
You will get a recyclebin icon with delete functionality
That’s it.
I will try to upload the application I developed in my apex.oracle.com account and share it with you in the GitHub repository of Daniel<EMAIL_ADDRESS>I am just stuck with the download link in the DB Files (APEX Collection) region. Once fixed, I will upload.
Thank you very much Mr. Daniel<EMAIL_ADDRESS>You did brilliant job by developing this plugin and great job to share with the community.
Note: oracle apex is going to finish support for jquery in the future releases. What you will do with your plugin?
Regards.
From: Daniel<EMAIL_ADDRESS>Sent: Monday, October 23, 2017 3:00 PM
To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [Dani3lSun/apex-plugin-dropzone] File Character Set (#33)
Great that it worked, but that is exactly what I wrote here under point 2 :)
#33 (comment)https://github.com/Dani3lSun/apex-plugin-dropzone/issues/33#issuecomment-338492793
You just have to disable the integrated dropzone delete function, like:
[page_designer]https://user-images.githubusercontent.com/698942/31885813-19796452-b7f2-11e7-856d-23d4a00b741a.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Dani3lSun/apex-plugin-dropzone/issues/33#issuecomment-338623456, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQEbgQt-u6F2PG5o7g24prT0aqE7R494ks5svHG9gaJpZM4QB007.

Thanks for sharing your solution!
Unfortunately I´m not really having the time to help you on general APEX questions...
For everything not associated with the plugins, please go to the Oracle APEX Forum and ask your questions there:
https://community.oracle.com/community/database/developer-tools/application_express
But downloading a BLOB is always the same, just google it or look into my Dropzone Demo App...
To your JQuery question:
APEX in not going to unsupport JQuery in future, thus a lot of logic in the client side code of APEX itself is JQuery code...What comes is an upgrade to an newer version of JQuery, and this shouldn´t be a problem for this plugin...

Dully noted.
Thanks a lot for sharing such a nice plugin.
Regards
Get Outlook for Androidhttps://aka.ms/ghei36

From: Daniel Hochleitner<EMAIL_ADDRESS>Sent: Thursday, October 26, 2017 2:50:06 PM
To: Dani3lSun/apex-plugin-dropzone
Cc: maahjoor; Author
Subject: Re: [Dani3lSun/apex-plugin-dropzone] File Character Set (#33)
Thanks for sharing your solution!
Unfortunately I´m not really having the time to help you on general APEX questions...
For everything not associated with the plugins, please go to the Oracle APEX Forum and ask your questions there:
https://community.oracle.com/community/database/developer-tools/application_express
But downloading a BLOB is always the same, just google it or look into my Dropzone Demo App...
To your JQuery question:
APEX in not going to unsupport JQuery in future, thus a lot of logic in the client side code of APEX itself is JQuery code...What comes is an upgrade to an newer version of JQuery, and this shouldn´t be a problem for this plugin...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Dani3lSun/apex-plugin-dropzone/issues/33#issuecomment-339627633, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQEbgeL3uQSHYu420PPD2i6WYG7QGsxBks5swGPegaJpZM4QB007.

Hi,
I use the the query:
SELECT c001    AS filename,
c002    AS mime_type,
d001    AS date_created,
n001    AS file_id,
blob001 AS file_content
FROM apex_collections
WHERE collection_name = 'DROPZONE_UPLOAD';
What is the setting of the file_content column in order to download?
I know how table down load works, but don't know how apex_collections download?
Thanks


Support --custom-index

Notes

mm2 supports either .mmi, or .fasta with or without compression
bt2 requires a prebuilt index (takes forever) split across numerous files, specified as a path without an extension

Done, needs documentation however as behaviour is not totally intuitive


268 part 1: staff can upload profile pic

🔗 Issue
268
✍ Description
We want to allow staff members to be able to change their profile pictures.
This is the part 1, with the concern, model changes and form changes. I decided to break this into two, because I want to know what people think about the naming and the current decision implementations, before I change all the mini avatar images.
Notice that I put the relation under users table, not staff account. Please honest thoughts here. Thanks!
Part 2: Add view helper to change the places where we use this (navbar/staff index)
📷 Screenshots/Demos
With image:

Without image:

@nsiwnf we talked about it, so if you could gimme your thoughts, thanks!

This looks good to me - admittedly I don't have too much experience adding a feature like this and just looked up some tutorials :)
Any thoughts @kasugaijin, @edwinthinks?

@yuricarvalhop @nsiwnf I think this implementation works fine. Some of my thoughts, more for discussion:

having avatars related to the User model does make sense. Let's say we want to also allow adopters to have avatars, and a situation where a user is both staff and an adopter, then it makes sense they can use the same avatar for both use cases.
given we are relating to the user model, I am not sure it needs to go into a concern? I cannot think of another model where we would use an avatar, but I could be completely wrong here, and I am not opposed to it living in the concern at all. It keeps the options open.

Hi @kasugaijin @nsiwnf
thanks for the comments, some thoughts:
If we keep the avatar on the User, and cant imagine any further use for it on the future, then indeed it wouldn't need to be a concern. Letting it there would be only for code organization purposes, but I dont know if its worth it, as it adds complexity to organize such a small piece of logic (If you think this is a gain, or you think the situation might come on the future, we can let it as it is).
so, how should I proceed? :)

@yuricarvalhop I agree, but I can't help but think we might end up using this in future to create avatars for an organization, for example. It might make sense to just compartmentalize this in the concern now so that it can be used in the future for other models. I think we can leave this PR as is :)

@kasugaijin alright! I added a spec module, as commented above. Feel free to review it, Ill follow up with part 2 on the weekend :)


Scanning not running?

It seems the scanner is either not running, or is running (possibly) weeks behind.  I have several projects that appear to be out of sync:

SansOrm
Influx4j

@brettwooldridge , @srbala
we have fixed an issue not able to index jars. Verified both both of them are fixed now.


Rebuild for proj-6.2.1

Checklist

[x] Used a fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

I got a little over eager.  GDAL isn't there yet.

The conflict is confusing (and has been there a while).
libgdal=3.0 -> libuuid[version='>=2.32.1,<3.0a0']
postgresql -> libuuid=1.0

Does this mean that the postgresql feedstock needs to be bumped to catch a newer libuuid?

@hobu, my experience is that these conflict reports are not usually very helpful.  I think the problem is actually that the gdal rebuild hasn't finished yet and the new versions aren't yet available on conda-forge but the solver found a set of packages that it thinks would work except for this conflict with libuuid.  I think that's not the path we would want to take so the error just isn't very helpful.
I usually debug these kinds of things by using conda create and just adding libraries one by one until the conflict emerges (usually with a more helpful message about the conflict).  It's tedious but gets me where I need to be, whereas these default conflict reports are nearly always totally useless to me.

@sodre or @dwnoble, I think we're good here.  Please merge if you're okay with the rebuild for the latest proj.


Python version

Can you share your detailed python version??  (ex, 3.6.4)
It would be helpful to install the requirements.

It works for python3.6.9. By the way, requirements.txt is not completely right here, you can just use pip3 install xx when you find something wrong when installing requirements.txt. PLEASE CHANGE pillow==8.2.0 according to this issue.

hey @Matthew-CQ can you tell what have you installed on your pip, and if all the packages are up-to-date or older versions?

The code is tested on python3.6 and I think a version higher than 3.6 may also work well. The pip requirement has been updated in requirement.txt, thanks for the mention of the pillow version.


colors.js LIBERTY LIBERTY LIBERTY crashing

I think this project is affected by the recent colors package corruption.
Read more here - https://www.bleepingcomputer.com/news/security/dev-corrupts-npm-libs-colors-and-faker-breaking-thousands-of-apps/
Is there a way around it?

This is related to https://github.com/Marak/colors.js/issues/285.
The fix is to use colors v1.4.0 explicitly.

To clarify things: this is a workaround to "unbreak" react-native-rename until a new official repo for colors.js is set up.

The problem should be fixed now (with no PR needed), as npm unpublished the offending versions. I think you can close it, @frankfuu.

Thanks @davux


Dynamic Checkboxes

Hello,
now i am adding checkboxes as a selection method for a file export feature. But got stuck at the point where i need to use variables to name the checkboxes. I have a slice of strings and would like to create a checkbox for each of strings inside. What would you do here ?
db, err := sql.Open("postgres", psqlInfo)
	if err != nil {
		panic(err)
	}
	defer db.Close()
	var kw string
	var keywords []string
	rows, _ := db.Query(`SELECT DISTINCT "s_keywords" from contacts where "s_keywords"<>''`)
	defer rows.Close()
	for rows.Next() {
		err := rows.Scan(&kw)
		if err != nil {
			log.Fatal(err)
		}
		keywords = append(keywords, kw)
	}

	Selection := ui.AddWindow(10, 10, 75, 25, "Select contact groups")
	btnSelect := ui.CreateButton(Selection, 15, 1, "Select", 0)

	var ckb *ui.CheckBox

	for _, v := range keywords {
		ckb = ui.CreateCheckBox(Selection, ui.AutoSize, v, ui.Fixed)
	}
	btnSelect.OnClick(func(ev ui.Event) {
		state := ckb.State()
		s := strconv.Itoa(state)
		printl(s, logBox)
	})

What if to use map? Something like this (I have not checked whether it compiles - just as an idea):
chkboxes := make(map[string]*ui.CheckBox)
for _, v := range keywords {
   chkboxes[v] = = ui.CreateCheckBox(Selection, ui.AutoSize, v, ui.Fixed)
}

and now you can get any CheckBox by its "name"

Brilliant thank you very much!!


x/build: add Fedora builder

We have a Debian-sid builder. Also add Fedora?
Would've helped with https://go-review.googlesource.com/c/go/+/127895 (for #26369)

For the record it would also helped with catching earlier https://go-review.googlesource.com/c/go/+/86541 for #23373
It will help with GC to test integration with latets binutils, glibc, kernel,... (latest  versions generally pop sooner in Fedora than in Debian)
I would be happy (as Fedora's GC maintainer) to help with maintaining it and investigating and fixing the build failures.
Can you advise what can I do to help make it happen?

Well, adding a Fedora container is trivial & easy for us. But the downside is we'd be using the Linux kernel of https://cloud.google.com/container-optimized-os/ . That's a pretty recent kernel always, but might be configured differently than Fedora.
We could add a full Fedora VM image (as we do for a dozen other non-Linux operating systems/versions), but it's more work. (We need to prepare a script which when run on Linux produces a bootable GCE VM image. See the Plan 9 and BSDs in https://github.com/golang/build/tree/master/env)

Sorry for longer reply time.
I think that both could be beneficial. For containers I think that fedora:rawhide and fedora:latest should be used to test both against the unstable rawhide and latest stable release. Rawhide more like non-blocking smoke test(it could be broken/stale from time to time).
After taking quick peak at the GCE and the scripts. It doesn't support the regular AWS or openstack image formats, right?(Fedora Cloud images are produced for those.) Is there some summary of what needs GCE and Go CI to run(it would be much easier than revers engineering the scripts)?

@bradfitz ping

After taking quick peak at the GCE and the scripts. It doesn't support the regular AWS or openstack image formats, right?(Fedora Cloud images are produced for those.) Is there some summary of what needs GCE and Go CI to run(it would be much easier than revers engineering the scripts)?

Those would probably work fine with the appropriate yaml cloud init metadata.
An overview of the build system is at https://github.com/golang/build/#go-build-tools but the gist is that a VM gets created and it needs to come up & then download the cmd/buildlet binary and run it. (The buildlet binary should not be baked into the VM image)
Generally we use either the x/build/cmd/buildlet/stage0 binary or just some shell script to do that downloading of the cmd/buildlet binary at start-up. I think shell would work fine here, which would fit into the cloud-init yaml metadata.
For instance, NetBSD (to pick an image somewhat arbitrarily) does this:
commands = [
    """cat >> /etc/rc.local <<EOF
(
  export PATH=/usr/pkg/bin:/usr/pkg/sbin:${PATH}
  export GOROOT_BOOTSTRAP=/usr/pkg/go14
  set -x
  echo 'starting buildlet script'
  netstat -rn
  cat /etc/resolv.conf
  dig metadata.google.internal
  (
    set -e
    curl -o /buildlet \$(curl -H 'Metadata-Flavor: Google' http://metadata.google.internal/computeMetadata/v1/instance/attributes/buildlet-binary-url)
    chmod +x /buildlet
    exec /buildlet
  )
  echo 'giving up'
  sleep 10
  halt -p
)

If you can point us at Fedora cloud images that do the cloud-init stuff & the cloud-init yaml to do the above, that's probably all we need.

@bradfitz thanks. Fedora cloud images can be got from https://download.fedoraproject.org/pub/fedora/linux/releases/29/Cloud/x86_64/images/ there are Fedora-Cloud-Base-29-1.2.x86_64.qcow2 and Fedora-Cloud-Base-29-1.2.x86_64.raw.xz  images along with two vagrant boxes. I will look in to hacking up some cloud init files based on the up mentioned ones. And will try to findout if we have some generic way to get the latest image.


MWA and Standard RC

Published under the rc tag on npm as<EMAIL_ADDRESS>

Latest RC going out. I aligned all the version numbers to -rc.7 so we can increment them all together as needed.


Feature: Support rel="me" social links

New social option verify which allows a social follow link to be used for RelMeAuth verification.
Update social-follow.html partial to use rel="me" if the .verify option is set to true.
Document the .verify value in partial functions.
Update the example config.toml to use the verify option.
Document verify option in README.md

Fixes #417

This tries to incorporate the feedback in https://github.com/theNewDynamic/gohugo-theme-ananke/pull/567#issuecomment-1238338612 by making rel="me" an opt-in feature.


Arm docker images for Raspberry Pi

I run most of my services on a raspberry pi 4B and this service is exactly what I've been looking for. I have a tracker for anime, games, books, & shows/movies maybe music soon. The issue with my setup is I want the media trackers so to speak, to be offline/self hosted & all in one service. I have no knowledge of how to import a docker image to different architecture and would greatly appreciate an armv7 image. I'm open to help with the project if anyone could give me some pointers.

I added docker image for arm64, it didn't required any changes, I believe it should be working on Raspberry Pi 4 Model B.
As for armv7, Dockerfile will need some changes to install sharp, as it requires libvips v8.12.2, but vips on alpine v3.15 (latest stable version used by node:17-alpine) has version 8.12.1.
I was able to compile libvips from source, and install sharp, but I don't know how to copy installed libvips, to keep Dokcer image size small
FROM node:17-alpine as libvips

WORKDIR /libvips
RUN apk add --no-cache wget g++ make expat-dev glib-dev python3 libwebp-dev jpeg-dev fftw-dev orc-dev libpng-dev tiff-dev lcms2-dev librsvg-dev libheif-dev
RUN wget https://github.com/libvips/libvips/releases/download/v8.12.2/vips-8.12.2.tar.gz
RUN tar xf vips-8.12.2.tar.gz
WORKDIR /libvips/vips-8.12.2
RUN ./configure
RUN make
RUN make install

FROM node:17-alpine
# TODO: copy libvips
RUN apk add python3 g++ make
WORKDIR /app
RUN npm i sharp

This can be tested with docker buildx build . --platform linux/arm/v7

Sorry but I tried to read this yesterday and I'm worried I'll break something since I'm new to this. From what I'm gathering I need to separately install something called sharp and version 8.12.2 of libvips. Then I need to copy whatever you typed into a Dockerfile which I don't know how to name and then run this command docker buildx build . --platform linux/arm/v7? Docker is just docker I don't know what buildx is maybe "x" is a variable it looks like build is support to build the image from Dockerfile the "." is for current dir I know that. And the --platform argument is presumably needed to specify this is an arm image since this image was previously used on a different architecture.

Unable to find image 'bonukai/mediatracker:0.1.0-beta.17' locally
0.1.0-beta.17: Pulling from bonukai/mediatracker
docker: no matching manifest for linux/arm/v7 in the manifest list entries.
See 'docker run --help'.

I also tried copying your text and pasting into a Dockerfile I believe that is a Dockerfile but you just pasted its contents I tried to build but it seems like I need to compile libvips and sharp from source and/or do some weird stuff because nothing seems to be ready made for raspberry pi hooray. Thought I'd write back instead of mindlessly working through the problem on my own maybe you could quickly solve this since I'm uneducated about this.

alpine 3.16 is now available, with vips 8.12.2-r5, minimum required version by sharp. I already tested it on armv7 and it works, but I will wait until node17:alpine3.16 is released, hopefully it won't take long, then making Dockerfile to support armv7 will require only few small changes

Alright I guess we'll wait till then.

Thank you for your hard work @bonukai. Version bonukai/mediatracker:0.1.0-beta.19 on an RPi 4 Model B Rev 1.1 works perfectly. I guess this issue should clarify that it's specifically for armv7 architectures.

Personally I like my longer name so it makes it easier for users to search the issues but it is what it is. I'll report back to see if it works on my pi as well.

@BinaryGenius I didn't made any changes to this since 0.1.0-beta.17, that you tried before, so probably your Raspberry Pi has armv7 and it still won't work, but in the meantime you could try to use npm version with
npm install -g mediatracker
mediatracker

I'm confused why @mobiuscreek said it did work on armv7 because it doesn't work for me you are correct. If that wait isn't too long I'll wait till there is a working docker image because I like to have everything portable and isolated.

His Raspberry Pi is armv8, yours is armv7
We have to wait for this pull request to be merged https://github.com/nodejs/docker-node/pull/1729

Oh must be a newer raspberry pi 4 I bought mine before the prices shot up so I didn't expect anyone to still be buying. I can wait until it gets merged but if you have any new information about the armv7 docker image just reply to me so I can be notified in my email and test out the new image.

@BinaryGenius, sorry for the confusion. You can verify your machine's hardware name by typing uname -m in the command line. For example you might get aarch64 (for an armv8 CPU) which is a 64bit system or armv7l for a 32bit system. In the Raspberry Pi 4B I tried it prints out the former.

@BinaryGenius Could you try version bonukai/mediatracker:0.1.0-beta.21, it should support armv7, please test if posters are showing in the search results

Oh damn armv7l is 32bit? That's what I have. I used the docker compose and supplanted the regular image with the beta image and it works flawlessly. Hopefully more people can test this to make sure it's stable because this would be an amazing addition to things like jellyfin and jellyseer. I've attached some images below if there is anything else you want me to test I'm all ears. Otherwise thanks for the hard work you've put in, from what I've seen this service is going to be an excellent addition to my life and a private one too.

Sorry should we close this issue I just want to make sure it's solved and there hasn't been any response in 2 weeks.

For games you need to set your own IGDB api key, because of the limits

IGDB has a limit of 4 requests per second. Because of that IGDB API key is not provided with MediaTracker, it can be acquired here and set in http://localhost:7481/#/settings/configuration


Make (de)activate scripts POSIX.

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

osx_arm64 py3.8 failure appears to be due to inability to execute this:
"$EUPS_PYTHON" -c "import sys;print(\"EUPS_PYTHON :\ninterpreter : %s\nversion : %s\" % (sys.executable, sys.version))"

I'm at a loss.

Building locally, I can replicate the error.  But it only errors with conda mambabuild (as in the new rerender) but not with conda build.  So this might be some subtle bug in boa.  One option would be to add build_with_mambabuild: false to the conda-forge.yml and rerender and see if that passes.  This is a simple enough solve that it would be fine for the time being.  But it would be nice to figure out what's going on and have a proper bug report upstream.

@conda-forge-admin, please rerender

Hey @isuruf ... the new version of crossenv=1.1.4 from https://github.com/conda-forge/crossenv-feedstock/pull/22 seems to have broken with python=3.8.  The error (when running locally) is:
  File "/Users/erykoff/x86_conda/mambaforge/envs/build39_x86_2/conda-bld/eups_1640635405049/_build_env/lib/python3.8/sysconfig.py", line 439, in _init_posix
    name = _get_sysconfigdata_name(True)
TypeError: _get_sysconfigdata_name() takes 0 positional arguments but 1 was given

When I pin crossenv=1.0 on this feedstock then things work.  (The mambabuild was a red herring, it had to do with cached versions locally and I just got "lucky" that I got the old working crossenv).

@conda-forge-admin please restart ci

@conda-forge-admin, please rerender

CI seems to still be picking up the old build of crossenv, though the new one should be available.  We might just need to wait until tomorrow?

...and now it worked!  Hooray!


translation.js

When I tried to download some of the older versions (3.0) and (4.0), they didn't work because there was no copy of "/translation.js".
I downloaded the current version of "http://www.html5test.com/translation.js" and it worked. It's just an empty JSON data structure but it seems to stop everything if it's missing.

If you want you can file a pull request for these changes. I'm not actively working on updating these older versions.


TES: Remove no_sgp4 branch from setup.py

pysat is going through a transition. While we are in it, we are using a pysat branch rather than the public version. Once these pysat changes are rolled out, we need to restore the public version of pysat.

Removed in pull #27


XMF format support. Issue #5

Any progress on it? There is another Leadsol.mxmf in the vectors directory.
I think it is ready to review, as it works well.

Any progress on it? There is another Leadsol.mxmf in the vectors directory.

Leadsol.mxmf and testmxmf.mxmf are exactly the same file. And mxmf is the mobile version (lite) of XMF.
If you want more examples, here is a huge stash of phone tones that include more mxmf files, look for the ones by the manufacturers Danger, Nokia, and Samsung: http://onj3.andrelouis.com/phonetones/
Another example with the name "Dancehall.mxmf" was included in the examples of the "Nokia Audio Suite 2.0", that is not available anymore since the Nokia forum was closed.
But anyway, you may see the pattern: only phone tones are available, and there is no example of the XMF (non mobile) format.


[Feature Request] - Ability to specify tsconfig filename

The issue at the latest version is that we are forced to have tsconfig.json. On NX Monorepo,  that is called tsconfig.base.json on root and I could not find a way how to specify this on parkui config.
I would recommend
{
  "$schema": "https://park-ui.com/schema.json",
  "cssFramework": "tailwind",
  "jsFramework": "react",
  "importAliases": {
    "components": "@/theme",
    "utils": "@/theme"
  },
  "useReactServerComponents": false,
  "tsConfigPath": "...path here"   <--- Suggestion
}

@xeinebiu
I've updated the CLI so that a tsconfig.json is no longer required to install components. This benefits users with setups like nx workspaces that lack a tsconfig.json file.


Closely pack "Become a supplier" paragraphs

Pulls in new content from:

[x] https://github.com/alphagov/digitalmarketplace-frameworks/pull/471

All closed

All Open/Coming

One of each

I don't think we quote framework names anywhere else, do we? What's the justification for doing it here?

The content also looks a bit squished together?

And the links aren't very strongly associated to their 'parents'; could do with the top margin/border being smaller. :trollface:

I've sat with Laurence this morning sorting this out.  He wants it squished together - the problem this fixes is that the content is too spread out.  As for quoting framework names, ¯\(ツ)/¯

Also should what you can sell for g cloud be:
cloud hosting
cloud software
cloud support
As they are the lot names, at the moment we have something different (ambiguity over things not being cloud and the word technical now added)

Current screenshots, for comparison, are here:
https://github.com/alphagov/digitalmarketplace-supplier-frontend/pull/741

Those words came from Karl, there was some discussion of them on the previous PR I think ¯\(ツ)/¯

This PR is specifically about spacing.
If we want to change the words that will be a new story.

I'm going to hold off merging this as lots of people don't like it...

@samuelhwilliams > "And the links aren't very strongly associated to their 'parents'"
@laurenceberry says the links aren't associated to a particular framework, so in the case of "both open" or "both closed" the link doesn't need to seem like it's only associated with the final framework listed on the page.
In the "one of each" case it is maybe a bit more room than we'd like, but maybe we live with that because it means we can use the link style straight out of the toolkit rather than create yet another variation.

My issue is primarily with the 'one of each' page. On the other two versions the link looks OK (i.e. when there's nothing after it with equal spacing).
Re: parents, I meant the heading/section rather than the framework. I understand that at some indeterminate point in the future we'll have more than two frameworks and in that case we don't want the link to stick to the final one.

@samuelhwilliams the content community says the quotes should go.   You can make it happen by adding your thumb here: https://github.com/alphagov/digitalmarketplace-frameworks/pull/472

Laurence has double-checked over this and he's happy so going to merge it.


Cannot delete annotated tag -> "Git protocol error: Funny refname"

I have this test repo with an annotated tag t_anon.
https://gitlab.com/christianguenter/test_tag.git
https://gitlab.com/christianguenter/test_tag/-/tags/t_anon
When I try to delete it from abapGit with 'Tag' > 'Delete' I get this error
"Git protocol error: Funny refname"

Same repository on GH gives "Git protocol error: Unexpected empty reply˙"
https://github.com/christianguenter2/test_tag.git

Whereas lightweight tags can be deleted without problems.

this is something we should add to the integration test, https://github.com/abapGit/abapGit/blob/main/test/zcl_abapgit_integration_git.clas.testclasses.abap
spin up gitea in github actions and test against that

Deleting lw tags didn't work on GH either. Can you please test https://github.com/abapGit/abapGit/pull/6095 on Gitlab?


cli:fix ethernet inspector cannot init commonFlags

ethernet inspector cannot init commonFlags

Coverage remained the same at 40.254% when pulling 97230803bfdbe8a22ab688ced541f946ec4a53c8 on nolouch:master into 664506f4727e41ee5e852bed71681bd09648ffd6 on osrg:master.

LGTM, Thank you a lot! :smile:


Add focus area URLs to Preview Pages

Similar to preview-pages except that it excludes JD's changes.

looks good - next step is to deploy to staging and run a data build against it, right?

Perhaps just add a check to see if the focus_areas value is present in the preview page in the test_department tests. Would also be nice if that test could check that the correct focus_areas values are added.

Conflicts have been resolved

I've added tests for the focus areas, to check if the key is present and that the focus areas are generated correctly.
I also made a change to the way focus areas are included: previously if an empty focus area was found it would be skipped. It now raises an exception if there is an empty focus area.


Create CONTRIBUTING.md

Refer  : https://github.com/OtacilioN/awesome-hacktoberfest-2018/blob/master/CONTRIBUTING.md

I am claiming

done!