[TASK]: Make the Header Responsive

Task Summary
The header looks good around 769px wide and above in width, however, the right side (Sign in/out buttons and theme toggle) is nowhere to be seen on smaller devices.
Acceptance criteria
The sign in/out buttons and theme toggle are seen on smaller devices.
Any Additional Context
No response

Accomplished.


No height limit in fractal descent

XML: https://maps.oc.tc/Other/Tournament/House of Cores/Fractal Descent TE/map.xml
Include XML: https://maps.oc.tc/Other/Tournament/House of Cores/house-of-cores.xml

Adding <maxbuildheight>(max height)</maxbuildheight> in to your XML will fix it.

This should be work http://gyazo.com/7797d6bfbd9239869dac7e4405415674

@TiTo-418 Can you post the logs when running a match and placing some blocks above the height limit?

sure :)

@TiTo-418 What is the message you get? Or is there no message?

http://youtu.be/gljO7wRG1gY (uploading...)
There aren't messages

The issue is most likely related to included files.

@TiTo-418 How are there no logs? There's always logs, regardless of an error.

@iEli2tyree011 http://pastebin.com/YHEWuHBe

@TiTo-418 Thanks

@TiTo-418 Where did you put the house-of-cores.xml file?

/maps

The issue seems to be fixed, it behaves as expected.

What? You can built to 256...

My copy works perfectly fine, check your XML

You can place tnt in height 61?


Remove/disable carto logo on maps

Carto logo is shown at bottom center on public and builder maps.

I thought this was taken care of here, but it seems like every time we create a user that feature_flag needs to be applied to the same user (doesn't seem to inherit from the org.)
See here for an example of a "working" map:

https://smartrural.tileo.co/u/smartrural-admin/builder/664494a9-60d5-4a00-8123-d70b0c8edd66/embed?state={"map"%3A{"ne"%3A[40.319325896602095%2C-74.68917846679689]%2C"sw"%3A[41.09384217129622%2C-73.34609985351564]%2C"center"%3A[40.707710007867334%2C-74.01763916015626]%2C"zoom"%3A10}}

So the action here is to run the feature_flag needs to be run on the following accounts in the following two smartrural accounts:

fruit-attraction
datasets

Done!  Here is an example working: https://smartrural.tileo.co/u/fruit-attraction/builder/5e069f76-e1c4-4274-8b25-7732f40220f9
You probably will have to recreate your previous visualization.

Map recreated. @jjmata so how can we enable/disable these feature flags?
Just running rake cartodb:features:enable_feature_for_organization[disabled_cartodb_logo,$ORGANIZATION_NAME] RAILS_ENV=$RAILS_ENVon dronedb container?

Yes, that is the only way I know of.  It probably is just a true/flase flag in a table, but the safe way is to run the rake command for now.  I will do it everytime a new SSL cert needs to be created (as both things are needed.)  OK?

Ok, so we can close that issue then.


Change Azure Service Bus Queue trigger to use new authentication approach

The Azure Service Bus Queue trigger should be changed so that it uses the new authentication approach documented in the spec.
This includes:

Changing the scaler to retrieve the authentication information from the configured TriggerAuthentication CRD
Update the trigger spec to list what parameters should be configured in the TriggerAuthentication CRD.

The KEDA core runtime provides access to the deployed TriggerAuthentication CRDs via #331
As part of this change, we should support AAD Pod Identity (#161).
This is a follow-up action for #307

@ahmelsayed or @SatishRanjan was this one you already did? Or are doing?

Reopening for https://github.com/kedacore/keda/pull/450 & https://github.com/kedacore/keda/pull/450

Completed, merged in, and documented


CredentialProvider library goes in infinite loop when deployed in k3s over a GCE vm

Environmental Info:
K3s Version:
k3s version v1.19.13+k3s1 (99eadcc1)
Node(s) CPU architecture, OS, and Version:
Linux k3scnildemo 4.18.0-305.12.1.el8_4.x86_64 #1 SMP Tue Aug 10 15:40:55 EDT 2021 x86_64 x86_64 x86_64 GNU/Linux
Cluster Configuration:
one single node
Describe the bug:
Kubernetes GO library credentialprovider initialization is stuck in infinite loop whn running on a k3s instance on a gce VM: the library never stop initialization, triggering an infinite loop on the runWithBackoff function in gcp/metadata.go
Steps To Reproduce:
Install k3s on a gce VM. Launch on it a pod with a container that is using the credentialprovider library. Wait forever.
Expected behavior:
I expected it to not be stuck in an infinite loop. Infinite loop are bad.
Actual behavior:
After some extensive debugging, we found that the library realizes to be on a GCE virtual machine, since onGCEVM function returns true. This is because cat /sys/class/dmi/id/product_name returns Google Compute Engine:
$ kubectl exec -it kube-notary-f7598887f-5v6d6 -- cat /sys/class/dmi/id/product_name
Google Compute Engine
$
All fine so far. But then, the gcp plugin tries to fetch the metadata from http://metadata.google.internal, which is not resolved, since this line on file /etc/hosts
<IP_ADDRESS> metadata.google.internal  # Added by Google
is not present in the kubernetes pod, but just on the host.
The workaround we found is to add this hostAlias to the pod configuration
  hostAliases:
    - ip: "<IP_ADDRESS>"
      hostnames: ["metadata.google.internal"]

which is effective, but also ugly.
The ideal solution to this problem would be:
to detect if we are running on kubernetes inside gce, either testing the line metadata.google.internal on /etc/hosts or by other means and/or
avoid infinite loop in runWithBackoff function

Additional context / logs:
I've also opened an issue on kubernetes: https://github.com/kubernetes/kubernetes/issues/104625
Backporting

[ ] Needs backporting to older releases

Yes, that's a problem with that library. I've was asked to open an issue with k3s too, and this is it.


Set up unit testing with Karma and Jasmine

https://docs.angularjs.org/guide/unit-testing

I'm working on it.


Keep HTML tags, h1, h2 etc tags, images inside article content

We are getting cleared text from Goose which is perfectly ok, but what changes need to make if I want to keep the HTML structure as well for the content section. Like html tags, images

Can you explain what you are trying to do? If you want the entire html object it is there in the raw_html property but if that is the case you likely would just use requests.

Hi, I would have the same request.
I'm using goose in my feed reader (JARR) and use it for two things:

I use cleaned_text for article comparison and clustering => that works greater
I reconstruct the cleaned article for the use to read with something like :

from lxml import etree
article = g.extract(url)
current_node = article.top_node
while True:
    print(etree.tostring(curr, encoding='utf8').decode("utf8"))
    current_node = current_node.getnext()
    if current_node is None:
        break

That works fine also, but I'm missing all the basic formating and images intended at the origin.
I tried fiddling in the cleaners.py but didn't get far. I still guess for <h* /> and <img> to be kept I would have to override this class right ?
I'm guessing that the top_node has been used in the processing of the text. Altering it might affect the cleaned_text content.
Do you have pointers on how and where I should begin ? And would that be worthy or a PR here ?

Can you explain what you are trying to do? If you want the entire html object it is there in the raw_html property but if that is the case you likely would just use requests.

Hi Barrust, I don't need total HTML but the top nodes with HTML structure (at least with tags and images, css class is not required).  As jaesivsm said, I also believe I need to make changes in cleaners.py. I am trying to modify but if you have something in mind, could be more helpful.

I'm looking for something similar: I'm extracting an article from a URL, but I would like to keep some basic formatting (paragraphs, headers, ...). Is there a way to tell Goose not to drop certain tags?

Have you considered using top_node?
If that doesn't return what you'd like, can you provide me with an example HTML and what you would like to have returned?

@Jonakemon This link for instance: the main text is detected fine, but formatting and images are not kept.
How can I get all the HTML via top_node? etree.tostring(article.top_node) returns <p> elements and <style> attributes, but no <image> or <strong> tags.

The problem lies in line crawler.py:240: self.article._cleaned_text = self.formatter.get_formatted_text(). Before this line, the top_node is the raw html of the top node. The get_formatted_text method cleans up the content of the top node. @LaundroMat I don't have a way for you right now to get what you want, sorry! But I've added some context for another maintainer - once he responds I can work on a fix for you :)
@barrust two points:

I don't think the get_formatted_text method should change the content of the top node. I don't know what the original intention was behind the method (last commits were in 2013/2018), but it's quite an implicit way to change the content of the top node. Since the result of get_formatted_text is assigned to the _cleaned_text as well, we should not change the content of the top node so that users (like @LaundroMat) can use the top node for their own operations.
Additionally, we don't have a way to override the get_formatted_method or the formatter that is used by the crawler. This is a similar issue as in #110. In #110 we talked about users being able to provide their own ContentExtractor, while in this issue the user could work around the issue if they could provide their own OutputFormatter. I provided an example in #110 on how we could implement it - maybe we can mail/chat about the idea sometime? If we have an idea, I can get working on implementing it.

I think that solution is running line
# post cleanup
self.article._top_node = self.extractor.post_cleanup()

in process method in Crawler class.
I think that we can make new field in article called top_node_raw and there put the original node (without cleanup).


Various forgotten fixups necessary for emails being nullable

Fixes #657
FYI the form validation change (.nullable()) doesn't allow a user to delete an existing email address.
But even if they could the server would ignore it, because it ignores empty values.

One issue revealed in testing: if you edit a user with no email, type something into the email box, then delete it, you can't submit the form. (Because the field went from undefined/null to '' (empty string) and now zod won't allow form submission).
I triggered this by accident when I was trying to edit the display name of a bulk-added user, and edited the email field by mistake.

I think usernames can be read-only. I think that's fairly common.
Email addresses can't, because a user might (e.g.) want to migrate to a different provider.


Unloading and reloading a plugin with a function hook segfaults

Details
Basically just the title.
Crash Report

Reproducing

Load a plugin with a function hook (I used https://github.com/outfoxxed/hy3/tree/e41c3cb2562456f30d406d2ebe6217c41f30a615).
hyprctl reload
unload the plugin
hyprctl reload
load the plugin
hyprctl reload
segfault

Do you have any idea what the cause could be? (hy3 reloads fine if the hook is disabled)
The differences I can immediately see are

hy3 loads the hook when its layout is enabled instead of on plugin init.
It finds the function using HyprlandAPI::findFunctionsByName, then stores the resulting address in a static const auto (is it interacting badly with dlopen / dlclose on the same file?).
Note: I've had another problem with HyprlandAPI::findFunctionsByName.

Apart from those I don't see much difference, as it reloads correctly without the hook.

no clue, but something is indeed going wrong. Might be double-hooking.  Hyprland does unload hooks when a plugin unloads right?

yes, it does.

I am not sure how statics behave on dlclose. If statics are not cleared on dlclose then the hook would not be reinitialized and would instead contain the hook from the old instance of the plugin with a different handle. Does that happen? Woyld it be better to always initialize the hook in plugin init and then just enable/disable it on layout load/unload?

you can try unloading it in exit and seeing what that does, but I don't think it will make much of a difference tbh.

I dont think it would either. The only way I can see the current implementation causing an issue is if statics are not destroyed on dlclose, so I'll try re-initializing the hook unconditionally on plugin load.

Reinitializing the hook on every plugin load fixed it.


Update of PSWI installation process

Describe your pull request here:
The last steps are not accurate and confusing, they are not describing well the use of workflows to complete the installation using PSWI. This PR is fixing it.
List the file(s) included in this PR:
docs/user-guide/install-zowe-pswi-deployment.md
After creating the PR, follow the instructions in the comments.

Needs to be merged to master, so it was created #3920 instead


vissv2server crashes while using gRPC Subscribe API for attribute

Description:
Steps to Reproduce:
Checkout branch rl-integration. In this branch feeder uses dataprovider as remotivelabs broker interface towards virtual cloud

Launch docker using docker-compose up -d
Launch grpc client  & try to Subscribe for attribute  commandList[1] = {"action":"subscribe","path":"Vehicle/VehicleIdentification/VIN","requestId":"258"}``
Start remotivelabs virtual dataplayback

Expected Behavior:

Docker shall launch vissv2server, feeder & redis running
Grpc client shall receive successful response
Grpc client shall receive successful event with VIN data

Actual Behavior:

OK
VISSv2Server crashes due to "panic: interface conversion: interface {} is nil, not string"

Additional Information:
Does Subscribe make sense for getting value update of an attribute ? Assume attribute has a default value which will be override during bootup.
Stack Trace:
Attaching the server log.
Issue seems like while creating response back to client.
Vissv2server.LOG

From the log it looks like an error claiming that a filter needs to be set:
{"action":"subscribe","path":"Vehicle/VehicleIdentification/VIN","requestId":"258"}`.
However, in the <IP_ADDRESS> Subscribe section .
Adding a filter is optional according to <IP_ADDRESS> in the spec.
Br
Peter Winzell

Thanks @petervolvowinz  for update. Yes I see filter was not given which is mandatory. Possibly server shall respond with bad request  over a crash?

Could you @petervolvowinz  please share the spec you are referring ?
https://www.w3.org/TR/viss2-core/#subscribe  says "Arguments, of which path and filter are mandatory"

https://www.w3.org/TR/viss2-transport/#wss-search-read
<IP_ADDRESS> Subscribe section
It says filter is optional. So, we have a contradiction here...I guess.

<IP_ADDRESS> Subscribe section for websockets
https://www.w3.org/TR/viss2-transport/#wss-search-read
From: Renjith Rajagopal @.>
Date: Thursday, October 26, 2023 at 4:53 PM
To: w3c/automotive-viss2 @.>
Cc: Winzell, Peter @.>, Mention @.>
Subject: Re: [w3c/automotive-viss2] vissv2server crashes while using gRPC Subscribe API for attribute (Issue #67)
Could you @petervolvowinzhttps://github.com/petervolvowinz please share the spec you are referring ?
https://www.w3.org/TR/viss2-core/#subscribe says "Arguments, of which path and filter are mandatory"
—
Reply to this email directly, view it on GitHubhttps://github.com/w3c/automotive-viss2/issues/67#issuecomment-1781291652, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANIH3SR5JJNNGKPC2CBTU7DYBJ2OVAVCNFSM6AAAAAA6P7TSE2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBRGI4TCNRVGI.
You are receiving this because you were mentioned.Message ID: @.***>

@RenjithRajagopal89
Please check if PR#69 solves it.
If so, please close this

@RenjithRajagopal89  Did you test this ?

@petervolvowinz @UlfBj I will test with Volvo dataset(VIN, Model etc) & will let you know

Server crash still there. Note : Subscribe API is called without filter even though it's mandatory. Client shall expects input error as response in such case ?
[
logs_VISS_crash_VIN_Subscribe.LOG
](url)

There is a PR waiting to be reviewed by Peter that should fix the crash.

should be good to merge now.

Fixed by PR#77


provide label value in labelInterpolationFnc

right now labelInterpolationFnc is provided with series value, is it possible to get label value also  there?

I'm sorry, I've not been maintaining this library or even working on charts lately.  Do you have an example of how you think it would work?


[tf.learn] Allow restore to overwrite existing model params

Fixed #2198

Can one of the admins verify this patch?

 I just found a huge portion of repeated code - maybe from conflicts not being resolved correctly during internal branch merge. Also cc @ilblackdragon

@ilblackdragon Good to know. I'll take a look at graph_actions later when I get a chance. I've reverted the changes. Let's just keep this PR to be removing those repeated lines (tests passed since the repeated code are inside a function block). Could you take a look and merge this first or people will have some issues?

@tensorflow-jenkins test this please.


Fix .mjs issue with GraphQL 0.13.2

With Razzle v2.2.0 + GraphQL v0.13.2, I was seeing tons of:

Can't reexport the named export 'BREAK' from non EcmaScript module (only default export is available)

After doing some research, this has already been reported as a break in<EMAIL_ADDRESS>when they introduced .mjs support:

https://github.com/graphql/graphql-js/issues/1272#issuecomment-377384574

Luckily, the fix is simply re-ordering webpack's extensions to give precedence to .mjs before .js:

https://github.com/graphql/graphql-js/issues/1272#issuecomment-377384574

Confirmed the fix worked in my local repo:
patch-package
--- a/node_modules/razzle/config/createConfig.js
+++ b/node_modules/razzle/config/createConfig.js
@@ -100,7 +100,7 @@ module.exports = (
         // It is guaranteed to exist because we tweak it in `env.js`
         nodePath.split(path.delimiter).filter(Boolean)
       ),
-      extensions: ['.js', '.json', '.jsx', '.mjs'],
+      extensions: ['.mjs', '.jsx', '.js', '.json'],
       alias: {
         // This is required so symlinks work during development.
         'webpack/hot/poll': require.resolve('webpack/hot/poll'),
@@ -128,6 +128,12 @@ module.exports = (
           ],
           include: paths.appSrc,
         },
+        // Avoid "require is not defined" errors
+        {
+          test: /\.mjs$/,
+          include: /node_modules/,
+          type: "javascript/auto",
+        },
         // Transform ES6 with Babel
         {
           test: /\.(js|jsx|mjs)$/,

Lgtm


Receive messages sent, while NukiHub was offline

Hi,
first of all: Thank you for this great piece of software!
when NukiHub is used in less reliable networks, it might be offline sometimes, when new MQTT-messages arrive. Currently, as it seems, those messages won't be received (my guess: they are "masked" by the persistent messages NukiHub publishes on most topics).
While it might be okay (or even desired) to lose messages on some topics (like /lock/action - those probably shouldn't be executed with an unpredicable delay), it would be great, if NukiHub could handle delayed messages received on /keypad/command/*-topics, since the sending party otherwise has to implements some kind of timeout-and-retry-logic to ensure, that sent keypad-commands are actually executed (which is error-prone and kind of contradicts the asynchronous nature of MQTT).

Hi,
I'm not exactly sure what you mean by delayed messages. Whenever an action is received, it's executed. The only exception is that the first messages after a reconnect are ignored - this is a security feature so that the door doesn't open minutes or hours later because the wifi was out.

The term "delayed" was a bit misleading. What I meant here are messages, which were sent while NukiHub was offline (and therefore are received with a delay on the next reconnect). Specifically: Messages sent to the /keypad/command/-subtree for adding, modifying or deleting keypad-codes. It would be great, if NukiHub could receive and process messages on these topics, even if they were sent during a network loss.
Speaking of the /lock/action-topic: Ignoring "delayed" messages on this topic makes totally sense.

Hi,
sorry for the late answer, I lost track of this issue. As mentioned before, ignoring those messages sent when NUKI Hub is offline is by design. You don't want security related things to happen three hours later because Wifi was down while you sent those commands. I think the solution is to monitor in your scripts if those commands are executed in a reasonable amount of time, and if not resend them.

Hi,
now I almost forgot about this ticket too. :)
As in the case of lock actions (in particular unlock/ unlatch), I absolutely agree with you. You definitely don't want such a command to be executed at some random later point in time.
However, I don't think this necessarily applies to keypad commands: If you add, modify or delete a keypad code, it doesn't really matter WHEN it happens. It is only important THAT it happens - especially when it comes to modifying and deleting keypad codes, since code-owners otherwise would keep access to your property, when they shouldn't have anymore.
Of course, you could also monitor the transmission/execution through the client and resend the command after a certain time. In my opinion, however, this makes little sense, as MQTT already provides a suitable mechanism natively with the QoS functionality.

@dhorak1 At this time, any MQTT messages after reconnect are ignored. Filtering for specific messages would require a more sophisticated approach. Not saying it's impossible, but it would need some effort to implement and especially to test. First of all, it would need a definition of what and what not to ignore.


Update banner to point to kubecon india

Update banner to point to https://events.linuxfoundation.org/kubecon-cloudnativecon-india/
KubeCon NA is basically over

We've requested the image for the landscape banner ad, we'll update it as soon as it's ready 👍
(the KubeCon NA one should not be displayed automatically as soon as the event is done)

Done!

Thank you!
On Tue, Nov 19, 2024 at 12:26 AM Sergio Castaño Arteaga <
@.***> wrote:

Closed #4138 https://github.com/cncf/landscape/issues/4138 as completed.
—
Reply to this email directly, view it on GitHub
https://github.com/cncf/landscape/issues/4138#event-15345592783, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAPSILM2BF5FYIADZSQ3A32BLY4DAVCNFSM6AAAAABRZ7KXG6VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJVGM2DKNJZGI3TQMY
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Cheers,
Chris Aniszczyk
https://aniszczyk.org


Cannot start the postman10.0.1

Bug Report
Package Name: postman10.0.1
Current Behaviour
It just crash when i start the postman.
Expected Behaviour

Additional context/output
so i start postman from window terminal
apps\postman\current
❯ .\Postman.exe

apps\postman\current
❯ The disableGPU setting is set to undefined
Not disabling GPU
ProtocolHandler~init - Success with status: true]
Main~createDefaultWorkingDir - Default working dir creation already attempted
1666863789205 main info "Booting Postman 10.0.1, win32-10.0.22000 on x64"
1666863789208 main info "EventBus~initialize - Success"
1666863789213 main info "Proxy configuration has not been setup"
1666863789214 main info "CloudProxyManager~init - Success"
1666863789216 main info "UpdateHandler~init - Success"
1666863789218 main info "LeaderSelection: Initialized successfully"
1666863789219 main info "VersionDependencyService: Initialized successfully"
1666863789282 main info "GPU detected VID 4318 DID 7200 ACTIVE false"
1666863789283 main info "GPU detected VID 32902 DID 22811 ACTIVE false"
1666863789283 main info "GPU detected VID 5140 DID 140 ACTIVE false"
1666863791654 main info "RuntimeIPCAgent~started: Success"
1666863794635 main info "UpdateHandler~app-update-events - Received event",{"name":"checkForElectronVersionUpdated","namespace":"appUpdate"}
1666863794642 main info "@postman/app-updater: version Updated","9.19.0","10.0.1"
1666863794649 main info "UpdateHandler~app-update-events - Received event",{"name":"electronVersionUpdated","namespace":"appUpdate","data":{"lastKnownVersion":"9.19.0","currentVersion":"10.0.1"}}
Error: spawn C:\Users\brucm\scoop\apps\postman\Update.exe ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
    at onErrorNT (node:internal/child_process:480:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
1666863794661 main error "Main~handleUncaughtError - Uncaught errors",{"errno":-4058,"code":"ENOENT","syscall":"spawn C:\\Users\\brucm\\scoop\\apps\\postman\\Update.exe","path":"C:\\Users\\brucm\\scoop\\apps\\postman\\Update.exe","spawnargs":["--createShortcut=Postman.exe","--shortcut-locations=StartMenu"],"name":"Error","message":"spawn C:\\Users\\brucm\\scoop\\apps\\postman\\Update.exe ENOENT","stack":"Error: spawn C:\\Users\\brucm\\scoop\\apps\\postman\\Update.exe ENOENT\n    at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)\n    at onErrorNT (node:internal/child_process:480:16)\n    at processTicksAndRejections (node:internal/process/task_queues:83:21)"}
Main~handleUncaughtError - Uncaught errors Error: spawn C:\Users\brucm\scoop\apps\postman\Update.exe ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
    at onErrorNT (node:internal/child_process:480:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'spawn C:\\Users\\brucm\\scoop\\apps\\postman\\Update.exe',
  path: 'C:\\Users\\brucm\\scoop\\apps\\postman\\Update.exe',
  spawnargs: [ '--createShortcut=Postman.exe', '--shortcut-locations=StartMenu' ]
}
1666863794722 main info "windowManager: First requester booted successfully."
1666863794723 main info "windowManager~restoreWindows: Restoring requester windows"
1666863794724 main info "Main~AppEvents - Received booted event for process requester.Version undefined UI Version: undefined Desktop Platform Version: 10.0.1"

Possible Solution
The old version(9.19.0) worked perfectly
System details
Windows version: win11
OS architecture: 64bit
PowerShell version: 7.2.7
Additional software: Windows Terminal Preview Version: 1.16.2642.0
Scoop Configuration

{
  "aria2-split": 32,
  "aria2-max-connection-per-server": 16,
  "aria2-min-split-size": "1M",
  "aria2-enable": false,
  "aria2-warning-enabled": true,
  "aria2-enabled": false,
  "last_update": "2022-10-27T17:40:45.0794962+08:00",
  "scoop_branch": "master",
  "scoop_repo": "https://github.com/ScoopInstaller/Scoop"
}

I delete the config folder (%AppData%\Postman) ,then it works fine.


zserge.com

Here's my immodest application to the 10KB club.
URL: https://zserge.com (~6KB transferred) or https://zserge.com/posts (~7KB transferred), even some large posts, bloated with inefficient syntax highlighting are ~10KB (https://zserge.com/posts/containers/).
HN links: https://news.ycombinator.com/from?site=zserge.com
Reddit links: https://www.reddit.com/search/?q=site%3Azserge.com
Lobsters links: https://lobste.rs/domain/zserge.com (well, those haven't reached 100 points yet but HN and Reddit have)
I shall admit my guilt of using Google Analytics, which takes ~3KB of blog's size, and I currently do my best to replace it.
Also, some browsers still fetch favicon.ico for obscure reasons. The ICO is rather massive (~5KB), and is not part of the website (HTML points at favicon.png, which is only a few bytes large). But maybe caching. Private mode and GTMetricx.com fetch the correct PNG favicon.

Thank you for the suggestion. Added in commit 7b5fcbc.

Thank you for the suggestion. Added in commit 7b5fcbc.


[SPARK-7512] [SPARKR] Fix RDD's show method to use getJRDD

Since the RDD object might be a Pipelined RDD we should use getJRDD to get the right handle to the Java object.
Fixes the bug reported at
http://stackoverflow.com/questions/30057702/sparkr-filterrdd-and-flatmap-not-working
cc @concretevitamin

Merged build triggered.

Merged build started.

Test build #32318 has started for   PR 6035 at commit d70145c.

LGTM!

Test build #32318 has finished for   PR 6035 at commit d70145c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/32318/
Test PASSed.


ARROW-9645: [Python] Deprecate pyarrow.filesystem in favor of pyarrow.fs

The main remaining items is pa.hdfs.connect(). It feels a bit annoying to deprecate this again, after we let people migrate from HdfsClient to connect (eg https://stackoverflow.com/questions/47400987/hdfs-connect-vs-hdfsclient-in-pyarrow).
I was thinking to keep pa.hdfs.connect, but letting it return the new filesystem? But since the returned object has a different API, that would also break a lot of code ..

I think we should deprecate pa.hdfs.connect. We cannot return something else from it...

We could in theory also add a deprecation in each method on the legacy HadoopFileSystem, so that any use outside of passing it to one of our own functions accepting a filesystem gets deprecated, but not the construction of the filesystem object itself (and then we can eventually return a different object, and for now convert it internally).
But, even if we do the effort for that, we are still left with this pyarrow.hdfs namespace which only has the connect() function long term ..

@github-actions crossbow submit -g integration

@pitrou @kszucs more feedback here?


[BUG] [Storage] BlobServiceClient.SetProperties fails with default values

Bug
Attempting to call BlobServiceClient.SetPropertiesAsync with just Cors will fail:
BlobServiceClient blobClient = GetBlobClientFromSomewhere();
await blobClient.SetPropertiesAsync(
    new BlobServiceProperties
    {
        Cors = new[] { new BlobCorsRule { AllowedOrigins = "*", AllowedMethods = "GET,HEAD" } },
    });

with a response like:
HTTP/1.1 400 XML specified is not syntactically valid.
Content-Length: 331
Content-Type: application/xml
Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
x-ms-request-id: 6b21a621-c01e-0087-626f-d1de6b000000
x-ms-client-request-id: 14cf7a3f-a116-44ac-8e0b-8768019ffbf1
x-ms-version: 2019-02-02
x-ms-error-code: InvalidXmlDocument
Date: Wed, 22 Jan 2020 22:02:55 GMT

<?xml version="1.0" encoding="utf-8"?><Error>InvalidXmlDocument<Message>XML specified is not syntactically valid.
RequestId:6b21a621-c01e-0087-626f-d1de6b000000
Time:2020-01-22T22:02:56.4989894Z</Message><LineNumber>1</LineNumber><LinePosition>48</LinePosition><Reason>Unexpected value for Version.</Reason></Error>

because some of the default values of BlobServiceProperties are considered invalid by the service.
Work Arounds
You can work around this issue by either getting an existing BlobServiceProperties instance from BlobServiceClient.GetPropertiesAsync (which is safer because then you'll leave existing properties unchanged):
BlobServiceClient blobClient = GetBlobClientFromSomewhere();
BlobServiceProperties properties = await blobClient.GetPropertiesAsync();
properties.Cors = new[] { new BlobCorsRule { AllowedOrigins = "*", AllowedMethods = "GET,HEAD" } };
await blobClient.SetPropertiesAsync(properties);

Or if you don't want to make an extra service call, you can null out a few problematic fields:
BlobServiceClient blobClient = GetBlobClientFromSomewhere();
await blobClient.SetPropertiesAsync(
    new BlobServiceProperties
    {
        Cors = new[] { new BlobCorsRule { AllowedOrigins = "*", AllowedMethods = "GET,HEAD" } },
        Logging = null,
        HourMetrics = null,
        MinuteMetrics = null
    });

Proposed Fix
We should set reasonable defaults for the problematic fields in BlobAnalyticsLogging and BlobMetrics that are causing this to fail.  This fix should also apply to the properties of Queues and Files as well.

@tg-msft This is also the case if you call BlobServiceClient.SetPropertiesAsync with just Logging set, the defaults for MinuteMetrics and HourMetrics don't include a Version which causes the request to fail.
Also, there's an issue if you get the existing BlobServiceProperties and there're no CORS rules. The default of an empty list doesn't serialize back into the request correctly, you need to null it out so it's omitted.
var properties = (await client.GetPropertiesAsync()).Value;
if (!properties.Cors.Any()) { properties.Cors = null; }
await client.SetPropertiesAsync(properties);

I have a customer reporting the following:
A few things I was surprised about here:

Default construction of BlobServiceProperties will result in HTTP 400
So much work required to get it working
We default to initializing everything, which will overwrite all properties on the account (the API works like PATCH, even if it isn’t PATCH)
No enum or anything for the 1.0?

            BlobServiceClient serviceClient = new BlobServiceClient(connectionString);

            // This fails with HTTP body saying "Unexpected value for Version.", which is talking about the Version element underneath Logging.
            {
                try
                {
                    BlobServiceProperties properties = new BlobServiceProperties();
                    serviceClient.SetProperties(properties);
                }
                catch
                {
                }
            }

            // This fails with HTTP body saying "Element is missing: Version.".
            {
                try
                {
                    BlobServiceProperties properties = new BlobServiceProperties();

                    properties.Logging.Version = "1.0";

                    serviceClient.SetProperties(properties);
                }
                catch
                {
                }
            }

            // This works!!
            {
                BlobServiceProperties properties = new BlobServiceProperties();

                properties.Logging.Version = "1.0";
                properties.HourMetrics.Version = "1.0";
                properties.MinuteMetrics.Version = "1.0";

                serviceClient.SetProperties(properties);
            }

Hi @tg-msft, we deeply appreciate your input into this project. Regrettably, this issue has remained inactive for over 2 years, leading us to the decision to close it. We've implemented this policy to maintain the relevance of our issue queue and facilitate easier navigation for new contributors. If you still believe this topic requires attention, please feel free to create a new issue, referencing this one. Thank you for your understanding and ongoing support.


Is the provided pretrained weight, not from a model trained on MultiPIE dataset?

Hi!
I'm doing a personal project on top of your work with the provided pretrained weights
and I really thank you for sharing your work.
I have tested test_image.py on an image from MultiPIE dataset,
and the results are sometimes good, but sometimes bad.
Here's a bad example.

Results of left and right images are generally good, but this problem is often observed for frontal images.
I was wondering if the pretrained weights are not from a model that was trained with MultiPIE dataset.
I am planning to fine-tune the weights with MultiPIE dataset, but just needed to check if this would help.
Thank you.

Hi man, sorry for the late reply.
The MGCNet is trained with M-PIE, for the in the front images and large pose images of M-PIE, I always use large pose images as this is helpful for our multi-view geometry consistency. I guess that this is the problem, if you planning to fine-tune, only M-PIE will give bad result, as in-the-wild images is very important.

Thank you for your reply.
Why are images with large poses better for using multi-view geometry consistency?
Isn't baseline what matters? I mean the baseline between the triple images.
Also I don't get why this gives me poor results on MPIE when it's good at in-the-wild images.
This problem actually occurs a bit often for frontal images on MPIE,,,
Thanks!

Picking the large pose samples, do not affect the baseline for enough overlap, you can see the MPIE camera distribution.
For training, mgcnet does not see many front Mpie faces, so the result is bad, this is a common machine learning understanding, right?

Actually I was wondering why the large poses are better.
I mentioned baseline because I thought only having too large baseline can
harm the training with multi-view losses.
What are the advantages of training with large pose images with respect to multiview losses?
Thank you for the reply.

Picking... views, get proper baseline.
I do not know "training with large pose images" or "training with front images" is better////

Oh alright, I thought by saying
"I always use large pose images as this is helpful for our multi-view geometry consistency" in your first reply,
you meant that it is better for training. Maybe I misunderstood.
Thanks for the reply. It was a great help.

Oh, my fault.
But it is sure my init idea, as large pose case is mostly benefit from multi-view geometry consistency.
In this way, I pick images as I like............, the result is I do not know if the problem happens here,


Video tutorial page

Added Video Image file for better user experience and corrected the typo

@huan Can you please review my changes, I would be highly thankful.

Welcome to become one of our great contributors, and thank you very much for the improvements!
Appreciate it.


Thanos sidecar not triggering remote_read

Thanos, Prometheus and Golang version used:
Image:         thanosio/thanos:v0.8.1
Image:         prom/prometheus:v2.13.1

Object Storage Provider:
S3
What happened:
Used a separate remote_write data store while I was migrating between S3 buckets. The data in the remote datastore is queriable using the Prometheus API/CLI/UI. When using Thanos, it looks like it does not trigger the remote_read functionality.
What you expected to happen:
For Thanos to use the standard API for retrieving data.
How to reproduce it (as minimally and precisely as possible):
Setup a prom/thanos container with remote_read/write. Query the data with Prometheus and the data comes back, but use the Thanos Querier and it does not retrieve that data.
Full logs to relevant components:
Thanos sidecar doesn't show much:
{"caller":"prometheus.go:247","component":"sidecar","level":"debug","msg":"started handling ReadRequest_STREAMED_XOR_CHUNKS streamed read response.","ts":"2019-12-19T18:40:56.805376235Z"}
{"caller":"prometheus.go:323","component":"sidecar","frames":0,"level":"debug","msg":"handled ReadRequest_STREAMED_XOR_CHUNKS request.","series":0,"ts":"2019-12-19T18:40:56.805478384Z"}
{"caller":"prometheus.go:247","component":"sidecar","level":"debug","msg":"started handling ReadRequest_STREAMED_XOR_CHUNKS streamed read response.","ts":"2019-12-19T18:40:56.906835125Z"}
{"caller":"prometheus.go:323","component":"sidecar","frames":0,"level":"debug","msg":"handled ReadRequest_STREAMED_XOR_CHUNKS request.","series":0,"ts":"2019-12-19T18:40:56.906927049Z"}

It also looks like Prometheus logs aren't very helpful either. It shows when it's remote_writing but not when remote_reading. I also don't see any kind of access logs to see the parity between CLI/UI/Thanos query options/arguments.
The most useful logs I can see in on the remote_write side I can see when it gets queried and when it's not.
Here's a log that gets written when I use the Prometheus UI:
{"caller":"log.go:27","level":"debug","msg":"Executed query","query":"SELECT time, name, value, labels FROM metrics WHERE name = 'mq_current_depth' AND time \u003e= '2019-12-13T23:03:00Z' AND time \u003c= '2019-12-14T00:08:00Z'  AND labels @\u003e '{\"prometheus_group\":\"prometheus\",\"prometheus_replica\":\"prometheus-readers-server-0\"}' ORDER BY time","ts":"2019-12-19T18:42:26.416Z"}
{"#timeseries":1,"caller":"log.go:27","level":"debug","msg":"Returned response","ts":"2019-12-19T18:42:26.425Z"}

Anything else we need to know:
When running the same query through Thanos these logs aren't showing up. I do know that the sidecar/thanos ARE connected and working. Going to Stores in the Thanos UI I see the Prometheus instance is there. When I query for up I can see the results are coming back as the same between Thanos/Prometheus. It's just the remote_read that's not being triggered.
Also, the Thanos Sidecar continuously logging ReadRequest probably means it's all connected. I'm not an expert though.
I guess I'm wondering if this is intentional or if this is something that should work. I would think that this should be something that works and was surprised to see that it doesn't.

Hi :wave: Thanks for reporting.
If I understand this right: You want to ask to use Thanos to fetch something from the different backend (which one?) through Prometheus. It comes to Prometheus exposing on its remote read  further remote read storage connected to the Prometheus, right?. From logs looks like Prometheus responds to remote read with no data, so yes sidecar seems to be connected properly.
By looking at the current Prometheus code there should be no blocker - Prometheus uses exactly the same backend for read as for query/query_range endpoint. Are you sure you are running exactly the same query on both?
I would play with /api/v1/read directly and see if it returns the data you expect, but you might need to pass the data programmatically as it uses protobuf.
Ideally however for this purpose, I would implement integration: StoreAPI implementation as described here: https://thanos.io/integrations.md This allows to have native Thanos support without Prometheus as proxy.

Hello! Thanks for responding and trying to help me out.
Your understanding of my goal is correct. I'm using Postgresql (Timescale) as remote_read/write location.
I'm definitely running the same query in Thanos as I am in Promethues, BUT even if it was a different query then I should see that showing up in the logs, right? The query I would see in the logs would just be different, but in this case there aren't any logs which indicates the query never makes it to the remote_read code path.
For the /api/v1/read endpoint, is this not what promtool is using? I tried using that to run my queries. Starting with Prometheus, my data is returned and the query  is showing up in the logs. When hitting Thanos, I get the same results as the UI. Is Promtool not using /api/v1/read?
RE StoreAPI: I don't yet have the time capacity to implement that on top of the Postgresql Prom Adapter. It does seem like a good idea to use Prometheus as a Proxy as it would essentially reduce the amount of code maintenance on the Thanos side, but I am not involved with this project (yet) so I must trust you with your word.


Bump STS to 5.0.20241115.1 (#26066)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>2
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 41.712%

Totals

Change from base Build<PHONE_NUMBER>3:
0.0%

Covered Lines:
30720

Relevant Lines:
68916

💛  - Coveralls


Support pointing to the latest version URL

It is recommended to support channel paths to download the latest version of files.
For example, if I want to download the stable version chromedriver, the current URL is
chromedriver | win64 |
https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/120.0.6099.71/win64/chromedriver-win64.zip

However, I hope that I can directly replace the version number with the path of a specific channel name to automatically access the latest version.
https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/stable/win64/chromedriver-win64.zip

As you say, anyone could build this on top of the API endpoints quite easily.
Adding built-in support to the CDN for this is not planned, however. The current invariant is that all *.zip URLs we provide are “stable” i.e. always point to exactly the same file.


handling [aeiouäöü]+h+ and splitting syllable with more than 2 vocals in half"

I inserted some code that can handle [aeiouäöü]+h+ (e.g. »aaaaaaaaaahhhhhhhhhhhhhhhhh«). It also  splits syllable with more than two vocals in half (e.g. »seeotter« → »-seeot-ter-« → »-see-ot-ter-«). As far as I know there are no words with more than three vocals in one syllable in the german language.

looks to me like writing something like „laaaaaaaaaaaangeweile“ will break this?

Also, this change is unnecessary and removes a line break that was added to stay below 120 characters per line :)

fixed it with new commit

Still, the problem with word with extended vocals is still existent. Also, it seems like the word „ahnung“ will now be treated as a single sillable by your code.

nope, »ahnung« will return 2. »aaaaaaaaahhhhhhnung« too

which problem with extended vocals ?

better?


Remove shapely converter functions, keep docs page

This PR removes the to_shapely and from_shapely converter methods we had on some pixel region classes (point, circle, rectangle, polygon).
I did keep and update the example on the docs page explaining that Shapely exists and that astronomers might want to use it for complex planar shape analysis tasks, especially polygon-related things like buffer, union and intersect. I think the number of users that want to do that is close to zero, if someone has such analysis tasks they would likely not create Astropy region objects and convert them to Shapely objects directly, but use the direct methods to create Shapely objects via Python API or one of the serialisation formats they support. I'm actually +1 to remove that docs page also, but I gather that keeping it might increase the chance to get this change / PR accepted.
I made this suggestion in  https://github.com/astropy/regions/pull/165#issuecomment-412837404, but to have discussion in one place I'll paste my arguments here:

astropy-regions should become astropy.regions in the core package soon.
from the user perspective: very few astronomers need or have ever heard of Shapely, support for it doesn't belong in Astropy core IMO, it's a feature for 1% of users and a distraction for the rest
from the developer perspective: supporting it is significant effort in terms of implementing, testing and documenting. Half-ass support for some regions is not nice. Note that even after years, there's still quite a lot to do for regions, IMO if anyone has time to hack on it , it should be on core functionality, not shapely.
If shapely becomes popular among astronomers in the future, adding support like that is easy. But we should never take things away, so if we add it now, we should support it forever.

#46 from two years ago is on the same topic, when we started this package we weren't sure if we should use / support Shapely.
@astrofrog @keflavich @larrybradley @sushobhana - Thoughts?

@astrofrog - Please comment.

@keflavich @astrofrog @larrybradley - Thank you for the review and for agreeing to this change.


Add the LICENSE file to the archive repository

Hello, I am from the Apache SkyWalking community. By reading this blog, I learned that BTFGen can make eBPF programs portable. This is a great idea, and we'd love to add it to our SkyWalking Rover project.
However, during the integration, we found that the btfhub-archive project did not add the LICENSE file, so we could not add it to the binary LICENSE statement file. So, could we help add the license file to this project?
You could get more information through this PR. Hope to get your reply, thanks!
I saw that you closed the issue in the archive repository, so I created a new issue here to track :) @rafaeldtinoco

Working on it

Done by: https://github.com/aquasecurity/btfhub-archive/blob/main/LICENSE


[FEATURE REQUEST] Individually disable/enable enchantments, and if Treasure Enchant only or not

Full enable/disable either via making the enchantment unobtainable in survival, or completely removing it,
and true/false whether the enchantment is Treasure only, meaning it can only be obtained via enchanted books in treasure chests and not in the enchanting table (good for strong rare enchantments like ones that give more emeralds or strongly increase EXP)

Will be implementing some kind of blacklist for this soon


Is it worth compressing the text column?

Is it a waste of time? VACUUM worked, took 10% of the table size off.
Is it worth pulling the search path out of the text full file path? Make it a link?
Hmmm.
The entire path below the file name could be exported to directories table, but most files are the name of the movie as the folder, and the name of movie as the video file, so seems like it would compress files table but is it worth to do all that joining?

Haven't done the research. Space has not been an issue yet.

Not planned.


Augment binding action parameters: Introduce FromHeader and FromServices at action paramter level.

The ParameterBindingAttribute type in WebAPI allows you to specify how a parameter's value is specified. We need to figure out where this type exists, how it is discovered etc.

This is already done.


Fix debug scope for SIL instructions created in LowerHopToActor

The pass uses SILBuilder instant to create instructions and does not
set SILDebugScope.
Due to this, SILVerifier correctly asserts that basic blocks contain non-contiguous
lexical scopes at -Onone.
The long term fix would be to replace SILBuilder instance in the pass with
SILBuilderContext and use SILBuilderWithScope so that such bugs do not come up.

@swift-ci test

@swift-ci test windows platform


example: Present new state after every event

This makes the example handle resize events in a visible way

Sorry for the delay, thanks for this.


Count points based on the number of passed/failed cases?

Hi guys, I am now trying to use doctest to grade c++ code assignments, and this is my first time to use doctest. Just one question, is there any way that I can count the points based on how many testcases are passed? Or is there any way that I can perform like IF test case passed, THEN grade ++, something like that?
Thanks a lot!

perhaps these 2 issues are relevant: https://github.com/onqtam/doctest/issues/200 https://github.com/onqtam/doctest/issues/344

perhaps these 2 issues are relevant: #200 #344

Thank you so much! I will take a look!

perhaps these 2 issues are relevant: #200 #344

Hi again, I am trying to use understand how to use reporter but when I used REGISTER_REPORTER("my_xml", 1, MyXmlReporter); it shows me an error: Typedef redefinition with different types ('int' vs 'int ()'). I am simply using the example code from the repo.

do you mean that the code here doesn't compile? https://github.com/onqtam/doctest/blob/master/doc/markdown/reporters.md

do you mean that the code here doesn't compile? I just tested it with GCC and it compiled...
https://github.com/onqtam/doctest/blob/master/doc/markdown/reporters.md
Also the example compiles with a bunch of compilers on different OS-es:
https://github.com/onqtam/doctest/blob/master/examples/all_features/reporters_and_listeners.cpp

Yep, unfortunately both of them are not working for me. Here is the error message:
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o: In function _start':
(.text+0x20): undefined reference to main' CMakeFiles/test.dir/main.cpp.o: In function __static_initialization_and_destruction_0(int, int)':
/home/xrb936/Desktop/test/doctest.h:2585: undefined reference to doctest::detail::TestSuite::operator*(char const*)' /home/xrb936/Desktop/test/doctest.h:2585: undefined reference to doctest::detail::setTestSuite(doctest::detail::TestSuite const&)'
CMakeFiles/test.dir/main.cpp.o: In function doctest::IReporter::IReporter()': /home/xrb936/Desktop/test/doctest.h:1661: undefined reference to vtable for doctest::IReporter'
CMakeFiles/test.dir/main.cpp.o: In function int doctest::registerReporter<MyXmlReporter>(char const*, int, bool)': /home/xrb936/Desktop/test/doctest.h:1724: undefined reference to doctest::detail::registerReporterImpl(char const*, int, doctest::IReporter* (*)(doctest::ContextOptions const&), bool)'
CMakeFiles/test.dir/main.cpp.o: In function MyXmlReporter::~MyXmlReporter()': /home/xrb936/Desktop/test/main.cpp:7: undefined reference to doctest::IReporter::~IReporter()'
CMakeFiles/test.dir/main.cpp.o:(.data.rel.ro._ZTI13MyXmlReporter[_ZTI13MyXmlReporter]+0x10): undefined reference to typeinfo for doctest::IReporter' collect2: error: ld returned 1 exit status CMakeFiles/test.dir/build.make:83: recipe for target 'test' failed make[3]: *** [test] Error 1 CMakeFiles/Makefile2:75: recipe for target 'CMakeFiles/test.dir/all' failed make[2]: *** [CMakeFiles/test.dir/all] Error 2 CMakeFiles/Makefile2:82: recipe for target 'CMakeFiles/test.dir/rule' failed make[1]: *** [CMakeFiles/test.dir/rule] Error 2 Makefile:118: recipe for target 'test' failed make: *** [test] Error 2
I am using CLion on Ubuntu.

Well this is different from what you previously said (Typedef redefinition with different types ('int' vs 'int ()') - right now you are missing the implementation of doctest - see here: https://github.com/onqtam/doctest/blob/master/doc/markdown/main.md
You need at least 1 .cpp file where you define DOCTEST_CONFIG_IMPLEMENT before including the header to compile in the test runner

Sorry I forgot the #define DOCTEST_CONFIG_IMPLEMENT.
However I still got an error with REGISTER_REPORTER. It still says Typedef redefinition with different types ('int' vs 'int ()').

well in that case I need to know which version of GCC (or clang) you are using - CLion is just an IDE afaik... sounds really strange to me... can you give more information? Are you including other headers? perhaps there is some preprocessor macro problem?

GCC version is 7.5.0.
I am just using the latest release of the doctest.h and the code from https://github.com/onqtam/doctest/blob/master/doc/markdown/reporters.md with #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN.
Thanks!

well the difference between registering a reporter or a listener is a boolean true/false within the macros...
the latest doctest version 2.3.8 (released 3 weeks ago) was build on CI with a plethora of compilers - including gcc 7.5 - see here: https://travis-ci.org/github/onqtam/doctest/jobs/688113670#L703 (line 703) - without a problem.
One thing I would suggest is that you run the tests of doctest itself - just call cmake in the root of the repo and then execute make and ctest --output-on-failure and tell me what happened.
Apart from that I'm clueless - you'll have to debug this locally.

I just looked into the code - for each of the reporter macros I use this at the end: typedef int DOCTEST_ANONYMOUS(_DOCTEST_ANON_FOR_SEMICOLON_) - that basically introduces a random typedef in global scope that forces you to write a semicolon after the macro. My best guess is that perhaps when the 2 macros are present (for reporter & a listener) the DOCTEST_ANONYMOUS macro doesn't work properly and generates 2 identical names - meaning that perhaps __COUNTER__ doesn't work on your machine for some reason (it's defined like this: #define DOCTEST_ANONYMOUS(x) DOCTEST_CAT(x, __COUNTER__))

I just looked into the code - for each of the reporter/listener macros I use this at the end: typedef int DOCTEST_ANONYMOUS(_DOCTEST_ANON_FOR_SEMICOLON_) - that basically introduces a random typedef in global scope that forces you to write a semicolon after the macro. My best guess is that perhaps when the 2 macros are present (for reporter & a listener) the DOCTEST_ANONYMOUS macro doesn't work properly and generates 2 identical names - meaning that perhaps __COUNTER__ doesn't work on your machine for some reason (it's defined like this: #define DOCTEST_ANONYMOUS(x) DOCTEST_CAT(x, __COUNTER__)).
Is the typedef error a compilation error from GCC or is it an error from the intellisense of CLion - within the IDE?

The error is showed in the IDE and I can still compile the code and run it. However, the reporter is not working when I use the reporter filter to define it.

Well in that case that's a problem with CLion - for not properly handling __COUNTER__...
how are you using the reporter filter?

Well in that case that's a problem with CLion - for not properly handling __COUNTER__ - perhaps it should be logged in their bug tracker...
how are you using the reporter filter?

By context.addFilter("reporters", "myreporter");

shouldn't it be "my_xml"?

shouldn't it be "my_xml"?

Yeah it was, but I changed the name.

However, the reporter is not working when I use the reporter filter to define it.

what do you mean by not working? I just tested compiling the reporter code from the repo and explicitly changing the reporter using context.addFilter("reporters", "my_xml"); and it worked (by which I mean suddenly I stopped getting output from the console reporter ===> the empty XML reporter was enabled!)

However, the reporter is not working when I use the reporter filter to define it.

what do you mean by not working? I just tested compiling the reporter code from the repo and explicitly changing the reporter using context.addFilter("reporters", "my_xml"); and it worked (by which I mean suddenly I stopped getting output from the console reporter ===> the empty XML reporter was enabled!)
The reporter code in the example/docs is a stub - it doesn't do anything - it's up to you to implement whatever you need. For that you might look into the doctest header itself to figure things out... I guess one option would be to inherit from one of the 2 reporters in doctest and just override a specific method so that you don't have to redefine everything

I am trying to use the code in https://github.com/onqtam/doctest/issues/344

well I just tested that code and for the following asserts:
TEST_CASE("tests 1") {
    CHECK(1 == 1);
    CHECK(1 == 1);
    CHECK(1 == 2);
}

TEST_CASE("tests 2") {
    CHECK(1 == 1);
}

I got the following output:
[doctest] doctest version is "2.3.8"
[doctest] run with "--help" for options
===============================================================================
E:\doctest\scripts\playground\test.cpp:8:
TEST CASE:  tests 1

E:\doctest\scripts\playground\test.cpp:11: ERROR: CHECK( 1 == 2 ) is NOT correct
!
  values: CHECK( 1 == 2 )

===============================================================================
[doctest] test cases:      2 |      1 passed |      1 failed |      0 skipped
[doctest] assertions:      4 |      3 passed |      1 failed |
[doctest] Status: FAILURE!
Grade: 75

It printed 75 which means 75% correct asserts - that's what his code does. I'm not going to be able to help any further than this...

well I just tested that code and for the following asserts:
TEST_CASE("tests 1") {
    CHECK(1 == 1);
    CHECK(1 == 1);
    CHECK(1 == 2);
}

TEST_CASE("tests 2") {
    CHECK(1 == 1);
}

I got the following output:
[doctest] doctest version is "2.3.8"
[doctest] run with "--help" for options
===============================================================================
E:\doctest\scripts\playground\test.cpp:8:
TEST CASE:  tests 1

E:\doctest\scripts\playground\test.cpp:11: ERROR: CHECK( 1 == 2 ) is NOT correct
!
  values: CHECK( 1 == 2 )

===============================================================================
[doctest] test cases:      2 |      1 passed |      1 failed |      0 skipped
[doctest] assertions:      4 |      3 passed |      1 failed |
[doctest] Status: FAILURE!
Grade: 75

It printed 75 which means 75% correct asserts - that's what his code does. I'm not going to be able to help any further than this...

Yep, I know this is how it should output, but I am not able to get the Grade: 75 at the end of the output.

Let me try to compile it on macOS.

well I just tested that code and for the following asserts:
TEST_CASE("tests 1") {
    CHECK(1 == 1);
    CHECK(1 == 1);
    CHECK(1 == 2);
}

TEST_CASE("tests 2") {
    CHECK(1 == 1);
}

I got the following output:
[doctest] doctest version is "2.3.8"
[doctest] run with "--help" for options
===============================================================================
E:\doctest\scripts\playground\test.cpp:8:
TEST CASE:  tests 1

E:\doctest\scripts\playground\test.cpp:11: ERROR: CHECK( 1 == 2 ) is NOT correct
!
  values: CHECK( 1 == 2 )

===============================================================================
[doctest] test cases:      2 |      1 passed |      1 failed |      0 skipped
[doctest] assertions:      4 |      3 passed |      1 failed |
[doctest] Status: FAILURE!
Grade: 75

It printed 75 which means 75% correct asserts - that's what his code does. I'm not going to be able to help any further than this...

It is working now, thank you so much for your help.
Another question, is there any way to let the test case ignore the error such as Segmentation fault and continue with other test case?
Thanks again.

sounds to me you need something more advanced than a testing framework - perhaps a judge system which has sandboxed execution - protecting from crashes, exploits, measuring the time, etc. - there are many such systems out there which you can setup on a server


Orphan script tag

https://github.com/ucdavis/Keas/blob/master/Keas.Mvc/Views/Shared/_Layout.cshtml#L146

Closed with PR #163


Fix inferenceservice name and result in aix-explainer mnist example

Signed-off-by: shawnL<EMAIL_ADDRESS>In https://kserve.github.io/website/0.8/modelserving/explainer/aix/mnist/aix/#create-the-inferenceservice-with-aix-explainer
Proposed Changes
The error occurs at the command "kubectl get inferenceservice aixserver".
The reason is that in the above yaml file we call it aix-explainer.
Thus, It is supposed to be "kubectl get inferenceservice aix-server".

Thanks @shawnL1225 !
/lgtm
/approve


Wire up the search service at the old webdav endpoint

This pr makes the search service available for legacy clients at the old webdav endpoint.
Fixes #4034

:boom: Acceptance test Core-API-Tests-ocis-storage-9 failed. Further test are cancelled...

There is something good in this PR ;-)
runsh: Total unexpected passed scenarios throughout the test run:
apiWebdavOperations/search.feature:42
apiWebdavOperations/search.feature:64
apiWebdavOperations/search.feature:87
apiWebdavOperations/search.feature:102
apiWebdavOperations/search.feature:174
apiWebdavOperations/search.feature:264


Simplify F.batch_l2_norm_squared test

Simplifies test_batch_l2_norm_squared using testing.FunctionTestCase
Refer to #6071

LTGM. Jenkins, test this please.

Jenkins CI test (for commit 65dafac4e11df270ab3a40230b22fcff40e31933, target branch master) failed with status FAILURE.

pfnCI, please

pfnCI, please

Jenkins failure looks unrelated.


[SPARK-25631][SPARK-25632][SQL][TEST] Improve the test runtime of KafkaRDDSuite

What changes were proposed in this pull request?
Set a reasonable poll timeout thats used while consuming topics/partitions from kafka. In the
absence of it, a default of 2 minute is used as the timeout values. And all the negative tests take a minimum of 2 minute to execute.
After this change, we save about 4 minutes in this suite.
How was this patch tested?
Test fix.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/3788/
Test PASSed.

Test build #97102 has started for PR 22670 at commit 47e0940.

Test build #97102 has finished for PR 22670 at commit 47e0940.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/97102/
Test PASSed.

Merged build finished. Test PASSed.

cc @gatorsmile

@dilipbiswal I like this change too. The suite goes from 4:34 to 0:53. I wonder if we can make this change elsewhere in general Kafka test config? This kind of setting seems useful everywhere.

@srowen Thanks. Did you mean, the test cases should extend a shared spark context (SharedKafkaSparkContext) which would have this property set ?
Actually Sean, there are 3 suites in this directory. DirectKafkaStreamSuite.scala KafkaDataConsumerSuite.scala and	KafkaRDDSuite.scala. Given only two tests which are affected by this timeout (which we are fixing here), do you think we need to take on this refactoring work as part of this PR ? Please let me know.

I don't so much mean that much refactoring. I wonder if there are 1-2 other places where common Kafka params are set in tests that we could add this to for now, that kind of thing. This change is OK by itself too though.

@srowen OK, Let me look.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/4047/
Test PASSed.

Test build #97473 has started for PR 22670 at commit 609daba.

Test build #97473 has finished for PR 22670 at commit 609daba.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/97473/
Test PASSed.

Merged to master

@srowen Thank you very much.


Display who you're submitting as at /links

In case they're at the wrong link.

I'll need to add /v2/game-name.


Fix for #22 : Expression syntax for rule conditions

Instead of writing rule conditions in Go as functions, you can now use an expression syntax which is more intuitive. This reuses the expression syntax used in flogo expressions for the most part. Only tuple property referencing is supported. A tuple property is referenced via $<tuple-type>.<tuple-property> Basic validation is done to ensure that the tuple type/property exists as defined. An expression can contain references to multiple types and properties and join conditions will be created implicitly
For example, if you have a customer tuple type and an account tuple type with a string accountid property in both of them, you can write conditions such as
Rule.AddExprCondition ("$customer.accountid == $account.accountid") to join the two tuple types of customer/account based on accountid

If the intent is for this to use the flogo expression syntax, then this is a little off and a lot of extra work.  The syntax should actually be "$.customer.accountid == $.account.accountid".  This all you have to do is create a "Scope" that has customer and account and it will be resolved for you.  This can be done with just a couple of lines of code.    Also, this allows resolution of things like properties and environment variables for example:  "$.account.debt > $env[DEBT_LIMIT]"

@balamg any update here RE @fm-tibco's comment?

Cannot avoid some amount of parsing and access AST for validations against known TupleTypes Further, access to the AST is required as I need to separately evaluate the LHS and RHS of a condition for a join optimization (will come later) Also I think what you are suggesting is that I create a certain type of Scope and populate it with keys/values reading from the tuples. If so, which implementation type should be used? And while setting values in it, should I include the leading '.' Perhaps not but would be good to know

Closing this PR as there are significant changes to the expression API in project-flogo/core and this PR is not valid anymore


[bug?] HybridBar disappear if fullscreen window opens on other workspace

You could try to reproduce that behavior with something like this:
windowrule = workspace 10 silent,foot-test
bind = $mainMod SHIFT, I, exec, foot -F -a 'foot-test'

in your ~/.config/hypr/hyprland.conf, which opens a foot terminal (in fullscreen mode) on workspace 10.
If you're not currently at workspace 10, then HybridBar becomes invisible, until you change your workspace to any other workspace, e. g. to 5, or whatever.
I think it's intentional that HybridBar disappears if a fullscreen apps comes up, but it would be cool, if the bar could check, if the fullscreen app is opened at current workspace, to avoid disappearing otherwise.
If you (understandably) ask what usecase could need to open a fullscreen app silently (on other workspace), then mine would be playing around with idle inhibition, (related to: https://github.com/vars1ty/HybridBar/issues/20), for example by adding the following:
windowrulev2 = idleinhibit fullscreen,class:^(foot-test)$
in your ~/.config/hypr/hyprland.conf to inhibit idle only, if the specified window/app is in fullscreen, and in this case it would be great, if this window comes up silently, so you could toggle fullscreen mode of the window to activate/disable inhibition as you like.
Sure, this usecase is a first class edge case, but I thought I report this behavior, anyway 🙃

If it disappears on a different workspace when going fullscreen, then that's something the compositor is responsible for since Hybrid doesn't deal with any of that logic on its own

If it disappears when a window on a different workspace goes fullscreen, then that's something the compositor is responsible for since Hybrid doesn't deal with any of that logic on its own

Thanks for the response. Just wanted to let you know, then 😅


Variables that aren't resolved should not return Symbols

If a variable is not found, it should not be returning "Symbols". For instance

I feel like this should probably be a "Variable not found error" or something similar

Maybe we should change to "Undefined variable"?

Seems like no one cares :)
I'm closing this.


Disbale, Remove Or Uninstall OSVR Camera In SteamVR

SteamVR-OSVR 342 driver brought a lot of annoying juddering and bouncing to my steamvr experience which was not apparent with older driver versions.
I use models, backgrounds, environments and other customisations for steamvr from steam workshop and have found the osvr camera thing to be nothing but annoying as it behaves well short of any other steamvr customisation that I choose to implement.  It even shows up when and where it should not like when steamvr dashboard is activated and interferes with other customisations from steamvr workshop.   This is a very poorly implemented steamvr feature which I would really like to get rid of.
Also, I am adding steamvr tracking to my osvr hdk hmd so the osvr ir camera model is unsuitable and irrelevant to my setup.
How do I disable, remove or uninstall the osvr camera model that detrimentally interferes with my steamvr experiences?

Set the cameraRenderModel value in the steamvr.vrsettings file.
To use a model within the SteamVR-OSVR driver's resources/rendermodels folder, use the {osvr} prefix followed by the base name of the .obj filename.
To use a model installed in SteamVR's resources/rendermodels folder instead, omit the {osvr} prefix and just use the basename of the model file.
Default: {osvr}osvr_camera

This is what my steamvr.vrsettings look like sfter subscribing to workshop items for steamvr customisation.
   "modelskins" : {
      "generic_tracker" : "C:\\Program Files (x86)\\Steam\\steamapps\\workshop\\content\\250820\\674789170\\untitled\\untitled.obj",
      "generic_tracker_PublishedFileId" : "674789170"
   },
   "steamvr" : {
      "background" : "C:\\Program Files (x86)\\Steam\\steamapps\\workshop\\content\\250820\\651313380\\Universe_seamless.png",
      "defaultMirrorView" : 1,
      "enableHomeApp" : false,
      "mirrorViewGeometry" : "1447<PHONE_NUMBER>",
      "showMirrorView" : true
   }
}

The changes for latest commit specify default.vrsettings as the file being used to initiate the osvr camera in steamvr compositor.
How do i simply stop the osvr camera being shown without uninstalling osvr driver?
It is interfering with the content from steamvr workshop, steamvr home and steamvr dashboard.

I think what I am trying to describe is related to https://github.com/OSVR/OSVR-Core/issues/530 and so can close this for now.


add a .gitignore file

this adds a gitignore file, making sure all Dymola temporary and log files will be ignored.
Maybe you want to add temp files created by SimulationX

Also helpful with git clean -X
http://git-scm.com/docs/git-clean


Move maxWidth.txt handling to FABulous.py

This should fix the issue noted in #104 - genVPRRoutingResourceGraph has no knowledge of the project directory so can't write to the .FABulous directory to create the maxWidth.txt file. This just adds the max width as part of a return tuple so that the file handling can be done in FABulous.py as is done elsewhere.

Thanks!


Does not compile

Kubuntu 22.04
cargo run --bin joytk
    Updating crates.io index
  Downloaded instant v0.1.12

...
Compiling clap v3.1.0
error[E0507]: cannot move out of `self.caps` which is behind a shared reference
 --> /home/my1/joy/target/debug/build/bluetooth-sys-44f1971f0d43a150/out/bindings.rs:3:187285
  |
3 | ...e (Debug)] pub struct bt_codec { pub id : u8 , pub cid : u16 , pub vid : u16 , pub data_path_id : u8 , pub num_caps : u8 , pub caps : __IncompleteArrayField < bt_codec_codec_caps > , ...
  |       ----- in this derive macro expansion                                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.caps` has type `__IncompleteArrayField<bt_codec_codec_caps>`, which does not implement the `Copy` trait
  |
  = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0507]: cannot move out of `self.codecs` which is behind a shared reference
 --> /home/my1/joy/target/debug/build/bluetooth-sys-44f1971f0d43a150/out/bindings.rs:3:189853
  |
3 | ...ked)] # [derive (Debug)] pub struct bt_codecs { pub num_codecs : u8 , pub codecs : __IncompleteArrayField < bt_codec > , } # [test] fn bindgen_tes...
  |                     ----- in this derive macro expansion                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.codecs` has type `__IncompleteArrayField<bt_codec>`, which does not implement the `Copy` trait
  |
  = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0507]: cannot move out of `self.service` which is behind a shared reference
 --> /home/my1/joy/target/debug/build/bluetooth-sys-44f1971f0d43a150/out/bindings.rs:3:194314
  |
3 | ...e (Debug)] pub struct bnep_setup_conn_req { pub type_ : u8 , pub ctrl : u8 , pub uuid_size : u8 , pub service : __IncompleteArrayField < u8 > , } ...
  |       ----- in this derive macro expansion                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.service` has type `__IncompleteArrayField<u8>`, which does not implement the `Copy` trait
  |
  = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0507]: cannot move out of `self.list` which is behind a shared reference
 --> /home/my1/joy/target/debug/build/bluetooth-sys-44f1971f0d43a150/out/bindings.rs:3:195737
  |
3 | ...erive (Debug)] pub struct bnep_set_filter_req { pub type_ : u8 , pub ctrl : u8 , pub len : u16 , pub list : __IncompleteArrayField < u8 > , } # [t...
  |           ----- in this derive macro expansion                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.list` has type `__IncompleteArrayField<u8>`, which does not implement the `Copy` trait
  |
  = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0507]: cannot move out of `self.data` which is behind a shared reference
 --> /home/my1/joy/target/debug/build/bluetooth-sys-44f1971f0d43a150/out/bindings.rs:3:199559
  |
3 | ...d)] # [derive (Debug)] pub struct bnep_ext_hdr { pub type_ : u8 , pub len : u8 , pub data : __IncompleteArrayField < u8 > , } # [test] fn bindgen_...
  |                   ----- in this derive macro expansion                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.data` has type `__IncompleteArrayField<u8>`, which does not implement the `Copy` trait
  |
  = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0507]: cannot move out of `self.condition` which is behind a shared reference
 --> /home/my1/joy/target/debug/build/bluetooth-sys-44f1971f0d43a150/out/bindings.rs:3:266645
  |
3 | ...[derive (Debug)] pub struct set_event_flt_cp { pub flt_type : u8 , pub cond_type : u8 , pub condition : __IncompleteArrayField < u8 > , } # [test]...
  |             ----- in this derive macro expansion                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.condition` has type `__IncompleteArrayField<u8>`, which does not implement the `Copy` trait
  |
  = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0507]: cannot move out of `self.data` which is behind a shared reference
 --> /home/my1/joy/target/debug/build/bluetooth-sys-44f1971f0d43a150/out/bindings.rs:3:465628
  |
3 | ...acked)] # [derive (Debug)] pub struct evt_le_meta_event { pub subevent : u8 , pub data : __IncompleteArrayField < u8 > , } # [test] fn bindgen_tes...
  |                       ----- in this derive macro expansion                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.data` has type `__IncompleteArrayField<u8>`, which does not implement the `Copy` trait
  |
  = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0507]: cannot move out of `self.data` which is behind a shared reference
 --> /home/my1/joy/target/debug/build/bluetooth-sys-44f1971f0d43a150/out/bindings.rs:3:469560
  |
3 | ...e (Debug)] pub struct le_advertising_info { pub evt_type : u8 , pub bdaddr_type : u8 , pub bdaddr : bdaddr_t , pub length : u8 , pub data : __IncompleteArrayField < u8 > , ...
  |       ----- in this derive macro expansion                                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.data` has type `__IncompleteArrayField<u8>`, which does not implement the `Copy` trait
  |
  = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0507]: cannot move out of `self.handles` which is behind a shared reference
 --> /home/my1/joy/target/debug/build/bluetooth-sys-44f1971f0d43a150/out/bindings.rs:3:483704
  |
3 | ...e (Debug)] pub struct evt_num_completed_blocks { pub total_num_blocks : u16 , pub num_handles : u8 , pub handles : __IncompleteArrayField < cmplt_handle > , ...
  |       ----- in this derive macro expansion                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.handles` has type `__IncompleteArrayField<cmplt_handle>`, which does not implement the `Copy` trait
  |
  = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0507]: cannot move out of `self.data` which is behind a shared reference
 --> /home/my1/joy/target/debug/build/bluetooth-sys-44f1971f0d43a150/out/bindings.rs:3:485921
  |
3 | ...acked)] # [derive (Debug)] pub struct evt_stack_internal { pub type_ : u16 , pub data : __IncompleteArrayField < u8 > , } # [test] fn bindgen_test...
  |                       ----- in this derive macro expansion                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.data` has type `__IncompleteArrayField<u8>`, which does not implement the `Copy` trait
  |
  = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0507]: cannot move out of `self.data` which is behind a shared reference
 --> /home/my1/joy/target/debug/build/bluetooth-sys-44f1971f0d43a150/out/bindings.rs:3:547717
  |
3 | ...] # [derive (Debug)] pub struct l2cap_conf_req { pub dcid : u16 , pub flags : u16 , pub data : __IncompleteArrayField < u8 > , } # [test] fn bindg...
  |                 ----- in this derive macro expansion                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.data` has type `__IncompleteArrayField<u8>`, which does not implement the `Copy` trait
  |
  = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0507]: cannot move out of `self.data` which is behind a shared reference
 --> /home/my1/joy/target/debug/build/bluetooth-sys-44f1971f0d43a150/out/bindings.rs:3:548844
  |
3 | ...erive (Debug)] pub struct l2cap_conf_rsp { pub scid : u16 , pub flags : u16 , pub result : u16 , pub data : __IncompleteArrayField < u8 > , } # [t...
  |           ----- in this derive macro expansion                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.data` has type `__IncompleteArrayField<u8>`, which does not implement the `Copy` trait
  |
  = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0507]: cannot move out of `self.val` which is behind a shared reference
 --> /home/my1/joy/target/debug/build/bluetooth-sys-44f1971f0d43a150/out/bindings.rs:3:550165
  |
3 | ...d)] # [derive (Debug)] pub struct l2cap_conf_opt { pub type_ : u8 , pub len : u8 , pub val : __IncompleteArrayField < u8 > , } # [test] fn bindgen...
  |                   ----- in this derive macro expansion                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.val` has type `__IncompleteArrayField<u8>`, which does not implement the `Copy` trait
  |
  = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0507]: cannot move out of `self.data` which is behind a shared reference
 --> /home/my1/joy/target/debug/build/bluetooth-sys-44f1971f0d43a150/out/bindings.rs:3:553699
  |
3 | ...] # [derive (Debug)] pub struct l2cap_info_rsp { pub type_ : u16 , pub result : u16 , pub data : __IncompleteArrayField < u8 > , } # [test] fn bin...
  |                 ----- in this derive macro expansion                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.data` has type `__IncompleteArrayField<u8>`, which does not implement the `Copy` trait
  |
  = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)

For more information about this error, try `rustc --explain E0507`.
The following warnings were emitted during compilation:

warning: couldn't execute `llvm-config --prefix` (error: No such file or directory (os error 2))
warning: set the LLVM_CONFIG_PATH environment variable to the full path to a valid `llvm-config` executable (including the executable itself)

error: could not compile `bluetooth-sys` (lib) due to 14 previous errors
warning: build failed, waiting for other jobs to finish...

I updated the deps, tell me if this fixed it.

seems to compile and run so far.
there's a warning, that may be useful to be looked at but seems a small thing:
warning: variant `Stop` is never constructed
  --> joytk/src/camera.rs:18:5
   |
16 | enum Cmd {
   |      --- variant in this enum
17 |     Image(GrayImage),
18 |     Stop,
   |     ^^^^
   |
   = note: `Cmd` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
   = note: `#[warn(dead_code)]` on by default

warning: `joytk` (bin "joytk") generated 1 warning

Great!


Fix InteractionManager fatal: If an interaction leads to a child being removed this loop could potentially throw an error

There is an error in the newest version of PIXI that causes an error when a child of a class removes itself during an interaction event: http://jsbin.com/zoyeyugede/edit?js,output
This patch stops the intermediate error, but it would be probably cleaner to defer all calls to func() to the next tick. Any suggestions or thoughts?

This has come up a few times, right now the recommended approach is to not change the scene tree during the interaction loop (in events).
Instead delay it until outside the loop by adding a simple setTimeout(..., 1); when you will remove/destroy an object.
https://github.com/pixijs/pixi.js/issues/2270#issuecomment-168524412


[stable/prometheus-cloudwatch-exporter] Fix documentation typos (README.md)

What this PR does / why we need it:
This PR fixes documentation typos which cause serviceMonitor resource not being created.
Which issue this PR fixes
It fixes documentation typo.
Special notes for your reviewer:
I just fixed documentation issue, compare templates/ folder (grep serviceMonitor -iR stable/prometheus-cloudwatch-exporter/templates/ folder and README.md
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[X] DCO signed
[X] Chart Version bumped
[X] Title of the PR starts with chart name (e.g. [stable/chart])

/assign @torstenwalter

/lgtm

@mogaal Thank you for your PR. Sorry that it took me so long to review it.

No worries @torstenwalter, thanks a lot. Have a nice week


Wiremod Website Upgrade

I'm well aware of the website shenanigans going on lately. I've been given full access to everything now, and are going through a number of system upgrades, security changes, and cleanup.
Wiremod.com might be down for a little while, as I am also juggling other things. There's a lot of work to be done.
I wanted to move things to reddit, but the reddit admins are too busy with other things (the wiremod subreddit is banned).

I didn't even know we had a subreddit, but I'm not surprised. Why was it
banned? I wouldn't be against moving to reddit. Also maybe you should put
up a single page on wiremod.com explaining that it'll be back up after an
update or something.
On Thu, Jun 23, 2016 at 6:57 AM, CoreyLee Hassell<EMAIL_ADDRESS>wrote:

I'm well aware of the website shenanigans going on lately. I've been given
full access to everything now, and are going through a number of system
upgrades, security changes, and cleanup.
Wiremod.com might be down for a little while, as I am also juggling other
things. There's a lot of work to be done.
I wanted to move things to reddit, but the reddit admins are too busy with
other things (the wiremod subreddit is banned).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/wiremod/wire/issues/1164, or mute the thread
https://github.com/notifications/unsubscribe/ABaroLlW36gSZ6E2IuCmLhaLoB39ANheks5qOhImgaJpZM4I8dCm
.

Yeah, even a basic server that just displays an error or a link to here would be better. I personally don't think moving would be a good idea, I like having both if that's an option as I'd primarily stay on the wiremod forums.

The advantage of moving is that it would cost less

And it wouldn't need to be babysat.
The server is OFFLINE at the moment. As said, it's been hacked, and we don't need people getting infested with anything.

In the meantime, where can we get help for our codes? :)
I've been using google cache, but it doesn't always work

It's been hacked? Is there any risk of the password hashes being leaked currently?

Considering how long it's been in that state, it's probably best if you assume that your passwords were leaked, not just the hashes.
@Anticept you should make an announcement about that really soon.

@TomyLobo tbh nobody should be using the same password on our forum as elsewhere. Right now I'm in the middle of a purge.

@Kadah Tad, your account got comp'ed on wiremod. I've revoked permissions and banned for now.

Alright I did a massive amount of work today on all of this. Really need to get things moved over to reddit!

Anything you found in the access logs that are of interest?

I mostly log in through Steam, but I occasionally login directly. Were our passwords hashed? Were they stored anywhere in plaintext (besides memory to process login requests for example)? What hashing algorithm was used?

@chinoto Yes the passwords were most likely hashed, but you should, at this point, assume that they have captured your plain text password from your last login.

I just noticed wiremod.com is down again. A close friend of mine who knows way more about html than I do has converted my post on the site regarding the hack to an HTML document. I also managed to save old sourcecodes of the websites I mentioned just incase they are ever deleted, as well as I managed to snag who I THINK MAY be satori. Just extract the zip and all the html documents can be run in chrome.
wiremod site hack events.zip

@chinoto
Passwords are hashed with whatever is standard with vBulletin.
No matter how secure a site is, you don't know when they are hacked unless someone announces it (be it the hackers or the staff). And that's for stolen databases that they find evidence... what about the undiscovered thefts? Or, what about the sites that store in plaintext, be it from incompetence or malicious intent by the owners?
Anyways, I took the site offline again because I'll have to comb the database. I strongly suspect an SQL injection took place. When I was given access to the servers, I noticed some things were out of date, and a couple things had a major known exploit.
With this level of access, I can also start bringing more admins in from the wiredevs. I don't feel like I'm qualified enough to do this alone.

Why wasn't a backup made immediately after the first hack?

@oldmud0 what "first hack"?
If you mean the one that had already taken place, I noticed I missed some of it and took the site offline again.

Aaand we're back online folks. Cheers to the Github team for restoring us :D

All our repos look like they were forked from other people's repos now though (see https://github.com/wiremod). Hoping github support can fix that.

Yey, we're back in business!

Also, most of the updates were done. I've asked github support to fix the forking indications.
Please be aware: NO ONE will be given any elevated privileges above push and pull if 2FA isn't turned on. In fact we're pretty much implementing this policy globally where supported.

Congrats :)

#HAX

Fork history should be fixed. If anyone sees anything else that is wrong, let me know!

@Anticept yeah where's reddit lololo

I just found a terrible email misconfiguration.
Fixed.

I need to be updated on something.
How did updates get pushed to the workshop lately? And, was there still a problem with pushing advdupe2? I vaguely recall someone messaging me about that some time ago.

There haven't been any updates pushed to the workshop lately, the last one was in March I think. I remember something a long time ago about Divran having to tell you every time you want it updated and that the bot that's supposed to upload automatically to Workshop doesn't work. (Wouldn't it be better to use tags?)

Afaik @FaronFox fixed it, though considering the recent events it might be broken again

What's it written in anyway? Java?

So does this mean everything is fine? When will Steam login work again on the forum?

Btw, I'm a PHP, JS, and SQL developer and have been very interested in security (and performance) related things, so I might be able to help out with something. Also getting into python and maybe ruby (syntax feels funny).

So does this mean everything is fine? When will Steam login work again on the forum?

http://wiremod.com/forum/showthread.php?t=35813&p=293459&viewfull=1#post293459

Alright. I might be willing to maintain the forum and have my dad host it at his datacenter if there is enough interest in doing so, hell, I might do so anyway. Would Anticept be the right person to talk to about this since he's been working on fixing things up?

no, he seems pretty clear on moving to reddit, he probably won't let anyone take control of the forums

It's a licensing issue with vB, and the domain is held by someone who hasn't been involved with wiremod in almost 10 years. I'm still trying to get that from him.
Anyways, continuing to run a forum isn't a bad idea, but if someone wants to implement OpenID signins (steam, facebook, google, twitter, etc), then that would certainly be reasonable to continue the project off reddit.

Nobody uses OpenID anymore. OAuth2 is the fad now

Anticept: If I can get a copy of the database, I can just port it to another forum software or make my own (I need projects for my portfolio anyway).
oldmud0: I don't think anyone ever really used it in the first place, I will probably consider it as an option anyway. I think I will only allow one external authorization service per user to avoid letting accounts be overly vulnerable.

@oldmud0 whatever they are :-D

Wiremod reddit: https://www.reddit.com/r/wiremod

@AbigailBuccaneer I can add you to mod if you link me to your reddit profile and confirm your password is significantly different from wiremod.com

@Anticept i'm -abigail on reddit, my reddit password is unique strong and randomly generated, and I can't currently access my Wiremod account as none of the email addresses I've used in the last six years are recognised.

@chinoto we might have to talk sometime.
Thing is the domain is still owned by a guy who is from the beginning of wm, but hasn't messed with it in years. Trying to get the domain.

@Anticept My username on Reddit is Jaxo37, it's new account and the password is different from the one on wiremod.com

@Anticept I'm TomyLoboEU for now...
Some impostor created TomyLobo 9 months ago and did exactly nothing with it.

@TomyLobo check your reddit PMs

@Anticept Can you keep a database dump around? If it's MySQL, then using the mysqldump command should be more than enough. I want to make an archive reader so that we don't lose all the knowledge that the forums collected.

@chinoto that was the plan, but looks like the guy who was paying the bills decided to nuke it all. Even the backups. It's all gone.


Spanish translation

@karianna would you please ping me when new phrases are added? Will be difficult to keep them updated otherwise.
Btw, I'm about to complete the Spanish translations of the website again.

Hmmm, Localise does email me, when I last logged in I actually approved a bunch.  I need to figure out how to get Localise to email you and the other contributors instead.


Fix edit on github links and support off site links

@mridgway @jedireza
Looks like the Edit on Github link was lost in the refactor. Also, added Routing to the guide section which points to the readme for now. Wanted to have something that pointed to the new library.

CLA is valid!

Coverage remained the same at 92.94% when pulling e712b7e0d63f11b1cf24da90051f054deaa85b87 on misc into 537ddb85382cecd3d94716c1d7c11ee068d36764 on master.

:shipit: on a :ship:


Add doc strings to PowerLaw rates to explain the factor of (h/0.7)**3

The rate in PowerLawsRates is in units of (h/0.7)**3  as this is how the rates are usually quoted. This should be clarified in the doc strings.

Also fixed in PR #30


Improve test reliability

Changelog Entry
(No changelog for test changes)
Description
Improve test reliability.

[x] I have added tests and executed them locally
[x] ~I have updated CHANGELOG.md~
[x] ~I have updated documentation~

Review Checklist

This section is for contributors to review your work.

[x] ~Accessibility reviewed (tab order, content readability, alt text, color contrast)~
[x] ~Browser and platform compatibilities reviewed~
[x] ~CSS styles reviewed (minimal rules, no z-index)~
[x] ~Documents reviewed (docs, samples, live demo)~
[x] ~Internationalization reviewed (strings, unit formatting)~
[x] ~package.json and package-lock.json reviewed~
[x] ~Security reviewed (no data URIs, check for nonce leak)~
[x] Tests reviewed (coverage, legitimacy)

@corinagum Prefer to get this through sooner because it is semi-blocking other PRs. Semi-block = need to rerun a few times.


codecov updated token

I think we can increase code coverage to 5%. This 1% is bit insane.

Because of @giovannipizzi comments I would put it to 98.5% to not allow too much slack. But it is also not part of this PR to write the tests for earlier PRs.

Ok


Improve symbol search on .tsx files

Check for existing issues

[X] Completed

Describe the feature

It's incomplete.
How it should be on this file:

Hi, thanks for the report. I'll just add a link to the repository in question for my fellow colleagues: https://github.com/learn-anything/learn-anything.xyz/tree/main


Modal page updates

Replaced some images with outlined images.

Tugboat has finished building the preview for this pull request!
Link:

https://pr97-xxhox6mpyq24ajbiu6gllovxjlyf29ca.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/5f85e9fef59f15a8f6f2c19f

Tugboat has finished building the preview for this pull request!
Link:

https://pr97-xxhox6mpyq24ajbiu6gllovxjlyf29ca.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/5f85e9fef59f15a8f6f2c19f

Tugboat has finished building the preview for this pull request!
Link:

https://pr97-xxhox6mpyq24ajbiu6gllovxjlyf29ca.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/5f85e9fef59f15a8f6f2c19f


CloudRobot.getCleaningSessions() results in KeyError: cleaningSession

See https://github.com/Ekman/home-assistant-pure-i9/issues/10

Using Postman I found some cleaning sessions looking like this:
[
    {
        "id": "obfuscated",
        "sessionId": 1337,
        "timeStamp": "2021-11-20T14:14:39",
        "cleanedArea": 18.87,
        "totalLifetimeCleanedArea": 10318.514
    }
]

I've uploaded version 0.0.9 which attempts to fix this by changing cleaningsession.starttime to cleaningsession.endtime. The endtime is available in every item, the start time is not. Also this means the cleaningDuration will not be available in all items. Please check it out if it works for you since i couldn't test it on my account.

Thanks! I'll test and report back.

I'll assume this works as intended and close it for now.