Exception: Null check operator used on a null value

First of all... Love this package.
Thank you for all of the work you put in so far.
Now to my problem:
Everything worked like a charm, but
since the barcode detection process is pretty heavy, I want to outsource this
process in a seperate Isolate.
Here is my stripped (pseudo) code:
Future<void> callerFunction() async {
    String path = "getting path from camera (file is XFile)";
    await compute(doDetection, path);
}

FutureOr<String> doDetection(String imagePath) async {
    // initialize barcode detector
    final BarcodeDetector _barcodeDetector =
      GoogleVision.instance.barcodeDetector();

    // detect barcodes in camera image
    final GoogleVisionImage visionImage =
        GoogleVisionImage.fromFilePath(imagePath);

    // the error is thrown in
    final List<Barcode> barcodes =
        await _barcodeDetector.detectInImage(visionImage);

    // other code here, but this code does not get executed after error is thrown
}

After the refactoring I get the following error:
Exception: Null check operator used on a null value
After a bit of digging, I am pretty sure that this is because of the following line:
final List<Barcode> barcodes =
        reply!.map((barcode) => Barcode._(barcode)).toList();

The reply is null.
So is it possible to do the recognition in a seperate Isolate? or how can I fix this issue?
Any help or hints is appreciated. If you need more information just let me know :).
Best regards, Louis :)

After testing this with other plugins who also use MethodChannels, I can confirm that this is not an issue with the library but rather with Isolates. Closing this issue now.


Support for other formats as well like 3gp,mp4 etc

I have a feature where I have to record an audio using Mic which is implemented by using MediaRecorder and it only output file format for .3gp as there is no encoder for .mp3 file to we have to specify the output format in .3gp.
so when passed this file path it does not create the amplitude for it. I'm using this library with waveformseekbar library in Android.

Hello @mohsin-ali-brainx. Amplituda supports these audio formats. So, maybe something with a recorded audio file? Could you please provide one of these files?

@mohsin-ali-brainx Hello. Please, update lib version to 2.2.2
implementation 'com.github.lincollincol:amplituda:2.2.2'

@raph9091 Hello! Amplituda doesn't support these formats.
As far as I understand, M3U8 format represents a playlist (plain text with audio files paths). So, maybe you can try to read this file, extract all files and process with Amplituda.


WIP: createSlice() revision proposal

To further the discussion about how to evolve createSlice (#91), I whipped I what I think would be an improved, but slightly different take on the slice concept.
Changes

The slice selector is removed. The selector makes strong assumptions about where the slice is mounted in the state tree, hindering comparability. It's also the least useful feature in that it saves very little code and is often not really needed. There is still a slice name parameter, but it's only used for action names-acing.

The slice is the reducer. Instead of representing the slice as an object that has a reducer property, now the slice is the reducer function itself. The action creators are still available as slice.actions. What's nice about this change is that you can pass slices directly to combineReducers or other reducer-composing functions.

Minor parameter naming tweaks. The slice parameter is now name, and reducers was renamed to actions to make it more different from extraReducers.

Example
// Basic Use //

const counterSlice = createSlice({
  name: 'counter',
  initialState: 0,
  actions: {
    increment: state => state + 1,
    multiply: (state, action) => state + action.payload
  }
})

const action = counterSlice.actions.increment()
counterSlice(undefined, action)
// => 1

// Composition //

const bagSlice = createSlice({
  name: 'bag',
  initialState: [],
  actions: {
    add: (state, action) => [...state, action.payload]
  }
})

// These slices are reducers, so `combineReducers` just works
const rootReducer = combineReducers({
  counter: counterSlice,
  bag: bagSlice
})

// There could be a combineSlices() that does the same as
// above, but uses the slice names as object keys
const rootReducer = combineSlices(counterSlice, bagSlice)

Possible Improvements

Add a combineSlices function that combines slices into a reducer like combineReducers, but reads the object keys from the slice names.

Pass payloads directly to actions functions. createSlice generates the action creators, so we know that the payload is the only interesting thing about them. It's just easier for the user if we let them specify (state, payload) => state functions instead of (state, action) => state.

Feedback Welcome
This is meant as a first draft towards better slices. If you like the general direction this is moving towards, we can develop this further. Otherwise, let's find out what's good or bad about this and move on.

@markerikson Any thoughts on this?

My attention is unfortunately very much focused on React-Redux stuff atm, so no, I haven't had time to think through this.  (Also just got back from a 3-week business trip, and things are pretty hectic at work atm.)
Skimming this, I can get behind "slice" -> "name" and maybe making the reducer into the "slice" itself.  I don't like changing "reducers" -> "actions".  autodux uses "actions", and I specifically wanted to emphasis that this is about the reducer functions themselves.
I agree the slice selector is sort of appendix-ish in functionality atm, but I'd still like to find some kind of better approach for generating selectors somehow.

I like it. I can also respect wanting to keep reducers over actions if there's naming conflicts. Something else I'd love to have with actions, is someway to define them as global, but still have the other actions '${slice}/actionName'. Just been working on a single action to dispatch to delete data across multiple reducers.

@agmcleod : I think that's where the extraReducers capability comes into play:
https://redux-starter-kit.js.org/api/createslice#extrareducers

Oh nice, yeah i missed that. I read up on them before, but i wasn't quite sure what they were for 😬

Looking at this again.  As mentioned, I agree with changing slice -> name, but don't like renaming reducers -> actions.  I can probably get behind dropping the selector for now until we figure out a long-term plan.
Is there an actual benefit to making the "slice" be the reducer function itself?

@markerikson Thanks for the feedback. No problem with reverting the reducers->actions rename.
The one practical benefit of "the slice is the reducer" is that you can pass the slice directly to functions like combineReducers without having to remember to write slice.reducer - so, e.g., combineReducers({ key: theSlice.reducer }) becomes simply combineReducers({ key: theSlice }). Conceptually, it emphasizes the point that the reducer is the "main" part of the slice (as it defines and maintains the slice state).

Superseded by #197 .  @denisw , thanks for proposing these in the first place!  Ultimately, I decided against the "return the reducer" aspect, but I appreciate the idea.


pre-train checkpoint and comparing without text

I congratulate you for your work.
I would like to ask about your work, can I access the pth.tar checkpoint to work pre-train with the MonuSeg dataset? And how can I run this model without  the text data? Thanks

You can just use the image feature to replace the text feature when training without the text data. And unfortunately, the checkpoint file may not be available now.


Update global optimization status of MOI

Based on my understanding of "Global Constrained" I propose to change this from "not supported" to "supported in downstream library but not yet implemented".
Examples of MOI solvers that support global optimization with constraints for MINLP are Alpine, BARON, Couenne (via AmplNLWriter), SCIP; and MIQCQP with Guorbi.  There are probably more but these are the ones that come to mind off the top of my head.
CC @odow

Yup thanks, that was a typo.


JWT from hub's OPTIONS request

I was looking into getting the JWT token in the header when creating the initial connection, and this seems to work as far as the .NET client goes.
However, I can't find anything server-side that contains that token.
I know that a recommended way to get the JWT to the server is by using the query string (#130). But I'm not sure if that's the best place to leave a token. (max query length and big tokens, logs, etc.)
OPTIONS http://<IP_ADDRESS>:5000/hubs/events HTTP/1.1
User-Agent: Microsoft.AspNetCore.Sockets.Client.Http/1.0.0-alpha
Authorization: Bearer eyJ0e...
Host: <IP_ADDRESS>:56419
Content-Length: 0

HTTP/1.1 200 OK
Date: Fri, 06 Oct 2017 17:16:08 GMT
Content-Type: application/json
Server: Kestrel
Content-Length: 125
Allow: GET,POST,OPTIONS
Request-Context: appId=cid-v1:b91b490a-68aa-4451-829d-55b1076112c2
{"connectionId":"63284d81-88fa-4200-95e9-8171213cacc3","availableTransports":["WebSockets","ServerSentEvents","LongPolling"]}

GET http://<IP_ADDRESS>:5000/hubs/events?id=63284d81-88fa-4200-95e9-8171213cacc3 HTTP/1.1
Connection: Upgrade
Upgrade: websocket
Sec-WebSocket-Key: Xsl/8XU4BT4NXsV3+MVDPA==
Sec-WebSocket-Version: 13
Host: <IP_ADDRESS>:56419

HTTP/1.1 101 Switching Protocols
Connection: Upgrade
Date: Fri, 06 Oct 2017 17:16:08 GMT
Server: Kestrel
Upgrade: websocket
Request-Context: appId=cid-v1:b91b490a-68aa-4451-829d-55b1076112c2
Sec-WebSocket-Accept: dlqwfi6JHEQZJsRq8xbDTcFv9kg=

The initial OPTIONS call is authenticated, and it creates the connection id, which can only be used once if I'm not mistaken. This means, that at this point, the server knows the mapping from the connection id to the ClaimsPrincipal of the user. Without the JWT token ever appearing in any logs. So the token is basically swapped out for a one-time use password (the connection id).
So in theory, if this could work, this should be more secure than the query parameter unless I'm missing something vital?
The first OPTIONS call and the GET with the connection upgrade need to be handled by the same server instance? Because another node won't know the connection id?
And for the long-polling transport it could just fall back to providing the Authorize header in each request.

My initial guess would be to change HttpConnectionDispatcher.cs#L335
To record the user's ClaimsPrincipal from that HttpContext inside The ConnectionContext?

Connection id is not required for webSockets and we are actually thinking about removing the OPTIONS requests if the user select webSockets transport.

That makes sense ... only required when negotiating, and the client application usually knows what the server's capable off (all 3 transports).
Could make load balancing scenarios for WebSockets-only setups easier too I guess?
But this means I'm back to query strings.

Correct - the negotiation is really required when using websockets since once you connect the connection is persistent. It will simplify load balancing scenarios but will (along with removing the negotiate message in some specific cases/setup) also make it easier to connect to the server with bare WebSocket (i.e. without using a dedicated SignalR client).

I merged a change (0bafb304c2707739578e635bc9e00d0cd36420a7 18a65496b7adab684a9af2ac255c7128699c96ee) today that adds an API that allows to pass a JWT token when starting a connection. When using the C# client the JWT token will be passed in the header. When using the TS client the token will be passed in the header when sending an HTTP request with XmlHttpRequest (i.e. for negotiate, long polling - send/poll request, server sent events - send request) or in the query string if the underlying API does not allow setting headers (webSockets, eventSource used for the server-to-client channel in the ServerSentEvents transport) as the signalRTokenHeader queryString parameter. When using the TS client it is required to copy the token to the MessageReceivedContext.Token as shown in the sample.


Integration tests should be run for any artifacts we generate

This is dependent on #12. We must only upload artifacts only if they pass integration tests. We will reuse the integration tests provided by the repository maintainer if possible.

make test does test: build         $(DOCKER_RUN_DOCKER) hack/make.sh dynbinary cross test-unit test-integration-cli test-docker-py
Of those all pass except for test-unit:
?   	github.com/docker/docker/volume/testutils	[no test files]
Makefile:103: recipe for target 'test-unit' failed
make: *** [test-unit] Error 1
root@dbf398069e21:/tmp/docker#


Update Dialog Code

Updated code to create/access dialog boxes, post-SP7
Removed Extra Class Picker Form
Updated readme with install/usage instructions, instead of separate PDF
Removed PDF

I think some of the tab indentations came from trying to align things in the method editor.
Credits section updated.

Issues Resolved.

Applied white space suggestions


the whole turntable slides up and down

friends I have created a Joomla content plugin with this wonderful javascript that will pull down images from folder specified and convert them to turntable.
Thanks to Petr Vostrel.
Its working , but I have a problem , when I click and drag the whole interface with image and play ,pause buttons slides up.. again when I click and drag it slides dowm..
here is the link if some could take a look  ... http://orscella.com

Joomla plug-in! Wonderful :) Thank you for the efforts. Looking forward to have another CMS integration option available for the users. Looking forward to it.
I took a look on this rather odd behavior. Something is obviously messing up with #testtn and assigning it an eventual top margin of -200px instead of the normal 0px. Strange thing is that the change doesn't happen suddenly and is animated, which indicates usage of .animate() somewhere. It kind of reminds me of typical stuffed animations queue symptoms. Reel by itself doesn't use animate() nor does it alter the top margin of the image.
I didn't explore your code completely. But I noticed the node in question #testtn is tightly wrapped in additional anonymous DIV with position: static in your case. Isn't it possible some remains of some other turntable plugin you tested prior Reel got left behind?
Also I noticed, that you don't use one Reel dependency, the disableTextSelect plugin, which may as well be the cause. It prevents browser's default dragging behavior - expanding a selection of the content - and ensures firm control over it especially in cases like these. Consider including it in your page headers. You can always get or link to the all-in-one package at the CDN http://code.vostrel.cz/jquery.reel-1.1.3-bundle.js

Thanks Pisi , there is no possibility of remains of other turntable plugin , I am developing the plugin only using jquery.reel form here.  moreover #testtn is image id that is generated using the folder name that contains the images. so the image id will be different and thus possibility of having more turntables on single page.
this is how it works.
I will place a  tag like this {ttbl} testtn {/ttbl} in joomla article . the plugin will match the expression and replaces it with turntable. In this case testtn is the folder, plugin automatically reads the folder, sorts the images in ascending order and stores it in an array, then that array is passed to jquery.reel along with other options.
I did the same with php on my local apache (xampp) and works fine, but this sliding behaviour happens only on joomla.
the same happens on my local installation of joomla.

Hi Pisi, I have figured out the problem. the sliding behaviour is due to mootools.
when these 2 scripts are removed from page load, turntable (reel) works perfect.

is there anything that can be done to avoid the conflict with mootools, in case if mootools is required for joomla
now you can see it works fine..

Ah, Mootools. There is a known conflict in event names with Mootools, which has already been addressed in issue #51 and will be shipped in upcoming 1.2 release. Its functionality however has not been confirmed yet by the requester, so maybe you'd like to give the patched development branch code a shot.

Thanks pisi the latest development branch code works fine along with mootools. but the play, pause and stop buttons exhibit same behaviour. when clicked it stops the animation for 2 seconds and continues. all buttons works like pause.
is there any change in calling the control events.

ok pisi , I figured out that mousewheel is not working with latest edition of jquery. its fine with version 1.6.4

Hey pelister, for the mousewheel try getting the last version from /brandonaaron/jquery-mousewheel, Brandon may have made it compatible.

Thanks pisi now its working fine..

Great! Thank you for verifying the resolved Mootools conflict #51. Appreciate it. It brings us one noth closer to the 1.2.


i use v1.7.1 ,i modify the code and i want to mvn package self？

i modify some code,and want to modify code by mvn clear package ,it is wrong, as following:
WARNING] Some problems were encountered while building the effective model for org.elasticsearch:elasticsearch-analysis-pinyin:jar:1.7.1
[WARNING] 'dependencies.dependency.systemPath' for net.sourceforge.pinyin4j:pinyin4j:jar should not point at files within the project directory, ${basedir}/lib/pinyin4j-2.5.0.jar will be unresolvable by dependent projects @ line 64, column 25
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
so how can i package myself
thank you a lot

https://github.com/medcl/elasticsearch-analysis-pinyin/releases


Setting a proxy

Hello,
I need to set the proxy on each API request, how can I access the request so I can set the proxy header?
like this
https://docs.guzzlephp.org/en/stable/request-options.html#proxy
Thank you.

Hi @KhawlahElshah
When you create an instance of the class you can pass through the constructor an array of options. One of those options is client_handler where you can pass your own implementation of a Guzzle client.
The client must implement the ClientHandler interface https://github.com/netflie/whatsapp-cloud-api/blob/main/src/Http/ClientHandler.php
Thanks.


CB-6135 Unassign resource roles of a resource after deletion

Tested with mow-dev UMS, after credential deletion, deleted credential disappeared from user's page.


Hello!

How can we import this library via CDN ? I am using DENO.

Hey there! 👋
Deno has native support for importing npm packages. Have you tried importing my library the following way?
import {SMA} from 'npm:trading-signals';

Best,
Benny

hmmmm, yah it says it does not have the export
error: Uncaught SyntaxError: The requested module 'npm:trading-signals' does not provide an export named 'ABANDS'
  ABANDS,
  ^

thank you for quick response!

@bennycode
I got it working, thanks so much for your help-
Quick tangent: Have you found a lot of speed gains using deno over regular node js?

I was trying to import something that did not exist: (this worked)
{
 SMA
} from 'npm:trading-signals'

I chose deno, because it seemed to have more community support. maybe I will wait a little longer until bun matures before i switch my trading stack over....


[ WIP ] [ hgemm ] Use zero-padding in non-8 divisible case GEMM case

For temporary solution apply zero padding in non-8-K divisible case.

Self evaluation:

Build test:     [X]Passed [ ]Failed [ ]Skipped
Run test:     [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: skykongkong8<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #2649. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.


<class 'OverflowError'>exception during authentication

Hi, I am getting this exception argument 1: <class 'OverflowError'>: int too long to convert when I am trying to check if key is available or not. This error pops up mostly in VM ware. Error occurs at next(CtapHidDevice.list_devices(), None) function.

@dainnilsson Could we get any update here please?

Please provide more information. Full traceback, Operating system, authenticator device type, etc.

@dainnilsson

There is no stack trace, we are only getting the mentioned string.

@dainnilsson

We dont have stack trace, we have just got mentioned message (<class 'OverflowError'>: int too long to convert) and sometimes "Wrong nonce" while checking if security key if connected to machine using next(CtapHidDevice.list_devices(), None) function.
OS: Windows 10/11
Authenticator Device type : Yubikey 5 NFC and Yubikey 4 NFC.
python-fido2 version : v0.9.1
We are using same logic and version from quiet some time but never faced any issue. Since past 1 or 2 months we are receiving these kind of errors from users.

Without a stack trace it's hard to say anything definitive. The fact that you're getting the wrong nonce and that this happens when connecting to the device indicates that there might be a problem with multiple threads/processes trying to use the YubiKey concurrently. If you have more concrete steps that reproduce this issue I might be able to help more.

@dainnilsson
I am sharing you a screenshot where I found the issue thrown as an Exception.


Bugfix/Depolyment failure

Issue
The deployment was failing while creating the key in the keyVault and enabling static website
Solution
removed the commands creating key and enabling static website outside of ARM template and in the deploy.ps1 file
Testing
initial testing done

The current implementation looks like hot-patching the issue. Given that issue has a customer impact and nobody can deploy Learn-LTI at the moment. I am fine with merging these changes as is to unblock our customers after performing a validation on our end for any regressions. However, I'd request for an immediate follow-up on this fix, performing necessary changes to the current implementation, hardening the edge cases and raising a PR for the same.

Approving since the changes seem to unblock the failing deployments, without looking to break anything new.

I agree with you. I'll create a follow-up to incorporate necessary changes as mentioned in your comments

This should fix the deployment issues reported in #86 due to missing az login to unblock our customers' deployment.


Add an unnecessary tab to inline if

Hi,
If I run robotidy on RF5 inline IF which is equivalent to the former "Return From Keyword If" it inserts an extra tab.
I haven't tried other scenarios. It was caught on robotidy 2.6.0.

I used the default settings and that file is prepared for the report, that's why I only added the diff as a screenshot.

Thanks for the report, I've added extra handling for inline if indentation recently but looks like I forgot to also check for RETURN statement (it does only works for keyword calls). I will fix it


🚀 Feature: Configure session timeout

🔖 Feature description
A configuration option is added that defines the time of inactivity after which the session cookies expire and a user must sign in again.
🎤 Pitch
The existing timeout appears to be quite large (3 months) and allowing to reduce it to a shorter period of time may enhance security.

based on the acess token both for user and admin its 15 minutes could you clarify what exactly are you asking?

@RahulMishra0722 This morning, I was already logged in to Pingvin Share when I opened the page for the first time, so I must assume that a session can be longer than 15 minutes. Specifically, the access_token cookie in my browser will expire on September 27, in approximately 3 months:

I believe this is set here:
https://github.com/stonith404/pingvin-share/blob/6d6b9e81fff27989d7a3a82de28a8e60cc382ddb/backend/src/auth/auth.service.ts#L232

On second thoughts, I find it odd that an access token is created with a TTL of 15 minutes in
https://github.com/stonith404/pingvin-share/blob/6d6b9e81fff27989d7a3a82de28a8e60cc382ddb/backend/src/auth/auth.service.ts#L169
but refreshed with a TTL of 3 months in
https://github.com/stonith404/pingvin-share/blob/6d6b9e81fff27989d7a3a82de28a8e60cc382ddb/backend/src/auth/auth.service.ts#L232
@stonith404 Is this intentional?
I would be fine with a session TTL of 15 minutes, I would not need a configuration option then, so maybe this should be considered a bug instead?

yaa i noticed i started again and i was logged in tho i closed it like2 hours ago

Yeah the maxAge of an access token cookie should only be 15 minutes, but it's not critical as the token expires after 15 minutes anyways.
While having a token valid for 3 months is less secure than one that expires in 15 minutes, I don’t see it as a major security risk. The refresh token is an HTTP-only cookie, valid only for the path /api/auth/token, so it can only be stolen if someone intercepts your traffic without HTTPS or has full access to your device. Or am I missing something?

While having a token valid for 3 months is less secure than one that expires in 15 minutes, I don’t see it as a major security risk. The refresh token is an HTTP-only cookie, valid only for the path /api/auth/token, so it can only be stolen if someone intercepts your traffic without HTTPS or has full access to your device. Or am I missing something?

Full access to the device is an interesting attack vector in my opinion. Pingvin Share is a very convenient way to share files from the computer of a friend, a client, or your local public library, to have them available later elsewhere. If a user forgets to log out, that friend, client or anyone at your local public library has access to all your shared files for the next 3 months.
It would be nice to be able to limit that time period (= validity of the refresh token, if I understand the authentication concept correctly) to something shorter than 3 months.

Yeah sure, adding an option to change the session duration makes sense. I just don't really see a reason to change the default value.


Feature/setup my sql database AB#41

Setup mysql running in a docker container, added docker compose file and updated actions yml file.

Make a new PR into develop


I might be dumb

is it just me or does knob farm do ABSOLUTELY NOTHING except for riding figure, i wanna know if its broken or if im just not doing it correctly. make tutorial on ur yt, upio

btw where do i get addons


[Style] Want to style the navbar differently

What's the style idea?

The navbar will remain transparent until a certain vertical scroll.
On hover the font will change its color.

Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

@Rakesh9100 Please assign this issue to me. I am a GSSoC'24 contributor.

Please do assign this task to me

Hey, can you please assign me this issue if it is not solved? This is my first time making an open-source contribution, and I really want to showcase my skills. I am very familiar with languages like Java, HTML, CSS, and JS. Apart from coding, I'm an ux/ui freelancer as well.


Update gitlab extension

Description

Add MR template for GitLab #5376
Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

@thomaslombart @tonka3000 I made the changes, please tell me if it's good
Thx !

@thomaslombart What kind of issue is that with the invalid username?

@tonka3000 Don't know as it was a generic error. Re-running the jobs fixed it. Is the PR ready to merge?


fix: exclude node_modules but keep @slidev/client in windicss scan

Have you tested it? I am not sure if we support ! for globs 🤔

I tested it, the package used in vite-plugin-windicss support that syntax.

Alright, I trust you then


how do I use this?

Sorry, new to Rust.  I have a vector of floats from -1.0 to 1.0 that i'm trying to blur.  How would I do that?  The demo code doesn't match the current function signatures, which require 4 arguments.

The demo code doesn't match the current function signatures, which require 4 arguments.

Keep in mind that in the demo, the stackblur crate is an old legacy thing, not this crate. The call to stackblur-iter is the par_simd_blur_srgb call.
The basic usage of the generic blur function is to pass it an &mut ImgRefMut<T> where T can be anything, a blur radius, and a function to convert T to and from an actual StackBlurrable implementer. StackBlurrable is the trait for some value that is possible to blur using stackblur-iter, and is just a bunch of other traits to implement.
Basically you create a newtype wrapper around a float that implements the needed traits (namely multiplying and dividing by usize directly, which floats don't normally implement) in order for StackBlurrable to appear on it, and pass functions that wrap/unwrap a float in that newtype when you blur your vector with blur.
Try asking others for help or reply again here if you need extra, I have to go for a moment but figured I'd leave this reply anyway.
By the way, you can use the StackBlur struct directly over any Iterator<Item = T> (where T: StackBlurrable), though I would recommend blur since it will safely modify something in-place.

Thanks a lot for the reply. It turns out I need to do all the operators.  Here's what I have so far:
`pub struct Blurry(f64);
impl Mul for Blurry {
type Output = Self;
fn mul(self, other: usize) -> Self::Output {
Self {
0: self.0 * other as f64,
}
}

}
impl Div for Blurry {
type Output = Self;
fn div(self, other: usize) -> Self::Output {
Self {
0: self.0 / other as f64,
}
}
}
impl Blurry {
pub fn new(value: f64) -> Self {
Self {
0: value,
}
}
}
pub fn to_blurry<'a>(input: &'a f64) -> Blurry {
Blurry::new(*input)
}
pub fn from_blurry(input: Blurry) -> f64 {
input.0
}`


Persistence not working with docker-compose --profile postgres up

Restarting the provided docker compose stack (1 broker, 1 partition) without destroying the volumes won't persist the data

docker-compose --profile postgres up
Use DeployProcess gRPC to deploy BPMN file
run query in graphiql

{
  processes {
    totalCount
  }
}

result:
{
  "data": {
    "processes": {
      "totalCount": 1
    }
  }
}

check pgsql table process: 1 row
4) SIGINT docker compose stack
5) docker compose --profile postgres down (remove containers and network, preserve volumes)
6) docker-compose --profile postgres up restore stack with existing volume in place
docker log shows postgres volume is found
zeeqs-postgres-zeeqs-1  | PostgreSQL Database directory appears to contain a database; Skipping initialization

run query in graphiql

{
  processes {
    totalCount
  }
}

result:
{
  "data": {
    "processes": {
      "totalCount": 0
    }
  }
}

check pgsql table process: 0 row

I have a similar issue.
 I make use of ZeeQS to retrieve information on how many instances of a process are currently active.
I start the modules in the following order: Zeebe / ZeeQS / X. For a clean start, everything looks ok. For examplification, I deploy 10 processes.
Then I stop Zeebe / ZeeQS / X. I start them again, following the same order and run the
{   processes {     totalCount   } }
and I got 0 as a result instead of 10.
{   "data": {     "processes": {       "totalCount": 0     }   } }
For some reason, if I start ZeeQS before the other two modules, I don`t get this issue.

I did another test using postgresql. I start Zeebe / ZeeQS / X. I check the PostgreSQL database and all tables which should be filled are filled.
Later, I stop Zeebe / ZeeQS / X and start again. I check the tables again and noticed that the process table is empty, while the other tables are filled.
It might be a bug when filling up the process table.
Note that this issue does not happen aways and sometimes I have to perform many stop/starts.

@arkanoid87 & @rcolombodesouza thank you for reporting and analyzing. :+1: It is really valuable.
I will have a look in the next two weeks. Currently, I'm too busy.

I tried to debug a bit the zeeqs code and it seems that when the problem happens, the listener from the Process, which is in the HazelcastImporter.kt does not get triggered. Maybe it helps.

I found the issue in the configuration. The JPA Hibernate property ddl-auto was set to create. As a result, the application dropped all database tables on start-up. The fix is to change the property to update.
I'm changing the property in the default config and in the docker-compose. :rocket:


Should we try to satisfy a Spend PSBT even for the timelocked path?

Well, we'd first need to create a spending transaction with the sequence set to the timelock, get that to the user to be signed, store it and only then finalize it.
So the bulk of the change would be in the create_spend command and the User Interface. I think it should be part of the work on the recovery tool, not something we'd do just like that. Closing for now.


Error while trying to connect toirc.rizon.net via SSL

I tried to connect with theses settings:
connection:
host: irc.rizon.net
port: 9999
secure: true
debug: true
And I got these errors:
info:    Connecting to coind...
info:    Running webadmin on port 3901
info:    Connecting to the server...
info:    Connected to JSON RPC API. Current total balance is 0Đ
23 Jun 14:24:59 - Connection got "close" event
23 Jun 14:24:59 - Disconnected: reconnecting
23 Jun 14:24:59 - Waiting 2000ms before retrying
23 Jun 14:24:59 - Unhandled message: { prefix: 'irc.rizon.io',
server: 'irc.rizon.io',
command: '439',
rawCommand: '439',
commandType: 'normal',
args: [ '*', 'Please wait while we process your connection.' ] }
23 Jun 14:24:59 - Connection got "end" event

blame rizon or https://github.com/martynsmith/node-irc


On death player loses level and stats (with reset on death set to disabled)

https://mclo.gs/ifSvTcd

This is using Sinytra Connector

Should be fixed in beta.4


port of 60error_prev_chain.t. test is actually failing

Implication is that long error chains may consume a lot of memory. needs investigation.

Have added a X::LibXML::TooManyErrors exception. Gets called after 100 warnings + errors, by default. Configurable via LibXML::Config.max-errors().


HDDS-4177. SCM Container DB bootstrap on Recon startup

What changes were proposed in this pull request?
On Recon startup, get the latest SCM DB (if needed) and bootstrap the container data.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-4177
How was this patch tested?
This patch was manually tested.

Thank you for the review @avijayanhwx . I will update the PR with the suggested changes. For the integration test, I was planning to add it as a part of SCM HA enabled cluster, i.e HDDS-6135.


UI: Move the basis of the path from all configuration variables into an editable text box

Explain: In the above screenshot. For all files that start with "../examples/MLCommons", add a base_path key and make it editable in the top of this screen (also improve the name of the page)

@eranra rather than calling it base path, call it input path to be consistent with the terminology used in the command line and documentation.

Done / merged

Merged with this PR: https://github.com/arise-insights/arise-predictions/pull/16


please check the link, why the blue contour cover all the point?

https://poloclub.github.io/wizmap/?dataURL=https%3A%2F%2Fhuggingface.co%2Fdatasets%2Fbobdingli%2FTESTWIZMAP%2Fresolve%2Fmain%2Fdata.ndjson&gridURL=https%3A%2F%2Fhuggingface.co%2Fdatasets%2Fbobdingli%2FTESTWIZMAP%2Fresolve%2Fmain%2Fgrid.json
point can switch "true" and "gene" points respectively
however, the blue contour cover all the points region

is the reason?

I raise a PR
https://github.com/poloclub/wizmap/pull/10

Hi @Bdl-1989, thank you so much for raising the error. I can reproduce the error. I'm busy with a deadline right now. I will look into it when I have more time.

Hello @Bdl-1989! Sorry for the late reply! https://github.com/poloclub/wizmap/commit/025342dc17e474918f2eeb5329c111df7e486382 fixed this issue.
You can visit the link https://poloclub.github.io/wizmap/?dataURL=https%3A%2F%2Fhuggingface.co%2Fdatasets%2Fbobdingli%2FTESTWIZMAP%2Fresolve%2Fmain%2Fdata.ndjson&gridURL=https%3A%2F%2Fhuggingface.co%2Fdatasets%2Fbobdingli%2FTESTWIZMAP%2Fresolve%2Fmain%2Fgrid.json again to see the new update.
Thanks for reporting this bug!


Compatibility iOS 11

Hello!
We're trying to pick a module with which we can implement the new permission flows:
https://mackuba.eu/2017/07/13/changes-to-location-tracking-in-ios-11/.
We have updated our Info.plist but we're not able to get the correct permission dialog using react-native-permissions. When we try to ask for 'always' permission it's denied immediately without showing the new pop up coming with iOS 11 where the user has the option to choose between - While using the app, Always and Never.
What changes do we need to make in order to get it running ? Maybe we can figure this out together and crate a PR 🤔

@altras - thanks for bringing this up. I'm not actively developing with RN right now (lolz) and I'm not running iOS 11 on any device. I'm going to have to rely on the community for this one.

You just have to add the NSLocationAlwaysAndWhenInUseUsageDescription in your plist for iOS11. Keep the old always for backward compatibility

https://stackoverflow.com/questions/44424092/location-services-not-working-in-ios-11#answer-44424419

If I am correct, I don't think there is a problem with this package.

@MoOx Correct! See @nicedexter answer to fix your permission flow

@nicedexter and @andidev thanks for that! I've been trying to figure out why the permission screen wasn't showing for an hr. The change really seems redundant.


global_script_class_cache.cfg saves deleted plugins

Godot version
4.1
System information
Godot v4.1.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated GeForce GT 740M () - Intel(R) Core(TM) i5-3337U CPU @ 1.80GHz
Issue description
When I start the project and start the main scene, I get errors from plugins that I tried using earlier for terrain, like Terrain, Godot-MTerrain, TerrainPlugin. They exist in the global_script_class_cache.cfg but I don't have the files from those plugins and when I start the game I get errors that the path couldn't be found and if I try to delete the list where that path is stored it just comes back when I start the scene.
Steps to reproduce
Install one of the Terrain Plugins: Godot-MTerrain, TerrainPlugin or Terrain.
Click on enable in the plugin manager.
If the enable isn't working delete the plugin folder.
And the errors come.
Minimal reproduction project
project.zip

Looks like a duplicate of #78642:

This class existed for some manual testing, but has been deleted for some time.
A restart of the editor do not fix the .godot/global_script_class_cache.cfg

I guess it doesn't matter if the deleted script belongs to a plugin or not.


Corrections and enhancements

Signed-off-by: Vignesh Kumar Elumalai<EMAIL_ADDRESS>

The _site is a generated folder, so no need to update.


Modified the home page

Checkout the changes I've made so far, there is still a lot more.
I'd you're please with this kindly merge, so i can continue

Can you please kindly check out my pull request


vimPlugins.srcery-vim: init at 2020-10-26

Motivation for this change
Color scheme with clearly defined contrasting colors and a slightly earthy tone.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 102016 run on x86_64-linux 1

1 package built:

vimPlugins.srcery-vim

Please resolve the merge conflict.

Result of nixpkgs-review pr 102016 run on x86_64-linux 1

1 package built:

vimPlugins.srcery-vim


cpp: Add changes to operator new from C++17 and C++20

C++ subsystem defines exception throwing operator new.
Though the implementation never throws an exception.
If used by an application it should verify if requested
memory was allocated. This is against C++ standard.
If an application does not support exceptions or does not
want to call throwing new operator, it should use a
specialization of a new operator that makes sure it
never throws bad_alloc exception. The cpp subsystem
does not provide this specialization.
C++17 delivered another specialization of a new operator,
that allows to allocate a memory with requested alignment.
Implementation of this change requires an extension to
minimal libc. There is no allocator that allows for request
particular alignment.
C++20 standard added [[nodiscard]] attribute to operator new
definitions. In case value returned by operator new is ignored,
compiler emits a warning.

Please have a look on the PR, I'm welcome for comments about this change/extension proposal.
Since exceptions are supported by C++ subsystem, at least there is a Kconfig option that enables it, maybe it would be good
to make the throwing operator new to throw std::bad_alloc as it is expected by C++ specification. What do you think?

I think application users should decide for themselves - so operator new should throw std::bad_alloc as default behavior implies. From Zephyr perspective I think we may provide code with terminate handler using set_terminate function that would just do some while(true) looping (I know Xtensa toolchain implementation does this as exception handling part) as optional but enabled by default setting.
If we talk about compiling with -fno-exceptions we can add some alternative new operator overloads that return error codes.
We can probably do detection on whether exceptions are enabled or not using Kconfig option as you suggested. I think it would be too much of a pain to do detection using compiler attributes or features since we use so many toolchains and every of them has their own syntax...

Add Kconfig option that is used to determine whether C++ uses exceptions or not.

There already exists CONFIG_EXCEPTIONS:
https://github.com/zephyrproject-rtos/zephyr/blob/691175f026a6cc9661ef398417a05b220be9d308/subsys/cpp/Kconfig#L65-L69
Also note that C++ exception support depends on the CONFIG_LIB_CPLUSPLUS (full C++ standard library implementation such as libstdc++) because the Zephyr C++ subsystem (i.e. the minimal C++ support library implementation) lacks the infrastructure to properly support exceptions, so it is currently not feasible to throw exceptions inside Zephyr C++ subsystem's new operator implementation.
We could expand the scope of the Zephyr C++ subsystem to support exceptions so that exceptions can be used without requiring a full C++ standard library implementation; but, that requires the a lot of compiler/ABI-specific handling and increases toolchain dependency which we are trying to avoid.
In general, the rule of thumb for now is that, if you want to use C++ exceptions, use a full C++ standard library (CONFIG_LIB_CPLUSPLUS=y) and not Zephyr's minimal C++ subsystem.

I think application users should decide for themselves - so operator new should throw std::bad_alloc as standard implies. From Zephyr perspective I think we may provide code with terminate handler using set_terminate function that would just do some while(true) looping (I know Xtensa toolchain implementation does this as exception handling part) as optional but enabled by default setting.
If we talk about compiling with -fno-exceptions we can add some alternative new operator overloads that return error codes. We can probably do detection on whether exceptions are enabled or not using Kconfig option as you suggested. I think it would be too much of a pain to do detection using compiler attributes or features since we use so many toolchains and every of them has their own syntax...
Thought about CMake - target_compile_features for a while to detect exception handling at CMake level but unfortunately list of compilers supported by CMake is limited and I know that Xtensa compiler is not on the list (as probably other embedded toolchains).
We can even think about writing custom allocator for exception-less applications to use, however it does look like a quite hard subject (at least for me, never wrote one).
As far as I know, when exception is thrown and you compile with -fno-exceptions function std::abort() is called that causes abnormal program termination unless:

Causes abnormal program termination unless SIGABRT is being caught by a signal handler passed to std::signal and the handler does not return.

From this docs it looks like we can register a signal handler that would be called every time the exception is thrown and -fno-exceptions flag is used. It would prevent sudden program crash and every function throwing would just return SIGN_ERR on error.
To sum up:
What I would do for now:

Add Kconfig option that is used to determine whether C++ uses exceptions or not.
If Kconfig option is enabled and exceptions are used, we should write and register simple implementation of exception handler that just does while(true) { };
If Kconfig option is disabled and exceptions are not used, we should write and register simple implementation of signal handler that would not crash program on throw but return SIG_ERR. This can be used to implement "return code style new" operator and I think it's more "native C++" way to do this than just reinventing sets of return code logic.
We can think about this custom allocator but my C++ skills are probably not good enough for this ;-)

In the reference to the comment:

The change to minimal libc is blocked by https://github.com/zephyrproject-rtos/zephyr/issues/30105. The C11 is not yet enabled hence the code will not compile.
The change to already available operator new (to make it throwing std::bad_alloc exception), in my humble opinion, should got through API change process. I would deliver that as a separate PR hence it is a bigger change because exceptions are allowed and enabled by CONFIG_EXCEPTIONS but there are not standard exceptions available in C++ subsystem. I'd like to look into the topic a bit deeper to get some feeling how complex would it be to implement some minimal handling of exceptions in minimal C++ subsystem.

2. I'd like to look into the topic a bit deeper to get some feeling how complex would it be to implement some minimal handling of exceptions in minimal C++ subsystem.

The biggest problem is that, as mentioned above, C++ language support implementation is highly compiler type, version and ABI (hence, also architecture)-specific-- implementing C++ exception support would require the Zephyr C++ subsystem (it should really be called "Zephyr minimal C++ support library) to be closely tied to the toolchain.
For instance, even if we add C++ exception handling support for GCC, it will only work with GCC and supporting other compilers will require further work. That is one of the reasons why the C++ standard library development usually goes alongside the compiler development (e.g. libstdc++, which is part of the GCC project) and it is distributed as part of a toolchain.
If we really wanted to add exception handling support to the Zephyr C++ subsystem for GCC, we basically need to re-implement our own libsupc++ (see https://github.com/gcc-mirror/gcc/tree/master/libstdc%2B%2B-v3/libsupc%2B%2B).

Also I would suggest reading up on the following issues:

https://github.com/zephyrproject-rtos/zephyr/issues/45785
https://github.com/zephyrproject-rtos/zephyr/issues/31281
The "To be" portion of https://github.com/zephyrproject-rtos/zephyr/issues/36644#issue-933805956

@stephanosio how many toolchains do we support now? I'm wondering about amount of work required to provide exceptions to minimal C++ subsystem. Making it dependent on selected number of toolchains like gcc, clang does not sound like right way.

@stephanosio how many toolchains do we support now? I'm wondering about amount of work required to provide exceptions to minimal C++ subsystem. Making it dependent on selected number of toolchains like gcc, clang does not sound like right way.

https://github.com/zephyrproject-rtos/zephyr/tree/main/cmake/compiler
There is also IAR support work in progress.
If you can explain what your goals and requirements are (and why you cannot use libstdc++), then I could try revising the future C++ support plans to reflect that (e.g. adding a separate more footprint-optimised libstdc++ variant in the Zephyr SDK).

Well I'd like to have an operator new that works according to standard, I mean throws. I'm not sure if I can use libstdc++ due to memory constraints. That I need to verify. Because of that I'm also checking other roads like extension of a minimal C++ subsystem with exceptions.

Well I'd like to have an operator new that works according to standard, I mean throws. I'm not sure if I can use libstdc++ due to memory constraints. That I need to verify.

FYI, the footprint requirement for libstdc++ has been significantly reduced in Zephyr SDK 0.15.0 -- see https://github.com/zephyrproject-rtos/sdk-ng/issues/527#issuecomment-1216975682.

Well I'd like to have an operator new that works according to standard, I mean throws. I'm not sure if I can use libstdc++ due to memory constraints. That I need to verify.

FYI, the footprint requirement for libstdc++ has been significantly reduced in Zephyr SDK 0.15.0 -- see zephyrproject-rtos/sdk-ng#527 (comment).

Thank you for information. I'll make the evaluation.

Updated code to address not resolved comments.

(tagged for v3.3.0, feel free to change if this should be considered a fix for v3.2.0 instead)


Does WM8960 audio capture work ?

I am using meta-raspberrypi on master branch and I would like to use audio features (capture and playback).
To perform this, I added MACHINE_FEATURES += "wm8960" in my local.conf file as documentation says. I also toggled switches to make playback working.
Playback works, but I'm not able to perform any capture.
I unmuted and toggled all switches in alsamixer capture panel, and increased all volumes to max level, but when I run following command I don't have any sound to my loudspeaker (except noise or automatic rifle sounds):
$ arecord -D hw:0,0 -f CD -r 16000 -c 2 | aplay -Dhw:0
(capture to a wav files doesn't work neither)
When I install seeed-voicecard from respeaker on a fresh Raspbian install capture does work.
Did I miss something ? Thank you.

@BMatthai have you managed to figure this one out? I sadly don't have much I can help with.


Allow server verification to accept tpm attestation evidence in remote attestation request from tdx and sevsnp machines

The current server.VerifyAttestation function enforce itself to only accept hardware attestation report when the event log record (event type == NonhostInfo) is 3 or 4 (standing for GCEConfidentialTechnology_INTEL_TDX & GCEConfidentialTechnology_AMD_SEV_SNP).
When server.VerifyAttestation calls VerifyGceTechnology, server.VerifyAttestation returns error when it cannot find a pb.Attestation_SevSnpAttestation or pb.Attestation_TdxAttestation in the received attestation evidence (pb.Attestation).
However, we want to still allow vTPM attestation on tdx and sev-snp machines. This PR is for removing the enforcement.
See more context in https://docs.google.com/document/d/1bqy3MJdbQrZzn0RQTo1WWZ9wqTXl_y7Jq7Wvnw8Oobo/edit?resourcekey=0-Pfgmgvm7HqCp37cOAu8pbw&tab=t.0#heading=h.mf27ppdi03e3.

/gcbrun

After discussion with @KeithMoyer, we DONOT want to allow vTPM attestation solo. Closing this PR. Reopen in future if assumption changes.


Provide a way to specify different ghc options for dependencies

If I do
sh packcheck.sh cabal-new GHCVER=8.4.3 GHC_OPTIONS="-O0 -Werror -Wall"

then the build fails because of warnings compiling some of the dependencies.  I'd like to be able to specify -Werror for the local build only, and not for the dependencies.  This would require a two-phase build, first with cabal new-build --dependencies-only, and the ability to specify different options for the dependencies and the local build.  (Or is there another way to work around this?)
(Great project, by the way!  Aside from this issue, it is what I have been dreaming of.)

@jgm using --only-dependencies in the first phase of a two-phase build does not solve this issue. cabal still rebuilds all dependencies if a different GHC flag is specified in the second build phase. I think this can only be solved once haskell/cabal#3883 gets resolved.

@jgm #21 implements CABAL_PROJECT environment option to specify a custom cabal project file to solve this problem as suggested in the cabal issue mentioned above.

Seems tedious to have to maintain two separate cabal.project files, one for local builds and one for CI.

See #43 , that might solve this in a better way.


⚠ ClamAV has degraded performance

In f0055c0, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 197 ms

Resolved: ClamAV performance has improved in 6cd06f3 after 5 minutes.


Stereo pair for Sonos adds extreme latency compared to just using one speaker

Hello, I’ve been using this software for a week now on my Sonos one speaker and it worked so much better than every other alternative. I recently decided to add a stereo pair and it sound so much better, but the latency while using swyh-rs is much worse. It feels weird watching movies and video game’s are unplayable. Flac doesn’t work so I can only use .wav, 24 bit adds more latency. Since my speakers are wireless I can’t change group delay or anything and I’ve tried lowering the frequency in windows settings from 48000 to 44100 and I didn’t see any improvement. Help would be greatly appreciated

I'm afraid that swyh-rs can not really be used to stream the audio that comes with video or gaming. Although swyh-rs itself uses minimal buffering (typically around 8 KB depending on the buffer size used by the OS), the receiving devices like your Sonos have to introduce some substantial (usually configurable) buffering to cope with networking latency and so avoiding drop-outs.
You really need a "hardware" connection to the player, like HDMI, to keep audio and video synchronized, unless your video/gaming software allows you to delay the video stream with a certain "offset" so that the audio can keep up with the video.
One application that allows this is VLC, but I have no idea if there are others.
There is really nothing that can be done on the swyh-rs side: I can't send the audio before I have received it from the OS...

Installing the oldest version made the latency much better while using stereo pair. I think when I have the chance I’m going to download newer and newer versions until the latency issue comes back, I can update you on that if you would like.

That would be interesting to know, because the audio capture and the streaming have not really been changed for ages.
What has been updated are the libraries I use like CPAL (audio capture)  and tiny-http (streaming server).


Chinese Remainder Theorem in cpp

ISSUE NUMBER
#185
SHORT DESCRIPTION
Description of Chinese Remainder Theorem with cpp code and also describing the Modular Multiplicative Inverse theorem which is implemented in the Code for CRT with description and cpp code in separate folders.
##LOCATION
I am adding this in the math folder of Competitive Programming.

sir please go through this and tell me if any improvement is needed.

@prateekiiest , the codes work fine! Also comments are written wherever necessary with good readme documentations too

Thank you for your response.

@prateekiiest please see it.

Looks good 🎆
Thanks for the contribution :1st_place_medal:


question: psbt output address diff with rgb address

contruct psbt, the address derive is default to keychain 10 and without taproot tweaks

rgb address -k 10 -i index, it derived the address with taproot tweaks

the result is step 1 and step 2 address is not same even though the keychain and index are all same
is this behavior normal?
how to sign the psbt?

contruct psbt, the address derive is default to keychain 10 and without taproot tweaks

Nope, it is always with a taproot tweak, since we have to put a tweak into the transaction

rgb address -k 10 -i index, it derived the address with taproot tweaks

No, this one is WITHOUT taproot tweak, since there is no tweak to apply.

is this behavior normal?
Yes

how to sign the psbt?
The normal way - it is outputs which are tweaked, so any signer will work. It is just the  hardware wallets will see the change as an external payments - but there is no way around that until we will have a dedicated RGB app for each of hardware wallets

Overall, it is advised not to use -k flag, like in rgb address -k 10 -i index unless you are clearly known what you are doing.
Please feel free to re-open if you have any further questions


WIP: fix(image-loader): Wrong path with Ionic on Android

The check for isWKWebView is not needed in the isIonicWKWebView getter and leads to unexpected behavior when using Ionic on Android.
Closes #183

The link is transformed but the resulting link seems not to work either :smirk:

seems to be a bug with ionic webview
it's supposed to be fixed for iOS, but not for Android
https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/133

so the generate PATH is correct its the webview breaking it? We have to wait for the webview to updated? What is the working version of plugin?

I think there is none by now. I see the guys from ionic-webview have taken care of the ios bug but not the android one. Anyhow I don't see any performance issues by importing base64 instead of linking to the http link.

@rubennavarroc do you convert the image to base643 from what ever path you are given then use that and you say it works fine on ios and android?

@Ross-Rawlins @rubennavarroc what was the end game with this on Android anyone know if Ionic got it dealt with?

Any news about this issue? I'm still experiencing the same problem on Android.


UNDERTOW-1533 Send SNI when connecting via HTTP Proxy

Can one of the admins verify this patch?

This is ok to test


Copy data selections to another workspace

Allow users to copy selections of table data from one workspace to another. When a user makes a multiselection as per #404, provide a "Copy to another workspace" option. This should copy those entities to another workspace. If the entities have dependencies, the parents should be copied as well. This should have existing backend support, as it is available in FireCloud.
There, it is implemented as a pull. I am suggesting we change this to a push.

This can be as slow as it is in FireCloud. We need to be equivalent in Q4. We can look to handle large datasets better in Q1.
Initial data page should remain paginated. By default, select-all selects all on the page. We should then have a 'yes I wish to select all Xthousand ones in the workspace'. THEN we load everything and have it be slow.


jacfwd and jacrev fail on different-typed inputs/outputs

This example breaks both jacfwd and jacrev:
def f(x):
  return x

x = (np.ones((), np.float16),
     np.ones((), np.float32))

Then
from jax import jacfwd, jacrev

jacrev(f)(x)

Gives
---------------------------------------------------------------------------
UnfilteredStackTrace                      Traceback (most recent call last)
<ipython-input-182-404943dd2494> in <module>()
      2
----> 3 jacrev(f)(x)

6 frames
UnfilteredStackTrace: TypeError: Type of cotangent input to vjp pullback function (float16) is not the expected tangent type (float32) of corresponding primal output with dtype float32.

The stack trace below excludes JAX-internal frames.
The preceding is the original exception that occurred, unmodified.

--------------------

The above exception was the direct cause of the following exception:

TypeError                                 Traceback (most recent call last)
google3/third_party/py/jax/_src/api.py in _vjp_pullback_wrapper(cotangent_dtypes, cotangent_shapes, io_tree, fun, py_args)
   2047     if expected_tangent_dtype != ct_dtype:
   2048       raise TypeError(
-> 2049           f"Type of cotangent input to vjp pullback function ({ct_dtype}) is not "
   2050           f"the expected tangent type ({expected_tangent_dtype}) of corresponding primal output "
   2051           f"with dtype {_dtype(arg)}.")

TypeError: Type of cotangent input to vjp pullback function (float16) is not the expected tangent type (float32) of corresponding primal output with dtype float32.

And
jacfwd(f)(x)

Gives
---------------------------------------------------------------------------
UnfilteredStackTrace                      Traceback (most recent call last)
<ipython-input-183-e245dd571352> in <module>()
----> 1 jacfwd(f)(x)

6 frames
UnfilteredStackTrace: TypeError: primal and tangent arguments to jax.jvp do not match; dtypes must be equal, or in case of int/bool primal dtype the tangent dtype must be float0.Got primal dtype float16 and so expected tangent dtype float16, but got tangent dtype float32 instead.

The stack trace below excludes JAX-internal frames.
The preceding is the original exception that occurred, unmodified.

--------------------

The above exception was the direct cause of the following exception:

TypeError                                 Traceback (most recent call last)
google3/third_party/py/jax/_src/api.py in _jvp(fun, primals, tangents)
   1933   for p, t in safe_zip(ps_flat, ts_flat):
   1934     if core.primal_dtype_to_tangent_dtype(_dtype(p)) != _dtype(t):
-> 1935       raise TypeError("primal and tangent arguments to jax.jvp do not match; "
   1936                       "dtypes must be equal, or in case of int/bool primal dtype "
   1937                       "the tangent dtype must be float0."

TypeError: primal and tangent arguments to jax.jvp do not match; dtypes must be equal, or in case of int/bool primal dtype the tangent dtype must be float0.Got primal dtype float16 and so expected tangent dtype float16, but got tangent dtype float32 instead.

I believe the Jacobian should be
((1 [f16 - df1/dx1], 0 [f32 - df1/dx2]),
 (0 [f16 - df2/dx1], 1 [f32 - df2/dx2]))

I wonder whether this is addressed by #7158. That PR was meant to fix #7157, which is about mixed float/complex types, but hopefully also addresses the case where distinct floating point types are mixed as well.
It is currently waiting on my closer review in response to changes made from the previous round, and doing that is on my queue... Meanwhile @NeilGirdhar has kindly been rebasing it regularly. Might be worth seeing if it fixes this too.
@NeilGirdhar, any thoughts?

Yes, #7158 is supposed to address heterogenous types as well!  I added the test in this issue in case that helps.  Thanks for making the connection :smile:


"Connet failed" after clicking Connect button in AdsServerSample

Thanks for the update of "x86" hint, I can start up the AdsServerSample application now.  Click the connection button will cause an exception and promp "Connect failed". Please let me know if there is more set up to run this demo.

what has been installed:
TwinCAT 2.11 x64 Engineering v2.11.2307.0
visual studio 2022.3 Version 17.3.0
windows 10 64bit 21h2 19044.1889

The reason for the problem was, that the example used an 'dynamic' / 'unfixed' port for the AdsSampleServer. This works with new er TwinCAT systems, but not with the 2.11.2307 Engineering. But anyhow, in your own AdsServer implementations a fixed AmsPort should be used for AdsServers (between 25000 and 25999). I changed the sample and it works now properly as 32-Bit process also under 2.11.2307 Engineering.


add gp-winner instructions

just added to bottom, probably getting low click-through to kaggle data and most of it is out of date at this point, not that it is not relevant, just that fragment data doesnt really transfer to scroll1 and likely doesnt to the others.

hey daniel, thank you so much for the improvements here, but im a having a bit of trouble. i'd like to just submit this as 1 pull request with all the changes, i think you said that the changes here are also in the other one? sorry i've not really used pull requests before, so its all new to me

duplicate.redundant

Hey Bruniss, yes this is possible. Just wait for the old PR to be merged before modifying your main branch.
After it is merged, I find the easiest way is to just delete the repo and fork the scrollprize repo again.
You can edit the title at the top of #17.
Then, come back here and below, under the comment box, use the button to Close with/without comment.
(which you have already done.)
I have moved the suggestions back to the other PR.


Problems setting up workspace

Hi,
I've joined a python project at work and I'm currently trying to set this up in vscode and I'm having some issues doing so.
The project layout is basically as follows:
/projectroot/
/projectroot/env (/bin/python)
/projectroot/doc
/projectroot/docker
/projectroot/loader
/projectroot/loader/tests
/projectroot/webapp
/projectroot/webapp/tests
It is set up with a single virtual environment, but there are two python projects (loader and webapp) in there. If I open vscode within one of the project folders (loader), then I can easily get unit tests discovered and things seem to work. But if I open vscode from the project root folder, then unit tests are no longer discovered.
I'm fairly new to both vscode and python, so it might be some trivial issues here. Would it work better if I set up an isolated virtual environment for each of the two projects?
Environment data

VS Code version: 1.22.2
Extension version (available under the Extensions sidebar): 2018.3.1
OS and version: MacOS X 10.13.4
Python version (& distribution if applicable, e.g. Anaconda): 3.6.4
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): virtualenv

Actual behavior
Unit tests are not discovered
Expected  behavior
Unit tests from both python projects are discovered

Seems like I can get this working with multiroot workspaces and multiple virtual environments. Closing this issue for now


Needed to launch npm-windows-upgrade with node; not hash-bang (#!)

From npm-windows-upgrade:

If you have trouble with the script, consider adding parameters manually. A common issue is that the script fails to find npm (and therefore doesn't know where to install it) - in that case, pass the location manually.
npm-windows-upgrade --npm-path "C:\nodejs"

Not until I used node(1) itself to launch npm-windows-upgrade did it work for me:
$ node .\AppData\Roaming\npm\node_modules\npm-windows-upgrade\bin\npm-windows-upgrade

When installing a global module npm places a npm-windows-upgrade.cmd in  .\AppData\Roaming\npm
That one should work

Well, that was an excellent hint!  Because, after the global install, though npm-windows-upgrade was in the Roaming\npm\node_modules, there isn't any \npm\npm-windows-upgrade.cmd.  CMD's exist for all the other globals, just not this one.  If it was there, I am guessing it would have been in my %PATH% and found.
So, we know why I couldn't run it from the CLI, but wonder if it's worth looking into why the CMD wasn't created.  I think that might be a waste of time since I just assisted a co-worker with the upgrade and it worked fine for him. I'm gonna close.
Thanks for the hint.


Don't buffer and parse the body when an event is received

Now when you receive an event the Data is fully buffered (and even parsed if it's a json). It could be useful to have a configuration flag for:

When possible (eg binary mode in http), don't buffer the Data, but just return the io.Reader
Don't parse the body to json when not required

I think we want to do this in v2 of the sdk. It will really speed things up.
cc: @alanconway

It won't speed things up unless
a) events carry very large data AND
b) the event consume is able to process the data in pieces.
I don't think that b) will hold very often for endpoint event aps, but would in intermediaries that forward events. If we do add this feature the pkg/binding.Message needs to offer that so event data can be streamed between transports.

@alanconway b situation it's definitely the target of eventing components

+1 to using io.Reader in the Go API. Helps big data, doesn't hurt small data, is a well-known pattern from net.http.
@slinkydeveloper could you elaborate on large-data use cases for eventing? I see eventing as a complement to HTTP, and HTTP is already very good at distributing large data  resources.
Real example: Pixar rendering farms handle distribute very large data over very large numbers of compute nodes. They use AMQP "events" to negotiate workloads, advertize available compute capacity and available work that needs rendering. However they switch tacks to actually ship chunks of movies around  (motley assortment of NFS and home-brew AMQP-based stuff)
Point is: if I was doing that in the cloud, I would use eventing for workload negotiation and such "metadata", possibly with an AMQP or MQTT backbone for that part, but distribute URLs in the events and use HTTP to hit the big resource and compute servers.

I just found that (probably to avoid data races) there is a copy of the whole event body just before the message is sent https://github.com/cloudevents/sdk-go/blob/a673034672bfdf06d9e270813e982425143260aa/pkg/cloudevents/transport/http/message.go#L123
Can we add a flag or something similar to avoid these behaviours and just share buffers between goroutines? When the message is sent and not used anymore, I assume is safe to share the body buffer with another goroutine without copying it

I'd rather not make this optional - either we ensure it is concurrent-safe to never copy, or it's not safe and we always copy. Otherwise folks will always turn on the "go faster" flag and then be subject to unpredictable races and crashes.
In the current API I think we can document that an Event (and it's Context!) MUST NOT be modified after calling Send() or there will be Undefined Consequences. It is a reasonable constraint and consistent with the general concurrency rules of Go. For example it would also be an error to modify a http.Request in flight.
Ideally the event API would actually have an immutable Event type, that could be something to aim for in v2, although many existing Go APIs don't bother to provide immutable types (e.g. http.Request, http.Header) and assume the user will be smart.

I'd rather not make this optional - either we ensure it is concurrent-safe to never copy, or it's not safe and we always copy. Otherwise folks will always turn on the "go faster" flag and then be subject to unpredictable races and crashes.

Makes sense

In the current API I think we can document that an Event (and it's Context!) MUST NOT be modified after calling Send() or there will be Undefined Consequences. It is a reasonable constraint and consistent with the general concurrency rules of Go. For example it would also be an error to modify a http.Request in flight.

Hmm to me looks like a "shoot in the foot" feature, since there is no type enforcing mechanism to prevent any bad usage. Generally speaking, I think the client APIs should be somewhat safe and prevent bad usages to target creating user applications. The problem is that we (Knative Eventing) need a less safe but faster APIs to build performant cluster services.

In the current API I think we can document that an Event (and it's Context!) MUST NOT be modified after calling Send() or there will be Undefined Consequences. It is a reasonable constraint and consistent with the general concurrency rules of Go. For example it would also be an error to modify a http.Request in flight.

Hmm to me looks like a "shoot in the foot" feature, since there is no type enforcing mechanism to prevent any bad usage. Generally speaking, I think the client APIs should be somewhat safe and prevent bad usages to target creating user applications. The problem is that we (Knative Eventing) need a less safe but faster APIs to build performant cluster services.

Agreed, but I don't think a flag helps because a) "we" are just as likely to screw up as anyone else and b) if there's a "go faster" switch then everyone will turn it on, everyone needs speed.
I'm not sure this problem applies to the binding model, where Message.Finish() allows Receivers to safely reclaim buffers or other resources in a Message.

This is addressed by bindings


Maybe the website in other languages?

We'll be able to translate the site for other idioms?

I'm going to close this as a duplicate of #73, we can discuss translating to other language there.


DRAFT - Architecture Overview v0.1

Here we put all of our ideas and core concepts, drawings and diagrams, then, we condense everything to the documentation.
We can also break each of core concept and reference it in commits and PR's, so we can keep track project evolution. Maybe RFC model adoption might occur, depending on how we're going to manage model escalation.

Ok ,so put this into docs?  Wiki?

I'll start putting this stuff into the WIKI until it gets into a solid draft and move it into docs.

The first one is a BLE spec:
https://github.com/IoTone/ProjectMagNET/wiki/Mag*NET-BLE-Service-Definition

Work in progress


Smart Account Proof of Concept

Note: Remove two examples dependent on earlier removed methods: https://github.com/fuseio/fuse_wallet_web_sdk/pull/2

@MusabShakeel576 @leonprou LGTM


Termination of benchmarks with assertions

When we check for termination, we use assert as a marker of infinite loop. Some benchmarks in termination have reachable assert and Symbiotic considers them non-terminating.
From my understanding, we first replace __assert_fail by __VERIFIER_assume(0) and then replace __VERIFIER_assume(x) by __INSTR_check_assume(x). In the end, this calls __INSTR_fail which reports an infinite loop.
The problem appears in this benchmark: https://github.com/sosy-lab/sv-benchmarks/blob/master/c/ldv-regression/1_3.i .
I suggest using -remove-errors-use-exit as it doesn't insert an assertion and preserves termination. It works on the benchmark above.

Yes, the problematic part is to run -remove-error-calls pass right after the compilation. Weird, it worked the last year and I do not remember changing any bit of it...


Example Chapter16_08 does not properly scale up digits on PC Host

There can be a discrepancy between the host digit count and the target
Also the simulated LCD display (on the console) does not handle large digit counts on its line width parameter.
Update wide_integer along the way.
Be sure to run on host and target when testing.

See also #585


Pressing Esc to restore the keyword

Hi there,
First, thank you so much for this great app.
Second, I want any way  to make pressing "Esc" restore the keyword from snippet, not erasing the snippet.
E.g. I made "hl" for "Hello", I want pressing "Esc" to make it back to "hl" not "Hell"

In order to work universally, Beeftext does not 'see' the text it's erasing. It does it by sending it repeated  backspaces. This means, that Beeftext cannot restore the keyword.


return keyword not handled properly

Describe the bug
@JsonKey(name: "Return") int return,
return is a dart keyword which causes issues in code gen

Hi, @apgapg
Thanks for this report I missed this one :) It's quick fix, just need to add this keyword to the list of reserved keywords.

Hi @apgapg
It's fixed. Just wait when @hiranthaR  will add this.


Question: How can I create my own instance of an existing struct?

I understand how to create an instance of an existing class...
const AssemblyCSharp = Il2Cpp.Domain.assembly("Assembly-CSharp").image;
const interestingClass = Il2Cpp.Domain.class("Some.Namespace.interestingClass");

let myInstanceOfInterestingClass = interestingClass.alloc();
...

If the namespace Some.Namespace has a struct of interestingStruct, how would I reference and create my own instance of that?

Create the object, then call Il2Cpp.Object::unbox to get a Il2Cpp::ValueType (a struct).
PS: Il2Cpp.Class::alloc only allocates the instance: its constructor will not be invoked - you need to call it aftwerwards like any other method:
const myInstanceOfInterestingClass = interestingClass.alloc();
myInstanceOfInterestingClass.method(".ctor").invoke(...);

// shorthand to alloc + ctor (but without arguments)
const myInstanceOfInterestingClass = interestingClass.new();


Enabling Express Login

Description of changes:
This is a non-breaking change.
Just giving developers the chance to authenticate the user automatically if user already was logged into the app.
Just call FacebookLogin().expressLogin() and it will return  a FacebookLoginResult just like it does when user clicks the button.
Android only for now (It depends on Facebook's iOS SDK), on iOS i've made it so it always returns "cancel" instead of "error" or "not implemented" but IMHO Users should have a logic inside their app to use it only on Android.
Documentation:
https://developers.facebook.com/docs/facebook-login/android/#expresslogin

Here is a gif explaining how it works(in my app I did that if User is opening the app and unlogged i will try to log him with expressLogin, if he is unlogging i will not)

Hey! Sorry for the late answer. I'm pretty busy right now, but I'll take a look.

@greymag had the chance to take a look?

We are using in a 10M MAU in production and everything is great with no errors being reported.

Hey! I apologize for that delay, I'll merge your PR by the end of the week

@greymag applied changes


Formatting: black -> ruff format

Changes
Development

Convert from black to ruff format (https://docs.astral.sh/ruff/formatter/)

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

Comparison is base (af9830c) 58.37% compared to head (c32ad06) 58.37%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master      #27   +/-   ##
=======================================
  Coverage   58.37%   58.37%
=======================================
  Files          10       10
  Lines         639      639
=======================================
  Hits          373      373
  Misses        266      266

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


documentCollection.update not updates an existing value with empty object

I have modified this test as follows to illustrate what I was trying to do.
it("updates the given document", async () => {
      // New person entry
      const data = { potato: "tomato", person: { info: { name: "Jane", age: "10"} } };
      const meta = await collection.save(data, { returnNew: true });
      const doc = meta.new!;
      // Update person entry with {}
      await collection.update(doc, { sup: "dawg", person: {} });
      const newData = await collection.document(doc._key);
      expect(newData).to.have.property("potato").that.equals(doc.potato);
      expect(newData).to.have.property("sup").that.equals("dawg");
      // This fails as update did not update the person to {} but keeps the old value
      expect(newData).to.have.property("person").that.equals({});
 });

Idea is I'm trying to update the person to {} which holds a value of { info: { name: "Jane", age: "10"} } }.
Issue
collection.update does not update the person entry to {} but keeps the old value  info: { name: "Jane", age: "10"} }.

i think thats intended behavior... maybe modify the js object to have person: {} then replace the object in the database?

Update does a "merge" by default. You probably want to set mergeObjects to false: http://arangodb.github.io/arangojs/7.5.0/modules/collection.html#collectionupdateoptions

@pluma @autumnblazey thanks for the replies. mergeObjects to false resolved the issues. Closing this.


Default to CloudHSM cluster only for pStackScope

Consider changing the default value of the pStackScope parameter to cluster-and-client-only from the current default of with-custom-key-store. The goal of this change is to make the simpler and faster to achieve configuration the default.
The template would still default to 2 HSMs so that it demonstrates the best practice of deploying HSMs to at least 2 AZs.

Complete
https://github.com/aws-samples/aws-cloudhsm-cloudformation-template/commit/9d253078da8cf7739e2060866f0946a615bcab13


Major bug fixes and improvements of the editor

Test Comment

Accepted

Ok, didnt work out as expected.


Docke 1.9 named volumes removed with last container

In Docker 1.9 volumes are a top level entity, and can be created and named. A named volume is a replacement for data containers, and to some extent lines up with host bind mounts for explicitly knowing where data is being stored.
Current Rancher behavior cleans up volumes attached to containers. Now that named volumes are an option, we should likely not delete the named volume when the container is removed. It is possible a user would want to use it again.

Working on it. I need to implement proper deletion the 1.9 way, but also need to support the old way. Here's my stop gap:
https://github.com/rancher/python-agent/pull/185

Any updates on this? Thanks

Done. (Rough) steps to test:

create a container that uses a named volume.
on the host, docker volume ls to verify the volume exists
delete and purge the container in rancher
wait a little while because the volume purge is scheduled a minute or two later
docker volume ls on the host again to verify it is gone.

Tested with rancher server version - v0.63.0-rc1
Docker version on the hosts - 1.10.2, build c3959b1

create a container that uses a named volume.
on the host, docker volume ls to verify the volume exists

root@sangee63-10acre-1:/home/sangeethahariharan1# docker volume ls
DRIVER              VOLUME NAME
local               389a7e1fb515b46e2b6f2913de38b139edbb3e97002abf69fe7f5ccd1463c950
local               test1

delete and purge the container in rancher
wait a little while because the volume purge is scheduled a minute or two later
I waited for 5 minutes or so ..
docker volume ls on the host  still lists the volume.

In rancher db , I see the volume is not marked as "removed" .It is in "inactive" state.
mysql> select * from volume where name like "test1";
+----+-------+------------+--------+--------------------------------------+-------------+----------+---------------------+---------+-------------+--------------------------------------------------+------------------+-----------------+---------------+--------+------------------+----------------+-------------+----------+-------------+---------+--------------------------------------------+-------------+
| id | name  | account_id | kind   | uuid                                 | description | state    | created             | removed | remove_time | data                                             | physical_size_mb | virtual_size_mb | device_number | format | allocation_state | attached_state | instance_id | image_id | offering_id | zone_id | uri                                        | external_id |
+----+-------+------------+--------+--------------------------------------+-------------+----------+---------------------+---------+-------------+--------------------------------------------------+------------------+-----------------+---------------+--------+------------------+----------------+-------------+----------+-------------+---------+--------------------------------------------+-------------+
|  4 | test1 |          5 | volume | 3153b9fe-0858-4d3e-97bf-5e6c4ef6ebd5 | NULL        | inactive | 2016-03-10 00:22:09 | NULL    | NULL        | {"fields":{"isHostPath":false,"driver":"local"}} |             NULL |            NULL |            -1 | docker | active           | inactive       |        NULL |     NULL |        NULL |       1 | file:///var/lib/docker/volumes/test1/_data | test1       |
+----+-------+------------+--------+--------------------------------------+-------------+----------+---------------------+---------+-------------+--------------------------------------------------+------------------+-----------------+---------------+--------+------------------+----------------+-------------+----------+-------------+---------+--------------------------------------------+-------------+

@cjellick : Do we expect the volume to get deleted state in DB , before the volume gets removed from the host ?

I misread the initial bug and my steps to test were wrong, but its still fixed.
@cloudnautique is stating that we should not delete named volumes when a container using them is deleted. We made this change and actually your testing shows that we in fact do not delete the named volume.
Now, the only way to delete them is via the API because we don't expose local storage pools in the UI, but I guess that is something for @vincent99 to consider.

But @sangeethah, the reason it isnt deleted on the host is that it wasnt deleted in rancher. So to more directly answer your question: the volume should be purged in rancher before it is actually gone from docker volume ls

@cjellick , Is there a way to delete the volumes ? I don't see local volumes being listed any where in the UI ? should I be using api to test deletion of volume?

Deleted local Volumes using API and waited for the volume to get to "purged" state.
After this confirmed , that local volume is deleted in the host (volume not listed in docker volume ls )


OSX path fixes

Fixes more OSX path errors. Thanks @mouse07410 for "staying on" this.

Good start, but insufficient. For example, on MacOS it still tends to set LD_LIBRARY_PATH to some silly-weird XXXX/.local/lib64, despite LD_LIBRARY PATH being set and passed to the script.
Please ensure that your script prints out all the env vars it uses.

it still tends to set LD_LIBRARY_PATH to some silly-weird XXXX/.local/lib64, despite LD_LIBRARY PATH being explicitly set and passed to the script

That should only happen if OPENSSL_INSTALL has been set and if this directory exists. Weird. Do you maybe have some leftovers from previous test runs around? Did you try passing the "-F" (full cleanup) parameter before running the fullbuild script?

Please ensure that your script prints out all the env vars it uses.

I intentionally refrained from that to not overwhelm the "casual" user with what in effect is debug output. Would it be an option to "auto-magically" activate that if any of the "OQSPROV|SIG|KEM" debug env vars were set when running the script(s)?

Do you maybe have some leftovers from previous test runs around?

I'm trying to avoid that by rm -rf tmp/*, but am not sure.

Did you try passing the "-F" (full cleanup) parameter before running the fullbuild script?

Passing parameter "-F" to where?
Also, it is my understanding that fullbuild would clone OpenSSL and liboqs - so I never run that script, ever.

I intentionally refrained from that to not overwhelm the "casual" user with what in effect is debug output.

In my opinion, this is a mistake. For a "casual" user, there won't be much difference between ignoring printout of 4 env vars vs. ignoring, say, 8 env vars. And I don't think your scripts use even as much as 8. But, again, all of those used need to be shown - to see what value they actually took for the run.

Would it be an option to "auto-magically" activate that if any of the "OQSPROV|SIG|KEM" debug env vars were set when running the script(s)?

Not sure. Better then nothing - but I think we're splitting hairs now. It's not like we're debating printing out just plaintext+ciphertext of AES vs. output of every AES inner round.
Just add those 2-4 missing vars and be done with it. ;-)

Passing parameter "-F" to where?

fullbuild.sh. It then cleans all dependencies and binaries

Also, it is my understanding that fullbuild would clone OpenSSL and liboqs

That understanding isn't quite right (any more): It (now) builds OpenSSL only if OPENSSL_BRANCH is set or if no openssl v3 is found. You're right in that it did this (before) when the directory openssl was missing. liboqs is required for building oqsprovider and fetched (if not already present).

there won't be much difference between ignoring printout of 4 env vars vs. ignoring, say, 8 env vars

Well, just checked: On OSX you have a point: There, env outputs "just" 15 vars. On Linux, it's 60 (!).

Just add those 2-4 missing vars and be done with it. ;-)

No problem with that. Which ones?

Also, it is my understanding that fullbuild would clone OpenSSL and liboqs

That understanding isn't quite right (any more): It (now) builds OpenSSL only if OPENSSL_BRANCH
is set or if no openssl v3 is found. You're right in that it did this (before) when the directory openssl
was missing.

Ok, fine - however:

liboqs is required for building oqsprovider and fetched (if not already present).

And here's where I have a problem - how the scripts figure whether liboqs is installed, and if it is - then where.
I _absolutely don't want _ fullbuild.sh to fetch and build another LIBOQS merely because it doesn't know any better.
So, unless/until there's a compelling reason to, I'd prefer to avoid fullbuild.sh.

Just add those 2-4 missing vars and be done with it. ;-)

No problem with that. Which ones?

DYLD_LIBRARY_PATH
LD_LIBRARY_PATH
LIBOQS_BRANCH
LIBOQS_SRC_DIR
OPENSSL_APP
OPENSSL_BRANCH
OPENSSL_CONF
OPENSSL_DIR
OPENSSL_INSTALL
OPENSSL_MODULES
OPENSSL_ROOT_DIR

Might need more, but this seems comprehensive enough.

the fact that it insists on LD_LIBRARY_PATH being set (and exits if it's empty).

Thanks to @mouse07410 suggestion these "nanny instructions" have now been removed: If (DY)LD_LIBRARY_PATH is not set in the component tests, testing will not stop anymore. In turn, if (DY)LD_LIBRARY_PATH are set when starting testing, those settings will not be changed and any failures are due to the user :)
This PR also excludes testing for "OpenSSL 3.0.1" as it is unable to properly register new signature algorithms (after loading oqsprovider).
@dstebila @bhess Please check and approve as I'd like to finally tag a release now.


Fix default socket group regression

fixes #31788
This is an ugly patch to fix the regression where daemon does not start anymore if there is no docker group in the host.
Before this used to be handled in https://github.com/docker/go-connections/pull/26/files#diff-db2f28fb2088d62113489c6a960cfebdL43 . Normally, we would avoid these constants in pkg packages but only other way I see to fix it would be to have different signatures for listeners.Init() for unix and windows, as I can't change the group input in windows to an integer. It isn't worse than before where we had this constant hardcoded in go-connections.
@dongluochen @dmcgowan @cpuguy83
Signed-off-by: Tonis Tiigi<EMAIL_ADDRESS>

sgtm

What if instead (of a group string) we pass in a gid resolver function like func(s string) (int, error)

@cpuguy83 Even then we would need to pass something different for windows as there are no gid's there, only strings.

LGTM


ERROR_CAPTCHA_INCORRECT with all services

Hello,
I have been using SERPoscope for years to track all my keywords. I absolutely love this product.
Today I noticed this error:
ERROR_CAPTCHA_INCORRECT
I'm unable to retrieve any data. I tried multiple captcha solving services, and all produce this same error. Is this a change in Google's implementation of recaptcha, or are my proxies just so burned that they won't let me through?
Anyone else seeing this error?

It does indeed seem that my proxies are burned... I tried manually, solving 5+ captchas, and Google still won't let me through. Closing.


Cannot get list report working

Hey.
SO using this in reports:
class ListOfDevicesNow(ReportView):
#report_title = _("List of devices")
report_model = device_view
report_title = "List of devices"
date_field = "import_date"
filters = ["Name"]
columns = [
"Name",
"Model",
"SerialNumber",
"ConnectionState",
"OsVerTxt",
"User",
"LastBootUtc",
"LastConnUtc",
"CreatedUtc",
]
default_order_by = "id"
limit_records = 10
clicking this report gives me and error on "id". I can exchange the clumn with any name, still error.
slick_reporting\views.py", line 35, in
return sorted(value, key=lambda x: x[arg], reverse=desc)
KeyError: 'id'

Got the issue. So I had to put "id" in the column list as well. Thank you.


build: hash pkg and print out hash

Problem
We currently print out a pkg zip hash just upon start, while our deterministic hashing could enable this for every build.
Solution
Hash in the build command too.
Notes
WIP:
I need to doublecheck behaviour with api.zip, I see some discrepancies on old packages I was building without the default empty api.zip

Closing in favor of #214


Fixes #24478: Add default value for NUMBER_GROUPING in Icelandic

The USE_THOUSAND_SEPARATOR setting is not working when format localizing Icelandic numbers.
A properly formatted number in Icelandic should be: 1.000.000,0 - however - when using the localize template tag to format numbers, no thousand separators appear. This is due to the fact that in django/utils/numberformat.py no grouping occurs unless there is a non-zero value for the NUMBER_GROUPING variable in the active locale.
https://code.djangoproject.com/ticket/24478

Thanks, pushed in d8de9a64d7


Ensure that SignatureHelp and SignatureHelp has non-null arrays

While the LSP allows a SignatureHelp's signatures array to be optional, Monaco does not so we should ensure that it Monaco's representation of a SignatureHelp is properly initialized with a zero length array if the value from the language server is null or undefined.
See Microsoft/monaco-editor#1045.

The parameters array in SignatureInformation is actually the culprit of the bug in Microsoft/monao-editor#1045.
Either way, we should fix both of these cases...

Is this PR supposed to fix Monaco Editor #1045? I have tried to upgrade to 0.8.0, but the crash issue still persists.

Hi, @hifall. It should but it sounds like I missed something.
Please open a bug and describe your setup and versions there.

Filed as Issue #115.

Confirmed working. Thanks!


Updated after completion of react inside the HTML5 code has a problem. For example, the a tag

such as

Footer can auto complete

click tab

Please give more information. What are you expecting?

For example: I enter the a tag, and then click the tab button to appear
""
It seems that after the update, most of the tags are not valid for HTML5 (or custom tags)
On 08/16/2017 17:50, Martin Aeschlimann wrote: Please give more information. What are you expecting?
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/Microsoft/vscode","title":"Microsoft/vscode","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/Microsoft/vscode"}},"updates":{"snippets":[{"icon":"PERSON","message":"@aeschli in #32602: Please give more information. What are you expecting?"}],"action":{"name":"View Issue","url":"https://github.com/Microsoft/vscode/issues/32602#issuecomment-322721326"}}}

@gwiron Can you try the latest insiders from https://code.visualstudio.com/insiders ?
If you still have issues, please share the code sample and file type

Thanks. I'll try it tomorrow
On 08/16/2017 22:46, Ramya Rao wrote: @gwiron Can you try the latest insiders from https://code.visualstudio.com/insiders ?
If you still have issues, please share the code sample and file type
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/Microsoft/vscode","title":"Microsoft/vscode","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/Microsoft/vscode"}},"updates":{"snippets":[{"icon":"PERSON","message":"@ramya-rao-a in #32602: @gwiron Can you try the latest insiders from https://code.visualstudio.com/insiders ?\r\n\r\nIf you still have issues, please share the code sample and file type "}],"action":{"name":"View Issue","url":"https://github.com/Microsoft/vscode/issues/32602#issuecomment-322795307"}}}

@gwiron We havent heard back from you in a while. I am assuming that your issue is solved in the Insiders build. If not feel free to drop in a comment here and we can get back to this

Thank you very much, your reply! Your efficiency will make your company better
On 08/27/2017 04:34, Ramya Rao wrote: Closed #32602.
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/Microsoft/vscode","title":"Microsoft/vscode","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/Microsoft/vscode"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Closed #32602."}],"action":{"name":"View Issue","url":"https://github.com/Microsoft/vscode/issues/32602#event-1222611563"}}}


[ADD] input unfolding for transpose convolution

This PR adds the equivalent of torch.nn.Unfold (unfolding the input of a convolution torch.nn.ConvNd) for transpose convolution (unfolding the input of a transpose convolution torch.nn.ConvTransposeNd).
Resolves #16.

Remaining TODOs:

[ ] Update docstring of _make_weight
[ ] Look at untested lines, maybe add additional tests
[ ] Update README