AI can knock on blastdoors

Description
The AI eye can knock on blast doors, and other people can hear it.
Reproduction
click a blast door as the AI eye.
Additional context
I was able to do this on the Salamander server.

The same issue happens with shutters and radiation shutters

Actually I just noticed that this was already reported as #32567 so I am closing this one as duplicate. Thank you for reporting it


Updated Manage variables in Azure Automation to include more information about encrypted variables.

Added a few extra lines about not being able to change the encryption state of a variable once it is created and the recommendation to encrypt all variables from ASC.

@dcrreynolds : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Add an item to a shopcart

As a User
I need to be able to add a specific item or item(s) from the existing shopcart
So that I can put what I would like to check out later in the shopcart
Assumptions:

Every product should have a unique id
Only the owner of the shopcart can add the item(s). That is to say, we will need authorization.

Acceptance Criteria
Given that the item does not exist in the given shopcart
When I call 'POST /shopcarts/{shopcartId}/items/{productId}'
Then the item should be added to the shop cart
Given that the item does exist in the given shopcart
When I call 'POST /shopcarts/{shopcartId}/items/{productId}'
The number of items in the shopcart should be increased

Update the description with endpoints in /shopcarts/{shopcartId}/items/{productId}


sync_leaper/metrics: record sync duration even if sync leap fails

Record sync duration even if sync leap fails

bors merge

bors try

bors merge

bors r+


MrLooquer. IPv6 Scan

As Shodan, MrLooquer discover new devices on Internet. The difference is that MrLooquer is focus on IPv6 protocol and as Shodan we are pioneering on IPv6 scanning.
MrLooquer: IPv6 Intelligence.
https://mrlooquer.com

Added Sept 1st, 2016.  Thanks for the suggestion!


SDC Catalog app: Date picker - Keyboard doesn't open when clicking text field

Describe the bug
When clicking the text field on the DatePicker or DateTime picker, the keyboard doesn't open.
Component
SDC gallery app
To Reproduce
Steps to reproduce the behavior:

Go to SDC catalog app
Click on Date picker
Click on text field (not the calendar icon)

Expected behavior
The expected behavior is that manual keyboard based entry should be possible. We show a date format and only allow numerical date entry.
Screenshots

@jingtang10 @aditya-07 tagging you for visibility for dependencies. Please also help prioritize.

@aditya-07 disabled this in a previous PR. the reason was that we do not have a good way of ensuring the user enters well-formed date time string and validating it. at the moment, the dialog opens if the user clicks the icon. we do need to eventually re-enable this. but we do need to look into a solution that actually works.
@aditya-07 to comment.

Team discussion:

Open keyboard (no dialog opens) when pressing input box (not the calendar icon)
Validate using android system date format.

in progress.


Add support for specifying subprotocol on handshake

We needed this functionality to be able to specify the subprotocol.  I believe the change is backward compatible.

@andyglow good catch on the uri.secure thing.  Fixed.


Update overview.md

Added direct link to Desktop Analytics Administrator permissions.
The link to the page was there, but it's a long page with multiple descriptions, i find it easier to link directly to the referred section.

@baardhermansen : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off
Once merged, this should be live with the next daily publishing process. Right now that should be tomorrow (Tuesday, 3 December) around 11:00 Pacific time. No further action needed from you.


AuthenticatedAlephHttpClient.createStore returning {status: xxx, hash: xxxx}

Describe the bug
AuthenticatedAlephHttpClient.createStore returns only an object containing the keys status and hash
But from what the types says, it must be a StoreMessage.
To Reproduce
Create a STORE message
Expected behavior
Have access to the value expected by the return type of the function
Environment
Please describe the environment in which the bug occured. OS, Runtime, Browser (if applicable), Bundler (if applicable).
OS: Linux (debian 12)
Runtime: pulumi/typescript (I don't know the runtime of the pulumi typescript runner)
Browser: no
Bundler: no
Additional context
Best regards

For the context, @Saverio976 is working on a projet at PoC to create a Pulumi provider for Aleph :smile: https://github.com/PoCInnovation/alumi

Thanks for the report! Will look into it.

Will be fixed in the next release

Version 1.0.2 of https://www.npmjs.com/package/@aleph-sdk/message fixes this

Thanks


Missing output

working on https://github.com/courtois-neuromod/anat-processing/pull/13
Nextflow complains about:
  Missing output file(s) `sub-01_ses-001_bp-spine_T2w_centerline.nii.gz`

even though the image is output (!)
Terminal output
executor >  local (4)
[cd/b81187] process > T2_Segment_SpinalCord (sub-06_ses-002_rec-dis2d) [  6%] 1 of 17, failed: 1
[-        ] process > publishOutputs                                   -
Error executing process > 'T2_Segment_SpinalCord (sub-01_ses-001)'

Caused by:
  Missing output file(s) `sub-01_ses-001_bp-spine_T2w_centerline.nii.gz` expected by process `T2_Segment_SpinalCord (sub-01_ses-001)`

Command executed:

  sct_get_centerline -i sub-01_ses-001_bp-cspine_T2w.nii.gz -c t2

Command exit status:
  0

Command output:

  --
  Spinal Cord Toolbox (git-master-0e160998510b22bba054b783eb5fb02bad26bfd8)

  sct_get_centerline -i sub-01_ses-001_bp-cspine_T2w.nii.gz -c t2
  --

  Creating temporary folder (/var/folders/s8/4qnm5q1n261ch35b5kkclsb00000gn/T/sct-20210504224045.246460-1zycmto9)
  Remove temporary files...
  rm -rf /var/folders/s8/4qnm5q1n261ch35b5kkclsb00000gn/T/sct-20210504224045.246460-1zycmto9

  Done! To view results, type:
  fsleyes sub-01_ses-001_bp-cspine_T2w.nii.gz -cm greyscale sub-01_ses-001_bp-cspine_T2w_centerline.nii.gz -cm red -a 100.0 &

  Done! To view results, type:
  fsleyes sub-01_ses-001_bp-cspine_T2w.nii.gz -cm greyscale sub-01_ses-001_bp-cspine_T2w_centerline.nii.gz -cm red -a 70.0 &

Work dir:
  /Users/julien/code/neuromod-anat-processing/work/25/63c5bcbd900a168d6053e11c2e9efe

Tip: you can try to figure out what's wrong by changing to the process work dir and showing the script file named `.command.sh`

More details from the logfile:
May-04 22:40:49.517 [Task monitor] DEBUG nextflow.processor.TaskProcessor - Process `T2_Segment_SpinalCord (sub-01_ses-001)` is unable to find [UnixPath]: `/Users/julien/code/neuromod-anat-processing/work/25/63c5bcbd900a168d6053e11c2e9efe/sub-01_ses-001_bp-spine_T2w_centerline.nii.gz` (pattern: `sub-01_ses-001_bp-spine_T2w_centerline.nii.gz`)
May-04 22:40:49.546 [Task monitor] ERROR nextflow.processor.TaskProcessor - Error executing process > 'T2_Segment_SpinalCord (sub-01_ses-001)'

Caused by:
  Missing output file(s) `sub-01_ses-001_bp-spine_T2w_centerline.nii.gz` expected by process `T2_Segment_SpinalCord (sub-01_ses-001)`

ah! my bad: it was a typo:
        path("${sid}_bp-spine_T2w_centerline.nii.gz"), \

instead of
        path("${sid}_bp-cspine_T2w_centerline.nii.gz"), \


TLS Identity Doesn't Fallback to Self-Signed on Permission Failure

Description
Related to tls-darwin.c, it looks like CUPS can't or won't fallback (e.g. to the ~/.cups/ssl.keychain certificate, or create one if not already created) when the System keychain contains a certificate with the local hostname. In such cases the certificate is usually not intended for CUPS, and all TLS connections will fail as CUPS attempts to access the private key but isn't given permission, at the time an HTTPS connection is requested.
Other Info
No additional logging of this failure mode exists to inform the user, especially the Common Name of the identity chosen.
Solution
Ideally CUPS would preflight the SecIdentity received before falling back to another option.

This was also reported as applefeedback://FB9960542


Default --prefix to "name" when --names is set

I found it confusing that specifying --names without changing the --prefix continues to use a default prefix of index. This PR changes the default prefix to be name when --names is set and index when it's not.
It also cleans up the test code; since this adds new tests that use readline, I moved that functionality into tests/utils.js.
(cf: kimmobrunfeldt/concurrently#53)

@gustavohenke You should release this 🙂 Took me a couple of minutes to realize that the latest release is older than this PR.

@gustavohenke I agree with @jeremejevs. I spent far too much time debugging only to realize that master isn't the same as the 3.4.0 release. 😕

@RichDonnellan @jeremejevs @enaeseth this was just published as v3.5.0.
I'm so sorry for taking this long to publish, folks!


Duktape error when build

JNI error:
/Users/***/Workspace/github/duktape-android/duktape/src/main/jni/duktape-jni.cpp Error:(77, 20) error: use of undeclared identifier 'timegm'; did you mean 'time'? Error:(77, 27) error: cannot initialize a parameter of type 'time_t *' (aka 'long *') with an rvalue of type 'tm *'

Hmm, this looks like a compile error.  What version of the NDK are you using?

@szurbrigg 12

Sorry, that's too old.  Please use 13b or higher.


Fix testing after merge

I broke the ci testing last night. I think it's because of a missing recipe.

Fixed in https://github.com/StatCan/StatCan.OrchardCore/commit/1c47bdf199e0910ba242ed9c0a0a6afc4c1ff74b


how to show tabnine status in lualine or other statusline

I'd love to show tabnine status like
https://github.com/Exafunction/codeium.vim?tab=readme-ov-file#show-codeium-status-in-statusline
how can I set it

There currently no such functionality implemented.
I would happily accept such a PR.
which status items you think should be reported?
On Mon, Apr 29, 2024, 11:24 chenxu @.***> wrote:

I'd love to show tabnine status like
https://github.com/Exafunction/codeium.vim?tab=readme-ov-file#show-codeium-status-in-statusline
how can I set it
—
Reply to this email directly, view it on GitHub
https://github.com/tzachar/cmp-tabnine/issues/107, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABFXXC42JZAS5N7AS3P2HUTY7X7SRAVCNFSM6AAAAABG53QWTSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3DQNBRHAZTINQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

just like the way
https://github.com/luozhiya/fittencode.nvim/issues/28
need a function has_suggestion to return true or false for condition using in lualine
but I don't know how to do it.

--- '3/8' - third suggestion out of 8
--- '0' - Codeium returned no suggestions
--- '*' - waiting for Codeium response
vim.api.nvim_call_function("codeium#GetStatusString", {})

I dont know much about tabnine, but for lualine, we got this:
local isnt_ready={["0"]=true,["*"]=true}
require("lualine").setup({sections={
 lualine_x={
  function() return "AI" end,
  cond=function()
   return not isnt_ready[vim.api.nvim_call_function("codeium#GetStatusString", {})]
  end,
  color={fg="#37b0e7",bg="#101945"},
 },
}})
local section={
}

@tzachar  thanks for answer.
Do you know how to set lualine with codeium.nvim not codeium.vim.
Or could I set some lualine from counting each kind of completer?
like [codeium 3 completer, TabNine 3 completer,, ]

I think you should ask the maintainer of codeium.nvim for where is the api to get status.

I don't really understand the usability and workflow, as TabNine always have suggestions...
If you need to support a status, you should think which states you want to report.
I would suggest something like the following:

indicate whether TabNine is running or not
if running, report the last number of seggestions

Makes sense? Anything else you think should appear?

I thought the solution could be unified to set in nvim-cmp
as I could use
require("cmp").get_entries()
if value.completion_item.cmp.kind_text == "TabNine" then
return true

thanks for help


js-interop: can not use cascade operator on external setter field

Describe the issue you're seeing
Chromium
Exception: Class '_Type' has no instance setter 'animation='.
NoSuchMethodError: method not found: 'animation='
Receiver: Type: class 'ChartGlobal'
Arguments: [true]
dart2js
Transform Dart2JS on chartjs|web/example.dart threw error: Internal Error: No structure for ChartGlobal
package:compiler_unsupported/src/compiler.dart 1827                            _CompilerDiagnosticReporter.internalError
Does it happen in Dartium or when compiled to JavaScript?
Yes

Dart SDK version: 1.13.0
pkg/js version: 0.6.0

Failing code:
@JS("Chart.defaults.global")
@anonymous
class ChartGlobal {
  external static set animation(bool val);
}
main(){
  ChartGlobal
    ..animation = true
    ..animation = true;
}

Thanks for filing the bug!
Turns out that cascades on statics doesn't do what you expected in Dart. For example, this code will give you the same error in the Dart VM as what you saw in Dartium:
class A {
  static int x = 0;
}

main() {
  A..x = 2;
}

The error is:
Unhandled exception:
Class '_Type' has no instance setter 'x='.

NoSuchMethodError: method not found: 'x='
Receiver: Type: class 'A'
Arguments: [3]
#0      Object._noSuchMethod (dart:core-patch/object_patch.dart:42)
#1      Object.noSuchMethod (dart:core-patch/object_patch.dart:45)
#2      main (file:///usr/local/google/home/sigmund/dart/git_all/sdk/_bug2.dart:6:6)
#3      _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:261)
#4      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:148)

What happens here is that cascades evaluate the receiver as an expression, then they try to call an instance method on the value of that expression.
That is basically equivalent to write:
var t = A;
t.x = 2;

This is not the same as a static setter call of the form A.x = 2. Because when you evaluate A as an expression, you get a value that is an instance of Type. Types have almost nothing in there: they have .hashCode and ==, but they don't have instance methods that correspond to your static declarations (t.x is not there).
The Internal Error: No structure for ChartGlobal error is a problem that we should fix though - dart2js should never crash. Turns out this crashes also in the simple example without js-interop, so I have opened this separate bug to track it: https://github.com/dart-lang/sdk/issues/25172
I'm closing this bug because I believe besides #25172, things are working as intended, but feel free to comment/reopen if I missed something.
Cheers!


Config relative to entrypoint

fix #1935 Config file not resolved relative to entrypoint
fix #1936 Custom --config not being correctly resolved.

It pains me to ask, but do we have to take this for breaking change consideration? Somebody might have depended on relative to cwd? Regardless, this is an important change and we should push for it, IMHO.

It pains me to ask, but do we have to take this for breaking change consideration? Somebody might have depended on relative to cwd? Regardless, this is an important change and we should push for it, IMHO.

Well I think our breaking change bar is for Azure right now and this is to fix validation found in of the specs repo so I would think this wouldn't qualify for the breaking change check.

doc clearly document this as the expected behavior https://microsoft.github.io/typespec/introduction/configuration#discovery


X11 grabber should be refactored to support XRender

XGetImage is extremely slow, for acceptable performance the X11 grabber should use XRender per boblight-X11 where XRender is the default, and XGetImage is a fallback for ancient systems where XRender is not supported.

Thanks for the input. I will try and update the grabber as soon as I find some time. Do you have any references to the API of XRender?

@tvdzwan boblight-X11 does pretty much exactly what you want :wink:, but actually I think it might be enough just to use XShmGetImage when it's available.  SimpleScreenRecorder does that, and it seems fast enough: https://github.com/MaartenBaert/ssr/blob/master/src/AV/Input/X11Input.cpp

#458

#458

@pdf
Are you able to install the latest beta and report back?
https://hyperion-project.org/threads/install-latest-hyperion-beta-v1-03-0.25/
Thank you

Part of V1.03.0
//Closed


dynamic attribute No space

What version of @tailwindcss/container-queries are you using?
0.1.1
What version of Node.js are you using?
v18.19.0
What browser are you using?
Chrome or Whale
What operating system are you using?
osX or windows
Reproduction repository
https://play.tailwindcss.com/4ZDDvrPavL
Describe your issue

To solve this problem, I tried to increase the _ to __, but it still often does not include spaces when rebuilding.

Hey! Can you provide a real reproduction with the tools you're actually using? In the Tailwind Play you provided the CSS is generated correctly with spaces included:

I'm sorry. It's hard to reenact, so I just roughly used an example
But even in the example, it should have been @4xl:grid-cols- [128px_144px_104px_80px_1fr] but that's too bad
As a result of my checking, the dynamic properties of tailwind with @container query are not generated with spaces included.

@adamwathan i can also confirm this. Also seems problem is with usage of calc. CSS generated looks different in firefox and chrome. I experinced this using nextjs with tailwind and container queries. Using regular breakpoint had no problem.

I was facing an almost identical issue where the class @3xl:[grid-row-end:span_2] was producing grid-row-end: span2; - but after some digging I found that it was due to CloudFlare's auto minifiy feature mistakenly stripping out the white-space between span and 2.

@RunnyYolk Can you tell me which cloudflare option? Are you talking about css minify?


Read Shape files from a standard directory and read by name

Currently shape files must be passed a path to the file.
The program should allow specifying just the name of the Shape file which should be read from a standard directory. I suggest $HOME/.config/dblstd or $HOME/.dblstd/
Now let us assume we have the following files $HOME/.config/dblstd/go.shape and $HOME/.config/dblstd/java.shape
This should then allow the user to specify just the name of the shape file
$ dblstd -s go /path/to/my/go/project
$ dblstd -s java /path/to/java/project

This should not conflict with a shape file in the PWD .e.g go.shape - as the user will have to specify the full name of that file i.e.
$ dblstd -s go.shape /path/to/my/go/project

While I like the idea, I'm not a big fan of conditionals. When you overload what -s does, you now need to parse the given string to make sure it doesn't have the .shape extension. Meaning in the future if there was anything extra you wanted to do for this argument, you now have to consider 2 branches instead of one.
Why not just use another flag to use a standard shape from the config directory?
# -c (-config) specifies to use a shape file from the dblstd config directory
$ dblstd -c go /path/to/my/go/project
$ dblstd -c java /path/to/java/project

I'd imagine we'd also want to read from an env var in case we want to have another directory (other than the default shape directory). I'm thinking something like:
$ SHAPE_DIR=$HOME/alt/shape/dir dblstd -c go /path/to/my/go/project

I understand your concern and think using another command-line flag is okay. I suppose the program will just have to decide what happens in a situation where one uses both flags:
$ dblstd -c go -s ./java.shape /path/to/my/go/project

As for the actual flag name, I would suggest maybe using -u since we may want to use -c --config for global configuration, (unless we don't see the need to have a config file that's != shape file) :
$ dblstd -c dblstd.yaml -u go /path/to/my/go/project

I like the idea to support overriding the directory with an env var 👍🏾

Hmm, how about
-s for shape
-f for explicit file
Defaults:
# looks for go.shape in current directory
# if not found, looks for go.shape in standard config directory
# if not found in config file, error out
$ dblstd -s go /path/to/go/project

Overrides:
# override shape lookup path with explicit file via -f
$ dblstd -s go -f ./path/to/shapes/go.shape /path/to/go/project

Yeah, I thought about using -f as well. I could live with that; my use cases would probably be more of reading the file from the configured directory anyways :)


align-issue-labels doesn't work in milestone issue listing page

URL:

https://github.com/microsoft/PowerToys/milestone/8?closed=1
https://github.com/microsoft/PowerToys/milestone/4
Screenshot:

isConversationList in https://github.com/fregante/github-url-detection probably needs to include that page too

Thanks for the report! It will appear fixed in the next dependency update here.


Ensure system PATH Environment variable is updated correctly on all *nix platforms for PowerShellGet Scripts

On Windows, the PATH environment variable is updated upon Script installation using PowerShellGet.
We need to ensure this happens consistently on all *nix platforms also

Why bother updating profiles for other shells? The scripts aren't going to work there anyway (at least, not yet, and probably not at ever, unless PowerShell is registered as a shell interpreter, and we convince the whole PowerShell community to put shebang lines in anything that works on Core...
Just (offer to) update PowerShell's profile, let them know about it, and move on?

This issue was moved to PowerShell/PowerShellGet#29


Excuse me. I need your help regarding data partitioning

Hi, Uttaran
I have some question for your paper and code.

In your paper, training set:validation set:test set=7:2:1
But actually, in the open code, it is Training:Test = 9:1.  which one should I use?

Your paper describes that the addition of 29-dim affective features will give a great improvement in the classification accuracy, but when I run your code, the experimental results are instead reduced with a great overfitting, what is the reason for this?

Thank you! : )

Hi, we used some part of the training data (90% of the total data) for validation, that's why the reported split is 7:2:1. The overfitting problem may go away if you train with 70% of the total data. Otherwise, try training for fewer epochs.

Thanks for your kind reply! I see in the load_data( ), you split the total data into training data (90% of the total data) and testing data(10% of the total data), but it doesn't seem to split the training data (90% of the total data) again during training.(in processor.py ). The code looks like use testing data(10% of the total data) for validation during training.
To better express what I mean, I have excerpted some STEP code below, please take a look at it.

load_data( )
data_train, data_test, labels_train, labels_test = train_test_split(data, labels, test_size=0.1)

processor.py
  def  train(self):                     # training             self.per_train()             # evaluation             if (epoch % self.args.eval_interval == 0) or (                     epoch + 1 == self.args.num_epoch):                 **self.per_test()**
    def per_train(self):         **loader = self.data_loader['train']**
     def per_test(self, evaluation=True):         self.model.eval()         **loader = self.data_loader['test']**

Yes, apologies. There might be some mismatches in the uploaded version of the code as we had experimented with multiple variants after the original submission. But the code has been out of maintenance since the last 3 years. Thanks for discovering this issue, I will try to update the codebase when I get a chance. Meanwhile, please use a 7:2:1 split for your experiments as it says in the paper.

Ohhh, no wonder. Looking forward to your update as I need the latest version for my graduation requirements. Thanks a lot. Have a good day~

Sure, but please do not wait for my update if the task is urgent for you. Please go ahead with the necessary changes at your end.

ahaha, got it.😊


Add metrics/categories to report forms

Depends on https://github.com/SolarArbiter/solarforecastarbiter-core/pull/224
This PR will introduce metrics and categories( formerly referred to as subdivision in draft versions?) into reports selection. Currently in draft state and drawing from the metrics modules to populate options.
Very basic widgets look as follows:

@wholmgren Is the default behavior to compute all permutations of the selected metric and category for each object pair?

Yes, that was my idea, though I'm open to alternatives if you can make a good interface without too much effort.

Yes, that was my idea, though I'm open to alternatives if you can make a good interface without too much effort.

I think that's a good place to start. I just wanted to check that I had the right behavior in mind. I think with the report sorting interface we discussed this will provide most of the desired output with a few clicks on the rendered report.

@wholmgren Is there a combination of metrics/categories that should be checked by default? I realized that some metrics require a reference forecast, so perhaps those are not included by default.

Is there a combination of metrics/categories that should be checked by default?

For now, maybe let's check MAE, MBE, RMSE and all of the categories.

Updated version with the human readable labels:


Java error messages no longer contain line information (Java 8 + Annotation Processor)

Current Behavior
In a certain setup (see reproducer) a compile error looks like this (no line information):
> Task :compileJava FAILED
cannot find symbol
  symbol:   class Str
  location: class Dummy
1 error

Expected Behavior
The error should look like this:
> Task :compileJava FAILED
/Users/u1/java-8-error-reporting-issue/src/main/java/Dummy.java:1: error: cannot find symbol
public class Dummy { Str s; }
                     ^
  symbol:   class Str
  location: class Dummy
1 error

Context (optional)
Running with -i reveals the following additional information:
Failed to format diagnostic message, falling back to default message formatting

Self-contained Reproducer Project
src/main/java/Dummy.java (example code)
public class Dummy { Str s; }

settings.gradle.kts
plugins { id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0" }

gradle.properties
org.gradle.java.installations.auto-detect=false

build.gradle.kts
plugins {
    id("java-library")
    id("io.freefair.lombok") version "8.10.2" // Add annotation processing (without it, it works)
}
repositories { mavenCentral() }
java { toolchain.languageVersion = JavaLanguageVersion.of(8) }

Gradle version
8.9, 8.10.2, 8.11-rc-2
Gradle version that used to work
8.8
Build scan URL (optional)
https://scans.gradle.com/s/elgsa4ur5aogq
"Workarounds"

Downgrade to Gradle 8.8 or earlier
Update to a JDK newer than 8
Do not use Annotation Processors

The issue is in the backlog of the relevant team and is prioritized by them.


add gtest for gForceSDK

Brief

add googletest framwork for gForceSDK and
add the googletest as submodule in gForceSDK
update the README.md

Thanks for your advice.I will fix it later.


[Bug Fix] Add transaction reference to payment details

This PR fixes the problem described in https://github.com/Payum/PayumBundle/issues/290.

:+1:

Thank you @steffenbrem


Download PDBs instead of hardcoded addresses in driver?

Description of the feature, modification, idea or suggestion
Right now SI uses hardcoded offsets (?) for undocumented functions in kernel driver, and these offsets are calculated from published Symbols.
Proposed implementation details (optional)
This project https://github.com/valinet/ExplorerPatcher/wiki/Symbols downloads symbols on start (to calculate offsets for some system functions) if there are changes in relevant system files detected (e.g after Windows update).
Maybe this mechanic can be used also in SystemInformer?

We already do this. We do not use hard coded offsets. We sign the dynamic data which we validate before shipping. The client provides this data to the driver. The checked in binary blob is used for known offsets that are built into the driver. But the driver supports out of band updates to the dynamic data, which we use regularly.


Fix composer scripts

When trying to run composer scripts, instead of executing their file is printed on screen.
For example
composer phpunit
> php vendor/bin/phpunit

dir=$(cd "${0%[/\\]*}" > /dev/null; cd "../phpunit/phpunit" && pwd)

if [ -d /proc/cygdrive ]; then
    case $(which php) in
        $(readlink -n /proc/cygdrive)/*)
            # We are in Cygwin using Windows php, so the path must be translated
            dir=$(cygpath -m "$dir");
            ;;
    esac
fi

"${dir}/phpunit" "$@"

Fixed by adjusting to suggestions:

Composer > Scripts > Writing custom commands
changed phpstan arguments to suggested here

Coverage remained the same at 100.0% when pulling 87a1c45d24cd3235aefb64a9ca13c7a244a5a799 on piotr-cz:bugfix/composer-scripts into 62b72954e9b93a8691b0fd99a9725fed0ffeaed7 on slimphp:4.x.

We should probably fix that on all the repos @adriansuter

@l0gicgate Yes, we should.


MAVConnection: stop threads on exit and connection close

See issue #645 - misleading and distracting exits from dkpy cause support issues.

Looks sane to me, but I'm not planning on testing this. Did you get feedback from people reporting the original problem?

On Sun, 17 Jul 2016, Hamish Willee wrote:

Looks sane to me, but I'm not planning on testing this. Did you get feedback
from people reporting the original problem?

Yes, I think the issue I referenced included a comment from someone saying
it seemed to fix the problem for them.

i tested the fix as well and can confirm that dronekit-python scripts now exit gracefully.

I have merged this then :-) @peterbarker or @mrpollo do you have time for a re-release with this change?

thanks @peterbarker, I'll cut a new release

Thanks guys.


Add ability to use turbolinks-cache-control meta tag inside screen as its property

Proposal
Add ability to manipulate <meta name="turbolinks-cache-control" content="no-cache"> in screen view from screen implementation as property like:
class MyAwesomeScreen extends Screen
{
    public $turbolinkCacheControl = 'no-cache'
    public $name = 'Vendor';
...

Hi @SKPOmsk
What are the benefits of this change?
I can assume that you are having difficulty writing js in a blade representation. This can be solved by wrapping in an event.
document.addEventListener("turbolinks:load", function() {
  // ...
})

You can also publish view files and change this value.
Now it’s hard for me to imagine why this might be necessary.
I have plans to add an option for the buttons to disable turbolinks loading as it has problems downloading files

(Now it is solved with target = blank)


Updating mbed-os to mbed-os-5.9.1

Please test this PR
If successful then merge, otherwise provide a known issue.
Once you get notification of the release being made public then tag Master with mbed-os-5.9.1 .

@davidsaada can you please test and merge?


Zend\Code\Scanner\ClassScanner::getTraitNames() does not call scan() before running

As the subject says, unlike most methods in that class, getTraitNames() does not call scan() before checking available data. This means that if you call getTraitNames() or getTraits() as the first action on a newly-instantiated ClassScanner, you won't get any traits, depsite there being traits.
Unless someone confirms that this is intended behaviour and isn't actually a bug, I'll happily submit a PR to fix the issue.

It looks like the tests didn't pick this up because they always call isTrait() first, which does call scan().


KAFKA-16712: Fix race in TopicBasedRemoteLogMetadataManagerMultipleSubscriptionsTest

TopicBasedRemoteLogMetadataManagerMultipleSubscriptionsTest has a race when it sets RemoteLogMetadataTopicPartitioner using the setter.
This change fixes the race condition by passing the RemoteLogMetadataTopicPartitioner instance in a Function<Integer, RemoteLogMetaedataTopicPartitioner> which is used in configure() in TopicBasedRemoteLogMetadataManager.
It also improves the waitingFor condition by spying on RemotePartitionMetadataStore and awaiting on Phasers to ensure ConsumerManager makes progress before performing assertions.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

CC: @kamalcph this is following the discussion at https://github.com/apache/kafka/pull/15885#discussion_r1598102664


Miniclip: a handy tool for Web developers.

I've just made Miniclip, a Linux tray app that quickly converts HTML to Jade, CSS to Stylus and JS to Coffee from clipboard.
http://myguidingstar.github.com/miniclip/
and of course, it uses js2coffee

Thanks!
js2coffee 2.0.0 is out and you may want to revisit your js2coffee integration.


More testing

Codecov Report

Merging #56 into master will increase coverage by 0.69%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #56      +/-   ##
==========================================
+ Coverage   82.15%   82.85%   +0.69%
==========================================
  Files          22        5      -17
  Lines         241      140     -101
  Branches       31       17      -14
==========================================
- Hits          198      116      -82
+ Misses         25        9      -16
+ Partials       18       15       -3

Impacted Files
Coverage Δ

...pp/navpages/notification/notification.component.ts

angular/src/app/navpages/info/info.component.ts

angular/src/app/navpages/home/home.component.ts

angular/src/app/navpages/page0/page0.component.ts

angular/src/app/navpages/page1/page1.component.ts

angular/src/app/firebase/data/data.component.ts

...service/firebase/notification-firestore.service.ts

angular/src/environments/environment.ts

angular/src/app/navpages/main/main.component.ts

angular/src/app/navpages/svg/svg.component.ts

... and 7 more

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 3b46a14...4c87618. Read the comment docs.


[-wATCH-] Tiktok One Girl One Frog Video Original Video Link Imsha Rehman Video ʟᴇᴀᴋᴇᴅ Viral On Social Media X Trending Now

[-wATCH-] Tiktok One Girl One Frog Video Original Video Link Imsha Rehman Video ʟᴇᴀᴋᴇᴅ Viral On Social Media X Trending Now
.
.
.
.
The recent surge of interest surrounding Ms sethi latest video showcases the massive impact that viral moments can have on a digital creator’s reach. As a rising figure in Original media, her innovative approach and unique content—most notably her recent Spiderman-themed video—are driving vibrant discussions and enthusiasm on platforms like Instagram, X (formerly Twitter), and Discord. This viral wave highlights how quickly content can elevate creators to new levels of visibility, fostering strong connections between them and their audiences. Social media continues to be a powerful tool, propelling creators into the spotlight and keeping fans eagerly anticipating their next moves.


Add in Node scenarios for Alibaba cloud

Need to add in support for the new alibaba cloud type for node scenarios

Closing with PR 215 merged


Problem with current bundler setup

📄 Context
While developing #4, I stumbled upon a blocker to write tests to the InputDetailsView component that uses components from @cartesi/rollups-explorer-ui. That may cause a similar issue when writing tests for other components also using the package. Just changing the bundling to ESM by the configuration causes odd problems between rainbow-kit with NextJS13 server rendering and hydration (but only in dev mode 🫠 so confidence with that framework is super high 👍 )

Logs
 FAIL  test/components/inputDetailsView.test.tsx [ test/components/inputDetailsView.test.tsx ]
Error: require() of ES Module /rollups-explorer/packages/rollups-wagmi/dist/index.js from /rollups-explorer/packages/ui/dist/index.js not supported.
Instead change the require of /rollups-explorer/packages/rollups-wagmi/dist/index.js in /rollups-explorer/packages/ui/dist/index.js to a dynamic import() which is available in all CommonJS modules.
 ❯ async /rollups-explorer/apps/web/src/components/inputDetailsView.tsx:2:31
 ❯ async /rollups-explorer/apps/web/test/components/inputDetailsView.test.tsx:4:39

✔ Solution
Change how we are bundling the packages, moving to ESM only and making the module the main entry instead of the commonJS one. Also, address the quirks of NextJS13.
PS: in theory, rainbow-kit has nothing to do with our ui package
📈 Subtasks

[x] Change the bundling to ESM
[x] Write tests for a component using the UI package, e.g. InputDetailsView.
[x] Investigate the NextJS 13 problem with RainbowKit

🎯 Definition of Done

[x] Able to write tests for components importing from @cartesi/rollups-explorer-ui.

Manually closing since it was a PR merged into a branch that is not main


Seeing two tests fail

   49 passed
   2 failed

  1. Should return object relating uids to access level for multiple permissions when using $determineAccessToAllPermissionsForResources()
  expected true to equal false
      _callee37$ (index.js:541:58)
    fulfilled (index.js:11:32)

  2. Should default to deny if conflicting parent access
  Should not have access: expected true to equal false
      _callee41$ (index.js:590:93)
    fulfilled (index.js:11:32)

This seems to happen non-deterministically, thinking it might be an object iteration order issue.


cmake Fail - include could not find load file feature_defs

Platform: Up Squared
upsquared@upsquared-UP-APL01:~$ uname -a
Linux upsquared-UP-APL01 4.14.0-041400.201711122031-upboard-generic #upboard SMP Wed May 30 15:08:48 IST 2018 x86_64 x86_64 x86_64 GNU/Linux
upsquared@upsquared-UP-APL01:~/store-traffic-monitor/application/build$ cmake ..-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:11 (include):
include could not find load file:
feature_defs

CMake Error at CMakeLists.txt:13 (add_subdirectory):
add_subdirectory given source
"/opt/intel//computer_vision_sdk_2018.4.420/deployment_tools/inference_engine/samples/extension"
which is not an existing directory.
-- Configuring incomplete, errors occurred!
See also "/home/upsquared/store-traffic-monitor/application/build/CMakeFiles/CMakeOutput.log".

Not yet.
From: wentengedu<EMAIL_ADDRESS>Sent: Tuesday, January 1, 2019 6:29 AM
To: intel-iot-devkit/store-traffic-monitor<EMAIL_ADDRESS>Cc: Le, Nhuy N<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [intel-iot-devkit/store-traffic-monitor] cmake Fail - include could not find load file feature_defs (#2)
I have the same problem，
Have you solved this problem?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/intel-iot-devkit/store-traffic-monitor/issues/2#issuecomment-450728994, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHqM6jje6koEQjgZr1M7_HBT05WtpZCYks5u-2KkgaJpZM4Y2CGW.

Even i am waiting for the solution to this problem

repo updated with latest version, please download and try again to see if problem persists


JVM Target Compatibility Issue with Capacitor 6

Describe the bug
After adding and syncing the capacitor-community-safe-area plugin, I encountered the following build failure when attempting to run the application:
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':capacitor-community-safe-area:compileDebugKotlin'.
> 'compileDebugJavaWithJavac' task (current target is 17) and 'compileDebugKotlin' task (current target is 18) jvm target compatibility should be set to the same Java version.
Consider using JVM toolchain: https://kotl.in/gradle/jvm/toolchain

To Reproduce
Just run any android emulator/device after plugin sync
Screenshots

Smartphone (please complete the following information):
Any android device ( API 30 - 35 )
Additional context
Usually, this issue can be resolved with some manual adjustments inside the gradle file, but it's unclear why it's occurring in this case.

I just downgrade my java version to v 17 and it solve the issue

I just downgrade my java version to v 17 and it solve the issue


Restructure main.m script

Move initialisation of each model to separate file.
Minimise code in main.m which doesn't change structure of simulation.
Should be easy to reconfigure setup of simulation from main.m script.

Fixed in feature_plottingImprovements branch


Better function of create game button

Make the game selected when the button is clicked and only show it when map is installed.
Fixes #720

Was this intentionally closed unmerged?


how to use it？

Hi there,
i don't know how to invoke the interface, do you have the example？

Hi!
This project is currently still in progress, so I'm still working on the interface, the idea as of now is to have a docker container running a Python script waiting for an input of a specified port. Once an valid input is given the program will automatically generate a mask using Segment Anything and returns the mask with any other data that may be of interest.
Once I've completed the interface I will write a section in the README file with a guide on how to setup & run the docker container but keep in mind repository is designed for integration with a backend.
If you have any other questions, comments or recommendations don't hesitate to reach out to me!


Patches to allow building on Windows

Hi Keir, I've got building working on Windows natively. It appears Windows gnu make (3.81) doesn't pass on make variables to sub process makes, so I've added them explicitly.
I've also allowed the use of different names for the Python and Zip executables in Windows.
The final change is replacing relative paths (..) in RPATH with $(ROOT) etc.
I've also checked that it still works on Ubuntu!

Manually merged. I explicitly export some top-level user options now (stm32, debug, VERBOSE). Hopefully that avoids the explicit passing of them at sub-make invocations. So give it a go on Windows and see if it still works!


No winsock dependency

Many warnings and previous build problems were related to winsock2 library we used. But currently the only place where it is needed is byte order conversion https://github.com/osmcode/libosmium/blob/381cf92723a1fab5b1fc74fcb8f0ad89d73b7274/include/osmium/io/detail/pbf_output_format.hpp#L188
Now that we have protozero library, this can easily be avoided, at least on Windows (little-endian only).

(accidentally included commit from previous PR)

This is pretty cool (given previous issues like #198)


Remix nodejs+postgres example

I created a basic Remix example that uses PostgreSQL.
I couldn't find a simple enough full-stack Remix template so I created my own. It can be regularly rebased on top of the official default template, and I feel comfortable about transferring repo ownership to cachix organization.
The test seems to be passing on my machine, but I'm open to improvements. I based everything on Ruby on Rails example and my own experimental project where I started using devenv.
A Next.js example can be built based on this relatively easily if needed.

@domenkozar I cleaned the create-remix output a bit.
There are many failing tests, at least one is because of prisma dependency on libssl. I could simplify the template to use PostgreSQL with a simpler library, but this is a pretty typical Remix setup so it has testing value.

Would be great to fix the tests so it can be merged.

I would find some direction immensely helpful, as there are 71 tests failing and many of them are not related to this PR as far as I can tell. Would rebasing on main help? And the question about Prisma dependency on libssl remains, which solution would you recommend?

Ideally we'd fix prisma in nixpkgs so that it works.

I rebased my changes in case it helps. I'd be really happy to get this merged, I plan to write a blog post about using devenv to manage dependencies for a Node.js project and it'd be nice to have an official example in place for that.

@frontsideair happy to merge once tests pass, can you make sure those work?

I think I fixed them @domenkozar, running devenv shell devenv-test-example remix locally passes.

Every test is failing for a separate reason, one failing because of libssl, one is getting 403 from GitHub, two because they can't find npm. I'm very much lost.

I'm currently focusing effort to get #1005 out, once it's done I can help you take a look.

@frontsideair hey, can you rebase and see where we're at?

@domenkozar Rebased, thanks for keeping tabs on this!


Various basic PHP packages (needed for azuriom)

Project description
I am trying to install this CMS: https://azuriom.com/docs/installation on my nixos vps, I installed php but I also need a few php extension packages that I'm not able to find:
BCMath PHP Extension
Ctype PHP Extension
JSON PHP Extension
Mbstring PHP Extension
OpenSSL PHP Extension
PDO PHP Extension
Tokenizer PHP Extension
XML PHP Extension
cURL PHP Extension
GD2 PHP Extension
Zip PHP Extension
Metadata

homepage URL:  https://azuriom.com/
source URL: https://github.com/Azuriom
license: GPL 3.0

Please include error message and some details of how to reproduce.

Most of the extensions mentioned here were added soon after this was opened in #82348.
I'm not certain about "gd2" (I see gd). JSON has also been since removed. (but IIRC that's because support is now built in?)


Check spinning forever

There is a special case where I click on Check and it spins forever
Two logcats are attached
It can be reproduced by using Hide My Applist v3.1.1 (module for Zygisk LSPosed):
https://github.com/Dr-TSNG/Hide-My-Applist/releases/tag/V3.1.1
Install HMA and enable in LSposed, go to App manage, enable Show system apps
Find Google Play Store (com.android.vending), open and check Enable hide - as on the screenshot).
(That's a step toward configuring HMA to detach some apps from PlayStore)
Go back, reboot
Then open PI API Checker, click on Check and it will never end, nor report an error

See also:
https://forum.xda-developers.com/t/hide-my-applist-a-brief-guide.4519731/post-88264113

logcat.txt
logcat1.txt

Looks like that Check is missing some timeout or error detection that PI API checking cannot be performed, to report an error

Looks like a bug with the library. There is a new version, it might fix the problem. I'll try to push an app update today


Change test server to the public orion context broker.

This PR changes the server using for testing to the public Orion ContextBroker.
Currently isn't working

[ ] Verify that the server works again before merge this PR.

Build status:

Linux

Build status:

Linux

Build status:

Linux

Build status:

Linux

https://github.com/eProsima/FIWARE-SH/pull/36 fixes this issue


zh-tw and zh-cn confused

I notice that the Translator.detect() function always returns "zh-CN" (which is simplified Chinese) and even when I pass in traditional Chinese characters. By the way, I'm a native speaker of both Chinese so I am pretty confident with this error.
Sample traditional Chinese Input:

Sample simplified Chinese Input:

Fixed library are here https://pypi.org/project/py-translator/


Fix  nfpm.yaml for apk packages

Proposed changes
Update nfpm.yaml for apk packages to match the scripts/.local-nfpm.yaml
Checklist
Before creating a PR, run through this checklist and mark each as complete.

[ ] I have read the CONTRIBUTING document
[ ] I have run make install-tools and have attached any dependency changes to this pull request
[ ] If applicable, I have added tests that prove my fix is effective or that my feature works
[ ] If applicable, I have checked that any relevant tests pass after adding my changes
[ ] If applicable, I have updated any relevant documentation (README.md)
[ ] If applicable, I have tested my cross-platform changes on Ubuntu 22, Redhat 8, SUSE 15 and FreeBSD 13

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

Project coverage is 66.11%. Comparing base (808c064) to head (f28f146).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #597      +/-   ##
==========================================
- Coverage   66.13%   66.11%   -0.03%
==========================================
  Files         118      118
  Lines       13485    13485
==========================================
- Hits         8918     8915       -3
- Misses       3963     3967       +4
+ Partials      604      603       -1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


mount: Fix input/output errors for canceled syscalls

What does this PR change? What problem does it solve?
Accessing restic's fuse mount could result in "input / output" errors for programs in which syscall can be interrupted. This is for example the case for go programs.
bazil/fuse expects us to return context.Canceled to signal that a syscall was successfully interrupted. Returning a wrapped version of that error however causes the fuse library to signal an EIO (input/output error). Thus unwrap context.Canceled errors before returning them.
Was the change previously discussed in an issue or on the forum?
Fixes #3694
Checklist

[x] I have read the contribution guidelines.
[x] I have enabled maintainer edits.
[ ] I have added tests for all code changes.
[ ] I have added documentation for relevant changes (in the manual).
[x] There's a new file in changelog/unreleased/ that describes the changes for our users (see template).
[x] I have run gofmt on the code in all commits.
[x] All commit messages are formatted in the same style as the other commits in the repo.
[x] I'm done! This pull request is ready for review.

Let's merge this. There's only little potential for regressions as the code paths aren't used too often and the basic approach was already tested in #3694.


No aligned depth topic Humble/OAK-D PRO W POE

Hi.
It seems that the depth align does not work for OAK-D-PRO-W POE and the Humble branch, as i am getting this from the camera.launch.py file:
root@victor-Legion-5-Pro-16ACH6H:/# ros2 launch depthai_ros_driver camera.launch.py
[INFO] [launch]: All log files can be found below /root/.ros/log/2023-04-28-09-57-33-757235-victor-Legion-5-Pro-16ACH6H-178
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [robot_state_publisher-1]: process started with pid [192]
[INFO] [component_container-2]: process started with pid [194]
[robot_state_publisher-1] [INFO] [1682675853.922572649] [oak_state_publisher]: got segment oak
[robot_state_publisher-1] [INFO] [1682675853.922658059] [oak_state_publisher]: got segment oak-d-base-frame
[robot_state_publisher-1] [INFO] [1682675853.922682363] [oak_state_publisher]: got segment oak_imu_frame
[robot_state_publisher-1] [INFO] [1682675853.922702685] [oak_state_publisher]: got segment oak_left_camera_frame
[robot_state_publisher-1] [INFO] [1682675853.922721262] [oak_state_publisher]: got segment oak_left_camera_optical_frame
[robot_state_publisher-1] [INFO] [1682675853.922740048] [oak_state_publisher]: got segment oak_model_origin
[robot_state_publisher-1] [INFO] [1682675853.922757786] [oak_state_publisher]: got segment oak_rgb_camera_frame
[robot_state_publisher-1] [INFO] [1682675853.922775804] [oak_state_publisher]: got segment oak_rgb_camera_optical_frame
[robot_state_publisher-1] [INFO] [1682675853.922793054] [oak_state_publisher]: got segment oak_right_camera_frame
[robot_state_publisher-1] [INFO] [1682675853.922810164] [oak_state_publisher]: got segment oak_right_camera_optical_frame
[component_container-2] [INFO] [1682675854.153322066] [oak_container]: Load Library: /ws/install/lib/libdepthai_ros_driver.so
[component_container-2] [INFO] [1682675854.189981076] [oak_container]: Found class: rclcpp_components::NodeFactoryTemplate<depthai_ros_driver::Camera>
[component_container-2] [INFO] [1682675854.190084504] [oak_container]: Instantiate class: rclcpp_components::NodeFactoryTemplate<depthai_ros_driver::Camera>
[component_container-2] [INFO] [1682675854.195066242] [oak]: No ip/mxid specified, connecting to the next available device.
[component_container-2] [INFO] [1682675860.937841715] [oak]: Camera with MXID:<PHONE_NUMBER>59A30F00 and Name: <IP_ADDRESS> connected!
[component_container-2] [INFO] [1682675860.937984881] [oak]: PoE camera detected. Consider enabling low bandwidth for specific image topics (see readme).
[component_container-2] [INFO] [1682675860.960688140] [oak]: Device type: OAK-D-PRO-W-POE-97
[component_container-2] [INFO] [1682675860.965839795] [oak]: Pipeline type: RGBD
[component_container-2] [INFO] [1682675860.981345111] [oak]: NN Family: mobilenet
[component_container-2] [INFO] [1682675861.029812792] [oak]: NN input size: 300 x 300. Resizing input image in case of different dimensions.
[component_container-2] [INFO] [1682675861.068007685] [oak]: Finished setting up pipeline.
[component_container-2] [INFO] [1682675862.255802479] [oak]: Camera ready!
[INFO] [launch_ros.actions.load_composable_nodes]: Loaded node '/oak' in container '/oak_container'
[component_container-2] [184430109159A30F00] [<IP_ADDRESS>] [7.224] [StereoDepth(4)] [error] Stereo alignment error: 1, trying to recover.
[component_container-2] [184430109159A30F00] [<IP_ADDRESS>] [12.142] [StereoDepth(4)] [error] Stereo rectification error: 1, trying to recover.
[component_container-2] [184430109159A30F00] [<IP_ADDRESS>] [49.335] [StereoDepth(4)] [error] Stereo alignment error: 2, trying to recover.
^C[WARNING] [launch]: user interrupted with ctrl-c (SIGINT)

As far as i know i should have an aligned depth topic avaliable, right?
These are the ones i can see when doing ros2 topic list
root@victor-Legion-5-Pro-16ACH6H:/# ros2 topic list
/btAction
/joint_states
/oak/imu/data
/oak/nn/spatial_detections
/oak/rgb/camera_info
/oak/rgb/image_raw
/oak/rgb/image_raw/compressed
/oak/rgb/image_raw/compressedDepth
/oak/rgb/image_raw/theora
/oak/stereo/camera_info
/oak/stereo/image_raw
/oak/stereo/image_raw/compressed
/oak/stereo/image_raw/compressedDepth
/oak/stereo/image_raw/theora
/parameter_events
/robot_description
/rosout
/tf
/tf_static

Was this ever implemented for the OAK-D PRO W POE? I am running this in the dockerized setup btw.

Hi, aligned topic is available on /oak/stereo/image_raw, do you receive data on that one?

Hi @Serafadam, thank you for the quick reply.
Yes i am receiving data on both /oak/rgb/image_raw and /oak/stereo/image_raw. They may be alligned, but i was under the impression that they should share FOV, and thus thought that they were not aligned. According to Luxonis' website the FOV of both my depth and RGB sensor should be 150° / 127° / 79.5°.
As you can see in the below image, there is something up with the FOV, which i thought related to the Stereo alignment error and Stereo rectification error that the camera.launch.py file is throwing.
The images side by side can be seen below, note my hand is not in the depth image.

Is this the intended behavior?

Hi, yes the FOV is different for those sensors, since they have different distortions & positions they might cover different areas, you could try rgb rectification (available in rgbd_pcl.launch` to check how that changes things. You can also try rgb depth alignment demo to see that alignment in effect better.

Hi @Serafadam , I got the same issue when trying to launch the camera.launch.py in my humble distro. The code then suddenly stop working with new error  "[ERROR] [component_container-2]: process has died [pid 70472, exit code -11, cmd '/opt/ros/humble/lib/rclcpp_components/component_container --ros-args --log-level info --ros-args -r __node:=oak_container -r __ns:=/']."
For additional information, I used OAK-D POE in Ubuntu 22.04. Do you know how to overcome this issue ? I need to make sure that the camera.launch.py can work well in my laptop before trying to launch  rtabmap.launch.py
Thanks!

Sure @Serafadam
I am working with Ubuntu 22.04.1 LTS and  ros2 humble. I installed the depthai-ros from source. There is no problem when I executed the stereo_inertial_node.launch.py by "ros2 launch depthai_examples stereo_inertial_node.launch.py".
Unfortunately, I got the error when trying to launch the camera.launch.py. The error and the log can be seen  trough the following image.

Could you share more information as in bug report template? Running export DEPTHAI_DEBUG=1 before launching the example will print out more logs as well.


external json files prevent scene build in 0.9

This test works in 0.8:
http://tangrams.github.io/tangram-frame/?lib=0.8&url=https://raw.githubusercontent.com/tangrams/differ-tests/gh-pages/unit-tests/sources/sources-external-geojson.yaml#13/0.0193/-0.0161
…but fails in 0.9:
http://tangrams.github.io/tangram-frame/?lib=0.9&url=https://raw.githubusercontent.com/tangrams/differ-tests/gh-pages/unit-tests/sources/sources-external-geojson.yaml#13/0.0193/-0.0161
Also, this test works, comparing 0.7 to 0.8:
http://tangrams.github.io/differ/?1=https%3A//github.com/tangrams/differ-tests/blob/gh-pages/unit-tests/sources/sources01.json&2=&lib1=0.7&lib2=0.8&go
But this test fails at "sources-external-json", when comparing 0.8 to 0.9:
http://tangrams.github.io/differ/?1=https%3A//github.com/tangrams/differ-tests/blob/gh-pages/unit-tests/sources/sources01.json&2=&lib1=0.8&lib2=0.9&go
Additionally, creating any new json file at geojson.io and attempting to serve and load it as a source in a scene file prevents the scene from loading at all – white screen, no console output.

Yikes. Looks like it's hanging because the incremental tile build functionality is never completing for empty tiles (which only really happen with non-tiled data sources). Looking into it...

OK I believe this is resolved here https://github.com/tangrams/tangram/commit/58664d9ee767e0ae6cf8078927907f6b1b6ba3e5, and I would like to cut a new Tangram 0.9.1 release for this and other bug fixes. But I want to make sure I test this carefully.
@IvanSanchez - do you happen to have the example scene file you were trying handy for us to test? Alternatively, you can also access the master branch of Tangram directly at https://precog.mapzen.com/tangrams/tangram/master/dist/tangram.debug.js if you want to check yourself.

This looks verified here: http://tangrams.github.io/differ/?1=https%3A//github.com/tangrams/differ-tests/blob/gh-pages/unit-tests/sources/sources01.json&2=&lib1=0.8&lib2=https%3A//precog.mapzen.com/tangrams/tangram/master/dist/tangram.debug.js&go
(Note differences in box size from changes in vanishing_point behavior in v0.9.0, but that is expected.)

@bcamper I've pulled and built a fresh copy of the master branch, and it still fails for me. :sob:
I've left my .yaml file at https://gist.github.com/IvanSanchez/868241d4cb8d3395ef984ec5b0c0ddac, and my geojson at https://gist.github.com/IvanSanchez/a5bb8ace5333b90dce5ddddb026371cd?short_path=619541a (it's partial data, but still reproduces the bug). I know it fails to build the scene, as the (commented) natural earth layer fails to display when the walls layer is uncommented.

Hey @IvanSanchez - I can get your walls polygon to render on this build, example here:
http://tangrams.github.io/tangram-frame/?url=https://gist.githubusercontent.com/anonymous/7e83b778746b91af9f9fd381c6c01441/raw/4de2dda5fcf2326c0a67e2e5d3012f3e305d7520/scene.yaml&lib=https://precog.mapzen.com/tangrams/tangram/master/dist/tangram.debug.js#24/63.41555/10.40676
Let me know if that renders for you? (There may be some precision-related issues from the very high zoom level, but I'm at least getting a red polygon.)
I don't have a reference to your other Natural Earth file, maybe you could post it too? Is it a problem you're experiencing when rendering those two sources together, or were you unable to get this walls polygon to render on its own as well? Something I can see off-hand in your scene file is that your walls layer has order: 1, and NE has order: 3, which would cause the NE layer to draw on top and maybe obscure the walls layer (actually both orders are commented, but that could be related). Let me know, happy to test with both files if you'd like!

I believe the original issue as described here has been resolved in the released v0.9.1, so I'm closing this issue as is.
However, @IvanSanchez, if you continue to experience issues with your scene, please feel free to either comment here, open a few issue, or reach us on gitter chat, and we'll be glad to help out. Thanks!


Moving libnrm docs from nrm-docs repo to libnrm repo

[x] Activate/configure Doxygen
[ ] Setup auto-docs-builds for PRs

Current state: https://nrm.readthedocs.io/projects/libnrm/en/docs-add_libnrm_docs/
Uses doxygen in libnrm API section.
When this is pulled in I'll adjust the nrm-docs repo


Add new metrics as important metrics

Summary
Add the following kube-state-metrics metrics as important metrics:

kube_replicaset_status_replicas
kube_daemonset_status_number_available
kube_statefulset_status_replicas
kube_pod_info

Added with #78.


[Feature Request]: No need for both GRPC and Tendermint URLs

Implementation ideas
Light node requires both grpc and tendermint URLs to be provided which is not necessary in cosmos.
github.com/cosmos/cosmos-sdk/client can be used by providing just the tendermint RPC endpoint.
Making it easier for the users to set up their client.
RunE: func(cmd *cobra.Command, args []string) error {
    clientCtx, err := client.GetClientTxContext(cmd)
    // any module query client
    <anymodule>.NewQueryClient(clientCtx)
    // as well as any tendermint rpc calls, for example status.
    status, err := clientCtx.Client.Status(ctx)

Also, If you prefer to keeping the optionality to set up two endpoints, please allow the users to set up different URLs for both grpc and tendermint
I.E
Tendermint URL:
https://celestia.tendermint.rpc:443
gRPC URL:
celestia.grpc.rpc:443
currently the binary allows only port configuration while using the same IP address.

Unfortunately, that's not possible, as we still need the ability to fetch Block data, Commits, and Validator sets, and that's not accessible from GRPC.
We are working on moving necessary endpoints to GRPC to make it work with a single endpoint only, also avoiding the overhead JSON brings over the wire for big blocks

Tendermint can make "GRPC" calls internally using abci_query.

These are only limited to App's state. It can't serve the data I listed above.

You can follow developments of the new endpoint here: https://github.com/celestiaorg/celestia-core/pull/1513

@omerlavanet, It is possible to do almost* everything with TM's JSON RPC only. Our goal, on the other hand, is to make everything work over GRPC as JSON brings noticeable overhead.

This change will land in a not-so-distant future release, effectively resolving the unification you requested.


The specified VM already has the maximum number of data disks (6) attached. Please specify another VM. When VM never ran

ISSUE TYPE

Bug Report

COMPONENT NAME

cloudstack/server/src/main/java/com/cloud/storage/VolumeApiServiceImpl.java
Line 3020: maxDataVolumesSupported = 6; // 6 data disks by default

CLOUDSTACK VERSION

up to latest versions 4.13, we use 4.11.2

CONFIGURATION

Our Setup: KVM HV with primary Ceph storage and secondary NFS storage.
OS / ENVIRONMENT

N/A
SUMMARY

We create a vm with the Ansible cs-instance module:
- name: Creating Virtual Machine
  local_action:
    module: cs_instance
    name: ...
    template: ...
    hypervisor: ...
    project: ...
    zone: ...
    service_offering: "Custom"
    cpu: ...
    cpu_speed: ...
    memory: ...
    networks: ....
    domain:
    state: stopped

The important thing is the state: stopped, the vm never ran at this point. Then we attach more than 6 volumes and get the error:
The specified VM already has the maximum number of data disks (6) attached. Please specify another VM.
STEPS TO REPRODUCE

Create a stopped vm:
- name: Creating Virtual Machine
  local_action:
    module: cs_instance
    name: ...
    template: ...
    hypervisor: ...
    project: ...
    zone: ...
    service_offering: "Custom"
    cpu: ...
    cpu_speed: ...
    memory: ...
    networks: ....
    domain:
    state: stopped

You can create a stopped vm with ansible and then try to attach more than 6 volumes to it.
EXPECTED RESULTS

More than 6 Volumes can be attached at a stopped vm that never ran.

We would like to have a Global Setting in Cloudstack wich is mapped to the Variable "maxDataVolumesSupported"  with the default Value "6";

ACTUAL RESULTS

Actual you cannot change the value of 6 because it's hardcoded.

Errormessage:
The specified VM already has the maximum number of data disks (6) attached. Please specify another VM.

@RoMi1981 I am guessing you have diskcontroller type IDE on that VM do you?
@GabrielBrascher Do you know if this linit is hard coded or implicit and taken over from the backend for ceph or some other ceph specific limit?
the line (which is now 3266) is a fallback if no proper configuration is found.
going out on a limb this is a feature request and not a bug...

I totally agree with @DaanHoogland.
Maybe it is something that we could improve on documentation then(?) ... to be honest I never checked this at the documentation.
Just to be sure that it is not a bug, @RoMi1981 can you please take a look at what is the value set for max_data_volumes_limit?
SQL example:
select hypervisor_type, hypervisor_version, max_data_volumes_limit from hypervisor_capabilities where hypervisor_type="KVM";

Hi,
during setup of cloudstack, table hypervisor_capabilities is created by
https://github.com/apache/cloudstack/blob/3a326f7280fefcd809573149ceb05b5fc7d07893/setup/db/create-schema.sql#L1657
with only "default" line for KVM
https://github.com/apache/cloudstack/blob/3a326f7280fefcd809573149ceb05b5fc7d07893/setup/db/create-schema.sql#L1681
which results in max_data_volumes_limit for "kvm default" is set to 6  by
https://github.com/apache/cloudstack/blob/3a326f7280fefcd809573149ceb05b5fc7d07893/setup/db/create-schema.sql#L1664

Now in case of creating an instance in state stopped it is never started and therefor vm.getLastHostId() returns NULL in
https://github.com/apache/cloudstack/blob/3a326f7280fefcd809573149ceb05b5fc7d07893/server/src/main/java/com/cloud/storage/VolumeApiServiceImpl.java#L3252
and "fallback if no proper configuration is found" is triggered, which grabs the max_data_volumes_limit value for "default" hypervisor version (which was set to 6 during setup)
https://github.com/apache/cloudstack/blob/3a326f7280fefcd809573149ceb05b5fc7d07893/server/src/main/java/com/cloud/storage/VolumeApiServiceImpl.java#L3266

But once the instance is deployed, vm.getLastHostId() will return a valid hostId, which results in respecting the real hypervisor version at
https://github.com/apache/cloudstack/blob/3a326f7280fefcd809573149ceb05b5fc7d07893/server/src/main/java/com/cloud/storage/VolumeApiServiceImpl.java#L3262

I hope this will help to figure out, what happens, if it is a bug or a feature and how to proceed with this case.
regards,
Michael

@mib1185 , to answer your  last question; any 4.x version is done by installind the 4.0 schema and thenrun all the upgrades. so yes, the statements should be run for fresh installs of newer versions as well.

@DaanHoogland I do not have access to an installation based on KVM.
But I guess, @RoMi1981 could have a look into our KVM environment 🤔

my bad @mib1185 , I thought you had the problem as well.
@RoMi1981 , could you please try that and report back (or close the issue if all's fine)?

thanks guys, i will check this and come back to you

great @RoMi1981, please just close if all right.

@RoMi1981 I'm closing the issue. please reopen if you feel this is wrong.


Update dataset-list.R

This PR is currently an outline of the work needed to update the UK estimates for test-positive cases and to add new estimates for admissions and deaths. This is in response to an urgent gov request and should be the priority for any/all dev effort.
@kathsherratt I have updated the list with the skeleton of the items needed and text indicating what goes where. Feel free to ping if not clear.
@joeHickson in #61 I added the support that this PR draws on so if you could review that ASAP that would be great. In addition, I may have missed something obvious here or there may be problems I haven't seen (such as what will happen to logging)
New delays should go in the data folder @kathsherratt.

I've added the new items for UK public data sources (cases, deaths, hospital admissions) from covidregionaldata. (NB The call to covidregionaldata needs the new nhsregion = TRUE option.)
May be mistakes from unfamiliarity here so happy for others to suggest / edit where needed.

I'll give it a spin - I need to get the data sets to have a unique name to target them so I'll tweak those myself.

No joy - it's erroring. Just merging latest from master over and we'll see if that helps

new error message now!
:/home/covid# Rscript R/run-region-updates.R -w -i "none" --log /home/data/uk_new_log.txt

Attaching package: ‘lubridate’

The following objects are masked from ‘package:base’:

    date, intersect, setdiff, union

Error in gzfile(file, "rb") : cannot open the connection
Calls: source ... eval -> <Anonymous> -> <Anonymous> -> readRDS -> gzfile
In addition: Warning message:
In gzfile(file, "rb") :
  cannot open compressed file '/home/covid/data/cocin-onset-to-death-delay.rds', probable reason 'No such file or directory'
Execution halted

2020-10-06 11:28:01 DEBUG skipping location united-kingdom as it is not in the include list
2020-10-06 11:28:01 INFO Processing dataset for united-kingdom-deaths
2020-10-06 11:28:01 INFO Getting regional data
Arranging data by NHS region.
Also adding new variable: hosp_new_first_admissions. This is NHS data for first hospital admissions, which excludes readmissions. This is available for England and English regions only.
trying URL 'https://www.england.nhs.uk/statistics/wp-content/uploads/sites/2/2020/10/COVID-19-daily-admissions-20201005.xlsx'
Content type 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' length 27151 bytes (26 KB)
==================================================
downloaded 26 KB

2020-10-06 11:28:03 TRACE Modifying data
2020-10-06 11:28:03 INFO Processing dataset for united-kingdom-admissions
2020-10-06 11:28:03 INFO Getting regional data
Arranging data by NHS region.
Also adding new variable: hosp_new_first_admissions. This is NHS data for first hospital admissions, which excludes readmissions. This is available for England and English regions only.
trying URL 'https://www.england.nhs.uk/statistics/wp-content/uploads/sites/2/2020/10/COVID-19-daily-admissions-20201005.xlsx'
Content type 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' length 27151 bytes (26 KB)
==================================================
downloaded 26 KB

2020-10-06 11:28:04 TRACE Modifying data
2020-10-06 11:28:04 DEBUG skipping location united-states as it is not in the include list
2020-10-06 11:28:04 DEBUG skipping location regional-cases as it is not in the include list

It seems to by crashing out on national_deaths <- deaths[region %in% c("England", "Scotland", "Wales", "Northern Ireland"),] - I can see it completing the deaths <- deaths line before but not beyond

if its a data.table it doesn't need the comma - one sec

Think the latest PR should have fixed that issue @joeHickson - as a general point might need a try catch for the user input function as it can be literally anything! I found this https://rdrr.io/cran/futile.logger/man/ftry.html which looks useful.

any thoughts @kathsherratt - can you run the get_regional_data %>% case_modifier() outside of the infra?

re: try / catch - it doesn't crash out any other data sets as that's already isolated.
That's still failing - I can see that it is reaching that line and there are regions present.
futile.logger::flog.debug("get national")
print(unique(deaths$region))
national_deaths <- deaths[region %in% c("England", "Scotland", "Wales", "Northern Ireland")]
futile.logger::flog.debug("get uk wide")

2020-10-06 12:51:26 TRACE Modifying data
2020-10-06 12:51:26 DEBUG get national
[1] "East of England"          "England"
[3] "London"                   "Midlands"
[5] "North East and Yorkshire" "North West"
[7] "Northern Ireland"         "Scotland"
[9] "South East"               "South West"
[11] "Wales"
2020-10-06 12:51:26 INFO Processing dataset for united-kingdom-admissions <- moved straight on
I'm trying to debug on the server though which is not ideal...

This would be so we could see this error message and hence debug the user-supplied function more easily.

the ftry gave more output:
2020-10-06 12:59:54 TRACE Modifying data
2020-10-06 12:59:55 DEBUG get national
[1] "East of England"          "England"
[3] "London"                   "Midlands"
[5] "North East and Yorkshire" "North West"
[7] "Northern Ireland"         "Scotland"
[9] "South East"               "South West"
[11] "Wales"
2020-10-06 12:59:55 ERROR Error in .checkTypos(e, names_x): Object 'region' not found. Perhaps you intended region_level_1, ons_region_code
2020-10-06 12:59:55 INFO Processing dataset for united-kingdom-admissions

Ah nice. Looks like it doesn't have region as a variable. when do we usually rename that (checking).

2020-10-06 13:11:54 TRACE 2
[1] "East of England"          "England"
[3] "London"                   "Midlands"
[5] "North East and Yorkshire" "North West"
[7] "Northern Ireland"         "Scotland"
[9] "South East"               "South West"
[11] "Wales"
date           region_level_1 ons_region_code cases_new cases_total
1: 2020-01-03          East of England              NA         0           0
2: 2020-01-03                  England              NA         0           0
3: 2020-01-03                   London              NA         0           0
4: 2020-01-03                 Midlands              NA         0           0
5: 2020-01-03 North East and Yorkshire              NA         0           0
3043: 2020-10-05         Northern Ireland              NA         0           0
3044: 2020-10-05                 Scotland              NA         0           0
3045: 2020-10-05               South East              NA         0           0
3046: 2020-10-05               South West              NA         0           0
3047: 2020-10-05                    Wales              NA         0           0
deaths_new deaths_total recovered_new recovered_total hosp_new hosp_total
1:          0            0            NA              NA        0          0
2:          0            0            NA              NA        0          0
3:          0            0            NA              NA        0          0
4:          0            0            NA              NA        0          0
5:          0            0            NA              NA        0          0
3043:          0            0            NA              NA        0          0
3044:          0            0            NA              NA        0          0
3045:          0            0            NA              NA        0          0
3046:          0            0            NA              NA        0          0
3047:          0            0            NA              NA        0          0
tested_new tested_total hosp_new_first_admissions hosp_new_blend
1:         NA           NA                        NA             NA
2:         NA           NA                        NA             NA
3:         NA           NA                        NA             NA
4:         NA           NA                        NA             NA
5:         NA           NA                        NA             NA
3043:         NA           NA                        NA              0
3044:         NA           NA                        NA              0
3045:         NA           NA                        NA             NA
3046:         NA           NA                        NA             NA
3047:         NA           NA                        NA              0
2020-10-06 13:11:54 ERROR Error in .checkTypos(e, names_x): Object 'region' not found. Perhaps you intended region_level_1, ons_region_code
it's odd that it can print the region though...
futile.logger::flog.trace("2")
print(unique(deaths$region))
print(deaths)
national_deaths <- deaths[region %in% c("England", "Scotland", "Wales", "Northern Ireland")]```

is it auto-completing the variable name (is that a thing) in the first cool and not in data.table because data.table is a bit less mad than base R?

No idea how! The column rename happens after the modification script is called.

Found it the column gets renamed after this function call: https://github.com/epiforecasts/covid-rt-estimates/blob/8e2d04aa20678c46c2c91f08e59c5fe2a8825d92/R/update-regional.R#L71

might have fixed it?

we have lift off!

Thanks @joeHickson and @seabbs ! I've been out the last couple of hours - thanks for debugging and sorting this so quickly.

Any update on this? Any chance we can have something in place for tomorrow morning?

got one super slow region churning away on the deaths, then it'll start on the hospitalisations.

Northern Ireland are the problem this time.

NI often shows data issues so this makes sense - @kathsherratt could potentially consider dropping?

I don't think I can kill it without loosing the summary so I'll just wait a bit. If it's not done by 5 I'll run it again with lower timeouts and check in this evening to push.

also my guess is it's good to merge and then it'll take first place in the overnight queue

Yes unfortunately that is correct and I am certainly happy for this to be merged now. In terms of priority this is probably in the right place (at the top). Any chance we can collectively deal with #63 asap (i.e tomorrow morning)? Main issue is deciding where things should go and how/when its going to be scheduled.

Damn any informative errors or warnings? I have been aware that the new timeout may not work entirely if a stan object has errored but doesn't have samples (which the default call to rstan::sampling would sort out for you). I need to go in and add a check for samples and drop if they are not there before calling rstan::sflist2stanfit but no chance yet.

nothing beyond the sflist issue above. I'm running uk deaths now.

okay - maybe missing some error catching at some level then as that warning should mean that one of the chains failed with an error rather than being timed out.

all deaths ran quite quickly :)

great - happy to merge? The estimates themselves look plausible (@kathsherratt can you have a look in the branch to check they correspond to what you have been seeing in your repo)?

there's the technical debt of duplicate functions coming in that you mentioned in your review but I'm willing to accept that

Rts look fairly comparable to my previous runs (here) though only from a quick first look.

All sounds good merging in 10 mins unless there is any dissent.


Select False ACL Support

Currently we're assuming as long as we can see the model (enumerate:true), we can get the data for that model too (select:true). Therefore the case of select:false, enumerate: true is not considered in ermrestjs/chaise and is listed as one of the limitations. Now we want this scenario to be supported. This is considered a valid use case. We might want users to know that the model exist and they just don't have access to the data.
Pending more information (I will update it later, I need to gather more information about this)

Moved to wishlist.


Feature Request: Add support for Youtube videos, add suport for PiP

would  be great if both features are added. meets a lot of unsolved use cases..

@juanjoserodrigolazaro
Doesn't support  all videos,  e.g music videos.

Using this package I was able to decode links for all YouTube videos, including music and play them in the chewie player just fine. Hope it helps.
https://pub.dartlang.org/packages/flutter_youtube_extractor#-example-tab-


Updated TTNv3 Project

Updated TTNv3 Project to new console version.

@PaulReichmuth looks good. I only compressed the screenshots

@PaulReichmuth looks good. I only compressed the screenshots

Okay! 4k was a little bit too much maybe


add auth params to requests

refactor api methods

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

17 of 19 (89.47%)  changed or added relevant lines in 18 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.4%) to 92.371%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/api/actions/indices/update_aliases.jl
0
2
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/api/actions/indices/update_aliases.jl
1
0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.4%

Covered Lines:
448

Relevant Lines:
485

💛  - Coveralls


Client shows contains filter on uuid data type despite not being a valid operation

Bug description
When trying to query a relation via a uuid data type I get this error:
/Users/emilymorgan/Desktop/bug/node_modules/@prisma/client/runtime/index.js:36067
          throw new import_engine_core3.PrismaClientUnknownRequestError(message, this.prisma._clientVersion);
                ^

PrismaClientUnknownRequestError3 [PrismaClientUnknownRequestError]:
Invalid `prisma.coursesOnUsers.findMany()` invocation:

  Error occurred during query execution:
ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(Error { kind: Db, cause: Some(DbError { severity: "ERROR", parsed_severity: Some(Error), code: SqlState("42883"), message: "operator does not exist: uuid ~~* unknown", detail: None, hint: Some("No operator matches the given name and argument type(s). You might need to add explicit type casts."), position: Some(Original(153)), where_: None, schema: None, table: None, column: None, datatype: None, constraint: None, file: Some("parse_oper.c"), line: Some(728), routine: Some("op_error") }) }) })
    at cb (/Users/emilymorgan/Desktop/bug/node_modules/@prisma/client/runtime/index.js:36067:17)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  clientVersion: '2.30.0'
}

How to reproduce
Related to https://github.com/prisma/studio/issues/744
Expected behavior
For this operator to not be available if it is invalid on a field of type uuid

Prisma information

Given this schema:
// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema

datasource db {
  provider = "postgresql"
  url      = env("DATABASE_URL")
}

generator client {
  provider = "prisma-client-js"
}

enum Role {
  STUDENT
  ASSISTANT
  TEACHER
}

enum Visibility {
  PUBLIC
  PRIVATE
}

enum Difficulty {
  EASY
  MEDIUM
  HEAVY
}

model User {
  id String @id @default(uuid()) @db.Uuid

  email    String @db.VarChar
  password String @db.VarChar

  role    Role             @default(STUDENT)
  courses CoursesOnUsers[]
}

model CoursesOnUsers {
  user   User   @relation(fields: [userId], references: [id])
  userId String @db.Uuid

  course   Course @relation(fields: [courseId], references: [id])
  courseId String @db.Uuid

  @@id([userId, courseId])
}

model Course {
  id   String @id @default(uuid()) @db.Uuid
  name String @db.VarChar

  visibility Visibility        @default(PRIVATE)
  users      CoursesOnUsers[]
  topics     TopicsOnCourses[]
}

model TopicsOnCourses {
  topic   Topic  @relation(fields: [topicId], references: [id])
  topicId String @db.Uuid

  course   Course @relation(fields: [courseId], references: [id])
  courseId String @db.Uuid

  @@id([topicId, courseId])
}

model Topic {
  id   String @id @default(uuid()) @db.Uuid
  name String @db.VarChar

  visibility Visibility @default(PRIVATE)

  courses TopicsOnCourses[]
  tasks   TasksOnTopics[]
}

model TasksOnTopics {
  task   Task   @relation(fields: [taskId], references: [id])
  taskId String @db.Uuid

  topic   Topic  @relation(fields: [topicId], references: [id])
  topicId String @db.Uuid

  @@id([taskId, topicId])
}

model Task {
  id   String @id @default(uuid()) @db.Uuid
  name String @db.VarChar

  difficulty Difficulty @default(MEDIUM)
  visibility Visibility @default(PRIVATE)

  topics TasksOnTopics[]
}

I ran migrate.
I added some seeded data - two users and a course.
Then I ran npx prisma generate in a TS project and run the following query:
  const data = await prisma.coursesOnUsers.findMany({
    where: {
      userId: {
        contains: "some-valid-uuid",
        mode: "insensitive",
      },
    },
  });

Environment & setup

OS:  Mac OS
Database: PostgreSQL
Node.js version: 16.6

Prisma Version
Environment variables loaded from .env
prisma                : 2.30.0
@prisma/client        : 2.30.0
Current platform      : darwin
Query Engine (Binary) : query-engine 60b19f4a1de4fe95741da371b4c44a92f4d1adcb (at node_modules/@prisma/engines/query-engine-darwin)
Migration Engine      : migration-engine-cli 60b19f4a1de4fe95741da371b4c44a92f4d1adcb (at node_modules/@prisma/engines/migration-engine-darwin)
Introspection Engine  : introspection-core 60b19f4a1de4fe95741da371b4c44a92f4d1adcb (at node_modules/@prisma/engines/introspection-engine-darwin)
Format Binary         : prisma-fmt 60b19f4a1de4fe95741da371b4c44a92f4d1adcb (at node_modules/@prisma/engines/prisma-fmt-darwin)
Default Engines Hash  : 60b19f4a1de4fe95741da371b4c44a92f4d1adcb
Studio                : 0.422.0

Thanks for reporting, I can confirm this bug in 2.31.0-dev.49.

Thanks for the report, we're not tackling this now because it the API builder doesn't know about native types right now, plus it didn't pop up so far so we're holding off.

Yep, can still reproduce this. The API should not allow the query if the native type is a UUID.


slice_input_producer does not return a queue

tf.train.slice_input_producer does not return a queue for each slice. This means the outputs cannot be used with the BaseReader api. Shouldn't this be consistent with the other *_input_producer methods like string_input_producer?
What related GitHub issues or StackOverflow threads have you found by searching the web for your problem?
http://stackoverflow.com/questions/34340489/tensorflow-read-images-with-labels
Environment info
Operating System:
Ubuntu 14.04
Installed version of CUDA and cuDNN:
Cuda 8.0.44
Cudnn 5.1.5
Tensorflow Version:
0.12.1
If possible, provide a minimal reproducible example (We usually don't have time to read hundreds of lines of your code)
image_files = glob(...)
label_files = [s.replace('image.jpg', 'labels.jpg') for s in image_files]
# Create a queue where the elements are pairs (image, label)
image_queue, label_queue = tf.train.slice_input_producer([image_files, label_files])
images, labels = [], []
for _ in num_threads:
    # Create two readers for each thread - one for the image and one for the label
    image_reader, label_reader = tf.SomeReader(), tf.SomeReader()
    # Read the image and label pair
    _, image_op = image_reader.read(image_queue)
    _, label_op = label_reader.read(label_queue)
    images.append(image_op)
    labels.append(label_op)

Error
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/io_ops.py", line 265, in read
  return gen_io_ops._reader_read(self._reader_ref, queue_ref, name=name)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gen_io_ops.py", line 213, in _reader_read
  queue_handle=queue_handle, name=name)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py", line 613, in apply_op
  (input_name, op_type_name))
TypeError: Input 'queue_handle' of 'ReaderRead' Op requires l-value input

What other attempted solutions have you tried?
Using two string_input_producers with the same random seed

Seems like an odd one out since other input producers give queues. cc @josh11b who added this code
with ops.name_scope(name, "input_producer", tensor_list):
    tensor_list = ops.convert_n_to_tensor_or_indexed_slices(tensor_list)
    if not tensor_list:
      raise ValueError(
          "Expected at least one tensor in slice_input_producer().")
    range_size = array_ops.shape(tensor_list[0])[0]
    # TODO(josh11b): Add an assertion that the first dimension of
    # everything in TensorList matches. Maybe just check the inferred shapes?
    queue = range_input_producer(range_size, num_epochs=num_epochs,
                                 shuffle=shuffle, seed=seed, capacity=capacity,
                                 shared_name=shared_name)
    index = queue.dequeue()
    output = [array_ops.gather(t, index) for t in tensor_list]
    return output

It may have an unfortunate name, but exists to provide an alternative to using a Reader in the case when all your data is in memory.  Enqueuing its output would just add overhead in its designed use case (see https://www.tensorflow.org/how_tos/reading_data/#preloaded_data ).  If you really need the output of this in a queue, you can create a queue, enqueue the output of slice_input_producer, and add that enqueue to a QueueRunner.  The functions in that file are intended to cover common use cases but there is no reason you need to be limited by them.

For anyone interested in @josh11b 's solution, this worked for me. This is really helpful when your data and labels are in separate files.
from tensorflow.python.training import queue_runner

def wrap_with_queue(tensor, dtypes=tf.string):
    queue = tf.FIFOQueue(1, dtypes=dtypes)
    enqueue_op = queue.enqueue(tensor)
    queue_runner.add_queue_runner(queue_runner.QueueRunner(queue, [enqueue_op]))
    return queue

image_files = glob(...)
label_files = [s.replace('image.jpg', 'labels.jpg') for s in image_files]
# Create a queue where the elements are pairs (image, label)
image_file_op, label_file_op = tf.train.slice_input_producer([image_files, label_files])
image_queue = wrap_with_queue(image_file_op)
label_queue = wrap_with_queue(label_file_op)

images, labels = [], []
for _ in num_threads:
    # Create two readers for each thread - one for the image and one for the label
    image_reader, label_reader = tf.SomeReader(), tf.SomeReader()
    # Read the image and label pair
    _, image_op = image_reader.read(image_queue)
    _, label_op = label_reader.read(label_queue)
    images.append(image_op)
    labels.append(label_op)

sess = tf.Session()
tf.train.start_queue_runners(sess=sess)

Be careful with "images_queue, labels_queue" construction. If they go into train_op, and you run this op in parallel (ie, from different Python threads), then your images and labels can go out of sync because your second run dequeues can "wedge in" the first call image_op dequeue and label_op dequeue, more details in http://stackoverflow.com/questions/41920371/tensorflow-multi-threaded-queuerunner

Given @josh11b 's response, it seems there are compelling reasons to break with the pattern here


enhancement: set bucket version to 'null' when versioning not enabled

On s3 when versioning is not enabled, the version parameter is set as 'null'. Setting version parameter to 'null'  when 'x-amz-version-id' header is not found allow us to use un versioned buckets.

I'm going to close this - more discussing is in https://github.com/michalc/sqlite-s3-query/pull/10


Restore MLKit to SymbolCollision test once it is compatible with Firebase 7

Uncomment https://github.com/firebase/firebase-ios-sdk/blob/master/SymbolCollisionTest/Podfile#L60

This is for GoogleMLKit. FirebaseMLKit is already staged in SpecsStaging.


feat: LOM-392: Confirmation email templates for submitter and controller.

LOM-392

What was done

Email templates and language versions for submitter and controller
How to install

Make sure your instance is up and running on correct branch.

git checkout feature/LOM-392-email-templates
make fresh

Run make drush-cr

Make sure you have following lines in your local.settings.php, so you can use mailhog.

$config['smtp.settings']['smtp_host'] = "stonehenge";
$config['smtp.settings']['smtp_port'] = 1025;

https://mailhog.docker.so/
How to test

[ ] Login as normal user and submit the form

[ ] Check that 2 mails are sent to separate receivers (submitter & controller)

[ ] Check that the content is right for each receiver.

[ ] Submit the form in SV version and check that submitter gets SV version of the email.

[ ] Controller should always get a Finnish version of the mail

Link to other PR

Nothing in mailhog. What's up?


[:collections] Switch to nonblocking notification for working on it message

re #350
use the popup instead of a content view

approving


iOS Text Selection Menu Overflow

Description
If the selection menu buttons are too wide for their available space, they will cause an overflow error.  This PR implements the native iOS solution for this problem, which paginates overflowing items.

Related Issues
Closes https://github.com/flutter/flutter/issues/35826
Android solution: https://github.com/flutter/flutter/pull/49391
Reopened from https://github.com/flutter/flutter/pull/52852 to fix weird versioning test failures.
Tests

When all buttons fit on one page.
When the screen is narrow enough that only two buttons fit on each page.
When the screen is narrow enough that only one button fits on each page.
When the locale strings are so long that only one button fits on each page and must be ellided.

Breaking Change
None.

@chunhtai @goderbauer Thank you guys!  It's ready for re-review when you have time.


RAFT evaluation

Hi! Thanks for all your work to make HELM available.
I had a few questions about the RAFT evaluations.

What set of examples are the LLMs evaluated over? I noticed this comment in the Raft Scenario code: "# Note: Only using public labeled instances now. Check if we can get the hidden test set labels." on Line 105 here. My understanding is that there are 50 public labeled examples available for each task included in RAFT, but the reported EM numbers imply a number of examples larger than 50.
How do you produce a distribution of predicted probabilities over classes using each model? I read the following in the original RAFT paper, but not sure if this matches up with the HELM methodology for producing class-specific predicted probabilities (pasted below for convenience). Any pointers would be much appreciated!

"we retrieve GPT-3’s 100 most likely next tokens using the davinci engine. For each class, we assign the probability that its first token is generated. We then normalize the probabilities to sum to 1. For the B77 dataset, multiple labels share the same first token so we prepend a numerical prefix such as “1. ” to each class."
Let me know if I've misunderstood anything here!

Thanks for your questions @divyashan!

We use the 50 publicly labeled examples, and we split them into 10 in-context learning examples and 40 evaluation examples. The results page show more than 40 requests because we ran 3 different trials using different samples of in-context learning examples, and within each trial, we run additional requests using additional perturbations / data augmentations (e.g. dialect perturbations).
We don't use the probability-based method from the original RAFT paper (but we do use probability-based methods for other scenarios in HELM). Instead, we directly prompt the model to generate the complete label name as a test output, using instructions and in-context learning. Example prompt:

Label the sentence based on whether it is related to an adverse drug effect (ADE). Details are described below:
Drugs: Names of drugs and chemicals that include brand names, trivial names, abbreviations and systematic names were annotated. Mentions of drugs or chemicals should strictly be in a therapeutic context. This category does not include the names of metabolites, reaction byproducts, or hospital chemicals (e.g. surgical equipment disinfectants).
Adverse effect: Mentions of adverse effects include signs, symptoms, diseases, disorders, acquired abnormalities, deficiencies, organ damage or death that strictly occur as a consequence of drug intake.
Possible labels:
1. ADE-related
2. not ADE-related

Sentence: A challenge with clozapine was feasible and showed no clinical symptoms of eosinophilia.
Label: not ADE-related

Sentence: CONCLUSIONS: These results suggest that clozapine may cause TD; however, the prevalence is low and the severity is relatively mild, with no or mild self-reported discomfort.
Label: ADE-related

Sentence: Best-corrected visual acuity measurements were performed at every visit.
Label: not ADE-related

Sentence: These cases were considered unusual in light of the short delay of their onset after initiation of immunosuppressive therapy and their fulminant course: 3 of these patients died of PCP occurring during the first month of treatment with prednisone.
Label: ADE-related

Sentence: The INR should be monitored more frequently when bosentan is initiated, adjusted, or discontinued in patients taking warfarin.
Label: not ADE-related

Sentence: Pulses have been given for periods up to three years without evident toxicity.
Label:

Thanks so much for the detailed answer!!


Changes to Translate To Shapefiles tool

Per a phone conversation with Ralph the script now exports what I call decoupled shapefiles and csv files. The decoupled shapefiles have no attributes except FID, SHAPE, and '_ID', the latter to be used as a primary key field for joining to the csv. ESRI advises that you never use the ESRI-controlled ID index for joins or relates so we'll export the '_ID' field which means the values will have to be unique and there are no nulls.

Not understanding the pull request conflict. I will close this one, re-sync my repo, and send another