Installing and running spider on windows

Is there any document how to install spider2 or the lite version on windows without docker and how to run it

Hi,
Sorry for the delayed response. The current code should be able to run on Windows. Please let us know where you encountered the bug.

Hi,
Sorry for the delayed response. The current code should be able to run on Windows. Please let us know where you encountered the bug.

Hi,
i am trying to run spider2,spider-agent,spider2-lite but not run if i want run this locally how is it possible

you can replace utils's # class timeout:
def init(self, seconds=TIMEOUT_DURATION, error_message="Timeout"):
self.seconds = seconds
self.error_message = error_message
def handle_timeout(self, signum, frame):
raise TimeoutError(self.error_message)
def enter(self):
signal.signal(signal.SIGALRM, self.handle_timeout)
signal.alarm(self.seconds)
def exit(self, type, value, traceback):
signal.alarm(0)
with
class timeout:
def init(self, seconds=5, error_message="Timeout"):
self.seconds = seconds
self.error_message = error_message
self.timer = None
def handle_timeout(self):
    raise TimeoutError(self.error_message)

def __enter__(self):
    self.timer = threading.Timer(self.seconds, self.handle_timeout)
    self.timer.start()

def __exit__(self, exc_type, exc_val, exc_tb):
    if self.timer:
        self.timer.cancel()


The WebRTC 3.0 update has broken Tapo

Description
Hello.
The WebRTC 3.0 update has been released and the Tapo C200 camera has stopped working.

Reproduction Steps

Update WebRTC to 3.0
Card from examples:
type: custom:stack-in-card
cards:

type: custom:webrtc-camera
...

Expected behavior
I expect the camera output on the screen.
If applicable, add error logs.
No response
Device Firmware
1.1.19
Using stream component
Yes
Does camera work via official integrations?
Yes
Camera has all attributes filled out in developer tools
Yes
HASS Environment
Debian 11, Home Assistant Supervised
Search for similar issues
Yes
Additional information
No response

Ctrl-F5 action corrected the situation. Sorry for the false alarm.


Unit tests for uncovered lines RLP.sol

Issue ref: #230

we haven't tested the RLP encoding and decoding in any of these tests


I can't customize the profile path.(sitemesh3.xml under idea).

change  sitemesh3.xml,dosen't work. Can only be placed under the default path.

Error loading using absolute path,need help!

Temporarily change the absolute path to WEB-INF/classes/sitemesh3.xml

It sounds like you resolved your issue?  If not, please re-open.


fix: search operator deployment from user namespace

The fix includes two parts:

Reduce the times of function call for operator report function
Continue search operator deployment from user namespace

Closes #247
Signed-off-by: Tao Li<EMAIL_ADDRESS>

DO NOT SQUASH
This PR contains a meaningful refactor as commit

/test

This should not be merged


google contact duplicated entries // query

Hi!
I am using this API to edit & create contacts at Google Contacts.
So far I am able to:
Retrieve N contacts.
Create a contact.
However when I create a contact, if the contact is already in the base, it creates a duplicated contact.
I would like to avoid that.
I can remove duplicated contacts through the GUI. However that is not ideal.
Is there any way to prevent to create a contact if duplicated?
I see google generates a random unique ID for the contact when its created, would I be able to specify a custom ID?
Else, can I query a contact by a meta information, such as name/phonenumber? That way I could avoid creating a new contact if it already exists.
I tried looking for such examples on this git, stackoverflow, google documentation, but failed to. It seems like a common enough use of the API, unsure why these arent on the official docs.
I appreciate any help or references,
Ty.

Hi @eloiup! Any idea if this happens only when you use the Python library? In that case, it might be a bug with our API. If it happens with direct HTTP requests, this question is probably better suited for someone who works on the Google Contacts API.

@eloiup Does the duplication happen if you use e.g., curl to create a contact, following the Contacts API doc?

@eloiup  There are currently no ways to prevent a duplicate contact from being created.
You can use the People API to query contacts based on different parameters like phone number. documentation

Note: For read and write access to users' contacts, use the People API, which provides both contact and profile information using JSON instead of the older GData protocol.

@busunkim96 @tseaver only tried with the python library
if i do the same insert command twice it creates two identical entries except by the unique id which is generated by google.
token_path = 'token.pickle'

if os.path.exists(token_path):
    with open(token_path, 'rb') as token:
        creds = pickle.load(token)

service = build('people', 'v1', credentials=creds)

body = create_input_json()

service.people().createContact(body=body).execute()

results in a new entry where
... 'source': {'type': 'CONTACT', 'id': '*ID*}}, ...
ID is auto generated.
It would be useful if the api user cld specify the unique ID, which would overwrite old contact information or prevent duplicated entries.

@eloiup There are currently no ways to prevent a duplicate contact from being created.
You can use the People API to query contacts based on different parameters like phone number. documentation

Note: For read and write access to users' contacts, use the People API, which provides both contact and profile information using JSON instead of the older GData protocol.

thank you.
Is there a python example/reference on such requests/queries?

It looks like I was mistaken. Querying in the People API has been requested but is not yet implemented. see issue
The Contacts API supports querying by parameters, but the list of query parameters is limited. link
Please put in a feature request to the Contacts API team if this is of interest:
https://b.corp.google.com/issues?q=componentid:344199 status:open&s=modified_time:desc


Unique validation for job title

Originally created by Tom Smyth at 2018-02-12 20:18, migrated from redmine-#7980

Status changed from New to Closed

By Tom Smyth at 2018-04-01 20:45


xx-hextile - Practical Real-Time Hex-Tiling

Port "hextile-demo" to bgfx as an example:
https://github.com/mmikk/hextile-demo
Practical Real-Time Hex-Tiling
https://raw.githubusercontent.com/mmikk/mmikk.github.io/master/papers3d/mm_hex_compressed.pdf
https://user-images.githubusercontent.com/20206840/174149327-fd6bbf22-9299-49f9-8f96-c043d90fdde4.mp4

Happy to work on this one, a little bit of guidance will be appreciated e.g. which bgfx example can be used as a building block for this example.

You can use 27-terrain example as starting point: https://github.com/bkaradzic/bgfx/blob/master/examples/27-terrain/terrain.cpp


Add PR approval

Is your feature request related to a problem? Please describe.
 I would like to quickly approve them from within dash.
Describe the solution you'd like
I would like to add "Approve" as a keybinding like "Merge" (https://github.com/dlvhdr/gh-dash/pull/168).
Probably it popups with a message dialog to enter a comment.
Describe alternatives you've considered
Currently I created my own keybinding.
Additional context
I would like to implement it in the context of #hacktoberfest which is just around the corner.

cool yeah that's something I definitely want!
I didn't implement it yet as I needed to think more on the UX of it.
Reviewing a PR with gh pr review needs flags specifying approving/rejecting and a message body.
I thought I could implement an generic input mechanism similar to vim's vim.ui.select.
Something like this:

Would it make sense to use something like the modal window from tview (https://github.com/rivo/tview/wiki/Modal) ?

I'm not sure that'll work with bubbletea, but if it were to work, do you know how much that'll add to the binary size?

No idea. Honestly,  I'm more or less a copy/paste "dev" as my background is more Ops than Dev. 🙂

Yeah sure, give it a try

After a quick search I know now that bubbletea is already a TUI lib 💡 and that https://github.com/erikgeiser/promptkit could be a good fit. I will explore in the bubbles field.

Yes check out https://github.com/charmbracelet/bubbles

I needed to think more on the UX of it.

Having separate hotkeys for approval and requesting changes would be enough for us. Simple is better than nothing. This is the last feature I need to live in the terminal. :)

Got it :) Making someone be able to live in the terminal is definitely a motivator 🥰

@rpdelaney but what about reviewing the PR before approving it? You would still need a way to add comments on lines in files. This can be done with octo nvim but if you use it then you can approve the PR through its interface.

For anyone curious, you can use gh-dash with Gum also from charm to create prompts with input.
Here is how you can do a pr approval with a comment. Can adjust for request changes, text blocks over inputs etc.
keybindings:
  prs:
    - key: a
      command: >
        gh pr review --repo {{.RepoName}} --approve --body "$(gum input --prompt='Approval Comment: ')" {{.PrNumber}}

Figured this out today, but left me with a quick question—is there a way to adjust the ? help text? Asking because inevitably I'll need to check my own config several times before I "learn" my own key bindings 😂 It would be nice to be able to see my updated key binding in the help text.

That sounds like a good topic for a separate issue

Is #399 working for you? If so, we can close this issue and open different ones for additional feature requests/improvements on top of this one.

Closing. If there are feature requests like additional items in the help menu, let's open a new issue.


Feature Request: Make the image

I'm writing an app that has a visual audio waterfall component. This component is almost exactly what I need, except that the display flows from right to left instead of top to bottom. I found that before I draw the image, I can rotate it 270 degrees to achieve this effect, but it's not as clean as if the component itself can be configured to do so from the start. So this is a request for that feature.  If you don't have time to do it, can you suggest a way to do this using your component? Thanks for giving a really nice and useful component.

Hi @wiiNinja,
I think the best way to implement this would be to write your own image generator (copy/pasting the existing one, making a few tactical edits). After creating a SpectrogramGenerator and loading it with data, instead of calling its GetBitmap() method you would instead call GetFFTs() and pass that result into your own method almost identical to the one below, but which creates a rotated image.
https://github.com/swharden/Spectrogram/blob/577d9d2af27a7990d014b43a8e56f26dd61c0c86/src/Spectrogram/Image.cs#L13-L63
That should be enough to get you started! I'll try to implement this today and if it's as easy as I think it is I'll name it something like GetBitmapVertical and publish an updated package. I'll follow-up here to report what I find either way.

Related: #27

I added a rotate argument to Spectrogram.GetBitmap() in #48 and will release Spectrogram 1.6 in a few minutes
I hacked-in a checkbox to the demo app to show how it works, and you can see the spectrogram operates as expected but there is not support to draw a horizontal frequency scale. I hope you still find this useful!
https://user-images.githubusercontent.com/4165489/178158073-337056a7-b4cd-42f4-9631-c9011879789e.mp4

SpectrogramGenerator sg = new(44100, 4096, 500, maxFreq: 3000);
sg.Add(audio);

System.Drawing.Bitmap bmp1 = sg.GetBitmap(rotate: false);
bmp1.Save("test-image-original.png");

System.Drawing.Bitmap bmp2 = sg.GetBitmap(rotate: true);
bmp2.Save("test-image-rotated.png");

original
rotated

doh! I just realized it's upside-down 🤦

Fixed

original
rotated

:) I do appreciate it very much. Definitely helps.


packaged and added profile view,

all the action is in compute_ncc, and specifically in the ncc function

cc @Affie


InputType not working

The inputType does not seem to do anything.
new MaterialDialog.Builder(getActivity())
    .title(R.string.bookmark_edit_title)
    .inputType(InputType.TYPE_TEXT_FLAG_CAP_SENTENCES)
    .input("hint", "prefill", false, new MaterialDialog.InputCallback() {
        @Override
        public void onInput(MaterialDialog materialDialog, CharSequence charSequence) {

        }
    })
    .positiveText(R.string.dialog_confirm)
    .show();

It does not matter if it is this, or                 .inputType(InputType.TYPE_TEXT_FLAG_CAP_SENTENCES | InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE | InputType.TYPE_TEXT_FLAG_AUTO_CORRECT) or whatever, I just always get a don't do anything edittext.
Using:
compile 'com.afollestad:material-dialogs:<IP_ADDRESS>'

Well first of all, cleaned up your comment a bit to use Java and Gradle syntax highlighting (indentation doesn't do that).

See the input dialog in the sample project, just switch our password for cap sentences.

I should note what you pass in is passed directly to the EditText, this is related to the Android framework itself, not this library.

Actually, you don't even need to look at the sample project, it's already in the README:
https://github.com/afollestad/material-dialogs#input-dialogs

Was there something wrong how I used it?
For me it is just not working, like I wrote.
When using
` InputType.TYPE_TEXT_FLAG_CAP_SENTENCES | InputType.TYPE_TEXT_FLAG_AUTO_CORRECT
on a normal EditText, above my keyboard (google keyboard) appears a suggestion of words. When I do it like done above, no suggestions are displayed. Even tough cap sentences works.

When you pass in the inputType from a layout, Android automatically handles flags like this. Setting the inputType programmatically is a bit different than how it works in XML.
You need the first flag that's shown in the README and sample project.
But again, inputType() in this library is a shortcut to EditText.setInputType(). This library doesn't do anything else with it.

E.g. ```java
InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_FLAG_CAP_WORDS

Oh sorry. Could not find anything in the documentation that you have to set TYPE_CLASS_TEXT first, where you dont have to set it in xml. Thanks for making that clear to me.

It's displayed in the input dialog example in the README :)

But you're welcome. I guess it's not too obvious that you have to do that, but I'm assuming people know what's necessary since that's an Android mechanism.

Old thread, but if you'd like, an .inputAutoCorrect() option that will add TYPE_CLASS_TEXT and TYPE_TEXT_FLAG_AUTO_CORRECT seems to be a nice option. It's true that we should know to add the TYPE_CLASS_TEXT flag but it isn't very apparent in the javadocs when we know that auto correct doesn't happen without the auto correct flag.


snyk: ignore MPL and LGPL license warnings

Fixes #7969
Fixes #7956
Our judgement here is that the Backstage project itself does not redistribute these dependencies in binary/object/minified form, and so we should not add a license notice. It may however be the case that organizations that build and publish public web pages using Backstage would need these notifications, but it is no different than how most of our other dependencies need to be treated that for example are MIT and BSD.

Reviewing this through the lens of https://github.com/cncf/foundation/blob/master/allowed-third-party-license-policy.md#approved-licenses-for-allowlist and checking if we need to look for options

Updated to only cover the build-time dependencies axe-core and rollup-plugin-dts


Regression in Reader.open in 2.2.4

I'm getting no implicit conversion of nil into String on previously working code through RDF::Graph.load. I'll look into this more early next week. In the meanwhile, here's the issue I'm seeing https://travis-ci.org/curationexperts/qa-ldf/jobs/211635800
     TypeError:
       no implicit conversion of nil into String
     Shared Example Group: "an ld cache client" called from ./spec/qa/ldf/client_spec.rb:22
     # ./vendor/bundle/ruby/2.3.0/gems/rdf-2.2.4/lib/rdf/format.rb:113:in `extname'
     # ./vendor/bundle/ruby/2.3.0/gems/rdf-2.2.4/lib/rdf/format.rb:113:in `for'
     # ./vendor/bundle/ruby/2.3.0/gems/rdf-2.2.4/lib/rdf/reader.rb:92:in `for'
     # ./vendor/bundle/ruby/2.3.0/gems/rdf-2.2.4/lib/rdf/reader.rb:184:in `open'
     # ./vendor/bundle/ruby/2.3.0/gems/rdf-2.2.4/lib/rdf/mixin/mutable.rb:43:in `load'
     # ./vendor/bundle/ruby/2.3.0/gems/rdf-2.2.4/lib/rdf/model/graph.rb:78:in `block in load'
     # ./vendor/bundle/ruby/2.3.0/gems/rdf-2.2.4/lib/rdf/model/graph.rb:121:in `initialize'
     # ./vendor/bundle/ruby/2.3.0/gems/rdf-2.2.4/lib/rdf/model/graph.rb:77:in `new'
     # ./vendor/bundle/ruby/2.3.0/gems/rdf-2.2.4/lib/rdf/model/graph.rb:77:in `load'
     # ./lib/qa/ldf/client.rb:21:in `get'
     # ./spec/support/shared_examples/ld_cache_client.rb:19:in `block (3 levels) in <top (required)>'```

Don't see what's changed here; it must be that RDF::URI(file_name).path is returning nil, which seems to happen if the URI has not path (oddly, enough). What URI are you passing?
It would seem that the right thing to do is to use RDF::URI(file_name).path.to_s, in any case.

My uri is formatted like http://example.com/blah/blah?subject=http://example.com/other/blah it's possible something is going bad with escaping, or I've found an edge case that the RDF::URI regexps fail to handle.

I presume it works okay now.
RDF::URI('http://example.com/blah/blah?subject=http://example.com/other/blah').path
 => "/blah/blah"

So, I don't see how that could have caused the problem you were seeing.


[feat] Web Request Callbacks and Filtering

Describe the problem
Tauri should expose a way to register a Rust callback to intercept and modify requests that the application in the web view makes, as part of navigation, resource loading, or via JavaScript API calls. Election has an API to do this here: https://www.electronjs.org/docs/latest/api/web-request
Applications can use this functionality to modify requests for their needs (adding and removing headers for example) as well as preventing access to sites outside the scope of the application, for security.
Describe the solution you'd like
Electron has an API for this already that can serve as a base. Ideally, we can register two callbacks - one called with the request before it is sent and one called with the response after it is received. The callbacks should be passed the complete info about the request and response, and should be able to mutate or reject them.
Alternatives considered
Delegate requests to the core application via either IPC calls or custom protocols. This requires that the inner page be written to use them though, which is not possible for third party sites, and does not address the use case of security hardening.
Additional context
No response

+1

i am developing a hybrid framework app that allows user installs or uninstalls a in-app "app" which is a regular web app with limited hybrid calls. the startup app, i call it "hybrid core", is a web desktop(just likes the windows explorer) which has full control of every "app" including but not limited to: "Networking Accessability", "FileSystem Accessability", "Native API Accessability". therefore, "hybrid core" need to intercept every single request including normal webview http/https/ws request, tauri custom protocol request, tauri ipc message request, etc. to make it works.

i can intercept custom protocol request and ipc message now, but no normal http request.
for example:
<img src="http://example.com/abc.png" />

i developed a similar ios app for internal use(successfully upload to app store) in 2018. i want to refactor it that supports cross-platform with tauri recently.

I'm waiting for this, too. Do we have any plans for this? Thanks.

request filtering is planned, yes. At least a somewhat simple approach/implementation.
modifying requests however is a tricky subject. It would be only possible on Windows. (In theory also on Linux but i do not consider this: https://github.com/tauri-apps/tauri/discussions/4912#discussioncomment-3406282 a viable solution for tauri tbh)

Should this be an issue in the WRY repo? Shouldn't be Tauri-specific, I think.

Is there an update on this issue ? I agree that a "before/after http event" event with access to the request/response available would be a great addition and catch up to electron !

I want get webview's cookie data, i need this

Try this
https://github.com/tauri-apps/wry/pull/1394

I'm in need for this too, right now I open a chrome instance from  my tauri app and tell the user to interact with it and I intercept the request using headless_chrome package. But I imagine this will be a huge flag for any antivirus, as the headless_chrome package need to download a chrome excutable and execute it.


Keyboard crash randomly

This is CrashReporter log
http://pastebin.com/WaNnQrRz

I have tried to know the cause of this and I noticed that its caused by a few keyboard symbols whenever you type it specially if it was the first in the line or following space and these are the bugged symbols

I have found a temp solution for whomever facing the same issue, remove your language keyboard and use SwiftKey keyboard and add all the keyboard languages that you need. You can keep Emoji and any custom keyboards, just remove the default ones except for emoji.

@PoomSmart After more checks I have noticed that this issue only happens to the main keyboard which is English, IDK if it happens to other languages too, but it doesn't occur when using the Arabic keyboard. I have found another temp solution for it, which is when the keyboard crash the option to switch keyboard is still functional, switch to another keyboard then back to English, and it will be fixed temporary.

The crash issue has gone.


Composer Install Error

Hi
When I run the following command in public_html/Cachet,
composer install --no-dev -o
I get the following error message,
Package jakub-onderka/php-console-color is abandoned, you should avoid using it. Use php-parallel-lint/php-console-color instead. Package jakub-onderka/php-console-highlighter is abandoned, you should avoid using it. Use php-parallel-lint/php-console-highlighter instead. Package zendframework/zend-diactoros is abandoned, you should avoid using it. Use laminas/laminas-diactoros instead. Package fzaninotto/faker is abandoned, you should avoid using it. No replacement was suggested. Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
When I load the website after installing the app, I get the message "No input file specified." in a white background. Could you help me fix this? Thank you!

@hodorisking the messages from Composer are just warnings, Cachet will still work even though some of the dependencies need updating.
As for the "No input file specified." that sounds more likely to be your webserver to PHP setup not working. I would revisit that and check the logs for the setup you're using.


add 'brisk' script internally

No changeset required - this is just to make our lives a bit easier (I keep forgetting what scripts are called). It gives us access to effectively the brisk binary in local dev.

I am bad and we don't need this.


plan testing

Any new mapper needs to have minimal API changes but absolutely zero changes to the on disk serialized structure.  The plan for how to get there and verify this needs to be planned out.


Switching ChatSessions without writing to file.

Hi
Could you please confirm that this is correct way to switch between chat sessions without writing them to files (for performance reasons)?
https://github.com/eublefar/LLAMASharpUnityDemo/blob/main/Assets/LLamaSharpTestScript.cs
Do you think it's worth to implement it into some interface at ChatSession level? (similar to how it's done at Executor level)
Also one thing I struggled to find is something like AddMessage but in non-lazy way with context.Decode happening at the same time, to precompute KV cache before generating the first message.

Hi, I think it's a correct way with a rough look at your code.

Do you think it's worth to implement it into some interface at ChatSession level? (similar to how it's done at Executor level)

From my perspective I'd like to see such an API in ChatSession. As you can see, some extra process of the output is performed when switching context, which could be wrapped in an API.

Also one thing I struggled to find is something like AddMessage but in non-lazy way with context.Decode happening at the same time, to precompute KV cache before generating the first message.

It's a good idea for performance improvement. More generally The generation and prefill could be separate parts and exposed to users in a certain way. Currently I think there's also a tricky way to do so. When you want to prefill it without generation, you just need to set the last several words of your prompt as antiprompt (but be sure it's alone).
FYI @martindevans

Great, thanks for taking time to look at the code.
I think I could make a PR for these changes if you want.

It would be great if you'd like to make it😀


Intellij IDEA leaks in xrdp session

Dunno, if it is a right place to put this issue, but Intellij IDEA leaks in xrdp session. To reproduce it just open or create new project in latest Intellij IDEA and leave it in session for 3-4 days, it will eat all default java heap size and freeze ui, this behavior reproduced on ubuntu 17.04 with xfce desktop. This is not so bad, you can just kill and start it again, but annoying. May be someone will point me where to dig, so i will investigate it more deeply. Thank you.

I don't think this is a xrdp issue.


Add hamburger dropdown menu for different users on mobile

Martine and I collaborated on this task, we created new hamburger dropdown menus using overlays:

Menu not logged in
Menu student
Menu admin
Menu teacher

We also prototyped the navigation links and the four different navbars.


Use NIO.NonBlockingFileIO in S3.multipartUpload/Download functions

As NIONonBlockingFileIO returns a ByteBuffer I am going to wait until we implement https://github.com/swift-aws/aws-sdk-swift-core/issues/185 before going ahead with this


Add portal lighting / water placement(replace it with ice)

might be able to do with fireballs / flint and steel, but fireball should be prefered(can be placed everywhere)
Water bucket is buggy (mainly sync problem) so we can't really try placing buckets, and we can't place bucket without context, which means we need better placement order map. instead, try to place ice and break it. it might be better if we can use 'nearby light level', to verify that we don't have to break it manually since it will melt anyway.
Lava placement is highly order dependent, so shouldn't be placed with printer.

Portal lighting is solved, maybe I can try additional attempt to get 'flint and steel'


Question about dependency

Hi, I encounter the error when installing poetry by poetry install:

could you have a idea to solve this problem?

Moreover, when i prepare the dataset using:
python data_gen.py \
   --data_dir=$data_dir/$seed \
   --output=$output_dir \
   --max_variations=1 \
   --num_episodes=100 \
   --tasks=$task \

I encounter another error, which seems to be related to import tap (my tap==0.2):

I really appreciate any help you can provide when you're free.
Thank you.

I solve the issue by the link, which means that you need to run the following scripts in the terminal:
keyring --disable

poetry install


Fill Text Typing & Displaying in the wrong direction

Describe the bug
When Typing text into the character sheet the text goes the wrong way.  Top to bottom not left to right. The PDF works when filled in adobe reader.
To Reproduce
Steps to reproduce the behaviour:
Use the following sheet with default configuration https://drive.google.com/file/d/0BwsqKDYQttomSm9pdXBKVUpyanM/edit?resourcekey=0-CvEQNTie5WfFpQZCt8wE6Q
Type text into boxes
When filling it in the text goes in the wrong direction
Expected behaviour
Text goes from left to right not top to bottom.
Screenshots
If applicable, add screenshots to help explain your problem.

Version Information:

Browser Chrome Version 96.0.4664.45 (Official Build) (64-bit)
FoundryVTT 0.8.9
PDFoundry 0.8.10
Activated Systems & Modules w/ Version
Cypher 1.8.1

Additional context
Add any other context about the problem here.

FYI, this is fixed in latest pdf.js.


Crypto API tests

Hi @gleehokie
I saw that test_api/test_crypto unit test is working on slim branch and it has covered all the APIs defined in eosiolib/crypto.h. Can we have more explanation about what's missing here? Thanks!

@andriantolie please check the code coverage report to validate the crypto functions are being tested.

Okay

When I run it locally,
even though tests/chain_test --run_test=api_tests/crypto_tests --report_level=detailed -- --verbose --binaryen passes, tests/chain_test --run_test=api_tests/crypto_tests --report_level=detailed -- --verbose --binaryen fails with 3030010 checktime_exceeded: allotted processing time was exceeded. I'm going to put this ticket back to TODO first for further checking

Ah found it, it's actually now unittests/unit_test instead of tests/chain_test. Running it locally also produces the same result. I'm going to close this ticket

@andriantolie hi,  contracts/test_api.cpp  this test contract how to call?how it work?thank you

@andriantolie how make contracts/test_api work? i don't know how push action what to this contracts


Use ESSreduce NeXus workflow

This uses the generic NeXus workflow from ESSreduce. It changes the returned objects slightly. In particular, it extracts positions data data arrays earlier and does not always (a3, a4, sample) return the full data group. Please check that this makes sense!
This PR relies on https://github.com/scipp/essreduce/pull/135 which has not yet been released.

@SimonHeybrock Is there anything else that can / should be done here and not in ESSreduce?

@SimonHeybrock Is there anything else that can / should be done here and not in ESSreduce?

Not sure what you refer to. Do you plan to implement something extra in ESSreduce, and are asking if it should be done here instead?

I'm asking whether this PR is done? https://github.com/scipp/essspectroscopy/pull/31#discussion_r1856450085 and https://github.com/scipp/essspectroscopy/pull/31#discussion_r1856451626 need to be done in ESSreduce, not here.


[Docker EE]Can't push to Docker Trusted Registry & Can't configure Notary

Expected behavior
Successfully push a signed image to DTR.
Actual behavior
"The push refers to a repository [awsmpdock-dtrloadb-vfjklxp9h9f7-676345260.us-east-2.elb.amazonaws.com/admin/nginx]
c0de73ac9968: Pushing [==================================================>]  1.11 MB/1.11 MB
blob upload unknown"
Additional Information

When I check the logs on the container dtr-registry-2.2.3, I found many TLS handshake errors like this:
2017-03-27 18:51:55.640856 I | http: TLS handshake error from <IP_ADDRESS>:37600: EOF.

I am not sure if it's certification problem, so I followed https://docs.docker.com/datacenter/dtr/2.2/guides/user/access-dtr/configure-your-notary-client/. But after moving notary to /usr/bin/, when I type notary, I get:
/usr/bin/notary: line 1: syntax error near unexpected token `<'
/usr/bin/notary: lin`Preformatted text`e 1: `You are being <a href="https://github-cloud.s3.amazonaws.com/releases/37743436/235cc514-8737-11e6-9680-7b88f50cb89b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAISTNZFOVBIJMK3TQ%2F20170327%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170327T150651Z&X-Amz-Expires=300&X-Amz-Signature=7a207b7c8f84e78506c60b0698117aef6bedf967c2b4c4fe4ec936d159ec3597&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dnotary-Linux-amd64&response-content-type=application%2Foctet-stream">redirected.'

Steps to reproduce the behavior

Run Docker EE(free trial) on AWS.
Download ucp-bundle-admin and access UCP.
Pull an image from Docker Hub, then tag it with <DTR>/admin/xxx, then do a docker login <DTR> and a docker push <DTR>/admin/xxx.

For issues with DTR, please contact support.docker.com.


Defuse

Put your last draw card back into the deck.

un 201
https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#2xx_Success


Reset to default

Sir, great work.
Here I need your kind help for managing a physical push button which can restore it to default settings.
I tried but didn't work.
I grounded reset terminal but wasn't working even tried from web interface .
Please help....

To do a factory reset by software, use the serial port, a terminal program at 115200 bps and enter "reset factory".
If you want to do it with a HW button, the easiest way would be to add some logic in the "timer_func()" in user_main.c. Check a GPIO pin there and if it high/low let's say four times in a row (at least 2 secs), do
config_load_default(&config);
config_save(&config);
blob_zero(0, sizeof(struct portmap_table) * IP_PORTMAP_MAX);
os_printf("Restarting ... \r\n");
system_restart();

Does this help?

Added that in the latest version. Pull GPIO 0 low for at least 2 secs and the ESP will restore factory default values and reboot.
You can change the GPIO no in user_config.h.

Thank you so much Sir, let me give a try to the new version.

Caution: I changed the GPIO to 12 to avoid any confusion with the pin 0 pulled low for flashing.

Actually I'm working on Esp01 there is only GPIO 0 and 1.
Isn't it possible on GPIO 0 or 1?
On Mar 18, 2018 3:46 PM, "martin-ger"<EMAIL_ADDRESS>wrote:

Caution: I changed the GPIO to 12 to avoid any confusion with the pin 0
pulled low for flashing.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/martin-ger/esp_wifi_repeater/issues/166#issuecomment-373988258,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARRu9AziMxGKl50mLAdFf8OKEzJOcU2Hks5tfjsTgaJpZM4SvAch
.

It is possible - you can adapt it to any GPIO in user_config.h. If you don't want to compile it, try the binaries from the intermediate version I pushed earlier in the morning:
https://github.com/martin-ger/esp_wifi_repeater/tree/c083d58e6e80cac29403811d3245d64d80d239e3
Here I compiled it with GPIO 0 as reset.


[perf] JSON encoding can be faster by skipping string building.

I realized that one of the test related to CharacterSet was very slow in
constrained devices, but also relatively slow in beefy Linux machines
(taking a couple of seconds to perform back and forth JSON
encoding/decoding trips in memory). The test in question have to embed
relatively large Data in the JSON string (around 128KB, if I remember
correctly), which are serialized as Base64.
When serializing the data, the serializer asks for the String
representation of each object, and then appends all of them into a
String, to later transform into an UTF-8 C string copied into a Data.
One can improve performance by appending the UTF-8 representation of
each piece of the JSON serialization instead of the String building
code, since appending [UInt8] without doing all the checking that String
will do is faster for this case.

@swift-ci please test

macOS seems to still fail with some Xcode error.

Cool. How much faster is it?

IIRC the constrained device I was using reduced from 42 seconds to 32 seconds. I think this was all the TestCodable/test_CharacterSet_JSON. Those times were building without stdlib assertions enabled. With those, the test seemed not to finish in the same device (that was why I noticed). In a beefy Linux machine, but with the stdlib assertions, I think the time changed from 7 to 6 seconds, and it was not really significant without the stdlib assertions enabled.

cc @bendjones — can you take a quick look here?

And: is it worth it to port it to the overlay?

Per offline discussion with @bendjones — yup; for the overlay, the perf characteristics of String's .utf8 may not make this a win, depending on what goes on.

Seems fine for SCF to me and a reasonable change. As to the porting to the overlay question I’d just want to make sure the UTF8 guarantees are the same for bridged types (I think it’s fine but want to make sure and measure)


can i use this library for optimizing audios too ?

can i use this library for optimizing audios too ?
how could i do that ?
or do you know a library for doing that ?
thanks for your answer

'optimizing audios' means encoding audio or change audio format such as mp3 to wav?
if so, this library can't cover that feature.

'optimizing audios' means encoding audio or change audio format such as mp3 to wav?
if so, this library can't cover that feature.

i mean to reduce sie of audios, is possible do that ?

I don't think that feature which you said is possible in Java language, it can be possible with JNI.
Exactly, 'recue size of audio' means 'encoding audio into lower bitrate or lower resolution'.
you can encoding audio with FFmpeg and there are some wrapper of FFmpeg to available in Android environment.
You should check this article and librarys.


ci-openbsd-pf: new configuration overlay with PF enabled

CC @mptre

Codecov Report

Merging #1033 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #1033      +/-   ##
==========================================
- Coverage   67.53%   67.52%   -0.01%
==========================================
  Files         114      114
  Lines       20425    20428       +3
==========================================
  Hits        13794    13794
- Misses       5985     5988       +3
  Partials      646      646

Impacted Files
Coverage Δ

pkg/build/openbsd.go
0% <0%> (ø)
: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 1c0e457...3419571. Read the comment docs.

Chances are this is not a sufficiently open configuration to get coverage for the ingress code paths in PF. The default PF policy disables incoming TCP connections and thus our tun networking code will most likely fail to establish a connection. We will need to add a modified pf.conf such that incoming connections on TUN_IFACE make it through. Luckily it should be a matter of adding a new file into the overlay directory created by this PR.

These are mostly userspace features that's I'm disabling for faster OS
boot. I don't know any we want to re-enable. I would'be happy to pare
down the default config in create-openbsd-vmm-worker.sh if @mptre can
tell me where I went overboard.

This looks good.

LGTM


The '.topics()' method not pulling possessive noun subject.

When calling the .topics() on a text with a possessive (ie "Michael's mansion" or "michael's mansion"), the topic comes back without the referenced noun unless it is written out as a proper noun (ie "Michael's Mansion").
That behavior seems illogical. Recreated on tonicdev.

ahhh, this is great.
thank you Lukas, will fix this week.

hey Lukas, just getting back to this:
https://runkit.com/583f2a3dc534df0014136221/58c8252a3d42f900147f98c6
possessives are returned now, which is great, but ideally .topics() should return them somehow without the possessive ending - and likewise .unique() should recognize 'micheal' and 'micheal's' to be the same.
not sure how best to do this

@spencermountain
Hey Spencer. Hmm... This is an interesting problem.
I feel like (logically) it would make sense to identify [noun][apostrophe]s [noun] as a topic, which would mean that "Michael" and "Michael's mansion" would be considered unique.
This leaves the case where the possessive is referring to a previously identified item. Not sure how this should be handled/treated. Perhaps consider subclassing possessive items under the topic? This could also solve the .unique() problem.
{
  topic: 'Michael',
  parts: [{ topic: 'mansion', count: 1 }],
}

I have not had a chance to play with the API post v7, so this might not make sense, but I figured I would throw the idea out there.


[VC] TODO list for multiple super cluster support

The remaining tasks for syncer controller include:

[ ] Support selective consistency checks in the patroller based on the tenant namespace placement.
[ ] Remove the super cluster namespace if the super cluster is removed from the tenant namespace placement.
[ ] Ensure a tenant Pod can start when its namespace is scheduled in a different root cluster compared to that of the tenant default namespace.

The remaining tasks for the scheduler include:

[ ] Add tenant resources reconciling logic (for Pod, resource quota, and namespace)
[ ] Add super cluster resource reconciling logic (for namespace and node)
[ ] Add basic scheduler framework to support a simple first fit algorithm
[ ] Support resizing tenant namespace quota
[ ] Support rescheduling to tolerate super cluster failures
[ ] Advanced namespace slice scheduling policy (such as affinity)

@zhuangqh

/close as the demo is ready.


Operation not permitted

Using rpi 4B 8GB, ubuntu 20.04, and pigpio is v77.
It said: initPeripherals: mmap gpio failed (Operation not permitted)
When I try ps aux | grep pigpiod, it said: ubuntu      3957  0.0  0.0   2828   668 pts/1    S+   01:31   0:00 grep --color=auto pigpiod
And then, when i try killing it, it said: pigpiod: no process found

If this is a 64 bit OS, it is likely missing some of the raspberry pi Linux bits needed to initialize the shared memory for DMA.  I haven't seen any 64 bit OS, outside of raspberry pi os, work running pigpio  in userland.

The gpio library is trying to mmap using PROT_EXEC but recent distros mount /dev with the noexec flag so that won't fly. Is there any valid reason why PROT_EXEC is required? I see that commit ad52dcdc834c2f813c32002c26f82e00a9f0ac5f removed that flag and then commit f51642ad1374b5bc6bfcf076c7459f7a7bf0db54 reverted that change again. No information given in either commit so who knows what's going on?

@juergh , you are correct - I didn't know what was going on wrt PROT_EXEC.  A PR was submitted which seemed ok, ie didn't break the tests, but was later challenged by another user but the original author never responded.  Furthermore, it appeared to be related to 64-bit which has other complications.
I'm happy to make available test patches to the develop branch - but we don't support non raspberry pi OS in our testing so we rely on community support/feedback.

@guymcswain Just created a PR to drop the flag. A simple call of gpioInitialise() on Raspberry Pi OS 64 bit works just fine. If dropping that flag causes problems in other places then those places need fixing. IMO, there should be zero need for PROT_EXEC for this library.
FWIW, the change to mount /dev with 'noexec' went into initramfs-tools 0.135. Buster (which Raspberry Pi OS is currently based on) is on 0.133. The next Debian release will use >0.135.

I have not tested the development branch yet BUT i did remove PROT_EXEC from a copy of master, compiled it and ran it on both a Pi4 with Ubuntu 64bit and a Pi3 with Raspian Pi OS. They communicate properly.

I tested the develop branch of pigpio with two Pi's connected via CAN where the CAN modules use SPI and one of the Pi's is connected to an ultrasound sensor using pigpio. The setup works.
The test code can be found here:
https://github.com/bluecorn/raspberry-can-HC-SR04
https://github.com/bluecorn/raspberry-can-master-ultrasound

I've tested removing PROT_EXEC from master branch and running it on a Raspberry PI 2 Model B on Ubuntu 20.04 32bit and works like charm. All the tests from x_pigpio ran successfully blinking my LED on GPIO25 :)

OK, so why has the removal of PROT_EXEC since been reverted?  @guymcswain can you explain?

Where do you see that? It's still gone:
https://github.com/joan2937/pigpio/blob/master/pigpio.c#L7338


Send to Kindle Feature for downloaded chapters

Describe your suggested feature
Ability to select multiple downloaded chapters and send them to Kindle app, 2 options possible

Using Share to Kindle Feature with Kindle app installed on android (Issue: Only one file at a time allowed as a document)
Using Calibre's technique of sending through mail to the registered kindle mail id. (Issue: Requires approval)

Other details
Future development could be to add in app features like adjusting borders and for the kindle size variations and bundling volumes or chapters for efficient sending.
I understand it is detrimental for a reading app to redirect to a diff app or hardware, so this is just to understand what the community thinks of it.
Also I plan to develop it on my own so anyone who wants such a feature can join me, I will be having a fork for same.
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.16.5.
[X] I will fill out all of the requested information in this form.

To add to this feature, kindle doesn't accept cbz format hence cbz needs to be converted to a more convenient format, as it is a bunch of images zipped together, removing color or compressing them for space makes sense too

You're basically looking for a downloader for your kindle. Mihon is not intended to be used that way. Thus making this an unnecessary feature. Tho in the future (no eta) I do plan to make a downloader so people can harness the power of extensions more.
P.S. If someone else makes I'll be happy to make it a part of the Mihon project.


Use Artifact Registry for custom metric and custom prometheus

Background

See https://github.com/GoogleCloudPlatform/kubernetes-engine-samples/issues/209.
AR = Artifact Registry
GCR = Google Container Registry

Change Summary

This pull-request is for sd-dummy-exporter:v0.3.0 and prometheus-dummy-exporter:v0.2.0:
I'm replacing instances of the image's GCR URL with the equivalent AR URL.

gcr.io/google-samples/prometheus-dummy-exporter:v0.2.0 → us-docker.pkg.dev/google-samples/containers/gke/prometheus-dummy-exporter:v0.2.0
gcr.io/google-samples/sd-dummy-exporter:v0.3.0 → us-docker.pkg.dev/google-samples/containers/gke/sd-dummy-exporter:v0.3.0
Also the readme for both custom tutorials were changed to reflect the use of AR

Tutorials To Update
This pull-request updates .yaml files used by:

Autoscaling Deployments with Cloud Monitoring metrics (Custom Metric and Custom Prometheus)

So once merged, I would have to update the above tutorial via this Google-internal content publisher.
To Manually Test
We can verify that the AR (replacement) image and GCR (replaced) image are equivalent like so:

Pull the 2 images you want to compare:

docker image pull gcr.io/google-samples/prometheus-dummy-exporter:v0.2.0
docker image pull us-docker.pkg.dev/google-samples/containers/gke/prometheus-dummy-exporter:v0.2.0

Inspecting both images:

docker image inspect gcr.io/google-samples/sd-dummy-exporter:v0.3.0
docker image inspect us-docker.pkg.dev/google-samples/containers/gke/prometheus-dummy-exporter:v0.2.0

See that the RootFS values match.

Note
There is an image that is owned by google-containers that is a sidecar container. That image will eventually have to be updated as well

@ckim328 - Is there an equivalent CL opened already for updating [the docs](Autoscaling Deployments with Cloud Monitoring metrics (Custom Metric and Custom Prometheus))??


Scala case class / Elixir-like :ok :error RHA matchers?

Was reading a bit through some of the other pattern matching libraries and over
some Elixir, and noticed dry-ruby/dry-matcher
used a system like this:
require "dry-matcher"

# Match `[:ok, some_value]` for success
success_case = Dry::Matcher::Case.new(
  match: -> value { value.first == :ok },
  resolve: -> value { value.last }
)

# Match `[:err, some_error_code, some_value]` for failure
failure_case = Dry::Matcher::Case.new(
  match: -> value, *pattern {
    value[0] == :err && (pattern.any? ? pattern.include?(value[1]) : true)
  },
  resolve: -> value { value.last }
)

# Build the matcher
matcher = Dry::Matcher.new(success: success_case, failure: failure_case)

my_success = [:ok, "success!"]

result = matcher.(my_success) do |m|
  m.success do |v|
    "Yay: #{v}"
  end

  m.failure :not_found do |v|
    "Oops, not found: #{v}"
  end

  m.failure do |v|
    "Boo: #{v}"
  end
end

result # => "Yay: success!"

The primary system of it could be implemented with Qo immediately as such:
result = Qo.match([:ok, 'success!'],
  Qo.m(:ok)              { |_, response| "Yay: #{response}" },
  Qo.m(:err, :not_found) { |_, response| "Oops, not found: #{response}" },
  Qo.m(:err)             { |_, response| "Boo: #{response}" },
)

result # => => "Yay: success!"

Note that Qo is left-biased permissive. It doesn't care about other positions in
the right hand array past its matcher size.

I almost wonder if it would be worthwhile to make an extra deconstruction matcher
to deal with this type of response as I could see a good amount of potential
value. GuardBlockMatcher is already fairly close to this idea, it just wraps
in [false, false] or [true, response].
Proposed API idea:
result = Qo.match([:ok, 'success!'],
  Qo.ok                { |response| "Yay: #{response}" },
  Qo.error(:not_found) { |response| "Oops, not found: #{response}" },
  Qo.error             { |response| "Boo: #{response}" },
)

Essentially strip off all arguments until it hits the response, getting us a few
steps closer to more natural right-hand assignment.
The only problem I see with this is that it strays from Qo's core goal of
keeping a Ruby-like feel as much as possible.
Another idea which we could crib from Scala are case class matchers:
abstract class Notification

case class Email(sender: String, title: String, body: String) extends Notification
case class SMS(caller: String, message: String) extends Notification
case class VoiceRecording(contactName: String, link: String) extends Notification

notification match {
  case Email(email, title, _) =>
    s"You got an email from $email with title: $title"
  case SMS(number, message) =>
    s"You got an SMS from $number! Message: $message"
  case VoiceRecording(name, link) =>
    s"You received a Voice Recording from $name! Click the link to hear it: $link"
  case other => other
}

Which would be interesting to implement, potentially doable with HashMatcher-like items:
# Experimental ideas, probably won't compile
class Qo::Matchers::CaseClass < Qo::Matchers::HashMatcher
  def to_proc
    Proc.new { |target|
      did_match = super[target]

      next NON_MATCH unless did_match

      # My kingdom for Hash set operations in Ruby 2.6
      matched_keys =<EMAIL_ADDRESS>      extract_data = target.select { |k, v| matched_keys.include?(k) }.values

      [true, @fn.call(*extract_data)]
    }
  end
end

EmailCase          = Qo.case_class[sender: String, title: String, body: String]
SmsCase            = Qo.case_class[caller: String, message: String]
VoiceRecordingCase = Qo.case_class[contactName: String, link: String]

Qo.match(notification,
  EmailCase { |email, title, body|
    "You got an email from #{email} with title: #{title}"
  },

  SmsCase { |number, message|
    "You got an SMS from #{number}! Message: #{message}"
  },

  VoiceRecordingCase { |name, link|
    "You received a Voice Recording from #{name}! Click the link to hear it: #{link}"
  },

  Qo.m(:*)
)

Which feels a lot more Ruby to me, and theoretically should work. I just need to
experiment a bit and come up with a bit more of a sane name than case_class for
it.
Ideas:

deconstruct (d)
case (c)

...yeah, I'll get back to everyone on that. Can't think of a great name right now.

Could just be cheap and use case_class that aliases down to cc.
Just need to make it optionally accept a block in the to_proc method and it should work.

Rough version working: https://github.com/baweaver/qo/tree/case-class-matchers
notification_matcher = Qo.match(
  Qo.cc(sender: String, title: String, body: String) { |email, title, body|
    "You got an email from #{email} with title: #{title}"
  },

  Qo.cc(caller: String, message: String) { |number, message|
    "You got an SMS from #{number}! Message: #{message}"
  },

  Qo.cc(contact_name: String, link: String) { |name, link|
    "You received a Voice Recording from #{name}! Click the link to hear it: #{link}"
  },

  Qo.m(:*)
)

Completed as of last update.


Update topic-experiences-discovery.md

Fixed typo

@ruthholls PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

Ready for publishing.

@ruthholls PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


add note that ownCloud is yours and needs your testing...

@LukasReschke here you go. What do you think?
I essentially argue that, as an open source project, ownCloud gives you ownership and thus responsibility when you use it. That means your fait is in your own hands - if you don't help us test your use case before release, there is no guarantee that it will work when we declare a release stable. This in response to people blaming Inc for an unstable release - Inc has only responsibility to its paying customers *
@karlitschek @jancborchardt I would appreciate your opinions too.

and to fellow ownCloud contributors - to be a good citizen in ownCloud is of course important. Things aren't as simple as a few sentences can paint them...

I like it - thanks :+1:

@jancborchardt if that's the worst you see there, I fixed it - you good with merging?

Yeah, looks good! :+1:


[BUG]  Crashes with every QuiFabrge (compatible?)

Thank you for reporting!
For issues:

If the issue seems to affect only one mod, report to them instead of here.
Remove Dramatic Doors to see if they are causing the issue before reporting.
If you crashed, please paste the crash log to gist and link it here.

Important Information
Minecraft Version: 1.19.2
Mod Loader System: Forge 43.3.5
DramaticDoors Version: DramaticDoors-QuiFabrge-1.19.2-3.1.3_1
Describe the bug
Crashes when starting the game
Screenshots
https://gist.github.com/Nejc5009/6dae44dc76f5d724780091e3b27398bb

It could be a conflicting mod that adds waterlogged property. I may have a look into it and find out the cause.

Yes, I disable Blockcarpentry and everything worked.
I disable only Waterloggable Fence Gates and still crashes.
I disable only Waterloggable Doors and still crashes.
I disable Fence Gates and Doors and still crashes, disabled via "configured"

Got it, I will get that fixed!

Version 3.1.4 should hopefully fix the issue.

Thank you!


Add a thank you page after a successful donation

Simple thank you done. See app/src/main/res/values/strings.xml to edit all messages.


dnf-json: Allow passing module_hotfixes

Allow passing module_hotfixes as repo option,
it will allow disabling of modularity filtering per repository.
WHY
This would obviously be only the first step for enabling this.
I'm happy to continue pursuing this, but first I'd like to hear if we even want to do this.
I'd believe so, as modularity might go away, ppl might just want to force packages in without enabling modularity.

Now part of https://github.com/osbuild/osbuild-composer/pull/3831 closing this one.


docker configurable index/alias

Fixes #58

spandex #367 SUCCESS
This pull request looks good

spandex #370 SUCCESS
This pull request looks good

spandex #372 SUCCESS
This pull request looks good


CI/CD: change version of numpy and python for CI/CD

Description
Change the version of numpy and python for CI/CD (when running unit testing) and run them without problem.
Fixes #374
Type of change

Bug fix (non-breaking change which fixes an issue)

Checklist

[ ] I have read the contributing guidelines
[ ] I have updated the HISTORY.rst and AUTHORS.rst files
[ ] Linting passes successfully : make lint
[ ] Typing passes successfully : make type-check
[ ] Unit tests pass successfully : make tests
[ ] Coverage is 100% : make coverage
[ ] Documentation builds successfully : make doc

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

Files
Coverage Δ

mapie/tests/test_classification.py
100.00% <100.00%> (ø)

:loudspeaker: Thoughts on this report? Let us know!


[R-package] fix warnings in examples

The deprecation warnings added as part of #4226 introduced some warnings in the examples in {lightgbm}'s documentation.
For example, see https://lightgbm.readthedocs.io/en/latest/R/reference/lgb.train.html

This PR fixes them and converts examples to the new pattern we want to encourage as of v3.3.0 (#4310), passing all parameters through params.

I think we can update them in this PR

Agree with both of these, thanks! Just pushed https://github.com/microsoft/LightGBM/pull/4568/commits/ea5ab13646947e67e0f35270456a9af9817da616 to fix these.

Looks like a typo because I can't find test parameter. Probably should be label = test$label?

Thanks for catching this! Just want to note this is a good example of the value of #4226 . In {lightgbm} 4.0.0, when ... is no longer respected, mistakes like this will become loud errors instead of unrecognized parameters being silently ignored.


Bug report: Executing 'aad user list' with properties on Windows in PowerShell throws an error

Raised from #1342
Description
Executing 'aad user list' with properties on Windows in PowerShell throws an error, error is not thrown when executing from command prompt on Windows or from Zsh on Mac OS Catalina.
Steps to reproduce
Execute o365 aad user list --properties displayName,givenName,surname in a PowerShell (Core or Standard) terminal window
Expected result
Users are returned with property values requested
Actual result
Error thrown Error: Parsing Select and Expand failed.
Debug output
"Existing access token <token> still valid. Returning..."

Environment
Windows 10 Pro, PowerShell, 2.6.0

So this appears to only be an issue when using more than one property
✅o365 aad user list --properties displayName -o json
❌o365 aad user list --properties displayName,givenName -o json => Error: Parsing Select and Expand failed.

Looks like this is an encoding issue, if we take the last three debug lines before the error is thrown
REQUEST end event https://graph.microsoft.com/v1.0/users?$select=displayName%20givenName%20surname&$top=100
REQUEST has body https://graph.microsoft.com/v1.0/users?$select=displayName%20givenName%20surname&$top=100 229
REQUEST emitting complete https://graph.microsoft.com/v1.0/users?$select=displayName%20givenName%20surname&$top=100
Error: Parsing Select and Expand failed.

All the properties in the URL are separated by %20 which represents a space, but this should be %2c which represents a comma.

Ok, so its not quite an encoding issue, the initial request for some reason has spaces in the URL between the properties instead of commas, this is why we are seeing %20 in later request logs.
REQUEST {
  headers: {
    'user-agent': 'NONISV|SharePointPnP|Office365CLI/2.6.0',
    accept: 'application/json;odata.metadata=none',
    authorization: 'Bearer <token>'
  },
  gzip: true,
  url: 'https://graph.microsoft.com/v1.0/users?$select=displayName givenName surname&$top=100',
  json: true,
  method: 'GET',
  callback: [Function: RP$callback],
  transform: undefined,
  simple: true,
  resolveWithFullResponse: false,
  transform2xxOnly: false
}

So this is not a bug, the behaviour is caused by the way that PowerShell handles commas passed as arguments in the command line, wrapping the --properties value in quotes solves the issue.
✅o365 aad user list --properties 'displayName,givenName' -o json


Ash scuttlers get stuck when looking for ash

This little guy happily dug a couple cool things up for me but then got stuck when I pushed my luck on a third attempt.

Tried to address this in 1b787dd47c4d948676f5ceef25f1f3d3696b01e0, they should get stuck much less often now - let me know if you still notice any oddities.


[bug] SHIFT+numeric key shortcuts not working?

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

Current behavior
Shortcuts such as shift+1 don't seem to work.
Expected behavior
shift + [numeric key] shortcuts should work.
Minimal reproduction of the problem with instructions
I've put up an example on Stackblitz to illustrate the issue.
https://stackblitz.com/edit/ngneathotkeysdemo?embed=1&file=src/app/app.component.html
What is the motivation / use case for changing the behavior?

Environment

Angular version: X.Y.Z

Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX

For Tooling issues:
- Node version: XX
- Platform:

Others:

We are using the Angular mechanism under the hood, so you should check there.

Oh, I see... typing SHIFT+1 whould actually fire keydown.shift.! (or other, depending on the keyboard configuration).
It would be nice if I could refer to the value of event.code instead of event.key when defining the trigger, do you know if that's possible out of the box?
Anyway, I guess I can just close this as it's not really an issue with the library... thanks!

No, you can't.


Refactor dictionary combination method to use update() method

https://stackoverflow.com/questions/21222506/multiple-assignments-into-a-python-dictionary

c3f7deeeb761c2db01e5066b857afdf95c031093


Price monitor for user active bots

Background
Describe the problem that we are trying to solve with this feature.
If a path to a solution is known, feel free to write it down, but have an open mind
https://www.notion.so/volumefi/EPIC-04-14-PalomaBot-ai-Momentum-Chaser-Bot-79c25a79c6ce48afafbb4d0db1cbbfc4?pvs=4#fe15a204c6f54478a3d71b34b6ea3b4e
Done when

[x] We have an always running service that is checking the lorentz DB every so often for new rows then creating a worker to monitor the prices using the coingecko API for that position.
[x] a check to see if the price retrieved is within the stopp loss and profit taking prices.
[x] the stored transaction is submitted to Paloma
[ ] the telegram bot https://github.com/VolumeFi/paloma/issues/113 is triggered

"We have a cron job that runs every minute to check the prices of all active bots that are stored in the lorentz DB against coingecko api" @verabehr note this will not be a cron job but an always running service. checking the db every so often for new rows then creating a worker to monitor that position.

this is no longer needed as it will be handled by https://github.com/VolumeFi/paloma/issues/156


Added support for external Google API OAuth2 client credentials

WHY
By default, gdrive uses OAuth2 client credentials (client id and secret) in
order to allow it to use Google's Drive APIs on behalf of the user. The credentials
are set inside gdrive by default. Unfortunately this means that the rate limit of
API usage is shared amongst all gdrive users globally. It has become common for
the rate limit to be exceeded, causing gdrive to stop stop working.
This pull request makes it possible to load external OAuth2 client credentials. Rate limits are credential specific, so changing to your own generated client credentials avoids the shared rate limit problem.
HOW TO USE
Generate your new credentials in the Google API Console (see steps 3-14 here), name the credentials
file client_id.json and move it to the gdrive config directory (default on linux ~/.gdrive/).
Then delete token_v2.json to reauthenticate using the new credentials.
SIDE EFFECTS

You need to delete the old token in order for the new credentials to be used.

Existing sync directories will not work after the credentials change. This is because sync sets appProperties on files and folders it uploads as well as the root sync folder. When the credentials change, the appProperties are no longer visible, and gdrive sees the sync directory as a non-empty folder not set up for sync.

since this is not being maintained, i forked this repo, github.com/tripLr your welcome to post there

@rohfle golang.org/x/oauth2 wants cloud.google.com/go/compute/metadata, can you please update your PR to vendor it too?

@dmgk I have updated vendor with godep (learning golang as we go)

@rohfle Thanks!

https://github.com/gdrive-org/gdrive/pull/476 is preferred as it is much simpler than this PR.


Not working in container mode

In container mode, where docker is not available, the tracing won't start.

See image above for error.
This would have to be circumvented by running the command outside docker. I'm willing to open a PR to fix this, if someone can point me in the right direction.

@zwx00 Are you referring to running vscode this way: https://code.visualstudio.com/docs/remote/containers?
I haven't had much time to invest in working on this extension - but if you have a proposal of how this would work that would be great. When you say "point me in the right direction" - what type of information are you looking for?
The binaries are available from https://github.com/jaegertracing/jaeger/releases/tag/v1.21.0 - only the "all-in-one" executable would be required.

Hey, yes that's what I meant. One simple solution would be to let users override the location to point the extension to the correct jaeger instance.

Yeah, I think if vscode is running in a container environment, it probably does make sense for it to make use of a Jaeger instance running separately. But in that case, only one of the current actions is relevant? i.e. showing the UI, but start/stop wouldn't be relevant.
So would the proposal be to add the configuration to enable override of the jaeger instance location? If this was done, wonder if it would be possible to disable the start/stop actions?

The value of the webview running inside the vscode environment is
questionable, if the user already went through the trouble of installing
and configuring Jaeger UI themselves, they can access it through the web
browser too IMO.
It's surely possible to disable those actions, and I'm happy to open a PR
for this when I find time. It would include a configuration page for the
extension, where it would be possible to point to an external Jaeger
instance.
Did you plan any more involved features for this extension, eg. integrating
the jager data with the code editor itself somehow?
On Sun, Dec 13, 2020 at 5:26 PM Gary Brown<EMAIL_ADDRESS>wrote:

Yeah, I think if vscode is running in a container environment, it probably
does make sense for it to make use of a Jaeger instance running separately.
But in that case, only one of the current actions is relevant? i.e. showing
the UI, but start/stop wouldn't be relevant.
So would the proposal be to add the configuration to enable override of
the jaeger instance location? If this was done, wonder if it would be
possible to disable the start/stop actions?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jaegertracing/jaeger-vscode/issues/9#issuecomment-744032209,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIIDJHRNVIFRQORYQTXFEDSUTTMFANCNFSM4UQOMD3A
.

Agree, it doesn't really benefit users who are already running Jaeger instance separately.

Did you plan any more involved features for this extension, eg. integrating
the jager data with the code editor itself somehow?

Not currently - but if anyone has any suggestions they will definitely be welcome. But until then, it doesn't seem like it would be worth adding the config for external instance.

Ok, thanks. Feel free to close this.
On Sun, 13 Dec 2020 at 18:12, Gary Brown<EMAIL_ADDRESS>wrote:

Agree, it doesn't really benefit users who are already running Jaeger
instance separately.
Did you plan any more involved features for this extension, eg. integrating
the jager data with the code editor itself somehow?
Not currently - but if anyone has any suggestions they will definitely be
welcome. But until then, it doesn't seem like it would be worth adding the
config for external instance.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jaegertracing/jaeger-vscode/issues/9#issuecomment-744038169,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIIDJAKJEF6TURUKRTGX3DSUTYXDANCNFSM4UQOMD3A
.


Support MarkLogic application-level auth

The Java Client API currently does not support application-level authentication.  This is an extremely important method of authentication to a broad base of MarkLogic customers.  Now that MarkLogic is endorsing 3-tier architectures for MarkLogic, application-level authentication becomes even more important because almost always the middle tier is authenticating some human actor on the front end then taking database actions on their behalf.  One of the only ways to authenticate such a user to MarkLogic is via application-level authentication.
In many customers this has been implemented in 2-tier architectures by passing user credentials (usernames, roles, cookies, etc) from an enterprise SSO or other system via HTTP headers.  This is by no means the only way this might be accomplished.  The key is to have an API- and product-supported means of transmitting this information such that the Java Client API can easily set credentials per request and the server can retrieve them for use in (usually) a custom authentication module.
A generic HTTP header capability may be part of this effort, or maybe it would be better to create an implementation of DatabaseClientFactory.SecurityContext for application-level auth.

Let me add quickly that "application-level auth" is a concept in MarkLogic named before the Java Client API existed.  It's confusing to talk about in the context of the Java Client API because it is for 3-tier architectures.  In 3-tier architectures the main "application" is in the middle tier.  It may be that the name "application-level auth" can still apply perfectly to whatever solution we come up with.  But for the moment I find it confusing because it seems that the classic MarkLogic way to do "applicaiton-levelo login" via the XQuery function xdmp:login was designed to be called by an XQuery application residing in MarkLogic server.

Let's note that xdmp:login supports only role-based "static" authorization.  Some requirements demand "dynamic" authorization or rules that cannot be represented as roles.  This includes rules like "can only read this file during business hours".

Let's note that if we're not using SAML but instead allowing the application to assert the roles, that could undermine the security of the database unless the database is requiring a reasonably secure authentication mechanism for the application, such as client-SSL-cert or Kerberos.

Also let’s keep in mind that we never deploy marklogic into a secure environment without evaluating the security of the entire architecture.  The idea is that the overall architecture is secure, so that we can guarantee in the architecture that only trusted applications can connect to marklogic.  MarkLogic is rarely asked to provide the entire security solution.  However, that shouldn’t detract from the idea that Sam presented.  Sometimes we have to beef up the entire architecture to ensure that the application connecting to MarkLogic can be trusted, and if we could provide an additional authentication layer like what Sam presented we would be in a much better position.
Tom
Thomas Diepenbrock
Technical Manager
MarkLogic Corporation
Thomas.Diepenbrock<EMAIL_ADDRESS>Cell:  +1<PHONE_NUMBER>
[cid:0B48B25A-8630-42FD-BFB9-3092CB213523] http://www.marklogic.com/social/
http://www.marklogic.com/social/
On Jul 21, 2017, at 8:02 PM, Sam Mefford <notifications<EMAIL_ADDRESS>wrote:
Let's note that if we're not using SAML but instead allowing the application to assert the roles, that could undermine the security of the database unless the database is requiring a reasonably secure authentication mechanism for the application, such as client-SSL-cert or Kerberos.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/marklogic/java-client-api/issues/766#issuecomment-317138119, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AH7cXYLirBRXSKjN5tlPdgKPL0JOJQ_Bks5sQTwQgaJpZM4OQ5gg.

@tdiepenbrock how can you guarantee that only trusted applications can connect to MarkLogic?  The only ways I can think of are client-SSL-cert or Kerberos.  Most other solutions could easily be spoofed from the command-line or a nefarious app running on the same machine which normally runs the MarkLogic Java Client.  In other words, if a firewall only allows connections from the host where the MarkLogic Java Client runs, is that sufficient security?  My understanding is that's not.  In fact, with the number of major database hacks in the past few years, it seems the only way to be truly secure is to keep the data encrypted on the disk and use full database security so that even a hacker who has physical access to MarkLogic server cannot retrieve the data.  That approach is compromised if something outside the database can assert roles for a session without additional trust guarantees like requiring first app auth with client-SSL-cert or Kerberos.

Client issue can be reopened if DHS embraces application-level authentication.


rename covid_hosp_state_timeseries that back to covid_hosp_state

just noting that i recently changed the table name from covid_hosp_state to covid_hosp_state_timeseries since i thought each dataset would have a separate table. since we're sharing tables, i'm going to suggest renaming that back to covid_hosp_state since state timeseries is now badly misleading. (not in this PR -- this is good to go as-is. just for future reference)
Originally posted by @dfarrow0 in https://github.com/cmu-delphi/delphi-epidata/pull/336#discussion_r545226973

oh thanks! just noting again we should use covid_hosp_state to distinguish from covid_hosp_facility.

updated

naming is hard. there's another hhs covid hosp dataset for estimated state values. whereas the state timeseries and state daily are reported, not esimtated. (some commentary here).
so maybe covid_hosp_reported or covid_hosp_state_reported?

yep, let's go with covid_hosp_state_reported

:+1: updated issue


0.4.5 version update

See commit details for more.

Hello @mikkokotila! Thanks for submitting the PR.

There are no PEP8 issues in the file setup.py !

In the file talos/__init__.py, following                are the PEP8 issues :

Line 10:1: E402 module level import not at top of file
Line 13:1: E402 module level import not at top of file
Line 14:1: E402 module level import not at top of file
Line 15:1: E402 module level import not at top of file

There are no PEP8 issues in the file talos/commands/reporting.py !

In the file talos/metrics/keras_metrics.py, following                are the PEP8 issues :

Line 58:80: E501 line too long (82 > 79 characters)

There are no PEP8 issues in the file talos/metrics/names.py !

There are no PEP8 issues in the file talos/scan/Scan.py !

There are no PEP8 issues in the file talos/scan/scan_finish.py !

There are no PEP8 issues in the file talos/scan/scan_prepare.py !

In the file talos/scan/scan_round.py, following                are the PEP8 issues :

Line 34:80: E501 line too long (86 > 79 characters)
Line 35:80: E501 line too long (91 > 79 characters)
Line 37:80: E501 line too long (130 > 79 characters)
Line 48:80: E501 line too long (94 > 79 characters)

In the file talos/scan/scan_run.py, following                are the PEP8 issues :

Line 7:1: E302 expected 2 blank lines, found 1

There are no PEP8 issues in the file test/core_tests/test_scan.py !

Pull Request Test Coverage Report for Build 288

16 of 17 (94.12%)  changed or added relevant lines in 6 files are covered.
5 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.9%) to 77.685%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

talos/metrics/keras_metrics.py
1
2
50.0%

Files with Coverage Reduction
New Missed Lines
%

talos/reducers/reduce_run.py
1
90.0%

talos/reducers/correlation.py
4
73.68%

Totals

Change from base Build 279:
-0.9%

Covered Lines:
745

Relevant Lines:
959

💛  - Coveralls


.process was changed in 0.9 to include ctx before done

both versions are correct and will work on 0.9 @liorsion
queue.process('email', function(job, done)...

queue.process('email', function(job, ctx, done)...


flash does not work on MAX10 10M40SCE144C8G

i follow your instructions to create an uf2 file and flash it.
But the RP2040 is not flashing the FPGA ( the connections is right, i test it with openFPGALoader ).
JBC:

generate uf2:

openFPGALoader:

I dont find any informations about the implementation of pico-jbi.uf2 ? can you share the src ?

Hi i check the Loader to by the MAX10 Dev kit -> https://www.intel.com/content/www/us/en/products/details/fpga/development-kits/max/10m50.html
and add the src of an simple blink thing (it works by flashing with the USB-Blaster_ii) but the RPI is not flashing the Dev Kit.. here is the output :
JBC:

UF2:

the Quartus Project is attached (as archiv..) -> Quartus 23.01std.0 Build 991 on Ubuntu
files.zip


Client Allocation Request for: kims-korea

Name: kims-korea
Website / Social Media: https://www.kims-korea.co.kr
Region: Asia excl. Greater China
DataCap Requested: 50TiB
Addresses to be Notarized: f1ll4zafrefwklbuwbuptmz67ifemc62xapfaqm3q
Notary Requested: psh0691

sorry..


Pad

Hey @jvmancuso, @justin1121,
This PR is adding the tf.pad operation. Currently it just pads tensors with 0s (private) however it should be sufficient for our conv1d use case.
Thank you!

Hey guys, I think this pr should be ready to be merged. Thank you.


Baseline tests fail in nextest tree

        FAIL [   1.824s] integration-tests::integration test_list_default

--- STDOUT:              integration-tests::integration test_list_default ---

running 1 test
test test_list_default ... FAILED

failures:

failures:
    test_list_default

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 14 filtered out; finished in 1.82s

--- STDERR:              integration-tests::integration test_list_default ---
thread 'test_list_default' panicked at integration-tests/tests/integration/fixtures.rs:201:13:
command failed:

command: "/ram/cargo-mutants-nextest-vxXZEX.tmp/target/debug/cargo-nextest-dup" "nextest" "--manifest-path" "/ram/nextest-fixtureUEjaIQ/src/Cargo.toml" "list" "--workspace" "--all-targets" "--message-format" "json"
exit code: Some(101)
--- stdout ---

--- stderr ---
    Blocking waiting for file lock on package cache
    Blocking waiting for file lock on package cache
    Blocking waiting for file lock on package cache
info: experimental features enabled: setup-scripts
warning: /ram/nextest-fixtureUEjaIQ/src/Cargo.toml: only one of `license` or `license-file` is necessary
`license` should be used if the package license can be expressed with a standard SPDX expression.
`license-file` should be used if the package uses a non-standard license.
See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
   Compiling uuid v1.2.1
   Compiling dylib-test v0.1.0 (/ram/nextest-fixtureUEjaIQ/src/dylib-test)
   Compiling cdylib-link v0.1.0 (/ram/nextest-fixtureUEjaIQ/src/cdylib/cdylib-link)
   Compiling with-build-script v0.1.0 (/ram/nextest-fixtureUEjaIQ/src/with-build-script)
   Compiling cdylib-example v0.1.0 (/ram/nextest-fixtureUEjaIQ/src/cdylib/cdylib-example)
   Compiling nextest-derive v0.1.0 (/ram/nextest-fixtureUEjaIQ/src/derive)
   Compiling nextest-tests v0.1.0 (/ram/nextest-fixtureUEjaIQ/src)
error: failed to run custom build command for `cdylib-link v0.1.0 (/ram/nextest-fixtureUEjaIQ/src/cdylib/cdylib-link)`

Caused by:
  process didn't exit successfully: `/ram/nextest-fixtureUEjaIQ/src/target/debug/build/cdylib-link-e65970b22ab3b7db/build-script-build` (exit status: 101)
  --- stderr
  warning: /ram/nextest-fixtureUEjaIQ/src/Cargo.toml: only one of `license` or `license-file` is necessary
  `license` should be used if the package license can be expressed with a standard SPDX expression.
  `license-file` should be used if the package uses a non-standard license.
  See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
  error: failed to get `uuid` as a dependency of package `nextest-tests v0.1.0 (/ram/nextest-fixtureUEjaIQ/src)`

  Caused by:
    failed to load source for dependency `uuid`

  Caused by:
    Unable to update registry `crates-io`

  Caused by:
    failed to update replaced source registry `crates-io`

  Caused by:
    failed to read root of directory source: /ram/nextest-fixtureUEjaIQ/src/vendor

  Caused by:
    No such file or directory (os error 2)
  thread 'main' panicked at cdylib/cdylib-link/build.rs:23:9:
  cargo build failed with status Some(101)
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: cannot satisfy dependencies so `std` only shows up once
  |
  = help: having upstream crates all available in one format will likely make this go away

error: cannot satisfy dependencies so `core` only shows up once
  |
  = help: having upstream crates all available in one format will likely make this go away

error: cannot satisfy dependencies so `compiler_builtins` only shows up once
  |
  = help: having upstream crates all available in one format will likely make this go away

error: cannot satisfy dependencies so `rustc_std_workspace_core` only shows up once
  |
  = help: having upstream crates all available in one format will likely make this go away

error: cannot satisfy dependencies so `alloc` only shows up once
  |
  = help: having upstream crates all available in one format will likely make this go away

error: cannot satisfy dependencies so `libc` only shows up once
  |
  = help: having upstream crates all available in one format will likely make this go away

error: cannot satisfy dependencies so `unwind` only shows up once
  |
  = help: having upstream crates all available in one format will likely make this go away

error: cannot satisfy dependencies so `cfg_if` only shows up once
  |
  = help: having upstream crates all available in one format will likely make this go away

error: cannot satisfy dependencies so `miniz_oxide` only shows up once
  |
  = help: having upstream crates all available in one format will likely make this go away

error: cannot satisfy dependencies so `adler` only shows up once
  |
  = help: having upstream crates all available in one format will likely make this go away

error: cannot satisfy dependencies so `hashbrown` only shows up once
  |
  = help: having upstream crates all available in one format will likely make this go away

error: cannot satisfy dependencies so `rustc_std_workspace_alloc` only shows up once
  |
  = help: having upstream crates all available in one format will likely make this go away

error: cannot satisfy dependencies so `std_detect` only shows up once
  |
  = help: having upstream crates all available in one format will likely make this go away

error: cannot satisfy dependencies so `rustc_demangle` only shows up once
  |
  = help: having upstream crates all available in one format will likely make this go away

error: cannot satisfy dependencies so `addr2line` only shows up once
  |
  = help: having upstream crates all available in one format will likely make this go away

error: cannot satisfy dependencies so `gimli` only shows up once
  |
  = help: having upstream crates all available in one format will likely make this go away

error: cannot satisfy dependencies so `object` only shows up once
  |
  = help: having upstream crates all available in one format will likely make this go away

error: cannot satisfy dependencies so `memchr` only shows up once
  |
  = help: having upstream crates all available in one format will likely make this go away

error: cannot satisfy dependencies so `panic_unwind` only shows up once
  |
  = help: having upstream crates all available in one format will likely make this go away

error: could not compile `nextest-tests` (lib test) due to 19 previous errors
error: command `/home/mbp/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/cargo test --no-run --message-format json-render-diagnostics --workspace --all-targets` exited with code 101

note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

        PASS [   1.998s] integration-tests::integration test_setup_script_error
------------
     Summary [   2.000s] 27/215 tests run: 6 passed, 21 failed, 0 skipped
        FAIL [   1.769s] integration-tests::integration test_list_binaries_only
        FAIL [   1.824s] integration-tests::integration test_list_default
        FAIL [   1.796s] integration-tests::integration test_list_full
        FAIL [   1.734s] integration-tests::integration test_list_full_after_build
        FAIL [   1.803s] integration-tests::integration test_list_host_after_build
        FAIL [   1.808s] integration-tests::integration test_list_target_after_build
        FAIL [   1.715s] integration-tests::integration test_relocated_run
        FAIL [   1.777s] integration-tests::integration test_run
        FAIL [   1.820s] integration-tests::integration test_run_after_build
        FAIL [   1.741s] integration-tests::integration test_run_from_archive
        FAIL [   1.777s] integration-tests::integration test_show_config_test_groups
        FAIL [   0.064s] integration-tests::integration test_target_dir
        FAIL [   0.080s]    nextest-runner::integration basic::test_filter_expr_with_string_filters
        FAIL [   0.074s]    nextest-runner::integration basic::test_filter_expr_without_string_filters
        FAIL [   0.069s]    nextest-runner::integration basic::test_list_binaries
        FAIL [   0.077s]    nextest-runner::integration basic::test_list_tests
        FAIL [   0.080s]    nextest-runner::integration basic::test_retries::retry_overrides_ignored
        FAIL [   0.073s]    nextest-runner::integration basic::test_retries::retry_overrides_obeyed
        FAIL [   0.073s]    nextest-runner::integration basic::test_run
        FAIL [   0.076s]    nextest-runner::integration basic::test_run_ignored
        FAIL [   0.069s]    nextest-runner::integration basic::test_string_filters_without_filter_expr
error: test run failed

*** result: Failure

  47.417917145s ERROR cargo test failed in an unmutated tree, so no mutants were tested

Using the in-progress support for running in-place (#157), I can reproduce this running in-place, so it's not a problem with copying.
The log shows that cargo-mutants runs
/home/mbp/.rustup/toolchains/beta-x86_64-unknown-linux-gnu/bin/cargo nextest run --package cargo-nextest --package nextest-filtering --package nextest-metadata --package nextest-runner --package quick-junit

and that does fail in a similar way in this tree:
     Summary [   1.168s] 160/198 tests run: 149 passed, 11 failed, 0 skipped
        FAIL [   1.050s] nextest-runner::integration basic::test_filter_expr_with_string_filters
        FAIL [   1.077s] nextest-runner::integration basic::test_filter_expr_without_string_filters
        FAIL [   1.097s] nextest-runner::integration basic::test_list_tests
        FAIL [   1.056s] nextest-runner::integration basic::test_retries::retry_overrides_ignored
        FAIL [   1.018s] nextest-runner::integration basic::test_retries::retry_overrides_obeyed
        FAIL [   1.096s] nextest-runner::integration basic::test_run
        FAIL [   1.103s] nextest-runner::integration basic::test_run_ignored
        FAIL [   1.079s] nextest-runner::integration basic::test_string_filters_without_filter_expr
        FAIL [   1.094s] nextest-runner::integration basic::test_termination
        FAIL [   1.045s] nextest-runner::integration target_runner::test_listing_with_target_runner
        FAIL [   1.056s] nextest-runner::integration target_runner::test_run_with_target_runner
error: test run failed

Very interestingly, invoking it with cargo +beta and otherwise the same args does pass, and also without the +beta. It also passes with the explicit path to e.g. ~/.cargo/bin/cargo.
But, it fails if I give it the path to a toolchain-specific binary, like ~/.rustup/toolchains/beta-x86_64-unknown-linux-gnu/bin/cargo.
I guess rustup installs a wrapper binary in ~/.cargo/bin/cargo (??) and perhaps it's setting an environment variable or otherwise doing something that nextest depends upon.
 FAILED

failures:

failures:
    basic::test_run

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 23 filtered out; finished in 0.81s

--- STDERR:              nextest-runner::integration basic::test_run ---
warning: /home/mbp/src/nextest/fixtures/nextest-tests/Cargo.toml: only one of `license` or `license-file` is necessary
`license` should be used if the package license can be expressed with a standard SPDX expression.
`license-file` should be used if the package uses a non-standard license.
See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
    Blocking waiting for file lock on package cache
    Blocking waiting for file lock on package cache
    Blocking waiting for file lock on package cache
    Blocking waiting for file lock on package cache
    Blocking waiting for file lock on build directory
    Finished test [unoptimized + debuginfo] target(s) in 0.70s
thread 'basic::test_run' panicked at nextest-runner/tests/integration/fixtures.rs:387:17:
failed to create test list
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I can reproduce the same failure if I run the fixture binary directly, outside of the tests:
; ./fixtures/nextest-tests/target/debug/examples/other-2024fe2de6ada34d
./fixtures/nextest-tests/target/debug/examples/other-2024fe2de6ada34d: error while loading shared libraries: libtest-cbab71697df97b00.so: cannot open shared object file: No such file or directory

The vendor bit points to an .ignore file so I wonder if this is a bad interaction with gitignore handling...

The tests do pass when I run the same command in the tempdir, so it's a bit mysterious!

I'm going to unassign and deprioritize this for now because while it might be pointing to a bug in cargo-mutants or a failure to handle some reasonable behavior, it also seems really entangled with some quirks in Nextest.


message validation

We are currently using json schema in our API's and I was wondering if there was a hook we could use to run our validation prior to the message being deserialized into an object?

We periodically close 'discussion' issues that have not been updated in a long period of time.
We apologize if this causes any inconvenience. We ask that if you are still encountering an issue, please log a new issue with updated information and we will investigate.


App Remaining Functionality Not Working

Hello @mremond
Installed pod 'XMPP' in my project And added the following code in the viewDidAppear().
        guard let jid = JID("JID USER NAME") else {
            print("Invalid JID");
            exit(1)
        }
        var xmppConfig = Config(jid: jid, password: "JID PASSWORD", useTLS: true)
        xmppConfig.allowInsecure = true
        xmppConfig.host = "MY IP ADDRESS"
        xmppConfig.streamObserver = DefaultStreamObserver()

        let client = XMPP(config: xmppConfig)

        let semaphore = DispatchSemaphore(value: 0)
        client.connect {
          print("Disconnected !")
          semaphore.signal()
        }
        _ = semaphore.wait(timeout: DispatchTime.distantFuture)

After this my app remaining functionality not working. Like bottom tab bar. If I removed the following line everything is working fine.
_ = semaphore.wait(timeout: DispatchTime.distantFuture)
Maybe I'm doing something wrong. can you check once.
Thank You

Since I am just in a random Browser Session, looking for Alternative xmpp Frameworks, I don’t know the insides but...
 So your app wont finnish the drawing. You should do the connection and waiting in a dispatchqueue other than the ui queue.

@pixelskull Thank you reply. This issue is resolved.


NodeJS 6.10?

Hi,
I don know how long AWS will support NodeJS 4.x, but it makes me a bit nervous to depend on something like this for a blog which will possibly live longer. Any plans to move to NodeJS 6.10 (or 8.x when AWS supports it)?
Harald

I see the node4.3 is still in the install scripts. It this there because at the time this was the highest node version available on aws lambda. I think you can just change it to node6.10 and it should work.
I should do a little more maintaining of this project. Currenty I am on vacation but will take a look at it when I come back. Otherwise I am working on a similar project to this one which is more developer oriented but still runs on very similar stack. So stay tuned :)

I'll try to change to Node 6.10, but there's no urgency as long as 4.3 is still available. I'm glad you did not reply "This does not work on 6.10"
I'm curious about this "similar project"!


Add options objectExpression.spaceSurroundingProperties et al.

For parity with Prettier’s bracketSpacing option.
const obj = { key: value }; // objectExpression.spaceSurroundingProperties: true (default)
const obj = {key: value}; // objectExpression.spaceSurroundingProperties: false

const { key: value } = obj; // objectPattern.spaceSurroundingProperties: true (default)
const {key: value} = obj; // objectPattern.spaceSurroundingProperties: false

let value: { key: Type }; // typeLiteral.spaceSurroundingProperties: true (default)
let value: {key: Type}; // typeLiteral.spaceSurroundingProperties: false

Three separate options may be overkill, but that seems to be consistent with how the other options work.

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

Looks great! Thanks a lot @andersk!
I'm surprised prettier has this configuration given their config philosophy.
Perhaps we could add a single high level config option for these in the future. I think probably spaceSurroundingProperties would work. If you want to do a follow up PR that has that as a top level config for that, then feel free (by that, I mean, a config that gets resolved around line 45 of resolve_config.rs and is used as the default value for these three configuration options).


Load inventory module so the systems page won't break

Update FEC package and use inventory module
Recently we've change the way how inventory is loaded, instead of using chrome as middle man for serving inventory as Federated module we are now using inventory application to do so. This requires updating frontend components dependency and also making sure inventory module is loaded.

@karelhala
Tests fail:
 FAIL  src/Routes/GroupsDetail/GroupsDetail.test.js

  Groups

    ✕ should render correctly (111 ms)

  ● Groups › should render correctly

    TypeError: insights.chrome.registerModule is not a function

      82 |   );

      83 |   useEffect(() => {

    > 84 |     insights.chrome.registerModule('inventory');

         |                     ^

      85 |     const registered = getRegistry().register({

      86 |       groupsDetailReducer,

      87 |       groupDevicesInfoReducer,

Codecov Report

Merging #114 (14acc7e) into master (c283b4e) will decrease coverage by 3.85%.
The diff coverage is 12.75%.

:exclamation: Current head 14acc7e differs from pull request most recent head b398e5d.

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

Thanks!


Use autoSharding from config when BigQueryIO.Write is created.

Use autoSharding from config when BigQueryIO.Write is created

Currently autoSharding configuration is not used for BigQueryIO.Write and it is always set to true. This caused potential issue when autoSharding is not supported in some runners.

Thanks. Shall we also change another occurrence here?
https://github.com/apache/beam/blob/1879587c01cd94450eb2c544bbce70c58e66137a/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/providers/BigQueryStorageWriteApiSchemaTransformProvider.java#L285

Updated this class.


Make request and response (writer) interface the same (public fields)

The fix we've talked about for a while, making the response writer fields public so we can access .Publishing the same way for a request and a response.

Less code, less test coverage. Down to 90% :(


Development

Existing Sample Changes
Description
We are retiring the MRAA/UPM IoT samples.
Fixes Issue# DEV1A-4281 and DEV1A-4308
External Dependencies
N/A
Type of change
Deletion of samples.
How Has This Been Tested?
N/A

Paul,
Please submit to master branch. The development branch is end of life


New users take several minutes to appear in user list

Maybe because using lists to get document / user ids?


Introduce LXC backend

WIP, I want to introduce tests for that

Should I do that, by the way? Since currently backends are not tested.

@philpep, please, pay attention to "sudo" part of the backend, I'm not sure If I'm using it correctly.

I suppose lxc have a way to list hosts you could implement the get_hosts() method to handle wildcard and so on using the fnmatch module.
For instance:
testinfra --connection=lxc # run test on all containers
testinfra --connection=lxc --hosts 'web-*' # run test on all containers names starting with web-

testinfra --connection=lxc # run test on all containers
This can do harmful and undesirable things

I would suggest to force user to explicitly provide --hosts='*'.

I suppose lxc have a way to list hosts you could implement the get_hosts() method to handle wildcard and so on using the fnmatch module.

To implement this, run_local() method should be available inside get_hosts(), but for that it should be a regular method, to classmethod. What to do with that?

@philpep Any thoughts on that?

testinfra --connection=lxc # run test on all containers

This can do harmful and undesirable things

I agree, I opened #94 for that

@AndrewPashkin hi sorry for the delay. Indeed we need to move run_local somewere else.

@philpep would love to see this land.  We recently added libvirt support.
https://github.com/metacloud/molecule/pull/200

@philpep, should I make decisions?

@philpep, :thinking:

Hi @AndrewPashkin , sorry to have your patches being blocked in this PR without any updates from me, please accept my apologies... I now think that users want a lxc/lxd backend, and it's ok to merge it without support for get_hosts().
I opened #334 with your commit from #74 cherry-picked on master, I plan to have it in the next release, so I'm closing this PR.
Again, thank you for your work on this and sorry for my very long time to handle this...