Can't build a program with "curl" dependency

Hi,
First of all, I'm newbie in Rust.
I've this problem. I'm developing a little program who post in a GNU/Social node using a username, password, node and message inserted by the user in the command line. It's very simple.
This is my Cargo.toml
[package]
name = "ruitter"
version = "0.1.0"
authors = [""]

[dependencies]
rpassword = "0.0.4"
curl = "0.3.4"

But when I execute the cargo build from command line I see this error:
starman@linux-b3na:~/Programacion/Rust/ruitter> cargo build --verbose
       Fresh libc v0.2.15
       Fresh libc v0.1.12
       Fresh gcc v0.3.35
       Fresh pkg-config v0.3.8
       Fresh termios v0.0.5
       Fresh rpassword v0.0.4
       Fresh openssl-sys v0.7.17
       Fresh libz-sys v1.0.5
   Compiling curl-sys v0.2.1
     Running `rustc /home/starman/.cargo/registry/src/github.com-1ecc6299db9ec823/curl-sys-0.2.1/lib.rs --crate-name curl_sys --crate-type lib -g -C metadata=d0dfe3f28a72a4ef -C extra-filename=-d0dfe3f28a72a4ef --out-dir /home/starman/Programacion/Rust/ruitter/target/debug/deps --emit=dep-info,link -L dependency=/home/starman/Programacion/Rust/ruitter/target/debug/deps -L dependency=/home/starman/Programacion/Rust/ruitter/target/debug/deps --extern openssl_sys=/home/starman/Programacion/Rust/ruitter/target/debug/deps/libopenssl_sys-a4f86492ba1e2f09.rlib --extern libc=/home/starman/Programacion/Rust/ruitter/target/debug/deps/liblibc-1bd8847afb79f283.rlib --extern libz_sys=/home/starman/Programacion/Rust/ruitter/target/debug/deps/liblibz_sys-4c0b4a70ced04023.rlib --cap-lints allow -L /home/starman/Programacion/Rust/ruitter/target/debug/build/curl-sys-2b2b198c6a023456/out/lib -l static=curl`
error: could not find native static library `curl`, perhaps an -L flag is missing?
error: Could not compile `curl-sys`.

Caused by:
  Process didn't exit successfully: `rustc /home/starman/.cargo/registry/src/github.com-1ecc6299db9ec823/curl-sys-0.2.1/lib.rs --crate-name curl_sys --crate-type lib -g -C metadata=d0dfe3f28a72a4ef -C extra-filename=-d0dfe3f28a72a4ef --out-dir /home/starman/Programacion/Rust/ruitter/target/debug/deps --emit=dep-info,link -L dependency=/home/starman/Programacion/Rust/ruitter/target/debug/deps -L dependency=/home/starman/Programacion/Rust/ruitter/target/debug/deps --extern openssl_sys=/home/starman/Programacion/Rust/ruitter/target/debug/deps/libopenssl_sys-a4f86492ba1e2f09.rlib --extern libc=/home/starman/Programacion/Rust/ruitter/target/debug/deps/liblibc-1bd8847afb79f283.rlib --extern libz_sys=/home/starman/Programacion/Rust/ruitter/target/debug/deps/liblibz_sys-4c0b4a70ced04023.rlib --cap-lints allow -L /home/starman/Programacion/Rust/ruitter/target/debug/build/curl-sys-2b2b198c6a023456/out/lib -l static=curl` (exit code: 101)

I don't have enough knowledge about Rust to know if this is a error in my code or is a problem with the libraries.
My system: OpenSUSE 42.1 with Linux Kernel 4.1.27-27-default x86_64
I've installed Rust and Cargo from the official OpenSUSE repos.
Regards

Hm, could you gist the output of pkg-config --libs libcurl?

Hi,
Ok, it works. I forgot to install the libcurl-dev package. I do it, rebuild with Cargo and now it's working.
Thank you!

Ok, thanks!


Open Editors: "Close All Editors" does not close all editors

Steps to Reproduce:

open editors as shown in the screenshot
quit
start again
click on "Close All Button"

=> 🐛 not all editors close

Easier repro:

open a file
on an untitled file
make it dirty
split it


Adding step-level notifications information

Iteration #2 because I messed up the task ID.

The rest looks good!


Versions page crashes if the project has a branch named with a hash

If the project you are managing has a branch with a # character on its name, the version page will crash if you are logged in and you are not able to manage them:
          .
         ":"
       ___:____     |"\/"|
     ,'        `.    \  /
     |  O        \___/  |
   ~^~^~^~^~^~^~^~^~^~^~^~^~

   Fail.  Check back in a bit!

This happens both in https://readthedocs.org/projects//versions/ and https://readthedocs.org/dashboard//versions/
Maybe related to #1176

This is the same issue as #1176, closing this as a duplicate


Question

Could You make that this mod ( for Minecraft 1.12.2 ) will load faster and that it will not make javaw.exe (not responding) when Minecraft is loading ? Or do You know universal fix for javaw.exe ( not responding ) ?

No idea, I no longer support 1.12.2.

Are You all modders mean to me or why almost all mods losing support for Minecraft 1.12.2 ? I don't like that !

Nobody is specifically mean to you. Modders do this in their free time and only have so much time to dedicate to creating their mods, which they rather spend on new versions rather than very old ones like Minecraft 1.12.2.


Change the font of title track and singer name to some interactive font.

I am interested in doing the same. Please assign me this. I'll select font that would be apt for music player.

Assigned, go on !!!

I also want to contribute in this can you please assign this to me.
I can add some of ** css styling ** in it as well.
** @Ayush-projects **

Hey @Ayush-projects, is this issue still open ??

Yes, if it can be improved to some better font.

Can you assign this to me??? @Ayush-projects

Yeh, assigned.


OpenCV 3.0 links to both Debug and Release external ZLIB library on Windows

Hi, I am trying to build OpenCV on Windows and using my own ZLIB library with my own FindZLIB module. My FindZLIB module does:
set(ZLIB_LIBRARIES optimized ${ZLIB_LIBRARY} debug ${ZLIB_LIBRARY_DEBUG})

however line 469 in OpenCVModule.cmake messes up the libraries order. This makes opencv_core depend on both the debug and release libraries of ZLIB and any consuming project that uses OpenCV's exported targets link to both release and debug versions of ZLIB.
I thought of three possible solutions:

Append ${ZLIB_LIBRARIES} to the extra_libs when BUILD_ZLIB=OFF instead of passing it to ocv_add_module.
Preprocess the OPENCV_MODULE_${m}_DEPS_EXT list to merge together the keyword and the library so that a list like:

debug;c:/path/to/zlibd.lib;optimized;c:/path/to/zlib.lib

becomes
"debug c:/path/to/zlibd.lib";"optimized c:/path/to/zlib.lib"

and then split the merged list elements after.

Or, after find_package(ZLIB) succeeds create an imported target named OpenCV::ZLIB from the debug and optimized libraries and use set(ZLIB_LIBRARIES OpenCV::ZLIB). And then extract the proper Release and Debug libs before linking if(${ZLIB_LIBRARIES} EQUAL OpenCV::ZLIB).

All solutions seem a bit hackish. Is there a proper way of handling this use case?

optimized and debug CMake features is not recommended to use with OpenCV. There are many issues and you catch one of them.
Instead of this, try to use IMPORTED targets and pass to OpenCV target name only. Configurations for IMPORTED targets can be generated by CMake semi-automatically if you have CMake projects for your library (via export command: http://www.cmake.org/cmake/help/v2.8.11/cmake.html#command:export )
Manual creation of IMPORTED target is here: https://github.com/Itseez/opencv/blob/faa668437357f6433bc1c01508b9eec62827d130/cmake/OpenCVFindIPP.cmake#L143-L147
To split debug and release configurations you can try to use these properties:

IMPORTED_LOCATION_DEBUG
IMPORTED_LOCATION_RELEASE

@alalek Let me test this and get back to you.

After reviewing the changes I would say that this works only partially. With the code above OpenCV should correctly link to the release and debug libraries. But it will also export targets with a dependency on imported target z when building static libraries. Thus I will need to somehow define this imported library in my cmake project.
Maybe the OpenCVConfig.cmake could take care of resolving this dependency via find_dependency?
Otherwise, when opencv_core links to ZLIB maybe it could call cmake_expand_imported_targets so that the references are absolute paths in the OpenCVConfig.cmake?

Your ZLIB is static (.lib only) or shared library (.dll+.lib)?

static


feat(api): update to handle the new sws-vip application

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


save training_args in another file format

Feature request
switch saving training arguments from bin format to another file extension.
Motivation
for security reasons bin format is deemed unsafe as marked by huggingface's new security system.

Your contribution
I'll try submitting a pr, but if anyone wishes to submit their own feel free to do so

Thanks for sharing this. We rely on transformers.Trainer to save checkpoints and push on the hub. I think this issue would be more relevant to huggingface/transformers.

thanks for the reply, I will close this one and open a new issue in the transformers library


Translate instruction from RU to EN

DoD:

README.md must contains english instructions only.
Russian instruction must be saved in README_RU.md.
Link to README_RU.md added into README.md and vice versa.

English documentation avaliable since 1.0.dev33 version: https://pypi.python.org/pypi/vspheretools/1.0.dev33


echo {raw:true} not always obeyed

My understanding of echo is that is {raw:true} is provided in the options, the raw string provided to echo will be presented.
However if I do
term.echo('<div>hey [[ there ]]<div>', {raw:true, exec:false})
process_line always strips out "[[ there ]]" which is not what I expect.
I think process_line should just pass string directly to buffer_line() is raw:true ... ??

Should work now in devel branch.


Patch/#262

Merge Sort in Linked List #262

Merge Sort in Linked List #262

Make separate PRs and link them with the issues.

Hi @rudrakshi99 , Could you please help here to understand the expectations. As i created a separate PR and it is already linked with the issue. Please guide the needful here.
All support is Appreciated.
Thanks.


Fix gas estimation

There was a bug estimating gas for ETH transactions with data on it, returning always 21000. This PR fixes that situation.

Codecov Report

Merging #71 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #71   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          20     20
  Lines        1086   1086
  Branches      125    125
=====================================
  Hits         1086   1086

Impacted Files
Coverage Δ

src/TransactionController.ts
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Attempting to connect to a HTTPS domain fails silently without the tls feature

Attempting to connect to a HTTPS domain fails silently, with no indication about the connection having failed at all.

I wonder if this is fixed in tungstenite 0.24:

https://github.com/snapview/tungstenite-rs/blob/master/CHANGELOG.md#0240


ModelImpl needs more properties

From https://github.com/swagger-api/swagger-parser/issues/239, need to add some properties to support the primitive types.

will be fixed with merge of #2057


connectionError: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7fe047610350>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7fe047610350>: Failed to establish a new connection: [Errno 111] Connection refused))

When I run docker according to the steps in the readme, I encountered the following error. I am new to docker. And I didn't find a solution in Google search. Can you provide some help?
Thank you very much!
On 21000
Reading raw line data from ../datasets/SimpleQuestions/test/object_names.txt
On 10000
On 20000`
file (0x0355d060)
file (0x03584c60)
On index 1
Answering question Which genre of album is harder.....faster?
Getting all ids
genre album harder.....faster
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1836, in __call__
    return self.wsgi_app(environ, start_response)
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1820, in wsgi_app
    response = self.make_response(self.handle_exception(e))
  File "/usr/local/lib/python2.7/dist-packages/flask_restful/__init__.py", line 257, in error_router
    return self.handle_error(e)
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1477, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python2.7/dist-packages/flask_restful/__init__.py", line 257, in error_router
    return self.handle_error(e)
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1475, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1461, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/usr/local/lib/python2.7/dist-packages/flask_restful/__init__.py", line 397, in wrapper
    resp = resource(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/flask/views.py", line 84, in view
    return self.dispatch_request(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/flask_restful/__init__.py", line 487, in dispatch_request
    resp = meth(*args, **kwargs)
  File "/src/servers/FreebaseWebServer/src/resource/freebase.py", line 31, in get
    names, num_items = fb_helper.get_names(removed_stopwords_query, num_results)
  File "/src/servers/FreebaseWebServer/src/util/freebase_helper.py", line 234, in get_names
    res = self.es.search(index=self.name_index, body=elastic_query)
  File "/usr/local/lib/python2.7/dist-packages/elasticsearch/client/utils.py", line 73, in _wrapped
    return func(*args, params=params, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/elasticsearch/client/__init__.py", line 625, in search
    doc_type, '_search'), params=params, body=body)
  File "/usr/local/lib/python2.7/dist-packages/elasticsearch/transport.py", line 318, in perform_request
    status, headers, data = connection.perform_request(method, url, params, body, ignore=ignore, timeout=timeout)
  File "/usr/local/lib/python2.7/dist-packages/elasticsearch/connection/http_urllib3.py", line 123, in perform_request
    raise ConnectionError('N/A', str(e), e)
ConnectionError: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7fe047610350>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7fe047610350>: Failed to establish a new connection: [Errno 111] Connection refused)
ERROR DECODING JSON /src/dmn/util/io_functions.lua:7: Expected value but found invalid token at character 1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  "http://www.w3.org/TR/html4/loose.dtd">

    <title>ConnectionError: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7fe047610350>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7fe047610350>: Failed to establish a new connection: [Errno 111] Connection refused) // Werkzeug Debugger</title>
    <link rel="stylesheet" href="?__debugger__=yes&cmd=resource&f=style.css" type="text/css">

    <link rel="shortcut icon" href="?__debugger__=yes&cmd=resource&f=console.png">

elasticsearch.exceptions.ConnectionError

I got this error too.  I think it's because it's looking up a remote freebase server which doesn't exist.  Specifically this line...
FREEBASE_IP = 'softmaxfreebase.cloudapp.net:9200'
https://github.com/davidgolub/SimpleQA/blob/master/servers/FreebaseWebServer/src/util/freebase_helper.py#L8
Haven't figured out a solution.


added stan::math:: qualifier to abs in generator

Submission Checklist

[x] Run unit tests: ./runTests.py src/test/unit
[x] Run cpplint: make cpplint
[x] Declare copyright holder and open-source license: see below

Summary
Add stan::math:: qualifier to abs in C++ code generated for a Stan program.
Intended Effect
Remove ambiguity in g++.
How to Verify
Passes unit tests on integration server.
Side Effects
No.
Documentation
n/a
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company):
Columbia University
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

Jenkins, retest this please.


Rationalize the terminology "def"s and the "ref"s in the rest of the spec

The following is a quick'n'dirty command to find the refs and defs in the document as of today.
This issue is to rationalize the data. Pick a point where there are no PRs in process for terminology.md, add in the needed definitions, and update the documents to fix the references.  Not that the references are case insensitive, so there is no need to align the case of the refs/defs.
BTW - if you drop the "-h" on the grep command, the name of the file containing the matched ref/def is shown, making it easier to find the fixes.  Also, I'm not certain if only the first or all of the refs on a single line are included in this output. Dropping the -o would help to discover that.
~/repos/anoncreds-spec [main] 16:08 $ grep -o -h '\[\[ref: [a-zA-Z_]*\]\]' spec/*.md | sort -u
[[ref: claim]]
[[ref: CLAIM_DEF]]
[[ref: claims]]
[[ref: CRED_DEF]]
[[ref: credential]]
[[ref: holder]]
[[ref: Holder]]
[[ref: holders]]
[[ref: Holders]]
[[ref: issuer]]
[[ref: Issuer]]
[[ref: link_secret]]
[[ref: predicates]]
[[ref: PRIVATE_CRED_DEF]]
[[ref: PRIVATE_REV_REG]]
[[ref: REG_REV]]
[[ref: REV_REG]]
[[ref: REV_REG_DEF]]
[[ref: REV_REG_ENTRY]]
[[ref: SCHEMA]]
[[ref: subject]]
[[ref: TAILS_FILE]]
[[ref: VDR]]
[[ref: verifier]]
[[ref: Verifier]]
~/repos/anoncreds-spec [main] 16:08 $ grep -o -h '\[\[def: [a-zA-Z_]*\]\]' spec/*.md | sort -u
[[def: claim]]
[[def: CRED_DEF]]
[[def: credential]]
[[def: DID]]
[[def: holder]]
[[def: issuer]]
[[def: nonce]]
[[def: predicates]]
[[def: REV_REG_DEF]]
[[def: REV_REG_ENTRY]]
[[def: SCHEMA]]
[[def: subject]]
[[def: verifier]]

Better tool for finding all the refs:
for i in spec/*.md ;do fmt -w 2000 $i | grep '\[\[ref:' | sed 's/\(\[\[ref: \)/\n\1/g' | sed -n 's/.*\[\[ref: \([^]]*\)\]\].*/\1/gp' | sort -u ; done
Replace the wildcard match with a specific file to find the “refs” in a specific file.
To get a list of all of the defined defs:
grep def: spec/terminology.md | sed -e "s/.*def: //" -e "s/]]//" -e "s/, /\n/g”

Completed the first part of the task — cleaning up the defs — in #193 . Will then work on the second part — cleaning up the existing refs.  Last task will be to add missing “refs” when doing the final pass over the spec.


Crossword solver in Python

Description
Added a python AI based on constraint satisfaction algorithm that solves crossword puzzles.
Fixes #594
Have you read the Contributing Guidelines on Pull Requests?

[x] Yes
[ ] No

Type of change

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have created a helpful and easy to understand README.md
[x] My documentation follows Template for README.md
[x] My changes generate no new warnings
[x] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works.

@kaustubhgupta I've applied the requested changes, please review it further.

@santushtisharma10 @Kushal997-das

@aliya-rahmani you have copied your code from here

@aliya-rahmani you have copied your code from here

yes, fully copied. This PR and issue will be closed @aliya-rahmani


support removing a slice in CompactSelection.remove

Please add unit tests :)

You accidentally the line endings I think

No clue why when I cloned from Github, VSCode decided to switch LF -> CRLF for new lines 🤦


How to use custom plugin to implement Read more... and Read less... functionality on Text view

Markwon version: {4.3.1}

I want to implement Read more... and Read less... functionality same as Whatsapp. I have text view and i am already using markwon to set text inside text view.
I need help on how can i use custom plugin to set Read more... text after defined number of lines and when user presses read more... it should add remaining text and Read less... at the end.

Hello @gbhaumikkumar14 ,
I do not think that it is possible to implement this feature solely on Markwon side (via plugin). This functionality must be included in your text widget directly. And there are multiple options available if you look for them as ExpandableTextView or even ReadMoreTextView. Have you tried them?

@noties Thank you for answering. I was wondering if it's possible with custom plugin. Because Read More Text View is doing same thing like cutting out lines and adding spanned string with ...Read more text.

Hello @gbhaumikkumar14 ,
in order for a widget to support Markwon all dynamic (images and tables) spans must be available immediately after setText call. As I remember your widget is creating short representation of full text immediately, which effectively disables all dynamic content. There are multiple workarounds possible, for example postpone creation of short text until next draw layout events, something like this:
@Override
public void setText(CharSequence text, BufferType type) {
    super.setText(text, type);
    getViewTreeObserver().addOnPreDrawListener(new ViewTreeObserver.OnPreDrawListener() {
        @Override
        public boolean onPreDraw() {
            /*init short/full here*/
            // NB! don't fall in recursive loop here, set text with `super.`
            getViewTreeObserver().removeOnPreDrawListener(this);
            return true;
        }
    });
}

On the other hand, you can indeed have this functionality provided via plugin. It is all really specific to a application, so adjust to your own needs. You can find it here

@noties Thanks you so much. I will check this.

Hello @gbhaumikkumar14 ,
in order for a widget to support Markwon all dynamic (images and tables) spans must be available immediately after setText call. As I remember your widget is creating short representation of full text immediately, which effectively disables all dynamic content. There are multiple workarounds possible, for example postpone creation of short text until next draw layout events, something like this:
@Override
public void setText(CharSequence text, BufferType type) {
    super.setText(text, type);
    getViewTreeObserver().addOnPreDrawListener(new ViewTreeObserver.OnPreDrawListener() {
        @Override
        public boolean onPreDraw() {
            /*init short/full here*/
            // NB! don't fall in recursive loop here, set text with `super.`
            getViewTreeObserver().removeOnPreDrawListener(this);
            return true;
        }
    });
}

On the other hand, you can indeed have this functionality provided via plugin. It is all really specific to a application, so adjust to your own needs. You can find sample implementation here

Depanding in addOnPreDrawListener is not consistent when text view is in RecyclerView item viewHolder. Going by character in this looks fine.

@noties ReadMorePlugin works like a charm.

Glad we had sorted this out 👍


Trigger Builds of Dependent Packages on PR

Situation: there are code changes under sdk/core/azure-core
Right now, only python - core - ci build will be triggered. What about the packages that depend on azure-core?
We need to either:
A) Trigger Additional Builds
B) Expand Package Selection to include the dependent packages
I will note that we really don't want to gate azure-core checkins based on building every package that depends on it. PR pipelines will get super long in that method.
Possibly trigger python - storage - ci based on sdk/core TOO? That would work.
Additionally, this should apply to the tools folder as well as any of the sdk packages.

Just note that you said in Teams @scbedd : should apply to "tools" folder as well, so any code changes in the test framework test everything

@lmazuel Ack. See edited description

Finish tools folder changes prior to closing this.

Done, closing


hotalignment issue

I think I have an issue with hotAlignment=true. I tried this on the 2.2 snapshot (alpha) version and it exists on 2.1.9 as well.
In general hotAlignment seems to work for me and when a node goes down and up again the data is synced as expected.
The problem scenario is:
Two nodes AAA and BBB. Node BBB goes down. I continue working on AAA and modify an object. Now AAA goes down.
The issue is that when the nodes come up they will never sync. The change does appear in AAA but not in BBB. This is not a conflict scenario as no change occurred in BBB.
I tried this with 3 nodes and got a similar issue.

Hi @udishemer
I think this issue is not relevant anymore, as hotAlignment option was deprecated long time ago. Moreover, latest v 2.2.30 is far more stable than the 2.2 alpha, most of the problems were addressed in the hotfixes
Thanks
Luigi


Feature request: ability to change currency

Would be great to have an ability to change project currency in settings. At the moment all the bills are in Euro.

Actually backendwise, there do not exist any currencies, just numbers. So yeah, would be not a big task - will try to get it done soonTM

So I had a look at cospend - there are no currencies there :-D
I removed the € sign until I find the time to integrate a currency into the model of a project, along with the possibility to decide the currency when creating a project. as we already went live, this would mean a database migration if I do it that way, or old projects remain € projects - there is no way yet to edit a project.
Haven't decided yet on how to tackle that issue, thoughts welcome

I think since cospend doesn't have a currency, no currency would be fine for me!

Just released new version with no currency


Adds a "callback" parameter to Socket::send

I've found myself needing confirmation that Socket::send has been called. This patch would invoke a callback once the value is written.

What's the point of a callback if flush is being called synchronously by send?

If you need confirmation


Fix typos

Found via codespell -L crate,gir,inout,rightt,doubleclick,fof,nd,ot

Thanks!

:partying_face: :partying_face: :partying_face: :partying_face: :partying_face:


Add Flush method

This adds a Flush method to the consumer which can be called to
immediately invoke a flushing of the latest committed offset. This can
be slow and isn't recommended to be called frequently, but if you need
to checkpoint offsets for some reason this can be used.

cc @DrTall

LGTM


refactor ember-chart-test to Octane syntax, use angle bracket

LGTM :+1:

Everything has now been updated to latest syntax


REST implementation to power off the display

Is your feature request related to a problem? Please describe.
I would really like to have a REST option to power off the display. It is not a problem, but it would nice to have it, that i.e. I can power off the screen with my bulbs - Example HASS automation:
- alias: floor_light_turn_off_floorled_by_motion
  trigger:
    - platform: state
      entity_id: binary_sensor.motion_sensor_158d00016db094
      from: 'on'
      to: 'off'
    - platform: state
      entity_id: binary_sensor.motion_sensor_158d0001a24994
      from: 'on'
      to: 'off'
  condition:
    condition: and
    conditions:
      - condition: state
        entity_id: binary_sensor.motion_sensor_158d00016db094
        state: 'off'
      - condition: state
        entity_id: binary_sensor.motion_sensor_158d0001a24994
        state: 'off'
  action:
    - service: light.turn_off
      entity_id: light.gateway_light_286c0788b78a
    - service: switch.turn_off
      entity_id: switch.floor_wallpanel_wakeup

Describe the solution you'd like
I want to have a REST implementation to power off the display like curl -H 'Content-Type: application/json' -X POST -d {wake:false} http://<IP_ADDRESS>:2971/api/command
Describe alternatives you've considered
Waiting until the device turns off automatically
Thanks in Advance, Thomas

Similar request from me.
I am trying to keep the display on as long as movement is detected in a given room.
If turn on the screen using the MQTT / REST screen on command, it stays on for some time but then it goes off. Android doesn't allow to change the screen on when in lock screen mode.
I tried to send screen on messages each 10-15 seconds but they get ignored if the screen is already on. So a keep alive solution doesn't really work.
I think the best solution for my need is to send a turn on screen message that keeps the display on till the next turn off message. As alternative I'd like screen on message to not get ignored when the screen is already on, so I can use them as keep alive.

Important for me too. Want to wake display when room occupied (external sensor) and switch off display if not occupied anymore.
Thats currently impossible because I can just wake, then it will switch off after Androids display timeout. I can wake again only after it went off, but that's wired (periodically off/on/off/on...).

As I mentioned, you can't power off an Android screen or wake it once it is off.  You can change the brightness and use the screensaver option.  Those features are already present.   The only other thing you could do is quit the application with a command and then the Android device would sleep, but you can't relaunch it again.


Update joda-time to 2.10.3

Updates joda-time:joda-time from 2.10.2 to 2.10.3.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention @scala-steward in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [{ groupId = "joda-time", artifactId = "joda-time" }]

labels: semver-patch

https://www.joda.org/joda-time/changes-report.html#a2.10.3


error when creating yolov3 architecture

Describe the bug
I was following your steps but this error popped up when i was trying to create the yolov3 architecture
To Reproduce
Code and steps to reproduce the behavior:
remotes::install_github("maju116/platypus")
install.packages("keras")
install.packages("tensorflow")
library(tidyverse)
library(platypus)
library(abind)
library(keras)
library(tensorflow)

test_yolo <- yolo3(
  net_h = 416, # Input image height. Must be divisible by 32
  net_w = 416, # Input image width. Must be divisible by 32
  grayscale = FALSE, # Should images be loaded as grayscale or RGB
  n_class = 80, # Number of object classes (80 for COCO dataset)
  anchors = coco_anchors # Anchor boxes
)

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Session information (please complete the following information):

OS: [e.g. iOS]: Windows 10 x64 (build 19043)
R version: 4.1.2 (2021-11-01)
Python version:
TensorFlow (Python) version (tensorflow::tf_version()):
R session information (sessionInfo()):R version 4.1.2 (2021-11-01)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19043)

Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252    LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C                           LC_TIME=English_United States.1252
attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base
other attached packages:
[1] abind_1.4-5      platypus_0.1.1   keras_2.9.0      tensorflow_2.9.0 forcats_0.5.1    stringr_1.4.0    dplyr_1.0.10
[8] purrr_0.3.4      readr_2.1.1      tidyr_1.1.4      tibble_3.1.7     ggplot2_3.3.6    tidyverse_1.3.2
loaded via a namespace (and not attached):
[1] Rcpp_1.0.9          here_1.0.1          lubridate_1.8.0     lattice_0.20-45     prettyunits_1.1.1   png_0.1-7
[7] rprojroot_2.0.3     assertthat_0.2.1    zeallot_0.1.0       utf8_1.2.2          R6_2.5.1            cellranger_1.1.0
[13] backports_1.4.1     reprex_2.0.1        httr_1.4.3          pillar_1.8.0        progress_1.2.2      tfruns_1.5.1
[19] rlang_1.0.2         googlesheets4_1.0.0 curl_4.3.2          readxl_1.3.1        rstudioapi_0.13     whisker_0.4
[25] Matrix_1.4-1        reticulate_1.26     googledrive_2.0.0   munsell_0.5.0       broom_0.7.12        compiler_4.1.2
[31] modelr_0.1.8        pkgconfig_2.0.3     base64enc_0.1-3     tidyselect_1.1.2    gridExtra_2.3       XML_3.99-0.10
[37] fansi_1.0.2         crayon_1.5.1        tzdb_0.2.0          dbplyr_2.1.1        withr_2.5.0         rappdirs_0.3.3
[43] grid_4.1.2          jsonlite_1.8.0      gtable_0.3.0        lifecycle_1.0.1     DBI_1.1.3           magrittr_2.0.2
[49] scales_1.2.1        cli_3.3.0           stringi_1.7.6       fs_1.5.2            remotes_2.4.2       xml2_1.3.3
[55] ellipsis_0.3.2      generics_0.1.3      vctrs_0.4.1         RColorBrewer_1.1-3  tools_4.1.2         glue_1.6.2
[61] hms_1.1.1           colorspace_2.0-3    gargle_1.2.0        rvest_1.0.3         haven_2.4.3

PASTE RESULTS FROM sessionInfo()

R version 4.1.2 (2021-11-01) -- "Bird Hippie"
Copyright (C) 2021 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
 Must be divisible by 32
net_w = 416, # Input image width. Must be divisible by 32
.... [TRUNCATED]
"C:/Users/19165/AppData/Local/r-miniconda/condabin/conda.bat" "create" "--yes" "--prefix" "C:/Users/19165/AppData/Local/r-miniconda/envs/r-reticulate" "python=3.8" "numpy" "--quiet" "-c" "conda-forge"
Collecting package metadata (current_repodata.json): ...working... failed

CondaSSLError: OpenSSL appears to be unavailable on this machine. OpenSSL is required to
download and install packages.
Exception: HTTPSConnectionPool(host='conda.anaconda.org', port=443): Max retries exceeded with url: /conda-forge/win-64/current_repodata.json (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))
Error: Error creating conda environment 'C:/Users/19165/AppData/Local/r-miniconda/envs/r-reticulate' [exit code 1]
In addition: Warning messages:
1: package ‘tidyverse’ was built under R version 4.1.3
2: package ‘ggplot2’ was built under R version 4.1.3
3: package ‘tibble’ was built under R version 4.1.3
4: package ‘dplyr’ was built under R version 4.1.3
5: package ‘tensorflow’ was built under R version 4.1.3
6: package ‘keras’ was built under R version 4.1.3

@JDM559 it seems like your python environment is not configured correctly. Did you install tensorflow (python)?


Redesign json_scanf format strings

We reuse the format strings of scanf for extracting json values. The upside is we don't have to educate our users about our format strings, but the downside is our format strings do not behavior the same as scanf's format strings, believing in that they are the same as scanf's ones will cause bugs.
we use this following format strings:
%s, %.*s, %?s
%d, %ld
%f, %lf
%b
%F
%T

The biggest problem is  %s in scanf will load the raw char bytes, but json_scanf load and escape the raw char bytes according the JSON RFC.
In order to avoid any confusion, I propose that we define a complete different set of format strings.
%JStr, %.*JStr, %?JStr     // load and unescape the raw char bytes according to JSON RFC
%RStr, %.*RStr, %?RStr  // load the raw char bytes
%JInt32, %JInt64
%JFloat, %JDouble
%JBool
%JFunPtr
%JSizedBuffer

The same format strings can be used for json_printf
%JStr, %.*JStr      // escape and print the escaped string
%RStr, %.*RStr     // print the raw string
%JInt32, %JInt64
%JFloat, %JDouble
%JBool
%JFunPtr
%JSizedBuffer

The same format strings can be used for json_printf
%JStr, %.*JStr      // escape and print the escaped string
%RStr, %.*RStr     // print the raw string
%JInt32, %JInt64
%JFloat, %JDouble
%JBool
%JFunPtr
%JSizedBuffer

@LucasMull can you please take time to think about this proposal?

@LucasMull can you please take time to think about this proposal?

These concerns are very reasonable, I'm all for it!

These concerns are very reasonable, I'm all for it!

These concerns are very reasonable, I'm all for these changes!
what do you think about the choice of the format strings?  Here is another proposal:

#js, #.*js, #?js
#s, #.*s
#d, #ld
#f, #lf
#b
#p
#sized_buffer

These concerns are very reasonable, I'm all for these changes!
what do you think about the choice of the format strings?  Here is another proposal:

#js, #.*js, #?js
#s, #.*s
#d, #ld
#f, #lf
#b
#p
#sized_buffer

The same format strings can be used for json_printf

%JStr, %.*JStr      // escape and print the escaped string

%RStr, %.*RStr     // print the raw string

%JInt32, %JInt64

%JFloat, %JDouble

%JBool

%JFunPtr

%JSizedBuffer

I think I prefer this one. It has the benefit of being its own thing, avoiding error that might be caused by the user assuming some functionalities to be identical to printf/scanf.

The same format strings can be used for json_printf

%JStr, %.*JStr      // escape and print the escaped string

%RStr, %.*RStr     // print the raw string

%JInt32, %JInt64

%JFloat, %JDouble

%JBool

%JFunPtr

%JSizedBuffer

I think I prefer this one. It has the benefit of being its own thing, avoiding error that might be caused by the user assuming some functionalities to be identical to printf/scanf.

the benefit of using a different leading character # is to make error detection much easier.
if a user accidentally mixed up scanf/printf format strings,  we can easily detect and report them.  the latter design will significantly reduce usage errors.  Another benefit is the letter designated type are still similar to their counter parts in scanf/printf

the benefit of using a different leading character # is to make error detection much easier.
if a user accidentally mixed up scanf/printf format strings,  we can easily detect and report them.  the latter design will significantly reduce usage errors.  Another benefit is the letter designated type are still similar to their counter parts in scanf/printf

We need to seriously think about how to redesign this because the situations that json_scanf/printf need to handle is much more complex than the situation scanf/printf need to handle.
each (key, value) type can be a combination of the following states:

exist

don't exist

is nullable

is not nullable
                    exist                      not exist                     nullable          not nullable

exist                                                                                X                     X
not exist                                                                                X
nullable                X                              X
not nullable          X

I want to repurpose ? for nullable, and  %.s for a value whose size is unknown at compile time.

@LucasMull if you agree with the design,  I will make the change.

@LucasMull we need to seriously consider using different leading char such as # to denote the format strings, as they are very different from scanf/printf

We need to seriously think about how to redesign this because the situations that json_scanf/printf need to handle is much more complex than the situation scanf/printf need to handle.
each (key, value) type can be a combination of the following states:

exist
don't exist
is nullable
is not nullable
value's size is known at compile time
value's size is unknown at compile time

                       exist                      not exist                     nullable          not nullable
exist                                                                                X                     X
not exist                                                                              X
nullable                X                           X
not nullable          X

Understood, adding this explanation to the json-scanf.h as a comment would be really great.

@LucasMull if you agree with the design, I will make the change.

Yeah totally!

@LucasMull we need to seriously consider using different leading char such as # to denote the format strings, as they are very different from the one used in scanf/printf. The downside is we need to write a documentation to explain how they can be used.

I didn't see the benefit before, but we already had a case of a contributor attempting to map our json-scanf specific specifiers to that of scanf and having some difficulties because of this. I agree, changing to # would be really helpful on making a distinction.

I will add '#' as the alternative prefixing, and keep '%' so we have time to manage the transition.
#s? will be the format string to handle a nullable string

@LucasMull   I think $ as the start symbol is better than # as  $ is also used to Javascript template literals: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals
# is more often used to start a comment in shell scripts.

Perhaps, we can just use :  as the starting char
json_scanf (.., "[key]:s",  ...)
json_printf (..., "[key]:s", ...)

It matches json syntax even better.

@mlite is this still a issue?

Closing because it has been moved to cee-utils repository.


[Breaking change]: System.Text.Json will replace Newtonsoft.Json in Umbraco 13

Description
Newtonsoft.Json will be replaced by System.Text.Json and the dependency on Newtonsoft.Json will be removed in version 13.
Version
Umbraco 13
Previous behavior
Newtonsoft.Json was used to serialize and deserialze to and from JSON. Umbraco had a dependency on Newtonsoft.Json.
New behavior
System.Text.Json is used to serialize and deserialze to and from JSON. Umbraco has a dependency on System.Text.Json.
Type of breaking change

[X] Binary incompatible: Existing binaries may encounter a breaking change in behavior, such as failure to load/execute or different run-time behavior.
[X] Source incompatible: Source code may encounter a breaking change in behavior when targeting the new runtime/component/SDK, such as compile errors or different run-time behavior.

Reason for change
System.Text.Json is the default serialization library in ASP.NET Core.
The performance of System.Text.Json compared to Newtonsoft.Json is desired.
System.Text.Json focuses primarily on performance, security, and standards compliance.
It has some key differences in default behavior and doesn't aim to have feature parity with Newtonsoft.Json.
Recommended action
Use the Umbraco IJsonSerializer interface along side standard serialization attributes, instead of taking dependencies directly on Newtonsoft.Json
If you need some features only in Newtonsoft.Json you will need to take a dependency yourself.
Affected APIs
N/A

I assume this will include Umbraco Forms? As that also uses it.

As long as you still allow to inject other inputFormatters, it's all good. The issue is that System.Text.Json does not support HttpPatch yet. see https://learn.microsoft.com/en-us/aspnet/core/web-api/jsonpatch?view=aspnetcore-7.0#add-support-for-json-patch-when-using-systemtextjson


added Oracle always free tier VM's to App Hosting

Added the Oracle OCI VM free tier to App hosting and populated associated links

Isn't this the same as https://github.com/255kb/stack-on-a-budget/blob/master/pages/database-hosting.md#oracle-cloud ?

The database offering information looks like it is incorrect. I would recommend adding VM's to app hosting and I will raise a separate PR to correct the Autonomous Database offering

ok, I will merge then, thanks :)


[Removal]: Main Cloth Condor

Hotspot Name
Main Cloth Condor
Hotspot b58 Address
1124frHaHnh5ZwC9wyoCwvrxuRZhmegWskh43KJkt484PNfGth31
Discord Handle
Marco-polo#0495
Hotspot Manufacturer
Cotx
Removal Reason
Some-one just banned my wallet without any proof, we are telecom provider
Modifications
No
Extra forwarders
No
Extra antennas
Yes
Additional Information
External 6 dbi omni, 100m windmill
Great site, but all telecom towers with good earning did end up the denylist.
So i have todo this 50+ times ?
More info via PM, discord.
Regards
A 500+ telecom tower owner.

We have taken into account this removal request in the next iteration of the denylist. It may take some time before it's processed. This is an automated comment due to the volume of addition and removal requests. A future tool is in the works to provide more insight into the analysis approach made by the Helium team and community members that maintain this list.


proposal: runtime: provide access to info about recent GC cycles

Currently, runtime.parsedebugvars is called from schedinit which is part of binary bootstrap. This means it's not possible to dynamically enable GODEBUG features once a binary has started.
Typically, we don't want gc traces to flood our logs, but when debugging specific memory issues, it would be helpful if we could enable features (such as gctrace=1 and scavenge=1) dynamically.
While it doesn't have to be via os.Setenv, it;d be useful to have some way to dynamically enable GODEBUG features.
What version of Go are you using (go version)?
$ go version
go version go1.11.2 linux/amd64

Does this issue reproduce with the latest release?
Yes, I'm using the latest release.
What operating system and processor architecture are you using (go env)?
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/prashant/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/prashant/go"
GOPROXY=""
GORACE=""
GOROOT="/home/prashant/bin/go1.11.2"
GOTMPDIR=""
GOTOOLDIR="/home/prashant/bin/go1.11.2/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build849457703=/tmp/go-build -gno-record-gcc-switches"

What did you do?
Set GODEBUG to gctrace=1,scavenge=1 dynamically using os.Setenv.
What did you expect to see?
Expected to see GC traces once the variable was set.
What did you see instead?
No GC traces.

In general we've assumed that these are constants for the life of the program. It's unclear what would happen if some of these "run-time constants" started changing underfoot, even if we did all the wiring you suggest. It would probably be better to identify things that users really need to change and add explicit functions instead of reparsing $GODEBUG.
For example GODEBUG lets you set memprofilerate but there's a direct way to set it too.
/cc @aclements @RLH for whether it makes sense to be able to toggle gctrace, scavenge.

Explicit functions to enable GC logging, or recording the last N logs in-memory without printing them, and making them visible on /debug/pprof/heap would be good enough.

I think the bigger issue here is how we can export stats from the runtime that may change from version to version. I would love to expose programmatic access to gctrace, but we haven't because those stats change between releases, often substantially. And simply exposing the string formatted gctrace and forcing people to parse what they want out of it would make users' lives harder without addressing the compatibility problem.
We've been talking about a more general mechanism to expose "unstable" runtime stats. Probably these would be named, with some way to enumerate the current names and fetch the value of a given stat. The set of names would not be guaranteed between versions, but monitoring systems could enumerate and collect them, and applications could use them with the understanding that they may change in the future. Probably the API would fetch a single stat so that expensive stats could be computed only when fetched (versus, for example, exposing all stats at once in a map). And probably the API should have explicit support for "streaming" stats that have a meaningful history, like in the gctrace.

The problem is vaguely similar to MIBs used by SNMP, where the tool that examines the stats can not know the exact nature of the stats provided by a specific device.

On hold for the runtime team.

If this data cannot be exposed through a library function, could it be exposed through a HTTP endpoint on /debug/pprof?

Bumping this, can pprof be used to export the GC data?


chore(RHTAPWATCH-686): handle runner exceptions

Except exceptions from runner
Add errors to the output
Add unit tests

/test

/retest

@yftacherzog If you're not seeing the pipeline running in RHTAP, perhaps this PR is not based on a version of the code that contains the pipeline


WHM Create Account

Hi,
when i try to active the client account, why always error?
it say :
"WHM server response error calling action createacct: "Sorry, the password you selected cannot be used because it is too weak and would be too easy to crack. Please select a password with strength rating of 10 or higher.""
even i had change to password 20 chars, still can't ...
Can you help me? , FYI, i can connect to WHM...

Hello... anybody?

Can you get into WHM normally without using BoxBilling or is it only BoxBilling that can't connect?

i can create an new account (client) from WHM
BoxBilling can connect to WHM
the problem is BoxBilling can't create WHM account (client)

the reason is "WHM server response error calling action createacct: "Sorry, the password you selected cannot be used because it is too weak and would be too easy to crack. Please select a password with strength rating of 10 or higher.""
even i enter password 20 chars , it still show that error... Password too weak?


captchaResponse not being called on invisible mode

Hi,
My captchaResponse function is not being called when using invisible mode.
Template:
<re-captcha [size]="'invisible'" [badge]="'inline'" [site_key]="'MY KEY'" 		            (captchaResponse)="handleCorrectCaptcha($event)"></re-captcha>
Component function:
handleCorrectCaptcha(event: string): void { 		console.log('captcha!'); 		this.recaptcha = event; 	}
Any ideas?
Cheers!

Same here. Did you find any solution?


Longer stack name support

By passing the stack name in to the custom resource, we can support longer stack names, including using the rules in sub-stacks.

@jrstarke Hi any reason for closing this PR ?

The project was changed so greatly, it was easier to start over.  I created a new pull request with https://github.com/awslabs/aws-waf-security-automations/pull/12


New version: evilmartians.lefthook version 1.8.2

Pull request has been created with WinGet Releaser v2 :rocket:
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-10-29 00:59:43.196 [FAIL] Installer failed security check. Url: https://github.com/evilmartians/lefthook/releases/download/v1.8.2/lefthook_1.8.2_Windows_i386.exe Result: 0x80004005

Automated error analysis suggests -1978335187 may mean Installer failed security check. Another script should retry this every 18 hours.
Automated error analysis suggests 80004005 may mean Resource missing
(Automated response - build 897.)

@wingetbot run

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-10-30 15:51:39.489 [FAIL] Installer failed security check. Url: https://github.com/evilmartians/lefthook/releases/download/v1.8.2/lefthook_1.8.2_Windows_i386.exe Result: 0x80004005

Automated error analysis suggests -1978335187 may mean Installer failed security check. Another script should retry this every 18 hours.
Automated error analysis suggests 80004005 may mean Resource missing
(Automated response - build 897.)


i18n: fix Daemoniac Bonds name

As mentioned here: https://github.com/quisquous/cactbot/pull/5472

Thank you!


PSR-2

Format all the code in a PSR-2ish style.

[x] Database
[x] Events
[x] Foundation
[x] HTTP
[x] ORM
[x] Routing
[x] Service
[x] Storage
[x] View

Tests don't matter as much.

Looks like ORM was already done. All done here!


handle "can't connect" errors more gracefully

An inability to connect to the database shouldn't be met with a stack trace :)

will be fixed in #259


feat(QUI-48): make libp2p port configurable

#25
#24
#23  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @L8D and the rest of your teammates on  Graphite

Merge activity

Sep 21, 11:04 AM EDT: @L8D merged this pull request with Graphite.


Add option to disable signatures

Add option for specifying trust key for signing schema1 manifests.
Since schema1 signature key identifiers are not verified anywhere and deprecated, storing signatures is no longer a requirement.
Furthermore in schema2 there is no signature, requiring the registry to already add signatures to generated schema1 manifests.
Remaining items if design approved:

[ ] Configuration documentation update

registry/storage/registry.go:54:1: exported function Schema1SigningKey should have comment or be unexported returned exit code 1

LGTM once green

Current coverage is 53.07%

Merging #1420 into master will decrease coverage by -4.03% as of b23df59

@@            master   #1420   diff @@
======================================
  Files          123     123
  Stmts        11362   11388    +26
  Branches       797     731    -66
  Methods          0       0
======================================
- Hit           6488    6044   -444
+ Partial        797     731    -66
- Missed        4077    4613   +536

Review entire Coverage Diff as of b23df59

Uncovered Suggestions

+0.28% via ...ge/driver/gcs/gcs.go#182...213
+0.24% via ...ge/driver/gcs/gcs.go#85...111
+0.21% via ...ge/driver/gcs/gcs.go#471...494
See 7 more...

Powered by Codecov. Updated on successful CI builds.

Updated configuration key and added corresponding documentation

LGTM

LGTM


Build failure: nextcloud-client

Steps To Reproduce
Steps to reproduce the behavior:

nix-shell -p nextcloud-client

Build log
 ~  nix-shell -p nextcloud-client
these 2 derivations will be built:
  /nix/store/zg2zsi4nkgnhn92nj3qqmyd12kvban13-source.drv
  /nix/store/x0fg4xc7zr3gbsbaypqaq4xdc9gwyj33-nextcloud-client-3.13.2.drv
building '/nix/store/zg2zsi4nkgnhn92nj3qqmyd12kvban13-source.drv'...
sourcing setup hook '/nix/store/yq6n8b0mnk0qxzbs3ajsjcp8ziwqylrl-patchelf-0.15.0/nix-support/setup-hook'
sourcing setup hook '/nix/store/iks1pihvbilsh5sy8qvpd638k422w9i8-update-autotools-gnu-config-scripts-hook/nix-support/setup-hook'
sourcing setup hook '/nix/store/h9lc1dpi14z7is86ffhl3ld569138595-audit-tmpdir.sh'
sourcing setup hook '/nix/store/m54bmrhj6fqz8nds5zcj97w9s9bckc9v-compress-man-pages.sh'
sourcing setup hook '/nix/store/wgrbkkaldkrlrni33ccvm3b6vbxzb656-make-symlinks-relative.sh'
sourcing setup hook '/nix/store/5yzw0vhkyszf2d179m0qfkgxmp5wjjx4-move-docs.sh'
sourcing setup hook '/nix/store/fyaryjvghbkpfnsyw97hb3lyb37s1pd6-move-lib64.sh'
sourcing setup hook '/nix/store/kd4xwxjpjxi71jkm6ka0np72if9rm3y0-move-sbin.sh'
sourcing setup hook '/nix/store/pag6l61paj1dc9sv15l7bm5c17xn5kyk-move-systemd-user-units.sh'
sourcing setup hook '/nix/store/jivxp510zxakaaic7qkrb7v1dd2rdbw9-multiple-outputs.sh'
sourcing setup hook '/nix/store/ilaf1w22bxi6jsi45alhmvvdgy4ly3zs-patch-shebangs.sh'
sourcing setup hook '/nix/store/cickvswrvann041nqxb0rxilc46svw1n-prune-libtool-files.sh'
sourcing setup hook '/nix/store/xyff06pkhki3qy1ls77w10s0v79c9il0-reproducible-builds.sh'
sourcing setup hook '/nix/store/ngg1cv31c8c7bcm2n8ww4g06nq7s4zhm-set-source-date-epoch-to-latest.sh'
sourcing setup hook '/nix/store/gps9qrh99j7g02840wv5x78ykmz30byp-strip.sh'

trying https://github.com/nextcloud/desktop/archive/v3.13.2.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 13.1M  100 13.1M    0     0  15.9M      0 --:--:-- --:--:-- --:--:-- 25.2M
evaling implicit 'postFetch' string hook
unpacking source archive /build/v3.13.2.tar.gz
calling 'unpackCmd' function hook '_defaultUnpack' /build/v3.13.2.tar.gz
error: hash mismatch in fixed-output derivation '/nix/store/zg2zsi4nkgnhn92nj3qqmyd12kvban13-source.drv':
         specified: sha256-z4yxWClbs05ZCT8CPJpPY2BWMSXxfJ09Lq3Oottx7dQ=
            got:    sha256-hZjmAdh9QQ2bAIYL3K7scl59kz9Wxnv9f6rKMeuKb7U=
error: 1 dependencies of derivation '/nix/store/x0fg4xc7zr3gbsbaypqaq4xdc9gwyj33-nextcloud-client-3.13.2.drv' failed to build

Additional context
The package got an update from version 3.13.1 -> 3.13.2 some days ago, the source hash got updated as well. Somehow, my system is expecting a different hash during build. This hash might be wrong, as my system expects sha256-hZjmAdh9QQ2bAIYL3K7scl59kz9Wxnv9f6rKMeuKb7U= instead of sha256-z4yxWClbs05ZCT8CPJpPY2BWMSXxfJ09Lq3Oottx7dQ=. The latter was specified during the package update.
Is the updated hash wrong or something broken with my system?
Notify maintainers
Maintainers: @Kranzes @SuperSandro2000
Updating commit: @r-ryantm
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
 !  ~  nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.9.6-zen1, NixOS, 24.11 (Vicuna), 24.11pre651108.feb2849fdeb7`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.4`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

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

Fixed by https://github.com/NixOS/nixpkgs/pull/326093
Just wait a bit until it is in nixos-unstable https://nixpk.gs/pr-tracker.html?pr=326093 :)


Login Events

In standard laravel apps I would log failed/successful login attempts via spatie/laravel-activitylog, but the login method used in pingcrm doesn't seem to trigger the events.
    /**
     * Handle the event.
     *
     * @param  Failed  $event
     * @return void
     */
    public function handle(Failed $event)
    {
        activity()->log(
            'Failed Login Attempt: ' . $event->credentials['email'] . ' IP:' . request()->ip()
        );
    }

    /**
     * Handle the event.
     *
     * @param  Login  $event
     * @return void
     */
    public function handle(Login $event)
    {
        Activity()
        ->causedBy(Auth::getUser()->id)
        ->log(':causer.name logged in');
    }

    /**
     * The event listener mappings for the application.
     *
     * @var array
     */
    protected $listen = [
        Registered::class => [
            SendEmailVerificationNotification::class,
        ],
        Failed::class => [
            \App\Listeners\LogFailedLoginAttempt::class,
        ],
        Login::class => [
            \App\Listeners\LogSuccessfulLogin::class,
        ],
    ];

Hey @gregupton, I am not really sure how that Spatie package works, so this question might be better asked with them. Inertia (and Ping CRM) doesn't really do anything special from an authorization perspective, other than return an Inertia view from the LoginController:
https://github.com/inertiajs/pingcrm/blob/75ae66a2c12ae4d704fdb4b0378fb2493d4e1943/app/Http/Controllers/Auth/LoginController.php#L36-L39
Sorry I cannot be more helpful.


Really fix section name non-determinism in test suite

Here's an actually correct fix for my previous patch for this problem which didn't actually solve it.  I've modified the test to reload the generated string and use Get* functions to make assertions.
Apologies for getting it wrong the first time - the patch did solve non-determinism in the key names, but not the section names.

Thanks!


Redesign CRD for NDB to meet Cloud Native Security standards

Is your feature request related to a problem? Please describe.
Yes it's a problem to expose the prism secret/creds to developers & delivery teams in general.
I mean this part:
spec:
  # NDB server specific details
  ndb:
    # Cluster id of the cluster where the Database has to be provisioned
    # Can be fetched from the GET /clusters endpoint
    clusterId: "Nutanix Cluster Id"
    # Credentials secret name for NDB installation
    # data: username, password,
    # stringData: ca_certificate
    credentialSecret: your-ndb-secret
    # The NDB Server
    server: https://[NDB IP]:8443/era/v0.9
    # Set to true to skip SSL verification, default: false.
    skipCertificateVerification: false

Describe the solution you'd like
Remove k explain database.spec.ndb from the CRD Database & shift it to the controller runtime configuration.
And if it requires to override something at CRD Database, it can be anything but not credentials.
Describe alternatives you've considered
For the time being, we can contribute here as you are already a partner of our organization.
If we will find it's hard to contribute with you, or it took longtime to release whatever we contributed, that time, we will go to wrap your CRD with a helm-based operator by defaulting this credential value (i.e. watches.yaml)
Additional context
MENA regions , go-based operator

Fixing/bootstraping the NDB specs in the controller runtime configuration might limit the operator to work with only a single instance of NDB. We intend to provide a mechanism by which the operator will be able to manage databases across multiple NDB installations. This is by design as we do not want the controller to carry any stateful information, the state (NDB spec) will be maintained by the custom resources.
However, we do understand that providing the NDB spec for every database custom resource can be redundant for developers. There is an active redesign/implementation in progress where the NDBServer will have a separate CR of its own and the database CRs will refer to that NDBServer CR by name, thus easing the process.


[Lexer] Forward declare RawTokenSyntax in 'Lexer.h'

Avoids generated Syntax header dependencies.
Supersedes #11289

@swift-ci Please smoke test

This actually removes a bunch of the need for dependencies on swift-syntax-generated-headers for other targets. We should remove those, but this patch LGTM.

Thanks for this!

:boat:


AutoRank : %autorank_time_of_player%

Hey ! :D
The placeholder of AutoRank : %autorank_time_of_player% is useless because on my scoreboard the time played is in seconds... So I have 7000000 seconds... How can I change that ? :D
Thanks ! :D

What version of the expansion are you using?

What version of the expansion are you using?
Also I will try to speak with the author of the expansion to see if he can make a formated version of what you want.. @extendedclip

I will add a placeholder for autorank which displays  formatted time played. tomorrow

Thanks Clip!

https://api.extendedclip.com/expansions/autorank/versions/autorank-102/
%autorank_time_of_player_formatted%

@TheIntelloBox use the above given link to get a new version of expansion and with that use: %autorank_time_of_player_formatted% to get a formated version of %autorank_time_of_player%

When will it be added to Placeholder API ?

I installed it but doesn't work. @extendedclip

The expansion is not a plugin. You have to put the jar file in: \plugins\PlaceholderAPI\expansions


Support 4 property errors for Java lambdas

*Issue #1404 *
When a Java thrown exception has a cause, the start-lambda runtime does not mark it as a failure. When it does not have a cause, it does.
How does it address the issue?
Supports 4 property dicts as sent by Java.
What side effects does this change have?
Unknown?
Checklist:

[X] Write Design Document (Do I need to write a design document?)
[X] Write unit tests
[X] Write/update functional tests
[X] Write/update integration tests
[X] make pr passes
[X] Write documentation

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This needs a fix to the failing unit test. It may also need the python to specifically check for allowing cause as an extra field. If someone can pitch in and help, then please do. Otherwise, I'll look into this one soon.

I've submitted some rather clunky Python to attempt to fix the failing test and I've added a test for the use case I'm trying to cover.

@jfuss - please can I have some review/help on this one. It looks like the CI build is working ok, but then encountering some errors also visible in other PRs.
This should be a minor change. Please advise what I need to do to bring it up to a point where you can merge it. We'd rather like to have our cause passed through to the logs in our Java lambda, which we test using sam local start-lambda with a StepFunction runtime driving the process. At the moment, we're using a workaround where we swallow the cause. This will probably fix that.
Thanks!

Hey @jfuss @sriram-mv @sanathkr @awood45  - I've just squashed and rebased this branch against the latest develop in order to see if it will build any better. As far as I'm aware, this is a minor change that the slightly extended unit tests are happy with.
Without this modification, any Java exception, thrown in a lambda with a cause field will make the sam lambda runtime fail to recognise that an error has occurred.
I'm sure you guys are busy, but if I could have a review on this one, that would be great.

Hmmm... integration test failure. I'm guessing that the int test relies on an error being caught or not caught in a way which disagrees with the spec suggested by the unit tests and code. I'll submit changes if someone can give me a clue what's expected here.

Hey @jfuss - thanks for the approval... I'm still not sure whether I should be worried about the test failures. I usually worry about test failures, but I'm not sure in this case whether they're caused by this change. Any ideas?

@ashleyfrieze It looks like the files are not formatted (which is causing the failure). Have you run make black? (https://github.com/psf/black needs to be installed).

@jfuss - thanks for the tip. I must confess, as a non Python developer (I've written some in the past, but never for more than a few hours at a time), I just edited the files in the GitHub WebIDE!
However, I've run them through black on my computer and updated the PR. Here's hoping it will pass everything.

@jfuss - phew, it looks like this one's now building to green. Thanks for you help!

@ashleyfrieze Thank you for contributing the fix!


0100-01-01-index.md

Does this line miss a full stop or an exclamation mark after "learn how"?
Anyone can edit OpenStreetMap. Here you can learn how LearnOSM provides easy to understand,

@sabas I agree that the frontintro in 0100-01-01-index.md reads a lot easier as:  Anyone can edit OpenStreetMap. Here you can learn how. LearnOSM provides easy to understand, step-by-step guides for you to get started with contributing to OpenStreetMap and using OpenStreetMap and using OpenStreetMap data. If you are interested in running an OpenStreetMap workshop, check out the LearnOSM trainer resources.

I understand this is a minor edit that can be done in GitHub according to the contributing guidelines on text modifications. @althio Can you or someone else in this repo create a "newcomer bug fix" or "first bug" label for this?

Closing as done


usb acm not working

I'm compile the usb acm example & run on RV-Debugger board
but usb acm tx will borken after:
picocom -b 115200 /dev/ttyACM0
.... a lot of a ......
# then press Ctrl-a x exit picocom
cat /dev/ttyACM0
# then press Ctrl-c
picocom -b 115200 /dev/ttyACM0
# now usb acm can't send data from usb device

use command:
echo 1 > /dev/ttyACM0
picocom -b 115200 /dev/ttyACM0
# serial port tx is borken


Update VBA PowerPoint Placeholder Types

Updating the documentation to include more modern placeholder types of PowerPoint

ppPlaceholderPicture
ppPlaceholderCameo

@lindalu-MSFT


Add text and graphics into notebooks

Note from the meeting: The description text and graphics will be useful for understanding the notebooks.

Added text, pipeline architecture, bar plots to display improvements and visualizations from the notebook.


Roll Flutter Engine from fe45a6608651 to f852b36b22eb (2 revisions)

https://github.com/flutter/engine/compare/fe45a6608651...f852b36b22eb
2024-11-25<EMAIL_ADDRESS>[android] remove fml_check from surface_texture_external_texture (flutter/engine#56760)
2024-11-25<EMAIL_ADDRESS>removed unused variable for skia initialization (flutter/engine#56791)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


ReferenceError: exports is not defined in ES module scope in /@graphiql/plugin-explorer

Hi,
I tried this package on a Nextjs project using TS, however get this went rendering:
ReferenceError: exports is not defined in ES module scope
This file is being treated as an ES module because it has a '.js' file extension and '******/node_modules/.pnpm/@graphiql+plugin-explorer<EMAIL_ADDRESS>contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.

Can you help?

Just published the fix for this with<EMAIL_ADDRESS>


Bug fix divide double can not match mv

Proposed changes
fix divide double can not match mv
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 46.75 seconds
stream load tsv:          552 seconds loaded<PHONE_NUMBER>9 Bytes, about 129 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          29.3 seconds inserted 10000000 Rows, about 341K ops/s
storage size:<PHONE_NUMBER>3 Bytes

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 45.81 seconds
stream load tsv:          534 seconds loaded<PHONE_NUMBER>9 Bytes, about 133 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          28.9 seconds inserted 10000000 Rows, about 346K ops/s
storage size:<PHONE_NUMBER>5 Bytes

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 46.33 seconds
stream load tsv:          536 seconds loaded<PHONE_NUMBER>9 Bytes, about 133 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select:          28.9 seconds inserted 10000000 Rows, about 346K ops/s
storage size:<PHONE_NUMBER>4 Bytes


chore: update dependencies and runtime version

ℹ About
Updated dependencies and changed runtime version from Node 12 to Node 16.

Nice, thanks!

@justinwride Thank you! 👏
@JoshCoady Any chance to get this merged?

bump

Merged
sorry it took so long 🙂

Thanks! Can you publish a new release now? :)

Thanks! Can you publish a new release now? :)

Hi 👋  @JoshCoady where the version 1.0.1 deployed
I got this error when trying to get the 1.0.1 version
Error: Unable to resolve action<EMAIL_ADDRESS>unable to find version v1.0.1

Looks like the deploy is broken due to something in an included gh action. I dont currently have time to track this down, but if someone could post a fix, I'll merge it

Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: /home/runner/work/_actions/cycjimmy/semantic-release-action/v2/node_modules/semantic-release/index.js
require() of ES modules is not supported.
require() of /home/runner/work/_actions/cycjimmy/semantic-release-action/v2/node_modules/semantic-release/index.js from /home/runner/work/_actions/cycjimmy/semantic-release-action/v2/src/index.js is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules.
Instead rename /home/runner/work/_actions/cycjimmy/semantic-release-action/v2/node_modules/semantic-release/index.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from /home/runner/work/_actions/cycjimmy/semantic-release-action/v2/node_modules/semantic-release/package.json.

Just pushed a PR to fix the issue according to


Docker support

Hi,
I'm keen to build out extensive test suites for our infrastructure using goss. Its almost entirely Docker based, is Docker something you would be interested in adding? I'm think along the lines of
{
    "container": "/nginx/",
    "running": true,
    "created": true,
    "id": ....
}

Even possibly extending the command to run inside a container.
Regards,
Stephan

Docker support is something I am on the fence on. Part of me really wants to add it, part of me is wondering where the line should be drawn on what's supported by goss and what is pushed off to users using command.
For example:
$ cat goss.json
{
    "command": {
        "docker ps --format \"{{.Names}} {{.Status}}\"": {
            "exit-status": "0",
            "stdout": [
                "goss_int_test_precise Up",
                "goss_int_test_wheezy Up",
                "goss_int_test_centos6 Up"
            ],
            "stderr": []
        }
    }
}

$ goss validate
..

Total Duration: 0.025s
Count: 2, Failed: 0

$ docker stop goss_int_test_precise
goss_int_test_precise

$ goss validate
.F

Failures:
Command: docker ps --format "{{.Names}} {{.Status}}": stdout: patterns not found: [goss_int_test_precise Up]

Total Duration: 0.028s
Count: 2, Failed: 1

Fair enough, trying to think it through a bit more, I guess a Docker command would make sense if you are interested in more info (like the parent image, the running time, the exit code, the container ID, etc?)

Has command worked out okay or have you found it lacking?

Hi, we've been using command happily, so please feel free to close this issue.

Thanks for the update.


travis: Cache the phantomjs package downloads between builds.

This should hopefully fix the issue we've been seeing with
bitbucket.org rejecting connections from Travis CI by not needing to
connect to them.

Automated message from Dropbox CLA bot
@timabbott, it looks like you've already signed the Dropbox CLA. Thanks!


Add a docker hypervisor

This also copies in the docker image commands as used by Voxpupuli.

This seems fine to me. @puppetlabs/qe-team any concerns about merging/releasing these changes?

Hey @ekohl thanks for your contribution; do you think that you could add a test for this? There's not quite an obvious place to put it, but if you add a machine with the docker hypervisor here I'd think that would be sufficient. Thanks!

@tvpartytonight updated with a test.

Anything else I should add?


Receiving chart pull error on environment with a proxy - EOF

Environment
I have my k8s cluster deployed behind a firewall, that only allows connections from a proxy that is on the same network.

Setup
Flux version: v2.1.2
Source controller version: 1.1.2
I've setup the gotk as such to be able to use the proxy to fetch things.
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
  - gotk-components.yaml
patches:
  - patch: |
      apiVersion: apps/v1
      kind: Deployment
      metadata:
        name: all
      spec:
        template:
          spec:
            containers:
              - name: manager
                env:
                  - name: "HTTPS_PROXY"
                    value: "http://proxy.com:3128"
                  - name: "NO_PROXY"
                    value: ".cluster.local.,.cluster.local,cluster.local,.svc,<IP_ADDRESS>/8,<IP_ADDRESS>/8"
                  - name: "https_proxy"
                    value: "http://proxy.com:3128"
                  - name: "no_proxy"
                    value: ".cluster.local.,.cluster.local,cluster.local,.svc,<IP_ADDRESS>/8,<IP_ADDRESS>/8"
    target:
      kind: Deployment
      labelSelector: app.kubernetes.io/part-of=flux

And I have HelmRelease and helmrepo configured like this:
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
  name: keda
  namespace: keda
spec:
  interval: 5m0s
  releaseName: keda
  install:
    createNamespace: true
  chart:
    spec:
      chart: keda
      version: '2.12.1'
      sourceRef:
        kind: HelmRepository
        name: charts
        namespace: keda
  valuesFrom:
  - kind: ConfigMap
    name: keda-values
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
  name: charts
  namespace: keda
spec:
  type: "oci"
  interval: 5m0s
  url: oci://<acr>/sre/charts/
  secretRef:
    name: registry-pull-secret
  certSecretRef:
    name: tls-ca

My HelmRepo is showing as active, but the HelmChart is showing as "Reconciling" and I can see the following error:
chart pull error: failed to download chart for remote reference: failed to get 'oci://<acr>/sre/charts/keda:2.12.1': failed to do request: Head "https://<acr>/v2/sre/charts/keda/manifests/2.12.1": EOF

I thought that this could be related to this issue about http_proxy on busybox images: https://github.com/mirror/busybox/issues/21 , and after that I tried with this docker image as source-controller:
FROM <acr>/sre/fluxcd/source-controller:v1.1.2
USER root

COPY zscaler.crt /etc/ssl/certs/
RUN update-ca-certificates

RUN apk --no-cache -U add openssl wget ca-certificates
# wget https://httpbin.org/get

USER 65534:65534

But I continued to receive the same error.
Do you guys have any idea of what I can do to fix this?

Two more things that can be useful here:

The same setup works when I remove the firewall and proxy from the architecture.
This is the output of the command when I try to do a HEAD request from the source-controller container

~ $ wget --spider https://<acr>/v2/sre/rancher-alerting-drivers/manifests/102.1.0
Spider mode enabled. Check if remote file exists.
--2024-05-13 22:07:41--  https://<acr>/v2/sre/rancher-alerting-drivers/manifests/102.1.0
Resolving proxy.com ( proxy.com)... <proxy-ip>
Connecting to proxy.com (proxy.com)|<proxy-ip>|:3128... connected.
Proxy request sent, awaiting response... 401 Unauthorized

Just confirmed here with tcpdump that source-controller is sending requests directly to the OCI URL without using proxy. This should not be happening since the proxy is setup on the flux services like the doc suggests

Can you please try with an OCIRepository and see if that works, example here https://fluxcd.io/blog/2024/05/flux-v2.3.0/#enhanced-helm-oci-support

this is fix in https://github.com/helm/helm/commit/94c1deae6d5a43491c5a4e8444ecd8273a8122a1 I believe. Upgrading helm to v3.15.0 in source-controller should resolve this

Switching to OCIRepo and HelmRelease v2 should work as we don’t use the Helm getter in OCIRepo.

I tried to just update to the latest flux version which uses a version of helm that was already fixed (  1.3.0 source controller points to 3.14.4) but still maintaining the HelmRepository and I did not have success. I will give the OCIRepo a try.

As I wrote above, the fix is already on flux version 2.3.0. Even the guy who made the fix himself bumped another repository to 3.14.4 to fix his issue. As you can see on the link to the code on 3.14.4, it is already there! Which means that 2.3.0 already have this fix.

So, bumping the version of helm 3.15 on a future must not solve the issue that I am facing.

Thanks @Valgueiro, we instantiate our own http.Transport. This will be fixed in the next Flux minor.


Frontend!

Added error and info messages.
Rebased and squashed in one commit because it was getting messy.

Sorry for all the trouble, this should get the job done. But anyway, thanks @suryasr007 for letting me develop this I learned a lot.

Thanks. I will look into it.


Add the option to exclude shipping price from discount

Currently when a discount is applied to an order, it is applied against the items subtotal + shipping.
Shipping is generally a fixed cost which could end up costing the seller.
We could leave the merchant the option to decide if they want a discount to apply to shipping.
This would involve:

admin UI: add an option under the Settings > Discount creation/edit page to have the discount cover shipping.
backend: persist the option in the discounts table and use it when doing discount calculation

Prioritize as a P3
@gullible1 feel free to update if you feel it should be higher...


Bump crate versions

Release latest changes such as:

wasm-tools compose now supports -t (#1148)
The abi module is removed from the wit-parser crate (#1149, #1159)
Fix validation of lowered functions in the component model (#1150)
Fix a panic decoding WIT from a component (#1157)
Add text format and printing support for dylink.0 (#1135)
Support shared-everything linking in wasm-tools component new (#1133)
Printing a WIT document now prints comments as well (#1167)
Disallow (borrow $t) in component function results (#1162)

This was requested originally in https://github.com/bytecodealliance/wit-bindgen/pull/637


TestNg Metrics: Metrics doesn't include multiple tests in result

When testng.xml consist multiple  tags only first test info dispplayed in metrics report

User #gvreddy reported this issue and xml looks like
<test name="Test1" verbose="2">
		<classes>
			<class name="com.Class1">
			</class>
		</classes>
	</test>
	<test name="Test2" verbose="2">
		<classes>
			<class name="com.Class2">
			</class>
		</classes>
	</test>

Fixed this issue as part of https://github.com/adiralashiva8/testng-metrics/commit/b51a1863207f17fcdeed19499034ddeb6517eb9d commit. Changes are in v1.3


How to do the training ?

I don't know how to use the function python train_c3d_ucf101.py
Anyone can help me?

you can use the pycharm, and run it directly. and you also run it in terminal ( " python train_c3d_ucf101.py").
Note: you must have download the UCF101 sets and use convert_video_to_images.sh to extract frames from each video, just run the .sh directly. In the train_c3d_ucf101.py, maybe need to change the “gpu_num”, which is your number of gpu.

Thank you very much.I have 1 gpu so I set variable gpu_num = 1 right?


contributor request

@all-contributors please add @yunusemree55  for API bot

@alicemist  add @yunusemree55  to contributor

@all-contributors please add @yunusemree55  for

@all-contributors please add @yunusemree55   for wa01 Api Bot product

@all-contributors add @yunusemree55  for code

@all-contributors add @alicemist  for doc

@all-contributors add @yunusemree55  for code

@all-contributors add @yunusemree55 for code

@all-contributors add @alicemist

https://github.com/all-contributors add @alicemist for code

@all-contributors add @alicemist for code


sender see no balance after a transfer (tapret1st)

Using commit f9813b7 plus a cargo update to include rgb-std #193 I face an issue.
This is what I'm doing (wallet 1 is the issuer/sender, wallet 2 is the recipient):

issue a NIA asset on wallet 1
send some assets from wallet 1 to wallet 2

All operations are carried out using tapret1st closing method. The same issue doesn't manifest itself when using opret1st.
After the 1st transfer, the sender doesn't see the assets allocated as RGB change.
These are the sender UTXOs after the transfer:
HeightAmount, ṩ    Outpoint
Loadingdescriptor from wallet wallet_1 ... success

Wallettotal balance: 0 ṩ

This is the sender's contract state after the transfer:
Global:
  spec := (ticker=("USDT"), name=("USD Tether"), details=~, precision=0)
  terms := (text=("demo NIA asset"), media=~)
  issuedSupply := (2000)

Owned:
  assetOwner:

Looks like issue with detecting outputs containing tweaks... Can you please include the sender data directory?

Here is the whole sender's data directory.
sender_data.tar.gz

Ok, this was trivial: tapret tweak was added to the wallet, but the wallet itself wasn't saved to the disk. Fixed in https://github.com/RGB-WG/rgb/pull/175

Re-tested using branch v0.11 (commit 7aa7361).
The sender now fails to prepare the transfer with:
thread 'main' panicked at .../rgb/src/runtime.rs:213:31:
unable to save wallet data: Toml(Error { inner: KeyNotString })

Ok, this means my fix from https://github.com/RGB-WG/rgb/commit/f9813b780bf0b0295b13df23d5017565840d3994#diff-f643199b78cd917deee88c751028d85bc710961b6f7b874f3c99cf6935fd68b0L109-L118 doesn't actually work.
Finding another way to save using serde in a feature-gate aware way with no cfg_eval involved...

With the new fix from https://github.com/RGB-WG/rgb/pull/175/commits/ac43eb2709fe06cb102b7083ea6205634573f2df using https://github.com/BP-WG/bp-core/pull/87 and https://github.com/BP-WG/bp-std/pull/24 this should be working now

Using commit ac43eb2 plus a cargo update, I get this error when trying to create a wallet:
error: unable to serialize wallet cache as YAML file - can only flatten structs and maps (got a string)

moreover, I noticed the exit status of the command is 0 even if the reported error gets output and I think this should be fixed

Try with e05f6c75a1a150851a4b08fcec74f02230de6bb1 - just do cargo update. The exit status is separate issue and I will work on it elsewhere

Wallet creation now succeeds, but I get the error when syncing the wallet (utxos --sync) after receiving some funds:
Syncing keychain 0 .......... keychain 1 .......... keychain 9 .......... keychain 10 ........... success
Error: unable to serialize wallet cache as YAML file - can only flatten structs and maps (got a string)

After including a fix in bp-std (commit 68ca949a), wallet syncing now succeeds, but I get another error when syncing the sender (wallet 1) after the transfer (after the tx has been broadcast and confirmed, before accepting):
Loading descriptor from wallet wallet_1 ... Error: unable to parse TOML file - TOML parse error at line 7, column 1
  |
7 | "&10/1" = "^k$0ej@X7L@NTPs0zL$(MRC_`!3rCMxVn8)b0OE|00"
  | ^^^^^^^
invalid type: string "&10/1", expected a borrowed string

Including fixes for bp-std (6741b11d) and rgb-core (ff275566) the issue is solved.


No pretrained weight

Could you please check the link of pretrained weight? I think it is not working

you may try this: https://drive.google.com/file/d/1iYu3lvYDixVNPYjmyi0MON8-X3aRN4n2/view :(sorry for the delay of the reply


Some HScript Problem (scall bulls**t)

Describe your bug here.
the error is : source/psych/HScript.hx:168: characters 89-94 : Type not found : SCall
my bad  i forgot. version is like 7.1h
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.


Fix Catalog uri_path verbose_name

This PR fixes a tiny typo retroactively in the migrations. I think it works, but maybe somebody else should double check.

I think I will just merge and we create a rc3 when the other PR is done.

We can test this then.


Can this model use in rasa_nlu for Chinese?

Great pleasure to use your model. But can this model use in Rasa_nlu for Chinese?
And could you try? @howl-anderson  :)

I tried, it works. Please see https://github.com/Aguila-team/Chinese_NLU_by_using_RASA_NLU#spacy

Awesome! Thanks for your work. :)


Added components for suggestions, selected options

Issue: 996
Description:

Updated helper to generate sentences based on provided parameters
Added a component to display suggestions, if found, otherwise show no suggestion found
Display selected options as pills
Pills can be editable/deletable
All the features should follow web accessibility standards (accessible through the keyboard as well)

Checklist  :

Should render suggestion if typed input has more than 2 characters and has no key
Should render suggestion if typed input has more than 2 characters in value if key is present
Suggestions should be selectable using mouse and keyboard
Rendered pills should be editable
Changes should be discarded if esc is pressed while editing a pill
Changes should be saved if 'enter' is pressed while editing a pill
While editing a pill suggestions should be visible
Allow user to search with or without typing the key (i.e. assignee, title, status)
Highlight the pill & stop the cursor from blinking before deleting the pill
Remove the pill if the user has completely erased the value of a pill while editing
Rendered pills should also be visible in the URL as a query param once clicked on the search button
Fields from query should auto convert into pills
Responsiveness
Longer text should be wrapped with ellipsis property

Anything you would like to inform the reviewer about:
I haven't added test cases for TaskSearch.tsx as of now. Will be doing it separately.
Dev Tested:

[x] Yes

Under Feature Flag:

[x] Yes

Frontend Changes:

[x] Yes

Images/video of the change:

[x] Should render suggestion if typed input has more than 2 characters and has no key
[x]  Should render suggestion if typed input has more than 2 characters in value if key is present

https://github.com/Real-Dev-Squad/website-status/assets/56365512/61968123-9701-4f8b-9bc7-f50b10e56d3e

[x] Suggestions should be selectable using mouse and keyboard

https://github.com/Real-Dev-Squad/website-status/assets/56365512/8c4bc2f7-5ba4-45d3-a1f7-981f1486a021

[x] Rendered pills should be editable
[x] Changes should be discarded if esc is pressed while editing a pill
[x]  Changes should be saved if 'enter' is pressed while editing a pill
[x]  While editing a pill suggestions should be visible

https://github.com/Real-Dev-Squad/website-status/assets/56365512/49a30875-e907-42c4-8e02-5ef57a8e6640

[x]  Allow user to search with or without typing the key (i.e. assignee, title, status)
[x]  Highlight the pill & stop the cursor from blinking before deleting the pill
[x]  Remove the pill if the user has completely erased the value of a pill while editing

https://github.com/Real-Dev-Squad/website-status/assets/56365512/90d56146-db0f-423c-99b5-c4dbab0f78ec

[x]  Rendered pills should also be visible in the URL as a query param once clicked on the search button
[x] Fields from query should auto convert into pills
[x] Responsiveness
[x]  Longer text should be wrapped with ellipsis property

https://github.com/Real-Dev-Squad/website-status/assets/56365512/0bcbf742-f7c3-4c2b-b16a-abcbc0f6c953

Test Suits

Test Coverage

Created mini PRs


Blocked Requesters/HITs resetting upon refresh.

All blocked HITs/Requesters completely reset upon refresh. I'm not sure if this is an issue with MTURK Engine as much as it is a MTURK or browser issue.

Hi @CrumpThePenguin thanks for submitting this issue. It's most likely an Mturk Engine issue but it's difficult to know for sure because I've had no luck reproducing it. If you'd like to help me with this: when you switch to the Blocklist tab, do any errors show up in the console? (You can open the console with F12.)
I can look into this more tomorrow but I probably won't be able to fix the underlying cause until a major release, which I have no ETA for. In the meantime, if you're willing to part with ALL of  your saved Mturk Engine data, look into a possible solution I posted about here: https://github.com/Anveio/mturk-engine/issues/4

Doing some spring cleaning. I'm assuming this was caused by watcher's not being read from browser storage properly, causing the crash. This was fixed in 1.3.0, I believe, so I'm closing this for now. If the issue shows up again, feel free to post a new issue and I'll look at it.


updated libs

Thanks for you PR. Can you update .travis.yml file to make Travis CI build passing?
I think, update like in the code snippet below, should fix the problem.
android:
  components:
    - tools
    - platform-tools
    - build-tools-25.0.2
    - android-25
    - extra-android-support
    - extra-android-m2repository
  licenses:
    - android-sdk-license-5be876d5
    - android-sdk-license-c81a61d9

Thanks for the update. A build is still failing. After quick googling I found out, setting JDK version in .travis.yml may fix this:
jdk: oraclejdk8

You can take a look at .travis.yml with updated dependencies in my another project as a reference: https://github.com/pwittchen/ReactiveNetwork/blob/master/.travis.yml. It has a bit different gradle tasks executed, but dependencies are similar.

Build was still failing, but it wasn't fault of this PR. For some reason Android Lint was checking translations of the sample apps, so I added:
android {
  lintOptions {
    disable 'MissingTranslation'
  }
}

to the build.gradle file of the sample apps after merge and now it should be fine.
Thanks again for your contribution & patience!


Jitsi doesn't start, message "NimbuzzAvatars"

I installed JITSI jitsi-2.9.5477-x86.msi on fresh legal Windows XP Pro SP3 french version and jitsi-2.9.5477-x64.msi on Windows 7 Pro french version, in VirtualBox. After the installation, JITSI doesn't start, there's a message "NimbuzzAvatars" and nothing else.

Deleting the directory %userprofile%.sip-communicator doesn't solve it. I restart with initial snapshot of Windows and had again the same problem.
Same problem with 2.9.5478 version but jitsi-2.8.5426 stable version works fine.

Duplicate of #162.
Please don't open issue after issue. You already violated our rules the first time by not asking on the mailing list first. You can comment on the first issue.

I opened a new issue because you closed my first issue as it was solved and without waiting my answer to your suggestion. Now, you closed my second issue without trying to answer to me and the issue isn't solved. Congratulations !
I will not waste my time anymore to test JITSI and making issues if you don't matter. And I will less use the mailing list before.
I will simply use another software that works, free or not.


How to train without the cuda extension?

I can not use the cuda extension, how can I train the model without it?
Thank you very much!

Thank you for your interest.
Unfortunately we don't have a cpu version yet. Were you unable to install the extension, or do you not have CUDA?

Hello!
Can I run inference without using a cuda extension? (for example, if I have macos operating system)

Unfortunately that is not possible at the moment because we don't have a cpu implementation. We plan to release one in the future.

Unfortunately that is not possible at the moment because we don't have a cpu implementation. We plan to release one in the future.

Thanks for reply. Looking forward to this update.

Thank you very much for your reply.

We released the pure PyTorch version (PR #23 ) along with a new version of the kernel.
I'd like to thank @qwopqwop200 for their implementation of our RPB, which was used instead of our own in the PyTorch version.


Add Test runs for Python 3.7 and remove 3.4

There are very few people using 3.4 and 3.7 is coming up. A few of the packages cannot use 3.7 yet
PubSub: https://github.com/GoogleCloudPlatform/google-cloud-python/issues/5292
Monitoring: https://github.com/GoogleCloudPlatform/google-cloud-python/issues/5293
BigQuery: https://github.com/GoogleCloudPlatform/google-cloud-python/issues/5294

Are you sure about the 3.4 bit?  It is still the default python3 for LTS Linux versions, AFAIK.

@tartavull @jonparrott  looked up the stats and said ~4%. We can leave it if you have strong feelings about it. It seemed a convenient time to not elongate the test runs is all.

Let me double check that... I am bad at math.
On Thu, May 3, 2018, 1:47 PM Christopher Wilcox<EMAIL_ADDRESS>wrote:

@tartavull https://github.com/tartavull @jonparrott
https://github.com/jonparrott looked up the stats and said ~4%. We can
leave it if you have strong feelings about it. It seemed a convenient time
to not elongate the test runs is all.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/google-cloud-python/pull/5295#issuecomment-386431447,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPUc1R6tt34CdAELzv52RBmSz11o7oUks5tu2zIgaJpZM4TxuS7
.

Query looks right, though I'd filter out the "bandersnatch" installs with details.installer.name = 'pip' if I were you. In my experiments those are a significant percentage of downloads and don't actually count as installs since they mirror all of PyPI.
P.S. I could give you some help updating to standard SQL syntax if you'd like.

Thanks @tswast. Limiting to just pip installs made the Py 3.4 percentage even lower at 1.43%. ;)

As pointed out by @tseaver in #5401, this also requires an update to all setup.py files.


Load more data from PeeringDB

Proposed Functionality
It would be great if more fields from PeeringDB would be shown in Internet Exchange / Available Peers like:

all fields from Peering Policy Information (currently my top priority would be the General Policy field)
some more fields from the AS Details (like Traffic Levels, Traffic Ratios etc.)

These values should also appear in the filter on the right.
Use Case
When checking the list of possible peering partners in an IX it would be great to see more details of them at a glance. For example I'd like to filter to Open+Selective policy, indirectly excluding Restrictive ones.

This is actually part of a bigger rewrite that needs to be done: refactoring the PeeringDB code inside PM. It currently uses a custom sync method, but we should consider using the Python binding PeeringDB provides.

Now that the PeeringDB code as been refactored, it's only a matter of displaying data.

Fixed in 2ee2cea