Route parameters in array

I apologize for my naiveté if this is a noob question, but is there a reason why this.params is an array instead of an object?
Seems like the only way to deal with it is as an object (it’s internally treated as such as well)... So why not just make it one?
It’s currently a bit annoying say, for example, when I stringify the params for logging, the keys and values don’t show up:
JSON.stringify(this.params) // []

Instead I have to do this:
function arrayToObject(array) {
  return Object.keys(array).reduce(function(o, key) {
    o[key] = array[key]
    return o
  }, {})
}
JSON.stringify(arrayToObject(this.params))

+1

Furthermore, this Array is not usable other than accessing directly the properties.
It cannot be iterated because it is an Array (e.g. lodash returns true for _.isArray()) but it always has a length of 0.
Example:
// supposed that this is the case
this.params === [ account: 'me123' ]
// then
_.isArray(this.params) === true
// and at the same time
this.params.length === 0

Which means that calling map() or forEach() on this.params does not work. I have yet to find a way how to access what is stored in this "Array" whithout knowledge of the specific parameters.
(I stumbled over this because I'm trying to implement a generic white filter.)

The new 4.0.0 release separates these two into ctx.params (map of named params) and ctx.captures (array of regexp captures) respectively.

Awesome! Thanks, @alexmingoia.


Avoid "Auto Draft" titles and permalinks

Bug Description
The "Auto Draft" placeholder should be removed when saving stories, otherwise we get "Auto Draft" titles and "auto-draft" permalinks.
Expected Behaviour

Go to wp-admin/post-new.php?post_type=web-story to create a new story
Publish the story without making any changes
The story's title should be empty and the slug is just the story's ID

Steps to Reproduce

Go to wp-admin/post-new.php?post_type=web-story to create a new story
Publish the story without making any changes
See that the story's title is "Auto Draft" and the slug is "auto-draft"

Screenshots

Additional Context

Plugin Version: master
Operating System:
Browser:

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Implementation Brief

FYI @o-fernandez

@o-fernandez  - mirror what WP does with posts without titles.

We expect that the pre-publish checklist will also help prevent this from happening.

Verified in QA


Value not being set

Describe the bug
On my example the version value is not being set. Instead the default value is used.
Your environment

Fixture Monkey: 0.6.3
Java 17

Steps to reproduce
https://github.com/esfomeado/fixture-monkey-bug/blob/master/src/test/java/com/example/bug/FixtureMonkeyTest.java#L68
Expected behaviour
Should set the value
Actual behaviour
Does not set the value

@esfomeado
It is fixed in 0.6.4. Please check it out!

It works thanks


Lil Design Update Request List

[x] Center title
[x] Reduce size of title slightly
[ ] Different title colour background (?)
[x] Add padding between tabs and tab content (plots, dropdowns etc) for both tabs
[ ] Reduce size of line breaks on tab1
[ ] Add padding between radiobuttons

Ewwww... you want to centre the title?  That's gross.

I've come around to the idea of centred titles.


The performance difference when target domain is  Clipart on office home dataset.

Hi！
Recently, when I was running your method, I encountered a problem. When I used baseline, the performance of all tasks whose target domain is Clipart decreased greatly. Can you help me solve this problem? It's more important to me.

Hi, thanks for you interest in our work.
Do you mean that you can get reasonable performance on other tasks? Clipart is the only exception?

Right, I encountered this strange phenomenon. Can you give me some advice？

You only changed the batch size? Can you exactly follow the hyper-parameters as I used?

@viyjy. I reduced the bs to 32 and adjusted the input resolution to 224. Other hyperparameters are completely set by default

why do you make these changes? Have you tried the command line in script?

I need to control the consumption of GPU memory below 24g, so I use this setting.

can you also decrease the lr by half and see what happens?

Let me test whether it is feasible to reduce the learning rate

I'm sorry to reply to you so slowly because recently there was a problem with our GPU server device. First, whether the learning rate is increased or decreased, the results obtained on the task whose target domain is clipart are reduced.
Could you spare time to test locally and share the training log with me? The specific settings are as follows:
--img_size 224 --train_batch_size 32 --beta 0.1 --gamma 0. --use_im --theta 0.1


How to export logs on grpc endpoint?

According to the Official OpenTelemetry Website , if I set OTEL_EXPORTER_OTLP_ENDPOINT env, it will apply to all OTEL_EXPORTER_OTLP_TRACES_ENDPOINT, OTEL_EXPORTER_OTLP_METRICS_ENDPOINT, OTEL_EXPORTER_OTLP_LOGS_ENDPOINT, but this crate seems to apply to only OTEL_EXPORTER_OTLP_TRACES_ENDPOINT as shown on startup, I wanna export Axum logs to OpenTelemetry Collector endpoint, which is then exported to Loki.
I could do this in Actix Web using opentelemetry_appender_log crate, I wonder how to achieve this in Axum?

I could do this in Actix Web using opentelemetry_appender_log crate, I wonder how to achieve this in Axum?

Currently, I don't know. I'll look at how actixweb does (I'm also interested, but currently I used a dedicated agent fluentd/fluentbit for logs). And last time I look at opentelemetry on rust, metrics was is beta iirc, and logs in alpha or not supported. From Rust | OpenTelemetry: metrics & log are in alpha, and traces in beta.
PR is welcome, if you want to contribute.

Maybe this crate could do the work (not tested): opentelemetry-appender-tracing - crates.io: Rust Package Registry


Failed at the<EMAIL_ADDRESS>postinstall script 'tsc'.

When I update NativeScript from v3.0.3 to 3.1.1 I got error ...

Failed at the<EMAIL_ADDRESS>postinstall script 'tsc'.
Make sure you have the latest version of node.js and npm installed.

but I have node v7.6.0 and  npm  v4.1.2 ...
So How to solve it ?

I try node v7.10.0 and npm v5.1.0 and still problem ...

I have the same problem with Nativescript 3.1.2

After remove platform, update everthing ... not use tns udpate, but npm install nativescript ... it is working ... i dont know where is problem ... i cant use tns update, but trough npm it is ok ...

After remove platform, update everthing ... not use tns udpate, but npm install nativescript ... it is working ... i dont know where is problem ... i cant use tns update, but trough npm it is ok ...

@LeopoldPodmolik I tried what you suggested but I'm still getting the error. Im running node 6.11.0 npm 5.3.0 and {N} 3.1.3
sh: tsc: command not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR<EMAIL_ADDRESS>postinstall: tsc
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /**********/2017-08-22T08_35_25_035Z-debug.log
Command npm install nativescript-toolbox --save failed with exit code 1

FWIW, I just encountered this and was able to resolve it by updating NativeScript and installing TypeScript globally.

I have the same issue
npm install nativescript-toolbox or tns plugin add nativescript-toolbox get the error:
> tsc

../../app/alerts/charts/alerts-charts.ts(54,47): error TS2339: Property 'getElementsByClassName' does not exist on type
'Page'.
../../app/alerts/charts/alerts-charts.ts(76,46): error TS2339: Property 'getElementById' does not exist on type 'Page'.
../../app/shared/utils.ts(8,24): error TS2307: Cannot find module 'nativescript-toast'.
apiclient/index.d.ts(55,27): error TS2694: Namespace '"http"' has no exported member 'HttpRequestOptions'.
apiclient/index.d.ts(103,27): error TS2694: Namespace '"http"' has no exported member 'HttpRequestOptions'.
apiclient/index.d.ts(123,27): error TS2694: Namespace '"http"' has no exported member 'HttpRequestOptions'.
apiclient/index.d.ts(289,42): error TS2694: Namespace '"http"' has no exported member 'HttpRequestOptions'.
apiclient/index.d.ts(685,30): error TS2694: Namespace '"http"' has no exported member 'HttpRequestOptions'.
apiclient/index.d.ts(853,19): error TS2694: Namespace '"http"' has no exported member 'Headers'.
apiclient/index.d.ts(897,20): error TS2694: Namespace '"http"' has no exported member 'HttpResponse'.
apiclient/index.d.ts(908,27): error TS2694: Namespace '"http"' has no exported member 'HttpRequestOptions'.
apiclient/index.d.ts(1260,27): error TS2694: Namespace '"http"' has no exported member 'HttpRequestOptions'.
apiclient/index.d.ts(1297,27): error TS2694: Namespace '"http"' has no exported member 'HttpRequestOptions'.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\nativescript\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any
"} (current: {"os":"win32","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>postinstall: `tsc`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Nothing helps...

Just updated nativescript to 4.0.0 and am getting the following error.  Any solutions to this?
1145 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS:    darwin 1145 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch:  any 1145 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS:   linux 1145 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: x64 1146 verbose stack Error<EMAIL_ADDRESS>postinstall:tsc1146 verbose stack Exit status 1 1146 verbose stack     at EventEmitter.<anonymous> (/home/bear/.nvm/versions/node/v8.9.0/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:283:16) 1146 verbose stack     at emitTwo (events.js:126:13) 1146 verbose stack     at EventEmitter.emit (events.js:214:7) 1146 verbose stack     at ChildProcess.<anonymous> (/home/bear/.nvm/versions/node/v8.9.0/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14) 1146 verbose stack     at emitTwo (events.js:126:13) 1146 verbose stack     at ChildProcess.emit (events.js:214:7) 1146 verbose stack     at maybeClose (internal/child_process.js:925:16) 1146 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5) 1147 verbose pkgid<EMAIL_ADDRESS>1148 verbose cwd /home/bear/dev/app90dr 1149 verbose Linux 4.13.0-39-generic 1150 verbose argv "/home/bear/.nvm/versions/node/v8.9.0/bin/node" "/home/bear/.nvm/versions/node/v8.9.0/bin/npm" "install" "nativescript-toolbox" "--save" 1151 verbose node v8.9.0 1152 verbose npm  v5.8.0 1153 error code ELIFECYCLE 1154 error errno 1 1155 error<EMAIL_ADDRESS>postinstall:tsc`
1155 error Exit status 1
1156 error Failed at the<EMAIL_ADDRESS>postinstall script.
1156 error This is probably not a problem with npm. There is likely additional logging output above.
1157 verbose exit [ 1, true ]
`

same problem here.

So this hasn't been figured out yet? same issue here on nativescript  6.0.2

Same Here:
##[debug]INPUT_SCRIPT: 'tns install --release'
Generating script.
##[debug]AGENT_VERSION: '2.160.0'
##[debug]AGENT_TEMPDIRECTORY: 'd:\a\_temp'
##[debug]Asserting container path exists: 'd:\a\_temp'
##[debug]Asserting leaf path exists: 'C:\windows\System32\WindowsPowerShell\v1.0\powershell.exe'
========================== Starting Command Output ===========================
##[debug]Entering Invoke-VstsTool.
##[debug] Arguments: '-NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'd:\a\_temp\0f41a969-96cc-4f5c-8757-8bdd1ad3b9aa.ps1'"'
##[debug] FileName: 'C:\windows\System32\WindowsPowerShell\v1.0\powershell.exe'
##[debug] WorkingDirectory: 'd:\a\1\s'
##[command]"C:\windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'd:\a\_temp\0f41a969-96cc-4f5c-8757-8bdd1ad3b9aa.ps1'"
Command npm.cmd failed with exit code 1 Error output:
 npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>postinstall: `tsc`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\npm\cache\_logs\2019-11-12T00_32_51_192Z-debug.log

##[debug]$LASTEXITCODE: 127
##[debug]Exit code: 1
##[debug]Leaving Invoke-VstsTool.
##[error]PowerShell exited with code '1'

Try and run tsc on its own, you may have some errors in your project.
In my case I was trying to install nativescript-toolbox whilst I had some bad code (I removed a library then immediately tried to install nativescript-toolbox).
Fixing my code then re-running the install worked for me.


atom -n false FILEPATH does not work

Atom: 1.37.0
OS: Lubuntu 18.04.2
Steps to reproduce:

open an atom window
open a shell
execute atom -n false FILEPATH

Actual result: file in FILEPATH is opened in a new window
Expected result: file should be opened in the already opened Atom window

After a restart it worked. Oh well...


Create release pipeline for operator-controller

In order to create the release pipeline for OLM v1, each component needs its own release pipeline, including the operator-controller.
Acceptance criteria:

github release action is created for operator-controller
operator-controller can be installed from the resulting quay image

Addressing in #133

Closed with #133


Circle radius not set upon initialization

When creating a circle, the radius of the resulting annotation is 4 degrees no matter what radius I put in the original call (circle = wwt.add_circle(center, radius=...)). Changing afterward through circle.radius = ... works, but it would be good if this extra step wasn't necessary.

I don't know if it was checked earlier, but this doesn't happen for me anymore. There's no difference in size between pixels and degrees, though.

I'm going to close this as the issue about radii is discussed here: https://github.com/WorldWideTelescope/pywwt/issues/115


NoMethodError (private method `format' called)

Steps to reproduce
I have a very simple component like
class ActivityEntryComponent < ViewComponent::Base
  with_collection_parameter :event

  def initialize(event:)
    @event = event
  end
end

which is rendered in both views and in a controller action to load more activities. The rendering from the view is working, but after I've upgraded to rails 6.1 (and view component 2.23) the rendering from the controller is returning that it's calling the private format method.
The controller is also very simple
class ActivitiesController < ApplicationController
  def index
    # fetch paginated events

    render<EMAIL_ADDRESS>  end
end

Expected behavior
It should render the component without any error
Actual behavior
NoMethodError (private method `format' called for #<ViewComponent::Collection:0x000055b3b4c5af68>):

app/controllers/activities_controller.rb:15:in `index'

System configuration
Rails version: 6.1.0
Ruby version: 2.7.2
Gem version: 2.23.0

@xdmx Thanks for reporting this issue! Would it be possible to open a PR with a failing test for us to look at?

Is this the same as #156?

I can't at the moment as I'm bit busy on the whole rails 6.1 upgrade and other work stuff. I believe it's just a matter of making sure that render SomeComponent.with_collection works from a controller in rails 6.1, as I don't have any specific complex setup (mainly standard rails and gem config).
Let me know if you could get the chance of debugging it out, otherwise I'll try to write a more complete example when I get some time.

Just did another quick try and render ActivityEntryComponent.new(event: event) from the controller works, but render ActivityEntryComponent.with_collection(events) doesn't (format error).. while render inline: ActivityEntryComponent.with_collection(events) renders #, so it seems that the problem is on the render itself, not the with_collection (or maybe both of them used together).
Just as a note, I also disabled the layout in the controller with layout false

Just hit this bug when upgrading to Rails 6.1. My current workaround is unfortunate, but working:
render inline: view_context.render(Spina::MediaPicker::ImageComponent.with_collection(@images))

Thanks for the report folks! I'm going to take a look at this one now ❤


Quickfix for new URL structure in Coolrom's direct download link

Coolrom direct download URL structure
I guess Coolrom changed it's direct download URL structure, which caused the parser to crash with an index out of bounds exception on line 93 (accessing element [1] on null). This is a quickfix, but might as well contribute (:

Seems legit


Allow rolls to be rerolled with a luck token

Maybe a simple thing where if you right-click in the chat you can have the option to reroll a roll using a luck token. If you want to be even more fancy have the token removed from the persons sheet after doing it

So quoting the relevant rules here to ensure that we capture everything correctly.

Each player can only have one luck token at a time.
You can cash in a luck token to reroll any roll you just made. You must use the new result.
You can also give your luck token to a companion.

Item 1 is covered by the UI right now (it's a checkbox).
There's no specific timing restriction here. It doesn't say "re-roll before the DM has revealed the results". So we should be able to safely use the chat boxes for Item 2. In fact, the chat boxes also make Item 3 possible.
One complication here. Some chat cards actually have multiple dice rolls. For example the attack is both an attack and a damage roll. So I think we need to upgrade the "attack card" with the option to re-roll either.
@Ulitmatex : does that cover your expectations for the feature?

Bonus content: There's also "pulp mode" (page 111) that modifies this pretty significantly. I think we should assume this is a separate feature.

@gatesvp Kelsey clarified that luck can never be used on leveling up. Those are not "in game rolls" they are mechanically different than say an attack roll or test. She was directly saying allowing luck on HP rolls would be in poor spirit as advantage HP rolls is a large part of the dwarf ancestry.

So I have done some quick work on this over the summer and it's kind of messy.
I have a version of the code that handles requirement 2: cash in luck to re-roll. I have some screenshots below, it correctly executes a re-roll and even updates the color of the box to show that luck was applied.

However, the problem I predicted is indeed an issue. We have a few different types of cards and they're not really tagged in any way. Each of these contains a specific value that is shown, so I can't simply "re-roll" the card entry, I need to reconstruct the card with new data. But I don't know what card type I'm trying to reconstruct, because we didn't tag it.
For now, I'm going to pause this work and see if I can sort out the tagging for each roll type. This will help with both luck and with future automation.

+1


[BenchmarkService] Will the full test code be released?

Describe your question
I noticed that only the importData functionality is tested in the benchmark currently, and I was wondering if the full test code will be released to we students to verify the correctness of the program? Thanks.

@Linly1080 can you push up the process?

Sorry for bothering, I wonder if there's any news for releasing full test code? Thanks~

it's expected to be released tonight
i've been writing std program + test script + data generator for two whole days and need an urgent sleep, though that wasn't my job :(

We really appreciate your hard work, thanks a lot (ˊᗜˋ)/ᵗᑋᵃᐢᵏ ᵞᵒᵘ*

@sses7757 will do some final checks and merge the benchmark branch to main soon.
some new data have been uploaded to http://<IP_ADDRESS>/


Is it possible to use an animated sprite on a tile within the tileengine?

I noticed that Tiled editor does have the option to create animated tiles, but when I create one and use it within the tileengine, it is not animating it

I didn't know Titled had an option for animated tiles. That's pretty cool. Currently Kontra does not support that, but I can look into it.

That would be awesome!! Looks like when you create an animated tile, it exports it in the json like this (inside the tilesets object):
 "tilesets":[
        {
         "columns":8,
         "firstgid":1,
         "image":"tilesheet.png",
         "imageheight":256,
         "imagewidth":256,
         "margin":0,
         "name":"tilesheet",
         "spacing":0,
         "tilecount":64,
         "tileheight":32,
         "tiles":[
                {
                 "animation":[
                        {
                         "duration":300,
                         "tileid":9
                        },
                        {
                         "duration":300,
                         "tileid":17
                        }],
                 "id":33
                }],
         "tilewidth":32
        }],


[StyleCop] Fix warnings in ApplicationInsights projects

Note: This PR is related to #1429 and must be merged after it.

Fix spacing
Add trailing comma
Fix documentation

Replaced with #1489


[Release] sdk/resourcemanager/appcomplianceautomation/armappcomplianceautomation/1.0.0

https://github.com/Azure/sdk-release-request/issues/5246

Hold on until Jun 27th.


Max Possible Neurons in new network is sometimes not shown.

Describe the bug
I cannot yet find the exact root cause of this, but I have noticed on several occasions that even though the memory counts are there, the "Max Neurons Possible in RAM" value is sometimes not shown.
Application: Brain Simulator
Module/Network: new network
To Reproduce
Steps to reproduce the behavior:

Play around with the Brain Simulator repeatedly creating new networks, etc.
At some point you will notice the mentioned fields value disappearing.

Expected behavior
The value should always be there, since it only depends on local memory consumption.
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: Windows 10 Pro  20H2
Version 2021-04-19 master

Add any other context about the problem here.

I can fix this…if the number has to many wide digits, it won’t fit in the textbox window.
Charlei
From: Andre Slabber @.>
Sent: Monday, April 19, 2021 12:25 PM
To: FutureAIGuru/BrainSimII @.>
Cc: Subscribed @.***>
Subject: [FutureAIGuru/BrainSimII] Max Possible Neurons in new network is sometimes not shown. (#87)
Describe the bug
I cannot yet find the exact root cause of this, but I have noticed on several occasions that even though the memory counts are there, the "Max Neurons Possible in RAM" value is sometimes not shown.
Application: Brain Simulator
Module/Network: new network
To Reproduce
Steps to reproduce the behavior:

Play around with the Brain Simulator repeatedly creating new networks, etc.
At some point you will notice the mentioned fields value disappearing.

Expected behavior
The value should always be there, since it only depends on local memory consumption.
Screenshots
If applicable, add screenshots to help explain your problem.
[no_value]https://user-images.githubusercontent.com/11266191/115291926-9dffa100-a155-11eb-96b1-ba26a921897b.jpg
Desktop (please complete the following information):

OS: Windows 10 Pro 20H2
Version 2021-04-19 master

Add any other context about the problem here.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/FutureAIGuru/BrainSimII/issues/87, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALP7S7TGVSU7IGAU3RAERPLTJR7RFANCNFSM43GQEQKA.

New network dialog was changed, now has enough space for the value.

Shortened labels so more room for values.


MXNet throw 'vector iterator not dereferencable' error in DEBUG version

When I try to debug MXNet with lstm bucketing example(and I tested some others) by vs2013,
MXNet throw 'vector iterator not dereferencable' error in DEBUG version,
but it does not occur in RELEASE version.
The error is from function
'GraphExecutor::CachedSegOpr GraphExecutor::CreateCachedSegOpr' at 1086 line
I use the test code at this link:
https://github.com/dianyancao/mxnet/blob/master/example/rnn/lstm_bucketing.py
How to fix this error?

@tqchen

I have the same problem while compiling with OpenBLAS on windows, but with MKL it's fine.

Thanks to https://github.com/dmlc/mxnet/issues/2879,change 1084 line in 'graph_executor.cc' to
‘’‘if (wit == write_vars.end() || *wit != *rit) {’‘’ will fix this error.@horsepurve


Make error reporting resilient to exception thrown while reporting

Previously the added test failed with 1 error reported but no actual error message printed, because a stack overflow is thrown while reporting the original error. This is then caught and handled to emit a RecursionOverflow error, but that second error is non-sensical and non-sensical errors are only printed if hasErrors returns false.
We fix this by deferring incrementing the error count (and therefore having hasErrors return true) until after having displayed the error. We also defer calling markReported otherwise the second error will also be suppressed. A similar change is necessary in our testing infrastructure to keep the error count is coherent.

would this fix let me revert this commit? https://github.com/scala/scala3/pull/20139/commits/5aca2dac3292d9e5a1f12b07d53cb70905d8c560

Hmm, I don't know but I would guess not.


[PE-D][Tester D] remove command ignores the day input

User has a lesson on Monday, but if i run the command to remove the lesson for supposedly Wednesday, the command will go through and the Monday lesson is removed.

Labels: type.FunctionalityBug severity.Medium
original: tyw2811/ped#15

fixed in #180


All jest test suites failed after adding @pdfme to the project

Hello,
I added this fantastic package into my project. Everything went smooth until I proceed to testing. When I ran jest tests, this error showed as a result of every suite. Any solution?

@zowebs
Hi! Thank you for your report.
I'll check this problem.
If you can please share minimal reproduction.

Ref https://github.com/pdfme/pdfme/pull/62


*: Add mathematical projections

After this, we can remove the average aggregation and instead have a logical optimizer that replaces an average expression with sum(col) / count(col) as avg(col).
This is also some groundwork, so we can perform count * period calculations in Parca, which is required so we can compare profiling data with different periods.
@thorfour @asubiotto

It would be even better if hybrid computing could be supported in the future.  example: a * b / c

Can you elaborate what you mean by that and how that's different from this PR?

now forstdb only support simple mathematical operations，not support complex calculations，taking aggregation as an example:
select sum(value) as value_sum, t count(value) as value_count , avg(value) as value_avg group by labels.label2
the above query is not allowed, because avg implicitly converts to sum and count functions, resulting in aggregator conflicts（column name）
Perhaps frost db needs to have its own Data Definition Language to analyze data in order to be applied to more data analysis fields, similar to the following SQL expression:
SELECT
SUM(IF(status != 200, 1, 0)) AS errors,
SUM(IF(status = 200, 1, 0)) AS success,
errors / COUNT(server) AS error_rate,
success / COUNT(server) AS success_rate,
SUM(response_time) / COUNT(server) AS load_avg,
MIN(response_time),
MAX(response_time),
path,
server
GROUP BY
server,
path
HAVING errors > 0
ORDER BY
server ASC,
load_avg DESC

We definitely want to do this!


Print the value of Sparse Matrix as well

Dear Miss Kearney,
I have found your code via Matlab File Exchange and it works perfectly fine. But I wonder how can you print the value attached to the Sparse Matrix as well in this case as cell format.
Thank you Miss for your time and concern reading my email,
Sincerely,

Do you mean you want to return the edge values/weights associated with each path?  To do that, you simply need to extract the edge index associated with each pair of consecutive nodes.
Using the same example as in the README, but with varying edge weights:
s = [1 1 2 3 3 4 4 6 6 7 8 7 5]';
t = [2 3 4 4 5 5 6 1 8 1 3 2 8]';

nnode = max(s);
nedge = length(s);

adj = sparse(s,t,1:nedge,nnode,nnode);

pth = pathbetweennodes(adj,7,8);

Now loop over each path and get the edge weights:
edgval = cell(size(pth));
for ip = 1:length(pth)
    eidx = sub2ind(size(adj), pth{ip}(1:end-1), pth{ip}(2:end));
    edgval{ip} = full(adj(eidx));
    % Note: dense sparse matrices are a waste of memory, hence we convert back to full here
end

Thank you so much for your time !!!!


FP for malicious-contract v3

Attacker - https://snowtrace.io/address/0x55faa8f9b8c5faba0444eec366cecfd78b7449b6
AD alert - https://app.forta.network/alerts/0xcf83624444748243f9c4c7c758a4a755d5da7b375533fca6f4f4de4bef86d326
Base bots - malicious-smart-contract and ChangeNow Funding
potential cause - Failed contract creation tx

@salort-forta can you please check if the issue here is to model logic?

The prediction is over the threshold, and there is funding. I think the problem is that ChangeNw funding is not inherently malicious, but we still don't have a way of grading that that is not binary


[Bug]: Direction rtl reverses y axis direction

Which variants of Embla Carousel are you using?

[X] embla-carousel (Core)
[X] embla-carousel-react
[ ] embla-carousel-vue
[ ] embla-carousel-svelte
[ ] embla-carousel-autoplay
[ ] embla-carousel-auto-scroll
[ ] embla-carousel-solid
[ ] embla-carousel-auto-height
[ ] embla-carousel-class-names
[ ] embla-carousel-docs (Documentation)
[ ] embla-carousel-docs (Generator)

Steps to reproduce
The bug occurs when I set the direction option value to "rtl"
Expected Behavior
For a vertical carousel, the functionality of the prevscroll and nextscroll should'nt be reversed if the direction is set to "rtl". The direction property should only affect the functionality of horizontal carousels.
What browsers are you seeing the problem on?
All browsers
Version
v8.0.0-rc15
CodeSandbox
https://codesandbox.io/p/sandbox/embla-carousel-y-axis-react-forked-mr4d2l?file=%2Fsrc%2Fjs%2FEmblaCarousel.tsx%3A19%2C20
Before submitting

[X] I've made research efforts and searched the documentation
[X] I've searched for existing issues
[X] I agree to follow this project's Contributing Guidelines for bug reports

@nahasco thanks for your bug report. I’ve actually seen this before so I can instantly confirm that this is a bug. I will work on this when possible.
This is a case we’re adding tests when fixing the bug will be mandatory.
Best,
David

@nahasco thanks for your bug report. I’ve actually seen this before so I can instantly confirm that this is a bug. I will work on this when possible.
This is a case we’re adding tests when fixing the bug will be mandatory.
Best, David

Thank you!
I will be following..

@nahasco please try this CodeSandbox and see if the problem is solved.
Thanks!
David

@nahasco please try this CodeSandbox and see if the problem is solved.
Thanks! David

Tested side by side in this CodeSandbox and it is perfect!
Thank you David!

Released in v8.0.1.


extensionKeys are never cleaned up

Noticed how my SQLite DB has tons of rows for these:

If an extension version uninstalls, associated storage should be deleted as well.
Besides, I don't fully understand the need for the version as part of the key, couldn't this be a JSON object within and the key left stable?

Clean up is called now on every start up to remove these outdated/non-existing keys.


Mint an video NFT

@adamsoffer Should we close this given Chase's documentation in the SDK?

Yes!


[CP] Fixes for enhanced enum and switch.

Commit(s) to merge
https://dart-review.googlesource.com/c/sdk/+/247332
Target
stable
Issue Description
In implementation of enhanced enums in the analyzer two places should be fixed:

Support for SimpleIdentifier in exhaustiveness checking in switch statements, which were not possible before, but possible now inside the enum itself.
Another switch related hint where an approximation for accessing enum constants was used (static const), but which does not work correctly for enhanced enums because there are non-enum-constant constants possible now.

What is the fix
The CL makes small fixes in the analyzer.
Why cherry-pick
Well, this causes issues for users.
Risk
low
Issue link(s)
https://github.com/dart-lang/sdk/issues/49188
Extra Info
No response

@vsmenon @athomas This is a relatively small change with mostly updates to tests, this seems like a low risk cherry pick.  Do you have an opinion on this?

Based on the low risk and complexity of this cherry-pick, I am going to mark it as approved.

This has been landed in 2.17.4.  2.17.5, with no additional changes, will be published.


Span startTime should handle decimal values for nanoseconds

Opentracing docs state that decimals for nanoseconds in start times on spans is supported: https://opentracing-javascript.surge.sh/interfaces/spanoptions.html
However we only account for microseconds and not nanoseconds in our handling of startTime see below:
https://github.com/lightstep/lightstep-tracer-javascript/blob/744a2978c457065e85ce46f7b3961276477970be/src/imp/tracer_imp.js#L275
Our satellites expect integers, resulting in an Go unmarshalling error on the satellite side when nanosecond decimals are passed in to startTime using this tracer
-- Issue brought to attention by @Rowno please add more details if I missed anything or described it incorrectly!

This also applies to Span.finish().

Thanks for opening the issue, we should be able to address this shortly.

@Rowno I've been looking into this, and we don't actually support nanosecond resolution when we ingest spans. I can make a PR that fixes the problem on the client side, but it'll just be ceil/floor on the microsecond value there.

Yeah, that's fine. It's just confusing when you point at the opentracing docs but don't fully support the spec 😅

Yeah, word, that's fair. We'll get it in for the next release.


Maintenance

Codecov Report

Merging #36 (5b748e1) into master (7fa7f2f) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 5b748e1 differs from pull request most recent head 9e10348. Consider uploading reports for the commit 9e10348 to get more accurate results

@@           Coverage Diff           @@
##           master      #36   +/-   ##
=======================================
  Coverage   98.92%   98.92%
=======================================
  Files          18       18
  Lines         558      558
=======================================
  Hits          552      552
  Misses          6        6

Continue to review full report at Codecov.

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


Update/Add lld

Tool name
lld
Tool license
Apache 2.0
Add or update?

[X] Add
[ ] Update

Desired version
Latest on Ubuntu repos
Approximate size
No response
Brief description of tool
LLD is much faster than the default GNU linker.
URL for tool's homepage
https://lld.llvm.org/
Provide a basic test case to validate the tool's functionality.
No response
Platforms where you need the tool

[ ] Azure DevOps
[x] GitHub Actions

Runner images where you need the tool

[X] Ubuntu 20.04
[X] Ubuntu 22.04
[ ] macOS 11
[ ] macOS 12
[ ] macOS 13
[ ] Windows Server 2019
[ ] Windows Server 2022

Can this tool be installed during the build?
sudo apt-get install lld

Tool installation time in runtime
No response
Are you willing to submit a PR?
No response

Hello @quyykk, we will have a look

@quyykk, due to short installation time on build and maintenance concerns, we would not like to include the tool in the image.
I will close the issue. Feel free to reach out in case of further concerns


♻ App Insights - Switch from Instrumentation Key to Connection string

https://learn.microsoft.com/en-us/azure/azure-monitor/app/migrate-from-instrumentation-keys-to-connection-strings
Pain
App insights uses connection strings now, instrumentation keys are being deprecated
Tasks

[x] switch to instrumentation keys following the docs
[x] Also investigate https://github.com/microsoft/ApplicationInsights-JS/issues/2341
[x] Update app insights packages

Thanks!

Update:
Drafted PR to switch to connection string and update packages - https://github.com/SSWConsulting/SSW.Rules/pull/1558

Also investigate https://github.com/microsoft/ApplicationInsights-JS/issues/2341

I couldn't reproduce this issue locally, didn't see any CSP violation errors

✅ All done - deployed to Production, the logs can been in Application Insights

This has been moved to #1569


qtile: add more options to NixOS module and expose unwrapped package

Description of changes

add pulseaudio to propagatedBuildInputs to fix the PulseVolume widget (fixes https://github.com/NixOS/nixpkgs/issues/165079 and obsoletes https://github.com/NixOS/nixpkgs/pull/189551)
add myself to maintainers
add more options to NixOS module (partly taken from https://github.com/NixOS/nixpkgs/pull/161087)
expose unwrapped package (to make it possible to override parts of it)

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Thanks for reviewing! I currently have an issue with testing the changes (error: attempt to call something which is not a function but a set), so this PR is not ready to merge. But it's good to know whether the diff looks good.

Thanks for reviewing! I currently have an issue with testing the changes (error: attempt to call something which is not a function but a set), so this PR is not ready to merge. But it's good to know whether the diff looks good.

Diff looks okay to me now!
For your test, what code are you trying to test with? A quick visual look doesn't reveal anything wrong to me, but I admittedly didn't try to eval it

No worries, thanks! The error was caused by a typo in an overlay. This PR is good to go!

So it turns out the staging-next merge broke qtile, so could you add a quick extra commit here to change wlroots in the qtile derivation to wlroots_0_16 to match https://github.com/NixOS/nixpkgs/commit/b60a1fef4af412cb7c456a3199bcdc25f6783c3b?
That seems to fix it

Oh, that's really weird. I've actively monitored the PRs to make sure pywlroots wasn't upgraded to 0.16 before Qtile, because they aren't compatible yet. There hasn't been a PR upgrading pywlroots as far as I can see, but somehow it happened anyway. :(
I don't know what to do now. Perhaps introducing pywlroots_0_15 like there is a wlroots_0_15?

The build failure is also reported in https://github.com/NixOS/nixpkgs/issues/221761

Everything builds correctly again now. How do you feel about merging this? :)

Everything builds correctly again now. How do you feel about merging this? :)

It looks good to me, but I was hoping @kamilchm or at least someone else who uses qtile could weigh in (since I do not)
@chvp, perhaps you may be interested in reviewing these changes? (Since you've done several bumps and changes to the qtile derivation before?)

Given that qtile was not updated, can this be backported to stable?

It looks to be backwards-compatible so I added the backport label

Oh, qtile-extras does not exist on stable so it couldn't be cleanly applied
If someone can make a manual backport I'll review it, else I'll try to make one myself tomorrow

I've gone ahead and opened the manual backport in #223464, if you would like to confirm that it works for you @leiserfg

It works fine, thanks a lot.


Upgrade Ember-CLI to 0.1.5

@bantic for you to review/merge.
Bumps the project to Ember-CLI 0.1.5. In prep for using some beta features and stable coming out in two weeks.

@mixonic looks good — I restarted the errored build at Travis. If it doesn't run cleanly this time I'll take a look at it in a bit.

yeah, errored again. I'll see if I can fix that.


Add support for modifying a song's metadata

Currently the Web Client only supports uploading album art. It would be nice if we could also change the song's metadata. I see that's already documented in the protocol section, so it makes me wonder why it's not implemented in the library.

The short answer is that developing against those apis was painful and not easily tested, so they're not maintained anymore. https://github.com/simon-weber/gmusicapi/pull/490 added support for a few fields, though it's likely broken again by now.


About Openblas

hi sh1r0:
I'm very interesting in your project.This project is very wondeful.It works very well with eigen,but it seems not work with openblas. I ran it in android, but it crashed infunction "cblas_sgemm".

hi sh1r0:
It seems using eigen in mobile is more popular than using openblas.Is eigen more efficient than openblas?

How did you get it to work? Did you cross compile the OpenBLAS library with hard float support?
I tried this outdated pre-built one before, and got that to work while it was horribly slow. Also, I'm sure that the latest OpenBLAS can be built for Android and works for being linked to executables. However, it's troublesome to be used in jni calls (might be related to this).If you or anyone has any idea about dealing this issue, please feel free to let me know.
Thanks.

AFAIK, Eigen can be simply used as a header-only library, and is quite competitive with other BLAS-like libraries (refer to the benchmark, and note that OpenBLAS is based on GotoBLAS). I'm going to say that Eigen is the best choice in all the cases, but it's a simple and great one at least in my case.

There is a specific openblas branch for "deep learning" at https://github.com/xianyi/OpenBLAS/tree/optimized_for_deeplearning?files=1

I modified the flag "-mfloat-abi=hard" to "softfp"(it came error when openblas cross compile with hard float while caffe with softfp)@sh1r0
I tried  the outdated pre-built one and https://github.com/xianyi/OpenBLAS/tree/optimized_for_deeplearning?files=1
and failed.
I wonder the way i use is ok...
I linked the libopenblas.so and produce libcaffe.so and libcaffe_jni.so.Then I use "System.loadlibrary("caffe");System.loadlibrary("caffe_jni")" to load these two library.

To use the pre-built OpenBLAS:

get this and extract to android_lib/
comment out android_lib/openblas-android/include/openblas_config.h:20
remove all *.so* in android_lib/openblas-android/lib
modify scripts/build_caffe.sh as shown below

@@ -19,7 +19,7 @@ OPENCV_ROOT=${ANDROID_LIB_ROOT}/opencv/sdk/native/jni
PROTOBUF_ROOT=${ANDROID_LIB_ROOT}/protobuf
GFLAGS_HOME=${ANDROID_LIB_ROOT}/gflags
BOOST_HOME=${ANDROID_LIB_ROOT}/boost_1.56.0
-export OpenBLAS_HOME=${ANDROID_LIB_ROOT}/openblas
+export OpenBLAS_HOME=${ANDROID_LIB_ROOT}/openblas-android
export EIGEN_HOME=${ANDROID_LIB_ROOT}/eigen3

rm -rf "${BUILD_DIR}"
@@ -40,7 +40,7 @@ cmake -DCMAKE_TOOLCHAIN_FILE="${WD}/android-cmake/android.toolchain.cmake" \
   -DUSE_LMDB=OFF \
   -DUSE_LEVELDB=OFF \
   -DUSE_HDF5=OFF \
-      -DBLAS=eigen \
+      -DBLAS=open \
   -DBOOST_ROOT="${BOOST_HOME}" \
   -DGFLAGS_INCLUDE_DIR="${GFLAGS_HOME}/include" \
   -DGFLAGS_LIBRARY="${GFLAGS_HOME}/lib/libgflags.a" \

re-build caffe

On the other hand, regarding the master or optimized_for_deeplearning branch of OpenBLAS, hard float support is required. And as I said, it works for native executables but not for jni libs. If you want to build this project with hard float support, you can simply set the flag in the shell export ANDROID_ABI="armeabi-v7a-hard with NEON" and re-buid everything.

Thank you very much@sh1r0. It worked with OpenBLAS-0.2.15.tar.gz when I had compile all dependencies with hard float support, with your help. But it seemed to show that using openblas is more faster  than eigen in the forwarding of caffe model( 400-800ms faster). I thought may the version eigen is 3.2.5 and it was not the latest,but the openblas was the latest.
Later ,I'll test this using the latest eigen.
For all ,thanks.

I used the latest version of eigen (3.2.7), but got the same result...  I wonder some flag (like "neon" etc) need to be set to eigen when  compiling caffe with eigen.

Hi @wuxuewu , good to know that. Do you mean that you have succeeded in getting jni work with hard float? Could you share experience? Thanks.
BTW, I think the version of eigen might be minor to performance. :p

@wuxuewu
I tried to run the cpp_classification example on my phone, and simply used time to do simple benchmarks. The results below are the best three of each build (both are built by armeabi-v7a-hard with NEON).
=======  OpenBLAS  ======
0m10.57s real     0m4.76s user     0m4.83s system
0m10.68s real     0m4.35s user     0m4.81s system
0m11.03s real     0m4.46s user     0m4.73s system

=======   Eigen    ======
0m10.99s real     0m3.48s user     0m3.48s system
0m10.85s real     0m3.30s user     0m3.70s system
0m10.38s real     0m3.58s user     0m3.18s system

Hi sh1r0:
Yes, I have succeeded in getting jni work with hard float. Just followed your instruction in the build.sh with all compiling with " armeabi-v7a-hard with NEON " .
The results above you showd seems that openblas is a bit slower than eigen, I did not try the cpp_classification example.(what's the version of openblas and eigen you used ?)
I use the caffe lib with openblas and eigen in the caffe-demo-for-android project, and the caffe_mobile.cpp print  logs are below,and i test several times while the results did not change.
===== Eigen ========
Prediction time: 2043.39ms
===== OpenBLAS =====
Prediction time: 1458.48ms
note: caffe model, and cpu mode, eigen 3.2.7, OpenBLAS 0.2.15
sorry, i want to know if the eigen should to be compiled alone or if setting some compile flag for eigen in the build_caffe.sh?

Hi @wuxuewu ,
Wow, that's weird. First, I use OpenBLAS v0.2.15 and Eigen v3.2.5.
Second, did you use the build_openblas.sh to build?
In my experience, armeabi-v7a-hard with NEON is okay for building everything. However, during runtime, the results are totally wrong. Could you provide some of your prediction results by jni calls?
For the last question, the answer is no. There is no need to build eigen alone.

Hi sh1r0,
I used to test the openblas and eigen with two mobile I have (A and B),and got results below:
phone A                           phone  B
---------- openblas - 8 ----------
502ms                                1330ms
458ms                                1280ms
584ms                                1530ms
4168ms                              1400ms
4822ms                              1420ms
------------openblas - 4 -----------
409ms                                1300ms
445ms                                1490ms
385ms                                1410ms
385ms                                1360ms
376ms                                1410ms
365ms                                1340ms
367ms                                1440ms
------------- eigen  -----------
539ms                                2170ms
526ms                                2100ms
535ms                                2160ms
564ms                                2220ms
551ms                                2160ms
528ms                                2210ms
537ms                                2140ms
phone A:  AArch64, android 6.0,  8 core
phone B: Armv7 rev 1, android4.4.2, 4 core
(phone C: Armv7 rev 5, android4.4.2, 8 core. results same as phone B)
openblas - 8: compile with TARGET=ARMV7 USE_THREAD=ON NUM_THREADS=8
openblas - 4: compile with TARGET=ARMV7 USE_THREAD=ON NUM_THREADS=4

I count the time with the following change in caffe_mobile.cpp, because I found predicting on phone A the function "clock()" was not precise.The log output was "Prediction time: 3900ms" while I saw the app returned results less than one second. So I used the following way to count the time.(The log would output and could get the time in the window logcat of eclipse)
"
VLOG(1)<<"wxw";
const vector<Blob*>& result = caffe_net->Forward(dummy_bottom_vec, &loss);
VLOG(1)<<"wxw";
"

Hi @wuxuewu , it seems that your prediction results are correct? I mean, for example, caffe/examples/images/cat.jpg is classified as tabby cat (top-1), right? Could you provide your script for building OpenBLAS? It'll be great to integrate it.
Regrading Forwarding time in caffe_mobile.cpp, I think it counts the real cpu time (sum up all your multi-core cpu time) rather than the wall time, I'll try to fix this.
Thanks.

Hi @sh1r0 :
the script of building OpenBLAS is below:
"
#!/usr/bin/env sh
if [ -z "$NDK_ROOT" ] && [ "$#" -eq 0 ]; then
echo 'Either $NDK_ROOT should be set or provided as argument'
echo "e.g., 'export NDK_ROOT=/path/to/ndk' or"
echo "      '${0} /path/to/ndk'"exit 1
else
NDK_ROOT="${1:-${NDK_ROOT}}"
fi
#export OPENBLAS_NUM_THREADS=1
TOOLCHAIN_DIR=$NDK_ROOT/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin
WD=$(readlink -f "dirname $0/..")
INSTALL_DIR=${WD}/android_lib
N_JOBS=8
cd OpenBLAS
make clean
make -j${N_JOBS}
CC="$TOOLCHAIN_DIR/arm-linux-androideabi-gcc --sysroot=$NDK_ROOT/platforms/android-19/arch-arm"
CROSS_SUFFIX=$TOOLCHAIN_DIR/arm-linux-androideabi-
HOSTCC=gcc NO_LAPACK=1 TARGET=ARMV7
USE_THREAD=ON NUM_THREADS=4
rm -rf "$INSTALL_DIR/openblas"
make PREFIX="$INSTALL_DIR/openblas" install
"
I used the  "caffe/examples/images/cat.jpg"  to predict, but I did not focus on the result of prediction. I modified the last layer of the caffe model with only 4 outputs, but I did not change the synset_words.txt remained 1000 classifications. Does that matter?

the script of building OpenBLAS is below:
#!/usr/bin/env sh
if [ -z "$NDK_ROOT" ] && [ "$#" -eq 0 ]; then
echo 'Either $NDK_ROOT should be set or provided as argument'
echo "e.g., 'export NDK_ROOT=/path/to/ndk' or"
echo " '${0} /path/to/ndk'"exit 1
else
NDK_ROOT="${1:-${NDK_ROOT}}"
fi
#export OPENBLAS_NUM_THREADS=1
TOOLCHAIN_DIR=$NDK_ROOT/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin
WD=$(readlink -f " `dirname $0 /..`")
INSTALL_DIR=${WD}/android_lib
N_JOBS=8
cd OpenBLAS
make clean
make -j${N_JOBS} \
CC="$TOOLCHAIN_DIR/arm-linux-androideabi-gcc --sysroot=$NDK_ROOT/platforms/android-19/arch-arm" \
CROSS_SUFFIX=$TOOLCHAIN_DIR/arm-linux-androideabi- \
HOSTCC=gcc NO_LAPACK=1 TARGET=ARMV7 \
USE_THREAD=ON NUM_THREADS=4
rm -rf "$INSTALL_DIR/openblas"
make PREFIX="$INSTALL_DIR/openblas" install

@wuxuewu
OK, It seems that your script is almost the same as mine.
Did you fine-tune the caffemodel for your own purpose?
I'm curious about the prediction results. Could you provide your results of PredictTopK by feeding caffe/examples/images/cat.jpg (through jni calls) into the standard caffenet model provided by bvlc?
BTW, what NDK version do you use?
Thanks.

Hi @sh1r0 ,
I did not fine-tune the caffemodel yet. Just now, I tested with the standard caffemodel, and caffe/examples/images/cat.jpg  is classified as  tabby, tabby cat (top-1), I used top-1 of function predict_top_k in the caffe_mobile.cpp
My NDK version is r10e.

And the time it took  was almost the same as above in phone B (phone B: Armv7 rev 1, android4.4.2, 4 core) . I just tested it on phone B.

Hi @wuxuewu ,
That's weird, I always get the incorrect results. Could you provide your prebuilt libcaffe.so and libcaffe_jni.so for me to check if my device is the real problem?
Thanks.

I just got another phone to test, the results were (unsurprisingly?) incorrect, too. Perhaps, device is not the problem. My tests follow this ("armeabi-v7a-hard with NEON" is used in 2nd step).
Did I miss anything special about reproducing your results? Also, could you try to build with the latest master branch?
Thanks.

@bhack Thanks for your information. I just updated the master branch to support OpenMP.

@bhack Thanks for your information. I just updated the master branch to support OpenMP.

@sh1r0 Next step CUDA support  on android tegra k1 and x1 could be very useful.

@sh1r0 Next step CUDA support  on android tegra k1 and x1 could be very useful.

@bhack
Recently, I got NVIDIA CodeWorks for Android 1R4 which contains cuda toolkit for tegra devices, but I failed to get that work by cmake at my very first trial. I'll do a deep investigation later (probably after https://github.com/sh1r0/caffe-android-lib/issues/23).

Great work! I also want to play caffe on android :)


Book of Beautiful Horrors Additions

I am trying to add the Monsters from the Book of Beautiful Horrors as a community project to KFC. If anyone is willing/able to help me, I am working in this file:
https://docs.google.com/spreadsheets/d/1hjVFiRCsEaUVyfo1yanH6Fx8ss5qm5VsMmgET6nbtgA/edit#gid=0
This is the version of the book that I am using, also found in the sources.
https://www.reddit.com/r/UnearthedArcana/comments/80i3p6/book_of_beautiful_horrors_update_18_170_pages_of/

I'd be happy to help, I was already planning on doing this anyway.

That would be great! I try to do a few monsters every day to finally finish this. I mostly have problems with the environments, since I am not familiar enough with the monsters themselves to easily fill that in.

I just finished adding all of the CR, sizes, allignments, legendary tags.
The only things left to do are page numbers (source column) and the environments!

@Asmor It should be completed now! All monster have the appropriate tags and it has been put through the Sheet Checker.

Oops, I was too late!
You clearly had it under control anyway, thanks for doing this though, I really liked the Book of Beautiful Horrors and intend to use it in the future, so this will be a great help.

Guess I should have checked here before i started doing it myself. Thanks a lot though, Coenani! Anyway, @Asmor any update on when/whether this is going to be added? It's not on BoH5e, but BoH5e has been barren for a while and doesn't deal with compendiums this size. It's on the curated list of /r/unearthedarcana, the mods of which overlap with the critics on boh5e.

@miniboes For now you can add the following code as a manual registry: 1hjVFiRCsEaUVyfo1yanH6Fx8ss5qm5VsMmgET6nbtgA
It's not optimal, but works until it might be added by Asmor.

Hi! Please consider adding this content to this reddit thread. I intend to use this thread as a place for the community to submit content they've created, and for users to come and find content that might be of interest to them.
For an explanation about this change, please see Why is KFC no longer accepting user-submitted content? in the README.


Fix centering, scaling and clamping population in ICEMOptimizer.optimize

Types of changes

[ ] Docs change / refactoring / dependency upgrade
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Motivation and Context / Related issue
Fixes https://github.com/facebookresearch/mbrl-lib/issues/172.
How Has This Been Tested (if it applies)
No additional test was added, default tests passed.
Checklist

[x] The documentation is up-to-date with the changes I made.
[x] I have read the CONTRIBUTING document and completed the CLA (see CONTRIBUTING).
[x] All tests passed, and additional code has been covered with new tests.

Thanks for the pull request! Looks good. Can you rebase on top of main, fixed some format errors that were breaking CI. Good to merge after that.


Connections housekeeping

In GitLab by @jakebeal on May 7, 2019, 14:11
Need to make sure that the there is appropriate "housekeeping" on the connections to SynBioHub and Google Sheets so that they can be sustained over time and resurrected following temporary connection interruptions.  Something along the same lines may need to be done inside the script as well.

In GitLab by @sumorok on May 9, 2019, 09:22
Added threads that periodically read in the dictionary spreadsheet, and periodically re-login into SynBioHub.

In GitLab by @sumorok on May 13, 2019, 09:21
Server still functioning properly after running for 72 hours, so housekeeping appears to be working.

In GitLab by @sumorok on May 13, 2019, 09:21
closed


FInalIK jittery movement - updating in wrong moment in Unity Lifecicle

I'm posting it for people who are struggling with finding solution for jittery avatar movement. Solution in my case was changing Process Moment to lateupdate on MomentProcessor's scripts related to AXies movement and Aliases. To find all Moment processors type "t:MomentProcessor " in Hierarchy window. I hope you find it helpfull.

Answer in comment above


Using no code as a dependency

Could you please make it easy to add no code as a dependency? I want my project to use no code.

npm install nocode

Oh! I didn't realise nocode was in javascript, I was hoping to use it in my .NET projects


fix for old zlib

as per https://docs.python.org/3/library/zlib.html#zlib.decompress
zlib.decompressobj(0) is only supported with zlib < <IP_ADDRESS>
fix for https://github.com/sibson/vncdotool/issues/183

circling back on this, I read this as we require zlib >= <IP_ADDRESS> to work.  <IP_ADDRESS> was released 2010-01-08, and is over 12 years old.  Most LTS OS versions top out at 10 years of support, so I don't expect to see zlib < <IP_ADDRESS> in the wild.  Unless, my reasoning is incorrect or there is another reason to support an outdated version of zlib I'm inclined to close this without merging because I don't see enough benefit to warrant the extra code complexity for future maintenance.


[Enhancement] Collect file write history

What type of PR is this：

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Problem Summary(Required) ：

This PR collects file write the information of BE and put them into a history buffer, for easy debugging file IO related problems.
mysql> admin execute on 10004 '
    '> for (f in ExecEnv.get_file_write_history()) {
    '>     if (!f.path.contains(".testfile")) {
    '>         System.print("file: %(f.path) size: %(f.size) open_time: %(f.open_time)")
    '>     }
    '> }
    '> ';
Query OK, 0 rows affected (0.01 sec)
file: /home/decster/projects/starrocks/localrun/be/storage/.read_write_test_file size: 4096 open_time:<PHONE_NUMBER>
file: /home/decster/projects/starrocks/localrun/be/storage/data/0/10009/109317232/0200000000000001a148ac7b1f5aafe038674dd9ff13ceb9_0.dat size: 479 open_time:<PHONE_NUMBER>
file: /home/decster/projects/starrocks/localrun/be/storage/data/0/10009/109317232/0200000000000002a148ac7b1f5aafe038674dd9ff13ceb9_0.dat size: 479 open_time:<PHONE_NUMBER>
file: /home/decster/projects/starrocks/localrun/be/storage/data/0/10009/109317232/0200000000000003a148ac7b1f5aafe038674dd9ff13ceb9_0.dat size: 479 open_time:<PHONE_NUMBER>
file: /home/decster/projects/starrocks/localrun/be/storage/data/18/10054/430336460/0200000000000015a148ac7b1f5aafe038674dd9ff13ceb9_0.dat size: 1892 open_time:<PHONE_NUMBER>
file: /home/decster/projects/starrocks/localrun/be/storage/data/20/10058/430336460/0200000000000017a148ac7b1f5aafe038674dd9ff13ceb9_0.dat size: 1928 open_time:<PHONE_NUMBER>

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[x] 3.0
[x] 2.5
[x] 2.4
[ ] 2.3

@Mergifyio backport branch-3.0

@Mergifyio backport branch-2.5

@Mergifyio backport branch-2.4


SCCM LAB KIT Server Internet Connectivity Issue

Dear Team,
I have downloaded the lab kit provided in the link and ran the setup to create the Hyper-V virtual machines for the SCCM Lab. The lab machines does not get internet connectivity. Do i need to setup any additional configuration for machines to get the internet connectivity?
Thanks and Best Regards.
[Enter feedback here]

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

ID: 21195f1c-0f99-502b-c6e7-a87d35237a81
Version Independent ID: 1848a7e1-4919-8e28-27ea-cfdbef125609
Content: Windows and Office Deployment Lab Kit - Microsoft 365 Enterprise
Content Source: microsoft-365/enterprise/modern-desktop-deployment-and-management-lab.md
Service: o365-solutions
GitHub Login: @JGruszczyk
Microsoft Alias: jogruszc

Hey Guys,
Any update on this?


Validate address checksums

We should ensure addresses are checksummed for consistency and eventual comparison on the route level (as done on the Transaction Servce). We should also coerce those from datasources.

We should probably limit the scope of this ticket to routes that deal with case-sensitive data sources (such as Postgres) as this change might not be required across all the different routes.


Describe subctl dependencies on build-subctl

Targets can have multiple sets of dependencies, so we can specify
build-subctl’s dependencies, and specify that bin/subctl depends on
that.

Fixes: #126
Signed-off-by: Stephen Kitt<EMAIL_ADDRESS>

Won’t that always force it to run because ‘build-subctl’ will never exist?

Yes, make bin/subctl will always rebuild the binary. So we could repeat the prerequisites to avoid that, I guess...
The real issue is that we’re mixing the build scripts and file-based rules. build runs the generators, build-cross and build-subctl don’t, and ci ends up running them twice!

Won’t that always force it to run because ‘build-subctl’ will never exist?

Yes, make bin/subctl will always rebuild the binary. So we could repeat the prerequisites to avoid that, I guess...
The real issue is that we’re mixing the build scripts and file-based rules. build runs the generators, build-cross and build-subctl don’t, and ci ends up running them twice!

Yeah, I was trying to turn it more into file based, but I'm not sure if it's a doable target or not..

Can we may be completely remove build-subctl as a possible make target at all?
So if you want to run build-subctl... you use make bin/subctl
May be instead of listing scripts and making them available to make, we should move into adding them explicitly instead.


Inserts in the table are not being detected when using onPostgresChanges, only deletions are being detected

var listenTables = Supabase.instance.client.channel("my_channel");
listenTables
.onPostgresChanges(
event: PostgresChangeEvent.all,
schema: 'public',
table: 'prueba_realtime',
callback: (event) {
print("We have events available for now: $event");
})
.subscribe();
https://github.com/user-attachments/assets/15414cb2-2b51-4df7-8d18-370e6541ba6c

Here's a suggestion to close the issue:
Issue Resolved - Real-Time Inserts Not Detected
It turns out the problem was with the Row-Level Security (RLS) policies in my Supabase table. Specifically, the table had restrictions that were only allowing insertions and viewing of data for authenticated users.
After adjusting the RLS policies to better accommodate my use case, real-time inserts are now being detected properly, alongside updates and deletions.
Thanks for your support, and sorry for the confusion! Closing the issue.

Here's a suggestion to close the issue:
Issue Resolved - Real-Time Inserts Not Detected
It turns out the problem was with the Row-Level Security (RLS) policies in my Supabase table. Specifically, the table had restrictions that were only allowing insertions and viewing of data for authenticated users.
After adjusting the RLS policies to better accommodate my use case, real-time inserts are now being detected properly, alongside updates and deletions.
Thanks for your support, and sorry for the confusion! Closing the issue.


Use pyavroc to serialize/deserialize objects

I'm looking for a more efficient Avro python lib for serialization stuff,
is it possible to expose some other API for serializing an object into binary instead of into an Avro file?

Just checking -- you mean you want to convert a single Python object into a binary blob which is stored in a Python string, without all the Avro file headers? That should be possible with the underlying Avro-C API, but it would need more glue code in pyavroc to make it work.

Exactly!
We use Avro as a RPC serialization solution, both sides know the schema of the objects, so the file header is just redundant.
The official lib is terribly slow... Do you have any plan to try to merge pyavroc into upstream?

We don't have any plans at the moment to merge into upstream (I don't have any objections, just I don't have much time to spend on the project). As regards your original request, I may take a look at it some time in the future but I can't promise anything in the short term. Patches always welcome, though!

Hi. Someone else wanted this feature -- and sent us a pull request:
https://github.com/Byhiras/pyavroc/pull/4
All merged and available, if you are still interested.

We're using it in Pydoop (just in the dev branch for now) as an optional, faster Avro serialization lib: https://github.com/crs4/pydoop/blob/develop/pydoop/avrolib.py. The speedup I've measured wrt the official pure Python API is 30-40x. I'm not sure it works as expected in all cases, so I'm trying to fix any problems as I find them. See #7 for an example. If you are going to use it do send your feedback :)


Update Visio.viscellindices.md

10 instances of a simple copy-edit correction: I changed "Additional Effect Properties ..." to "Additional Effects Properties ...". I have verified in the actual Visio ShapeSheet that the word is "Effects" (plural) rather than "Effect".

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

Docs Build status updates of commit 61a725c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

api/Visio.viscellindices.md
:white_check_mark:Succeeded
View

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

@RogerHaightMSFT Remember to @ me in the PR so I know to come merge it! Thanks for fixing these files.


Change AWS Getting Started example with S3 static website

Currently, the AWS Getting Started flow has the user deploy an S3 Bucket and then add a KMS key to that bucket. We would like to test whether changing the content of the flow has any effect on user drop off. The suggested content change is for the user to deploy a static website to S3 and make a change to that site.
To perform an A/B test we will need to create a second AWS flow and then control the routing to each flow via Google Optimize.

This was done some time ago.


Deeplinking and history buttons

#23 Hello, using deeplinking i notice that the tabs don't change when pressing back/forward browser buttons. The hash changes but not the tabs. Is this by design?
Tested in Chrome and IE11.

I ended up creating a function to monitor hash changes in URL.
$(window).on('hashchange')

Also hoping to see this enhancement made.
While using hashchange might work, it's not very SEO friendly.
I've tried to set this up with the HTML5 browser history API, but unfortunately something in the Tablet code appears to be preventing the browser history from working correctly.


remove duplicate entries from scopes_supported element in discovery doc

a small and simple PR to remove all duplicate entries from the scopes_supported element in the discovery endpoint document.
from
"scopes_supported":[
    "openid",
    "profile",
    "digital-api",
    "digital-api",
    "offline_access"
]

to
"scopes_supported":[
    "openid",
    "profile",
    "digital-api",
    "offline_access"
]

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

But why do you have multiple scopes with the same name to start with?

I happen to have more than one ApiResource sharing the same Scope, is this something I shouldn't be doing?

Scope names must be unique.

thanks @leastprivilege and @damienbod
closing the pr


Feature request: Rounded underlines

I propose a feature request to allow for rounded underlines. Currently there is no way to do this with tailwind, but I think it's something a lot of people would find handy. Example:
https://jsfiddle.net/toqL0agq/1/

I don't mind implementing this if it's something that would be seen as beneficial to Tailwind.
Thoughts?

I've tweaked your example to show what this would look like using Tailwind classes. Basically it involves styling an empty div to make it look like the underline. Here's a link to the forked jsfiddle https://jsfiddle.net/tcjL2w6o/1/ and here is the code.

Title

Text

Long title this is a very long title, spanning multiple lines.

Tailwind to the rescue! Nice solution thanks @robbyrice

Glad to help!


Enable 4.3 to 4.4 upgrade

Which issue this PR addresses:
Fixes ability to upgrade to Y streams
What this PR does / why we need it:
If multiple streams are configured - we will upgrade based on Z version only (4.3.1 -> 4.3.2 and 4.4.1 to 4.4.2)
If single stream is configured - we will do Y version upgrades (4.3 to 4.4)
Removed 4.3 stream so enabling 4.4 upgrades.
Test plan for issue:
Unit testing.
Is there any documentation that needs to be updated for this PR?
No

/apz run e2e

/azp run e2e

Is there any documentation that needs to be updated for this PR?
No

I don't think that's true, once this is merged and deployed we will need to get the cluster upgrades SOP updated to reflect that this capability is available.

As discussed on BlueJeans.  I think we'd be safer moving forward restricting this a little more tightly.  Something along the following lines:
1-explicitly fail if cluster not already successfully upgraded
2.4.3.x<27->4.3.27
3-4.3.27->4.4.10
4.4.4.x<10->4.4.10

/azp run e2e

@ehashman @asalkeld  please remove VERY carefully. This is pre-req for operator release too to make upgrades easier.

/azp run ci

/azp ci

/azp run ci

/azp run e2e


application with 30 dependencies, each dependency up rate 99.99, host application up rate should be 9.97

It seems a bug in wiki documentation:

99.99^30 = 99.7% uptime

I did the calculation, it seems not right.

this is a error...


Update README, AboutUs

Codecov Report

Merging #19 (072a9fc) into master (04cffd5) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #19   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

Continue to review full report at Codecov.

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


Low early JSR score

Generated score report

Has a readme or module doc
The package should have a README.md in the root of the repository or a module doc in the main entrypoint of the package.
2/2

Has examples in the readme or module doc
The README or module doc of the main entrypoint should have an example of how to use the package, in the form of a code block.
0/1

Has module docs in all entrypoints
Every entrypoint of the package should have a module doc summarizing what is defined in that module.
0/1

Has docs for most symbols
At least 80% of the packages' symbols should have symbol documentation. Currently 18% of symbols are documented.
1/5

No slow types are used
This package uses no slow types.
5/5

Has a description
The package has a description set in the package settings to help users find this package via search.
0/1

At least one runtime is marked as compatible
This package marks at least one runtime as "compatible" in the package settings to aid users in understanding where they can use this package.
1/1

At least two runtimes are marked as compatible
This package is compatible with more than one runtime, and is marked as such in the package settings.
0/1

Has provenance
This package is published from a verifiable CI/CD workflow, and has a public transparency log entry.
0/1

Screenshot

Score of 100% reached at jsr version 0.0.6, https://github.com/FartLabs/jsonx/commit/fc0f10ced74cce8e70caa8566513b396686d0665.


README.rst description Vulnerability Tests BanditResultStore

Is your feature request related to a problem? Please describe.
BanditResultStore is still present on description Vulnerability Tests but in this commit
commit ca68d805f8a1ffaa7b119a3ae8ff2e362ad792ba
the changes have been made removing the class BanditResultStore and on other files
Describe the solution you'd like
Update test results and how they are maintained and aggregated on the description Vulnerability Tests

@Aurel10 Would you like to put up a PR to correct the docs?

@Aurel10 Would you like to put up a PR to correct the docs?

I can try to fix the documentation file README.rst on Vulnerability Tests and Extending Bandit sections

Hello! Was this bug resolved?

@micknoy Yep, closing.


Favicon - A single favicon across all .sql pages

Want to request a feature which can make it easier to display a favicon across all the sqlpage pages.
One potential option would be to place a favicon.ico under the /var/www mapped volume, alongside the index.sql, and sqlpage picks up this as the favicon across the application.
Another potential option might be to specify a favicon as an environment var in the docker compose file, and place that icon in /var/www, which would be displayed across the application.
Going thru the docs, currently it looks like it is necessary to specify the favicon in shell component for each and every sql file.
Pls let me know if I have missed any available options to change the favicon across all pages without having to include this in each sql file.
Cheers!

Hi !
It is common to want to reuse the same properties (including the favicon) across pages in the shell component. The common solution is to use the dynamic component, together with either read_file_as_text (when the shell is exactly the same in all pages) or run_sql (when we need to execute custom code to determine the appearance of the shell in each page).

run_sql seems to be the way to go. thank you for the detailed reply @lovasoa !
Cheers !


Refactor the API/server interface slightly

See commit messages for more details.

I guess this PR is superseded by #236 and can be closed, right?

This is probably rendered mostly obsolete by #236.


Fix OnyxSelect: Optimize screen reader access of internal checkboxes

Non-critical Bug. Follow up to

#732

Steps to reproduce: Add the test code
  // ACT
  const accessibilityScanResults = await makeAxeBuilder().analyze();

  // ASSERT
  expect(accessibilityScanResults.violations).toEqual([]);

to the test case 'should interact with multiselect' in packages/sit-onyx/src/components/OnyxListbox/OnyxListbox.ct.tsx

https://dequeuniversity.com/rules/axe/4.9/nested-interactive?application=playwright
One approach to fix the error is to always mark the inputs as disabled, which in return would complicate the usage of packages/sit-onyx/src/styles/mixins/checkbox.scss to still show the correct styles when enabled/disabled and checked/unchecked inside ListboxOptions.

Even if we use the disabled property as default, and adjust the disabled styles, we will have the issue with checking the checkbox. You cannot check a disabled checkbox

Other workarounds that I've tried and didn't work:

https://stackoverflow.com/questions/74571705/prevent-child-elements-from-being-interactive-and-focusable
role="presentation"
role="none"

IMHO, these are false positives according to the pattern https://www.w3.org/WAI/ARIA/apg/patterns/combobox/:

The scroll container should not be focusable, as it is scrolled/controlled through the keyboard actions
The nested checkboxes are also controlled by as described


Rework string caching

Gwen caches each string it is about to render!
This behaviour is not appropriate for dynamic text that is about to be displayed (fps, health, ping, ...).

Fixed in 4a83dd231942589cf9fae94d546a7618b6155b0c


New version: Git.Git version 2.42.0

Pull request has been created with Komac v1.10.1 :rocket:
Microsoft Reviewers: Open in CodeFlow

For information I already had opened a pr for that version #117676


fix: swap network ids

closes #1230

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


[Bug]: Found 0 stations - Found 0 devices

What happened?
Trying to add this plugin to my Homebridge. It seems like it authenticates correctly with the newly created guest/family user with admin rights, but it finds 0 stations and 0 devices.
If I login to https://mysecurity.eufylife.com/ with the same credentials as used in this plugin, it shows the doorbell.
Help! Why won't the plugin find the doorbell?
Other notes:
I have other homebridge plugins running, like Philips Hue which works like a charm.
I have also tried another Eufy security plugin by birkir, it finds the Uefy battery doorbell, but that plugin seems to have other issues.
Device Type
Doorbell (Supported)
Plugin Version
v1.0.x (Supported)
HomeBridge Version
v1.3.x (Supported)
NodeJS Version
v16 (Supported)
Operating System
Docker (UnSupported)
Relevant log output
[12/29/2021, 11:52:26 AM] [EufySecurity] Initializing EufySecurity platform...
[12/29/2021, 11:52:26 AM] [EufySecurity-1.0.8] INFO:  Eufy Security Plugin: enableDetailedLogging on
[12/29/2021, 11:52:26 AM] [EufySecurity-1.0.8] INFO:  Finished initializing Eufy Security Platform
[12/29/2021, 11:52:26 AM] [EufySecurity-1.0.8] DEBUG: discoveringDevices
[12/29/2021, 11:52:26 AM] [EufySecurity-1.0.8] DEBUG: EufyClient connected true
[12/29/2021, 11:52:26 AM] [EufySecurity-1.0.8] DEBUG: PollingInterval: 30
[12/29/2021, 11:52:26 AM] [EufySecurity-1.0.8] DEBUG: Refresh data from cloud and schedule next refresh.
[12/29/2021, 11:52:27 AM] [EufySecurity-1.0.8] DEBUG: Found 0 stations.
[12/29/2021, 11:52:27 AM] [EufySecurity-1.0.8] DEBUG: Found 0 devices.

Which devices do you have?

Which devices do you have?

I have the HomeBase 2 and T8210 Wireless Battery Doorbell.

Have you disabled 2FA?

Yes, didn't change a thing 👎

Do the plugin determine which cloud to use by the login credentials or is it "hardcoded" to use the US cloud? Since I live in EU, GDPR rules and all, I most likely have 0 devices in the US cloud? Just a thought of mine..

Our plugin hardcodes the country to US. I live in the EU. And I don't have problems discovering devices.

Maybe Eufy changed procedure because of GDPR? Anyway that I can check if my devices are discoverable by the US cloud? Or a way to change the plugin to connect to EU cloud?

You can try to change the platform.js file on your homebridge.

It works! I've changed the country code to DK and suddenly the devices showes up :-)

@lenoxys
Great. We should probably have this as a pr with country through the config.

@lenoxys
Great. We should probably have this as a pr with country through the config.

Ok

@lenoxys
Great. We should probably have this as a pr with country through the config.

Ok

It works! I've changed the country code to DK and suddenly the devices showes up :-)

Could you share how you changed the country code

It works! I've changed the country code to DK and suddenly the devices showes up :-)

Could you share how you changed the country code

In the platform.js file. It is not configurable in 1.0.8 or beta.

In the platform.js file. It is not configurable in 1.0.8 or beta.

I asked Bropat if it actually makes a difference
https://github.com/bropat/eufy-security-client/issues/92

I asked Bropat if it actually makes a difference
https://github.com/bropat/eufy-security-client/issues/92

I asked Bropat if it actually makes a difference
bropat/eufy-security-client#92

Check, thnx. I seem to have the same problem that Homebridge doesn't discover any device in the Homebridge Eufy Security plugin. Any idea?

I asked Bropat if it actually makes a difference
bropat/eufy-security-client#92

Check, thnx. I seem to have the same problem that Homebridge doesn't discover any device in the Homebridge Eufy Security plugin. Any idea?

You could try and set the country code to your country in the platform.js file.

You could try and set the country code to your country in the platform.js file.

Yes, but I am new to the Homebridge community and have no idea how to do that.

Yes, but I am new to the Homebridge community and have no idea how to do that.

If you launch a Terminal session and navigate to where the Eufy plugin is installed, you can edit the platform.js file.  Try this:
nano platform.js
Navigate to line 95 or thereabouts and change the US in this line to your country code:
country: 'US',
To quit nano press CTRL+X, type "Y" and hit enter.

If you launch a Terminal session and navigate to where the Eufy plugin is installed, you can edit the platform.js file.  Try this:
nano platform.js
Navigate to line 95 or thereabouts and change the US in this line to your country code:
country: 'US',
To quit nano press CTRL+X, type "Y" and hit enter.

Thnx for your advice, but could you give a hint where I can find the Eufy plugin? I have been browsing the directory's, but can't find anything that looks like the Eufy plugin. The nano platform.js command works because it starts a editor, but no code is displayed.

Yes, it can be hard to find!
Mine is in /use/local/lib/node_modules
To find it, do "where HomeBridge", navigate to that folder, then do "ls -l" and look for the HomeBridge entry, which will probably be a link to another location.  Navigate there an you should be in the right place.
Post back here if you get stuck.

can you try the latest beta? I've added the ability to select the country within the settings menu.

can you try the latest beta? I've added the ability to select the country within the settings menu.

Check. Just loaded the beta and changed the country code. Eufy doorbell cam still doesn't show up.

can you try the latest beta? I've added the ability to select the country within the settings menu.

Check. Just loaded the beta and changed the country code. Eufy doorbell cam still doesn't show up.

And you set the country code?

Yes, it can be hard to find!
Mine is in /usr/local/lib/node_modules/
To find the plugin folder on your system, do:
where HomeBridge
navigate to that folder, then do:
ls -l
and look for the HomeBridge entry, which will probably be a link to another location. Navigate there and you should be in the right place.
Post back here if you get stuck.

Thnx. Yes, that is the place where my plugins are. But now nano platform.js doesn't show any code:
pi@homebridge:/usr/local/lib/node_modules $ ls -l
total 32
drwxr-xr-x 4 root root 4096 Dec  1 19:08 corepack
drwxr-xr-x 3 root root 4096 Dec 12 09:50 @homebridge
drwxr-xr-x 5 root root 4096 Dec 31 14:47 homebridge
drwxr-xr-x 5 root root 4096 Dec 31 13:59 homebridge-config-ui-x
drwxr-xr-x 6 root root 4096 Jan  3 14:40 homebridge-eufy-security
drwxr-xr-x 3 root root 4096 Jan  1 18:24 homebridge-http-curtain
drwxr-xr-x 4 root root 4096 Dec 31 14:21 homebridge-nest
drwxr-xr-x 7 root root 4096 Dec 12 09:48 npm
pi@homebridge:/usr/local/lib/node_modules $ nano platform.js
pi@homebridge:/usr/local/lib/node_modules $
What am I missing?

can you try the latest beta? I've added the ability to select the country within the settings menu.

Check. Just loaded the beta and changed the country code. Eufy doorbell cam still doesn't show up.

And you set the country code?

Yep. Absolutely and it was accepted.

You should navigate into homebridge-eufy-security
cd homebridge-eufy-security

Yes, it can be hard to find!
Mine is in /usr/local/lib/node_modules/
To find the plugin folder on your system, do:
where HomeBridge
navigate to that folder, then do:
ls -l
and look for the HomeBridge entry, which will probably be a link to another location. Navigate there and you should be in the right place.
Post back here if you get stuck.

Thnx. Yes, that is the place where my plugins are. But now nano platform.js doesn't show any code:
pi@homebridge:/usr/local/lib/node_modules $ ls -l total 32 drwxr-xr-x 4 root root 4096 Dec 1 19:08 corepack drwxr-xr-x 3 root root 4096 Dec 12 09:50 @homebridge drwxr-xr-x 5 root root 4096 Dec 31 14:47 homebridge drwxr-xr-x 5 root root 4096 Dec 31 13:59 homebridge-config-ui-x drwxr-xr-x 6 root root 4096 Jan 3 14:40 homebridge-eufy-security drwxr-xr-x 3 root root 4096 Jan 1 18:24 homebridge-http-curtain drwxr-xr-x 4 root root 4096 Dec 31 14:21 homebridge-nest drwxr-xr-x 7 root root 4096 Dec 12 09:48 npm pi@homebridge:/usr/local/lib/node_modules $ nano platform.js pi@homebridge:/usr/local/lib/node_modules $
What am I missing?

You should navigate into homebridge-eufy-security
cd homebridge-eufy-security

Yep. Thats what I thought. So I tried that, but still no code shows up when I do nano platform.js

can you try the latest beta? I've added the ability to select the country within the settings menu.

Check. Just loaded the beta and changed the country code. Eufy doorbell cam still doesn't show up.

And you set the country code?

Yep. Absolutely and it was accepted.

Hhhmmmm, just checked the startup log and country still says US. So I afraid it works in the UI but is still not set right in the code.

Yep. Thats what I thought. So I tried that, but still no code shows up when I do nano platform.js

Once you're in that folder, navigate to "dist" - it should be in there.

Yep. Thats what I thought. So I tried that, but still no code shows up when I do nano platform.js

Once you're in that folder, navigate to "dist" - it should be in there.

I've removed the static value from the beta so it's based on the config now

can you try the latest beta? I've added the ability to select the country within the settings menu.

Check. Just loaded the beta and changed the country code. Eufy doorbell cam still doesn't show up.

Can you send me yours full logs<EMAIL_ADDRESS>

can you try the latest beta? I've added the ability to select the country within the settings menu.

Check. Just loaded the beta and changed the country code. Eufy doorbell cam still doesn't show up.

Can you do the wizard again and send me yours full logs<EMAIL_ADDRESS>
Just send you the logfile.

Yep, thats it. There it is. But now I can't change the country setting because I have no permission. Is there a solution for that?

Yep, thats it. There it is. But now I can't change the country setting because I have no permission. Is there a solution for that?

can you clear the cache of your browser for me it's working?
which browser are you using ?

Yep, thats it. There it is. But now I can't change the country setting because I have no permission. Is there a solution for that?

looks like browser issue : works on chrome but not on safari

Sorry, just tried chrome but I keep getting the warning that platform.js is unwritable. I can find the country setting in the code and I can overwrite it, but I can't save it.

Try:
sudo nano platform.js
I'm surprised you'd need root permissions, but it's worth a try.

Aha, that was it. Now I could change the code and set country to NL. Unfortunately Homebridge is still not seeing my Eufy doorbell. After restarting Homebridge this is what the log says:
[04/01/2022, 16:55:07] [homebridge-eufy-security] Country set: NL
So it looks like that is oke now.

Could try "DK" - that seemed to work for someone else on here.
However, I'm in the U.K. and I've never changed my country code so I'm not sure this is the cause of your issue.

I live in DK and having US as country has always worked.

there is something wrong with your install, we shouldn't edit file using sudo not safe at all.

Could try "DK" - that seemed to work for someone else on here.
However, I'm in the U.K. and I've never changed my country code so I'm not sure this is the cause of your issue.

I live in DK and having US as country has always worked.

Sometimes to see devices shared by other during troubleshooting I had to change the country but it's a matter of being part of Americas, Europe, Middle-east, Africa, Japan, APAC. Dunno when it's needed and when it's not.

I'll try DK and see what happens.

No luck with the DK setting. I've been looking at the log file myself and it looks like somehow underwater there is still the US setting. Enclosed a piece of the log after I changed country setting in the code to NL (line 46). Immediately after restarting Homebridge the log says that country is US and there are no devices found (line 2 and on). Thats weird, right?
homebridge.log.txt

No luck with the DK setting. I've been looking at the log file myself and it looks like somehow underwater there is still the US setting. Enclosed a piece of the log after I changed country setting in the code to NL (line 46). Immediately after restarting Homebridge the log says that country is US and there are no devices found (line 2 and on). Thats weird, right?
homebridge.log.txt

can you clear the cache of your browser ? Looks like the js script is the old one.

Hhhmmm, clearing the cache solved a lot of problems with de Nest plugin and after restarting homebridge all log entry's say NL. So it seems you where right, there was something hanging in the cache. I do see a new log entry popup. 15 min. after restarting homebridge I now get the message "Push Closed!" (in orange colour). I never seen that before. During startup I see a INFO log entry that states "Push notification connection successfully established". I don't know how important this function is.
Next to that homebridge-eufy-security is still not learning any devices.

I saw in earlier posts that 2FA might have something to do with not seeing devices. So I activated 2FA, but no result. Does anybody have an other idea?

@Mikez20 please try and set enabledetailedlogging to 2 and provide the complete log.

@schliemann, First of all thnx for your patience and sticking with me in my surge for the problem. I think I managed to get the log you asked for. Let me know if you can read the file and what your findings are.
homebridge.log 09012022.txt

@Mikez20 It's difficult to say. We don't quite know why some peoples installations have problems finding devices.

@Mikez20 It's difficult to say. We don't quite know why some peoples installations have problems finding devices.

Check. So I assume you don't see any strange entries in the logfile? Maybe a total power down and reboot of the Raspberry PI or a reinstall of Homebridge will help. That is something I didn't try yet.

US

Hi all. Iam life in DE. So it doesnt work at all after i changed my password.  the adapter shows no devices. but what ive found out is, that on all my other devices like iphone, ipad comes after that i changed my password one time a captcha that i must fill out. maybe this is the problem. before i changed my password all worked.   Grrrrrr..... if i try another country code comes an unauthorized message in the log.... The same problem is in IOBroker too and its new...

@cracyfloyd Have you created a separate guest account with admin rights?

@cracyfloyd Have you created a separate guest account with admin rights?

No i dont do it. i use the main account..

You shouldn't. Guest account with admin rights is necessary.

Ok. i have do and it runs now in IOBroker. THNX. But not in Homebridge. I receive follow errors.:[15/01/2022, 14:01:41] [homebridge-eufy-security] Not connected can't continue!
[15/01/2022, 14:02:14] [Homebridge UI] [homebridge-eufy-security] Incoming Request: /request-otp
[15/01/2022, 14:02:14] [Homebridge UI] [homebridge-eufy-security] [1.1.1-beta.14] INFO:  country: DE
[15/01/2022, 14:02:14] [Homebridge UI] [homebridge-eufy-security] [1.1.1-beta.14] INFO:  Authentication properties changed, invalidate saved cloud token.
[15/01/2022, 14:02:15] [Homebridge UI] [homebridge-eufy-security] [1.1.1-beta.14] INFO:  Wrong username and/or password
[15/01/2022, 14:02:43] [Homebridge UI] Changes to config.json saved.
[15/01/2022, 14:02:44] [Homebridge UI] [homebridge-eufy-security] Terminating child process...
[15/01/2022, 14:02:44] [Homebridge UI] [homebridge-eufy-security] Child process ended
and i am sure thats the right password..

Try and clear your cache in homebridge.

I have restored now a backup. Now it works. Thx first. But it is realy complicated. And i dont understand some why and why and why..
But many thnx ...

@cracyfloyd What does "restored a backup" mean?

@cracyfloyd What does "restored a backup" mean?

Before i tested something, i have made a backup with the status, before playing with homebridge. And this backup i have restored. i dont know exactly what i have do and try  before i contact you, i have  try so much to get it to run.

Ok. Just glad it works now.


cargo outdated give a strange error

Bug Description
when I run cargo outdated on a project that build without problem and run well, Ive got this error :

cargo outdated
error: failed to select a version for `sqlx-core`.
    ... required by package `sqlx v0.6.1`
    ... which satisfies dependency `sqlx = "=0.6.1"` of package `bugsqlx v0.1.0 (/tmp/bugsqlx)`
versions that meet the requirements `=0.6.1` are: 0.6.1

the package `sqlx` depends on `sqlx-core`, with features: `sqlx` but `sqlx-core` does not have these features.

failed to select a version for `sqlx-core` which could resolve this conflict

Minimal Reproduction
new project, add sqlx = {version = "0.6", features = [ "runtime-actix-rustls"]}
build ok, same cargo outdated error
Info

SQLx version: 0.6
SQLx features enabled: ["sqlite", "runtime-actix-rustls"]
Database server and version: sqlite
Operating system: linux ubuntu 20.04
rustc --version:1.62.1

I just needed to update outdated


Checklist for what to check when upgrading dependencies

Setup a github template for this.

Had previously started on a checklist, still a work in progress: https://github.com/equinor/energyvision/wiki/Sanity-Studio-upgrade-testing

@fernandolucchesi @padms @bhavi25 @nilsml
Have expanded upon my previous checklist draft with a wiki page - let me know what you think: https://github.com/equinor/energyvision/wiki/Guide-to-upgrading-dependencies

@SvSven I think we can also include webhooks and redirects in this list.


Update audirvana-plus to 2.5.4

Checklist

[x] The commit message includes the cask’s name and version.
[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.

Will merge this even with Travis fail. When running audit locally, I don't have any curl: (35) Server aborted the SSL handshake errors.


Remove analytics and embeds from website

Removes Google Analytics and remotely sourced files from the Mesos project website.

Hi Dave,
I don't know anything about web development, but this seems to make sense to me.
Just one thing - I assume you tested it using the instructions available here: https://github.com/apache/mesos/blob/master/site/README.md ?
Also, I'm wondering, what motivated you to do that?
The reason I'm asking is that I can see you committed to Mesos a long time ago, and I'm curious to know if you'd be interested in helping a bit with the website since it's definitely not my area of expertise, and it could use some love.
For example many of the dependencies used to build it are really old and would need updating, see for example this recent bot PR: https://github.com/apache/mesos/pull/425
Cheers,

Hi there! These changes are motivated by recent work that the The ASF Data Privacy team is doing to establish ASF-wide policies in this area. As part of this work, they recently published a draft policy for ASF websites: https://privacy.apache.org/policies/website-policy.html.
I has been years since I've contributed to Mesos, and I helped develop the original middleman-based Mesos website. Fast-forward to today: I want to make sure we're ahead of the curve when it comes to updating the site to be compliant with policy. These patches should be a solid first-pass at meeting the standards of the policy (removal of Google Analytics, social media embeds, etc).
Regarding testing: I pursued a different way to test these changes -- by running middleman serve locally to generate the static site. The site base template looks good after making changes in the footer and CSS/JS continue to load properly after changing the site to load them from ASF servers.
It's been a while since anyone -- including myself -- has deployed a new version of the Mesos site so my hope is that the build process still functions properly. If not, happy to work with others to help fix it.
I also see the several out-of-date Ruby libraries that we depend on. I began a separate patch to upgrade them, but for purposes of this initial contribution I wanted to focus on modifying templates and static content.

Alright, let's merge it and keep an eye on the website build CI and webpage!
Looking forward to your next contribution,

The CI passed: https://ci-builds.apache.org/job/Mesos/job/Mesos-Websitebot/
And the website has been updated, in case you want to double-check.
Cheers,