Modern Page Comments - Shows Duplicates

Category

[ ] Question
[ ] Typo
[ x] Bug
[ ] Additional article idea

Expected or Desired Behavior
We have comments enabled on site pages. We're seeing duplicate comments. We had similar behavior back in december.
This happens if you go to site page from news webpart. And if you open the site page in a new window/tab or refresh the page, we don't see duplicate comments.
Please see below from production tenant. As highlighted, count is accurate but I think its getting rendered twice.

Browser inspect

Please let me know if you need additional info.
Thank you for your time !

Hi - Any update, please ?

We have the same issue on several customers. For some this is a major issue. Are there any update on this ?

We have the same issue, too. Just for Info... please fix it.

Update from MS Support Engineer "identified a code issue that was introduced in a recent SharePoint Online update. Reverted the change and deployed a fix to mitigate the issue."
This issue is resolved on our tenant.

I noticed this comment-duplication issue for the first time in our Tenant yesterday (13 June 2019).  Has this issue been re-introduced or is the fix still in the deployment process?

I have one customer that are facing this issue as well. They are using modern pages and only standard web parts. No custom code.
The duplicated comments are a big issue to them as they are trying to push end users to comment on all the news pages. Let me know if you need URL's or anything to troubleshoot and see the problem.


cant run Compileall.bat

Hello

I choose Alexandria
when trying to compile compileall.bat at command prompt (run as administrator), compiling fail and I get this message
'more' is not recognized as an internal or external command,
operable program or batch file.
Press any key to continue . . .
I choose Alexandria
Any help will appreciated

It solved must run Compileall.bat as administrator


[Request] Show suggests/recommends entries and allow for more info in "custom": {"modmenu": {

Currently the "suggests" and "recommends" entries in fabric.mod.json don't do much of anything ("recommends" just spams the log a little).
It would be great if Mod Menu showed these things to users.
If only the "suggests" and/or "recommends" entries are present, a simple list of their mod ids could be shown.
For more info, mod makers could put an "optional_dependencies" array in "custom": {"modmenu": { (or just use "suggests"/"recommends" again in there).
This could let them specify things like mod name and mod home page, in addition to providing a summary of why the mod is recommended.
If the entry in "custom": {"modmenu": { were present, the "suggests"/"recommends" entries in fabric.mod.json would be ignored.

For modpacks, I would prefer if this also respected the dependency overrides for adding or removing new suggestions/requirements.

Without links, I don't think this feature would make much sense. It seems like if we show this to users there should actually be some way of the user getting the mod suggested


Fix out-of-source builds

Use correct CMAKE dir variable to fix out-of-source builds.
Verified that in-source builds are still working.

Thanks!


Resnet20: add fake quantization nodes

System information
Have I written custom code (as opposed to using a stock example script provided in TensorFlow):no
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):CentOS Linux release 7.2
TensorFlow installed from (source or binary):Anaconda python 3.6.5(conda install)
TensorFlow version (use command below):1.8.0
Python version: 3.6.5
Bazel version (if compiling from source): 0.7.0
GCC/Compiler version (if compiling from source): 4.8.5
CUDA/cuDNN version:cuda-9.0
GPU model and memory: P40
Phone: N/A
Hi~
When I use 'tf.contrib.quantize.experimental_create_training_graph'  it will add fake quantization in the graph.  reference this picture(find positions to insert fake quantization nodes).

I think it will add a fake quantization node in the bypass, but I can not find it in the tensorboard graph(in the red box, it is the bypass). In other convs, I can find the quantization node.

My network architecture is ResNet20,  tensorflow version is 1.8.0
pls help me. thank you.

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

Is this ResnetV2. If that is the case, there are issues with batchnorm that messes up quantization, that we still need to resolve before we are able to quantize this.

@suharshs  When will this problem be solved?

This may be a bit involved to resolve, but it is something we plan to look into this upcoming quarter.

Nagging Assignee @suharshs: It has been 17 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @suharshs: It has been 31 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignees @suharshs, @raghuraman-k: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

I'm getting same type of error for xception model.
Array Cast, which is an input to the ResizeBilinear operator producing the output array ResizeBilinear, is lacking min/max data, which is necessary for quantization. If accuracy matters, either target a non-quantized output format, or run quantized training with your model from a floating point checkpoint to change the input graph to contain min/max information. If you don't care about accuracy, you can pass --default_ranges_min= and --default_ranges_max= for easy experimentation.
The model is downloaded from tensorflow deeplab repo.
The command that generated the error was
bazel-bin/tensorflow/contrib/lite/toco/toco \ --input_file=frozen_inference_graph.pb \ --input_format=TENSORFLOW_GRAPHDEF \ --output_format=TFLITE \ --output_file=xception.lite \ --inference_type=QUANTIZED_UINT8 \ --input_arrays=ImageTensor \ --output_arrays=SemanticPredictions \ --input_shapes=1,299,299,3

The issue is that the contrib/quantize rewriter is not very robust to any arbitrary model yet.
It can be complicated and sometimes not possible to fully quantize certain models due to the available fused operations at any given time , if you goal is to just get a smaller and faster model, I recommend trying the --post_training_quantize flag to tflite_convert. With that you keep the inference_type=FLOAT and pass a floating point version of your model (no need to call the contrib/quantize tool). That may provide sufficient speedup for your use case. Check it out here: https://www.tensorflow.org/performance/post_training_quantization

Nagging Assignees @suharshs, @raghuraman-k: It has been 15 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignees @suharshs, @raghuraman-k: It has been 29 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @suharshs: It has been 45 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @suharshs: It has been 60 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @suharshs: It has been 75 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Based on feedback that the contrib/quantize quantization-aware training tool is a bit brittle and hard to use on some model architectures, we have released a post-training integer quantization tool, that requires a small calibration dataset. Please take a look at the tutorial and give it a try, it should work much better! And let us know if you run into any issues.
Closing this issue, since we are rethinking and working on an api to replace contrib/quantize quantization-aware-training (although post-training quantization above should be sufficient for the majority of use cases).
Thanks!
-Suharsh


Start giftless-client-js with batch method implemented

I want a JS client for Giftless server like python one https://github.com/datopian/giftless-client that provides convenience methods e.g.
class Client
  // same as python ...
  init(lfs_server, token, ...)

  // low level api
  batch(prefix, operation, objects, ref=None, transfers=None)

See for reference python implementation https://github.com/datopian/giftless-client. Note we don't need all the methods: the main one would be the getUrl function.
Should work in node and browser (can prioritize node for now).
Acceptance

[x] Stubbed repo with README and MIT license
[x] class object Client DONE: https://github.com/datopian/giftless-client-js/blob/main/src/client.js
[x] batch function DONE: https://github.com/datopian/giftless-client-js/blob/main/src/client.js
[x ] Create package.json and published to npm as e.g. giftless-client DONE: https://www.npmjs.com/package/giftless-client

Tasks

[x] Stub repo with README and MIT license
[x] Create test for client instantiation DONE: https://github.com/datopian/giftless-client-js/blob/main/tests/test_client.js
[x] Have Client object and have tests passing DONE: https://github.com/datopian/giftless-client-js/blob/main/src/client.js
[x] Add github action to run tests automatically DONE: https://github.com/datopian/giftless-client-js/blob/main/.github/workflows/main.yml
[x] Have test for batch method (mock out call to giftless server) DONE: https://github.com/datopian/giftless-client-js/blob/main/tests/test_client.js
[x] Implement batch method DONE: https://github.com/datopian/giftless-client-js/blob/main/src/client.js
[x] Add package.json and publish to npm with datopian as an owner DONE: https://www.npmjs.com/package/giftless-client

@steveoni can we close this please ...

@steveoni can we close this please ...


AB#7065 Implement the play shop navigation with mock components

Build failing at the moment most probably due to the CH issue. Will rerun checks when it is resolved.


Sanitize the URL before redirecting

One of our users over at @elixire found a vulnerability that allows users to inject stuff into the redirected URL, and this is due to the way Sanic handles redirects.
For example, trying to redirect to http://example.com\ntest-header: test-value\n\ntest-body results in this:

The fix involves sanitizing the URL through the use of URL quoting, provided by urllib. This escapes the unsafe characters and prevents the malicious injections to response headers (which may lead to various security issues, see below) or the response body.
Various characters are marked as safe as URL quoting them leads to issues with certain types of URLs. Said characters were chosen from RFC3986's list of reserved characters (see 2.2.  Reserved Characters on Page 12 and 13). Urllib already marks unreserved characters as safe by default.

I didn't measure the performance implications of this change (my attempts at testing it were quite hacky and gave anywhere from -5ms to 5ms so... they're unreliable), but it shouldn't cause any notable difference, especially considering some possible ways that this can be exploited (for example with use of a malicious HPKP header to prevent users from accessing the site in the future).
If there's any changes you want me to make (different library, different safe characters, use of quote instead of quote_plus, adding a flag to disable sanitizing etc), please do let me know.
I can understand it if you decide that the small performance hit from this isn't worth the risks, but in that case I'd recommend adding a note on the documents (preferably around here) noting that sanitizing the URL is recommended as various vulnerabilities are present in the redirect code.

A simpler fix to the vulnerability described above would be to strip newlines or replace them with percent sign alternatives, and if you want I can turn this PR into that.

I'm all for getting this in. However, can you add a test case? You can use something like your example request in the screenshot and ensure the header is there before, and not there afterwards.

@r0fls would you recommend modifying https://github.com/channelcat/sanic/blob/master/tests/test_redirect.py or would you recommend writing a new file with tests for this?

I decided to add a new test to test_redirect.py, committing.

CI failure is not due to the code changes by me, it simply timed out on py36-noext (which succeeded on my machine).

That's very good sign to fix the security vulnerability of this. 👌


The field is_quote_status is not included in anaconda.Tweet.

The field: is_quote_status is not included in the struct anaconda.Tweet. Is this by design?
The easiest work around seems to be to check if tweet.QuotedStatus == nil, but the same can be said for tweet.Retweeted, but that field is included.
Should I make a pull request and update the anaconda.Tweet struct.
Here is the godoc version I am looking at: https://godoc.org/github.com/ChimeraCoder/anaconda#Tweet
Thanks for your help!

@JoelSimonoff: As it's part of the official Twitter API docs we should indeed add this as a struct member, too. A pull request would be appreciated!


Replace all refs

Took a first crack at implementing the 'all' keyword and added some tests .
Tried to be a minimal as possible; the tests I think cover the most common case -- wanting to monkey patch some function (here, example is json.dumps) and making sure all references to that object are covered.
Also, I made a decision to now allow the 'all' parameter to be used with simple scalars like strings, ints, True, False -- think it might be more trouble than it's worth -- but maybe also worth talking about.
Andrew

See #4


Handling native positional parameters

It isn't clear to me if there is a way to handle positional parameters in native commands. For example, the ARP command has a positional parameter value for in Internet address, among others. How would I reference that? I've tried looking through documentation but can't find an easy to understand explanation. Or has this not been addressed yet?

@jdhitsolutions, this is something we have been discussing.  There is a position property in the schema for parameters for this purpose.  I don't have a posted example of this yet, but you could give that a try.

This is handled today. Take a look at the ls example.

This is handled today. Take a look at the ls example.


Arm away acting weird

Arming away has been acting up, when I arm via HomeKit, it says arming for about a minute and then ultimately sets the system to Home. Unfortunately I'm traveling and don't have remote access to logs (I need to get reverse proxy working again soon).

Hi,
I think you may have the "Auto Stay" feature enabled on your panel in section "SECURITY AND ARMING":
"If panel is armed Away but a delay door is not opened, the panel assumes you are still home and changes arming to Stay Home"
Either disable this option or set Exit Delay to 0 sec.
Let me know if that was the case.
EH

Hi,
I think you may have the "Auto Stay" feature enabled on your panel in section "SECURITY AND ARMING":
"If panel is armed Away but a delay door is not opened, the panel assumes you are still home and changes arming to Stay Home"
Either disable this option or set Exit Delay to 0 sec.
Let me know if that was the case.
EH

You might be on to something with this. I could swear I disabled this previously but it's possible the setting was reset when I did a firmware update recently. I'll have to check when I return from my trip

For the second part of you question:
While the panel is in Exit Delay:
HomeKit Current State = DISARM HomeKit Target State = ARM
This is why "Arming ..." is running a the top of the Homekit acccessory for the duration of the Exit Delay period.
At the end of the Exit Delay period, when the panel is armed:
HomeKit Current State = ARM HomeKit Target State = ARM
Then you get all the HomeKit notifications confirming that the Panel is armed.
An alternative method would be to set Homekit Current State to ARM during the Exit Delay period and you would get an immediate Homekit Notification.
If the panels fails to arm, you get and HomeKit notification when the panel gets back in a Disarmed state.
This could be set through a config option if people are interested (Partition Early Arm ?)

Turns out auto stay was on. Changing that and setting exit delay to 0 (which is how my old hass plugin was configured) has put things back the way I like them. Thanks again!

Glad to see it was only a small configuration error!


Cex.io get Trade History

For cex.io the function getTradeHistory() in CexIOTradeService.java is not implemented, even though the API actually provides a way to retrieve that information via REST.
The same is true for Quoine

Done - just waiting for my PR to get merged https://github.com/timmolter/XChange/pull/1548.
If you're able to test it that would be very useful.


pythonPackages.lektor: 3.4.0b2 -> 3.4.0b4

Description of changes
Package is currently broken:
❯ lektor --help
Traceback (most recent call last):
  File "/nix/store/wcv8s6zsnk3zn0hknpxhbnga4bp0xa1c-python3.9-lektor-3.4.0b2/bin/.lektor-wrapped", line 6, in <module>
    from lektor.cli import main
  File "/nix/store/wcv8s6zsnk3zn0hknpxhbnga4bp0xa1c-python3.9-lektor-3.4.0b2/lib/python3.9/site-packages/lektor/cli.py", line 11, in <module>
    from lektor.cli_utils import AliasedGroup
  File "/nix/store/wcv8s6zsnk3zn0hknpxhbnga4bp0xa1c-python3.9-lektor-3.4.0b2/lib/python3.9/site-packages/lektor/cli_utils.py", line 8, in <module>
    from lektor.i18n import get_default_lang
  File "/nix/store/wcv8s6zsnk3zn0hknpxhbnga4bp0xa1c-python3.9-lektor-3.4.0b2/lib/python3.9/site-packages/lektor/i18n.py", line 9, in <module>
    x[:-5] for x in os.listdir(translations_path) if x.endswith(".json")
FileNotFoundError: [Errno 2] No such file or directory: '/nix/store/wcv8s6zsnk3zn0hknpxhbnga4bp0xa1c-python3.9-lektor-3.4.0b2/lib/python3.9/site-packages/lektor/translations'

This fixes that and updates to latest.
https://github.com/lektor/lektor/blob/v3.4.0b4/CHANGES.md#340b4-2022-11-05
Things don

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

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

2 packages built:

python310Packages.lektor
python311Packages.lektor

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

2 packages built:

python310Packages.lektor
python311Packages.lektor


Bootloop in new nodes

I have been testing the new version 0.9.8, for the integration in homeassitant especially.
And I have found that flashing a new esp (with clean flash) not finding "/config.json" fails, it causes a bootloop instead of creating the access point  and asking for parameters.
This is the serial output:
<<<stack<<<

--------------- CUT HERE FOR EXCEPTION DECODER ---------------
��␀␀�␀␀␀��␀�␀���␀�␀␀␀�␀��␀�␀��␀␀␀␀␀␀␀␀␀␀␀␀␀�␀␀�␀␀␀�␀␀␀��␀�␀��␀␀�␀��␀������␀���␀�␀�␀␀␀␀␀�␀␀␀␀␀�������␀��␀␀�������␀␀���␀�␀�␀␀�␀�␀␀␀�␀��␀�␀�␀��␀␀�␀��␀␀�␀␀������␀�␀␀�␀␀␀␀␀�␀�␀␀␀�␀␀␀␀␀␀�␀␀␀␀␀␀␀�␀␀␀␀����␀�␀��␀␀�␀␀␀�␀␀�␀␀␀␀�␀␀␀␀␀�����������␀␀�␀␀␀�␀␀␀��␀␀�␀␀���␀��␀��␀��␀␀␀�␀��␀␀�␀�␀�␀�������␀���������␀␀␀␀␀��␀��␀���␀␀�␀␀������␀�␀␀�␀␀␀␀␀��␀␀␀␀�␀␀�␀␀�␀␀␀␀␀␀␀�␀␀␀�␀␀␀␀����␀�␀��␀␀␀�␀␀␀␀�␀␀␀␀␀�����������␀␀␀�␀␀␀��␀␀�␀␀���␀��␀��␀��␀␀␀�␀��␀␀�␀�␀�␀�������␀���������␀␀␀␀␀��␀��␀␀��␀␀�␀�␀��␀���������␀␀␀␀␀��␀��␀␀��␀␀�␀␀��␀␀␀␀␀␀�␀␀�␀�␀␀�␀␀�␀␀��␀␀�␀␀�␀��␀␀���␀␀�␀

W [96][H: 4184][EnigmaIOTNode.cpp:346] loadFlashData() | /config.json do not exist
*WM: Adding parameter
*WM: sleepy
*WM: Adding parameter
*WM: nodename
*WM: SET AP STA
*WM:
*WM: Configuring access point...
*WM: EnigmaIoTNode1e122d
*WM: AP IP address:
*WM: <IP_ADDRESS>

--------------- CUT HERE FOR EXCEPTION DECODER ---------------

Exception (28):
epc1=0x40232f58 epc2=0x00000000 epc3=0x00000000 excvaddr=0x11c00000 depc=0x00000000

>>>stack>>>

ctx: cont
sp: 3ffffa20 end: 3fffffc0 offset: 0190
3ffffbb0:  4028cd8c 00000001 3ffffc30 0000000bb

If the "config.json" exists (created with version 0.9.7) it does not give problems.
I have tried this with:

enigmaiot_node_nonsleepy
EnigmaIOT-Sensor-Controller
EnigmaIOT-SmartSwitch-Controller

all the same problem.

After many tests I have found the problem, compiling with the arduino IDE it works correctly.
the case is that compiling with Visual Studio and PlatformIO it fails to refer to a directory other than "src":

Compile until you get to create firmware.elf and at that point an error occurs: "setup () not found,
loop () not found ".
I copy the files to the "src" directory and everything seems to be fine but apparently it is not because of the bootloop problem.

But the problem is with my Visual Studio, not with your code, which is wonderful.


Run JSON API with DSE 7

There are now Docker images being published for DataStax Enterprise 7 on Docker Hub.
Since DSE 7 is based on https://github.com/datastax/cassandra, most SAI features required by JSON API are available or will be available soon. We can start exploring DSE 7 support as an experimental feature.

Since JSON API has been converted to CQL, it could probably connect directly to a Cassandra node with support for SAI features we need.
We could try this first with dse-next in a docker compose configuration, will probably just require getting username/password set on Cassandra connection.
Next we could update the IT framework StargateTestResource to omit coordinator.
Finally, when we confirm latest SAI changes are available in DSE 7, could add support in docker compose and IT framework.
Thoughts @maheshrajamani @tatu-at-datastax?

I guess one clarifying question is whether we are thinking of dropping Coordinator out of production deployment or not? To me, ITs and local Docker compose should be close to Production set up so we see as similar behavior as possible. So although I can see benefits of not having to provide Coordinator/Persistence, I think we should not fragment our deployments -- as that would ideally require now testing 2 different set ups, for all changes.
So: are we thinking of dropping the whole idea of Coordinators (no-data nodes) in near future? If so, yes, this would make sense. If not, I think it would actually add complexity, not reduce it.

Let's simplify this a bit for now. For this particular issue, let's create an additional docker-compose configuration that runs JSON API in front of a single DSE 7 node, with no coordinator, and see what we need to do to make that work. We will probably want to have JSON API use Cassandra username/password to connect to the DSE node.
Since it is somewhat likely that we will have to create a new persistence module in order to have a DSE 7-compatible coordinator, I'll create an issue for that in the main Stargate repo.


Unable to import from 'interface-forge'

I'm trying to follow along with the basic example, but something seems to be not working about the install of interface forge.
I followed by using 'yarn install --dev interface-forge' and go to create a factory, but I get an error on the line:
import { TypeFactory } from 'interface-forge'

Cannot find module 'interface-forge' or its corresponding type declarations.ts(2307)

I even tried to recreate the basic example in a codesandbox, but it gives the same error:
https://codesandbox.io/s/gallant-curran-xc7cvq?file=/src/features/factories.ts
Is there a current breaking change in the published library or am I missing something to get this working?

However, doing so results in the following errors when doing so with my create-react-app project:
ERROR in ./node_modules/interface-forge/dist/utils/file.js 16:29-42
Module not found: Error: Can't resolve 'fs' in '/Users/cjsilva/Documents/SIMPL/i18n-redux-ts/node_modules/interface-forge/dist/utils'

ERROR in ./node_modules/interface-forge/dist/utils/file.js 18:31-46
Module not found: Error: Can't resolve 'path' in '/Users/cjsilva/Documents/SIMPL/i18n-redux-ts/node_modules/interface-forge/dist/utils'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
	- add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }'
	- install 'path-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
	resolve.fallback: { "path": false }

Oh my bad. Rollup apparently changed stuff. I'll fix this today 🙃

I think it would be helpful to be able to use it for testing using mocked data on the front end. If you have a better usage pattern, however, that would let me test the data created with interface-forge on the front end, I'd be happy to hear how to use it in a more recommended way.

So, these are two separate issues:

cannot import from 'interface-forge': I just upgraded to v1.5.0 in one of my projects, there I have the same problem – I am using Yarn PnP, so it's probably a compatibility issue with pnpm
cannot use TypeFactory in the browser: I'm almost sure this was possible at one point, but maybe that was before we brought in FixtureFactory – I agree, it would be super useful to use TypeFactory in the browser to develop against mock data

We'll probably need to fix 1. before looking at 2., but I'll see what I can do!

I read through the linked SO post before asking here, and the general consensus seems to be "don't do it". At least, I couldn't find an approach that was widely accepted as the proper way to do this.

@cjsilva-umich The reason why it is not recommended is, that functions which rely on the shimmed core modules will break. The two NodeJS core modules required by interface-forge, fs and path are only used by the  FixtureFactory class, but nowhere else. This means that you are pretty much on the safe side, if you only use the TypeFactory class in the browser, having shimmed the two core modules in your webpack config like this:
			resolve: {
				…,
				fallback: {
					fs: false,
					path: false,
				},
			},

The only culprit would be, that if in the future you installed other packages intended for NodeJS, which rely on fs or path, and you used them in the browser, you would not get an error message from the webpack compiler – the code simply wouldn't run properly, or a different kind of error would be thrown.
So with the resolve.fallback snippet from above in your webpack config and v1.4.7 of interface-forge, you should be good to go!
I will still look into including a shim/polyfill for browser-usage and/or include this issue in the docs.


Cocoapod?

Hey there, thanks for making this. Any plans on making a cocoapod? Guide here: http://guides.cocoapods.org/making/getting-setup-with-trunk.html

+1 If you want me to do it I can make one and send a pull request.

@peterdeweese
Go for it!
I personally don’t use CocoaPods, so I don’t think I’ll ever get around to doing it. I’ll merge your pull request. thanks!


Deeper Unit Testing

Add more unit tests and test more details of results including types and properties. Test more error cases. Strive to get to 100% coverage.

Could you add coveralls badge? So we can get some ideas..

@sevmardi I have added a coverage badge. Currently at 91%.

Thanks! Will try to look into it over the weekend.


How to pass argc and argv to C FFI ?

Many libraries require forwarding them argc and argv from Rust, ideally, without allocating any memory.
I thought this would make for a good "cookbook" example.

Is there any blog/post on this topic?

Right now, there isn't really a chapter on Rust's FFI in the cookbook and I'm wondering whether adding this (and related) examples would overreach the goals of the current treatment of the FFI in the cookbook. I.e. I think, if we decide to pursue this goal, we should create a dedicated chapter on the FFI first.
That being said, in a previous discussion ( #328 ) people seem to have come to the conclusion that an FFI chapter in the cookbook might be an unwise idea as presenting it in the form of a small collection of snippets might ultimately prove to be of disservice to the reader. (The delightful term 'footgun' has come up many times in that discussion.)
I'd be happy to reevaluate the discussion whether the cookbook should have an FFI chapter but I also think that, if we decide to include it, we should take the warnings of #328 to heart and have a discussion how to set it up in a reasonable, responsible way rather than including random snippets and hoping for the best.

Isn't there a Rust FFI book somewhere? That might be something worth pursuing instead.

@gnzlbg There is a chapter about FFI in the Rust book if that's what you meant.

No, I meant a book whose only purpose is to cover how to use Rust FFI features to interface with the rest of the world (e.g. this issue would just be a tiny part of such a book).

There's the nomicon and The unofficial Rust FFI Guide


fix(package.json): gh-pages merge is --no-ff

Fix conflict with some .gitconfig
gh-pages merge are always no-fast-foward

My .gitconfig (only the important parts) for reference
[merge]
    ff = only
[pull]
  rebase = true
[branch]
  autosetuprebase = always
[branch "master"]
  rebase = true
[branch "develop"]
  rebase = true

Nice one, thank you! 👍


How to create a lambda function using .Net Core.

Amplify CLI Version
12.0.1
Question
I am trying to create a lambda function using AWS Amplify and .Net Core. However, I am only getting options of .Net 6, GO, Java, NodeJS, and Python. I have installed the .Net core runtime version 8.0.3.

Hey @vikaskgahlawat, thank you for reaching out.
From the following, Amplify CLI currently checks for version 6 .Net
https://github.com/aws-amplify/amplify-cli/blob/cba0396bec4523f44c2814541e74204013ee8666/packages/amplify-dotnet-function-runtime-provider/src/utils/detect.ts#L24
Marking this as feature request

Thanks @ykethan . I will use version 6 for now.

Hi,
Any update?
I got an email from AWS titled "[Action Required] AWS Lambda end of support for .NET 6," but there is no path forward without Amplify CLI to support .NET 8.
According to the email sent, "We are ending support for .NET 6 in Lambda on December 20, 2024." Please update Amplify as soon as possible to make the upgrade possible.
Regards,
Alex

Hi,
Any update?
Regards,
Alex

Hi,
Any update? It is sad to see that there is not any update since Mar 26.
Regards,
Alex

Support for .NET 6 will end on November 12, 2024.
Any update?
Regards,
Alex

I am in similar situation as Alex. I need amplify-cli to support dotnet 8 soon.
Any updates would be greatly appreciated.
Thanks,
Bhautik

Same here


Renaming instruments in REDCap

Can we rename an instrument in REDCap and have the system still work?  If so, what are the steps?

This requires changes in the code - I attempted to just rename the instrument in REDCap and it failed when I tried to submit data.  It worked again when I changed the name back.  Need to track down exactly where in the code this is controlled.


Does chromsomer require all blast hits?

Hi,
Does chromosomer expect all the blast hits, or is it valid to use "-max_target_seqs", say 5 or 10.
My current parameter is "-evalue 0,00010" and I want to save compute time with "-max_target_seqs".
Thanks
Best regards,
Jenny

Hello Jelly,
Chromosomer considers BLAST hits between at most two sequences: the highest-scoring one and the one following it, so you should specify the -max_target_seqs option equal to 2. The hits are scored by their bit score values and alignments to sequences other than the first two are ignored by Chromosomer.
Best regards,
Gaik

Great! Thanks for your reply!


[Solution] PTZ for ICSee/DVR-IP/NetSurveillance/Sofia cameras

I'd add it to the wiki myself, but I think there's no way to make PRs to wikis.
Combined with the DVRIP source in go2rtc, this means that ICSee cameras that don't have onvif can work very well in Home Assistant.
Here's thee integration that exposes PTZ services:
--> https://github.com/dbuezas/icsee-ptz <--
Full yamls in the repo, but this how the PTZ can then be configured in this wonderful WebRTC card
ptz:
  service: icsee_ptz.move
  data_left:
    host: <IP_ADDRESS>
    password: camarablanca3
    move_time: 1 # 1 second
    step: 10 # fastest speed
    cmd: DirectionRight
...

Thanks! Just added to wiki.


allow-root added for notebook

Fixes # .
Changes proposed in this pull request:

Run notebook from root user

How to test new changes:

Run "marvin notebook --allow-root" as root user

@marvin-ai/marvin-core-team

Codecov Report

Merging #119 into master will increase coverage by 0.02%.
The diff coverage is 75%.

@@            Coverage Diff             @@
##           master     #119      +/-   ##
==========================================
+ Coverage   70.88%   70.91%   +0.02%
==========================================
  Files          26       26
  Lines        2195     2197       +2
  Branches      241      241
==========================================
+ Hits         1556     1558       +2
  Misses        618      618
  Partials       21       21

Impacted Files
Coverage Δ

marvin_python_toolbox/management/notebook.py
90.62% <75%> (+0.62%)
:arrow_up:

Continue to review full report at Codecov.

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


The DOM is not rerendered when using custom render function

I'm setting the render function like this
var app6 = new Moon({
    el: "#app6",
    data: {
        msg: "Hello World!"
    },
    render: function(m) {
        var self = this;
        var msg = self.get('msg');
        return m('h1', {attrs: {}}, {shouldRender: true}, [m("#text", {shouldRender: true}, msg)]);
    }
});

if i set the msg like this:
app6.set('msg', 'Hello Moon!');
the app6 is not rerendered. Am i doing it wrong ? Thx.

It seems to be working fine for me. I will need a reproduction in a jsFiddle or something similar to see what the problem is.

Thank you for the response..

Closing since this has been fixed in v1.


Unix.Unix_error "Illegal seek" sysconf ""

While running ./build-infer.sh on Ubuntu 17.10 there is a compilation failure claiming an uncaught exception.
Uncaught exception:
(Unix.Unix_error "Illegal seek" sysconf "")
Raised by primitive operation at file "src/core_unix.ml", line 348, characters 14-29
Makefile:200: recipe for target '/home/admin/infer/infer/man/man1/infer-analyze.1' failed
make: *** [/home/admin/infer/infer/man/man1/infer-analyze.1] Error 2
make: *** 正在等待未完成的任务....
Uncaught exception:
(Unix.Unix_error "Illegal seek" sysconf "")
I hope to solve Bug, thank you.

Dupe of #776, it seems.


[Enhancement] fix unstable ut

What type of PR is this：

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

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

fix unstable ut and log for unstable ut
Checklist:

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

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

Bugfix cherry-pick branch check:

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

[x] 2.5
[ ] 2.4
[ ] 2.3
[ ] 2.2

run starrocks_admit_test

run starrocks_fe_unittest

run starrocks_fe_unittest

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)


the alignment feature extractor should throw an error if it gets a context object without both source and target fields

if we include the alignment feature extractor in the config for a context creator which doesn't have both source and target fields, we'll get this error:
...
File "/home/chris/projects/quality_estimation/marmot/marmot/util/alignments.py", line 54, in align_sentence
    align_str = aligner.align(' '.join(src_line)+u' ||| '+' '.join(tg_line))
TypeError: can only join an iterable

This is because one or both of the fields [src_line, tg_line] is None, so the context object doesn't have it. The feature extraction should fail at this point, because it means that the user is trying to extract an alignment from an object that doesn't have both fields.

you can reproduce this error:
cd marmot/experiment
nosy

One test will fail because of this error.

I've fixed it, will push soon.
Maybe we should check if all contexts have the same set of features, and that all feature extractors we want to call have all data they need. If they don't we can just drop some feature extractors and print a warning (instead of raising an error or printing a warning for every example).

Great! I think the experiment should fail completely if the user is asking
for feature extractors that are incompatible with their data. Otherwise
they may not understand why features are being dropped (a warning isn't
useful if they're using marmot as a component in another application).

Maybe we should check if all contexts have the same set of features, and
that all feature extractors we want to call have all data they need.

Yes we should check if all feature extractors are compatible with all
contexts, and if they're not, we should error out (with a good pointer on
how to fix the problem).
On Thu, Jan 15, 2015 at 3:03 PM, varvara-l<EMAIL_ADDRESS>wrote:

I've fixed it, will push soon.
Maybe we should check if all contexts have the same set of features, and
that all feature extractors we want to call have all data they need. If
they don't we can just drop some feature extractors and print a warning
(instead of raising an error or printing a warning for every example).
—
Reply to this email directly or view it on GitHub
https://github.com/qe-team/marmot/issues/4#issuecomment-70098212.

Done.


Cannot remap after initial remap.

Cannot remap buttons a second time after first mapping. New mappings will not save.
soh_ini_remap_bug.zip

If you saw this with the triggers or analog sticks, I think I've fixed it. It turns out that controllers may not reliably hit the max or min values. For example, my Switch Pro controller has trouble hitting the exact max value on the right analog stick, but my Xbox controller is fine. Give v<IP_ADDRESS> a try and see if it resolves your issue.


Updated validations.py python script

Fixed the behavior of validate_user function in validations.py
Closes: #1

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

@googlebot I signed it!


🌱  Add cache for applyUnstructured

This could reduce the number of calls to the spoke cluster

Summary
Related issue(s)
Fixes #

/assign @elgnay


[BUG] AeLocked is reported when AeEnabled: False

Description
When specifying picam2.set_controls({"AeEnable": False}) to disable auto exposure, the request metadata dict contains an AeLocked key. This suggests that auto exposure is still running, despite it being specifically disabled.
To Reproduce
Capture a still with auto exposure disabled:
#!/usr/bin/env python3
import atexit
from pprint import pprint
from picamera2 import Picamera2

picam2 = Picamera2(0)
atexit.register(lambda: picam2.close())
config = picam2.create_still_configuration(
    raw={"size": (1024, 768), "format": "SGBRG10"}, buffer_count=2
)

picam2.configure(config)
picam2.set_controls(
    {
        "AeEnable": False,
        "AnalogueGain": 1,
        "AwbEnable": False,
        "Brightness": 0.0,
        "Contrast": 1.0,
        "ExposureTime": 100000,
        "ExposureValue": 0.0,
        "Saturation": 1.0,
        "Sharpness": 1.0,
    }
)

picam2.start()

job = picam2.capture_request(wait=False)
request = picam2.wait(job)
metadata = request.get_metadata()
pprint(metadata)

# If no Ae is used this information should not be present
assert not "AeLocked" in metadata

picam2.close()

Expected behaviour
The assertion in the example code passes and the AeLocked is not present in request metadata.
Console Output, Screenshots
pi@raspberrypi:~/scarletoak $ python minimum_aelocked_example.py
[2:41:11.519013607] [2770]  INFO Camera camera_manager.cpp:325 libcamera v0.3.2+27-7330f29b
[2:41:11.529145151] [2776]  INFO RPI pisp.cpp:695 libpisp version v1.0.7 28196ed6edcf 29-08-2024 (16:33:32)
[2:41:11.538395155] [2776]  INFO RPI pisp.cpp:1154 Registered camera /base/axi/pcie@120000/rp1/i2c@88000/ov5647@36 to CFE device /dev/media3 and ISP device /dev/media0 using PiSP variant BCM2712_C0
[2:41:11.538458618] [2776]  INFO RPI pisp.cpp:695 libpisp version v1.0.7 28196ed6edcf 29-08-2024 (16:33:32)
[2:41:11.547237528] [2776]  INFO RPI pisp.cpp:1154 Registered camera /base/axi/pcie@120000/rp1/i2c@80000/ov5647@36 to CFE device /dev/media4 and ISP device /dev/media1 using PiSP variant BCM2712_C0
[2:41:11.550085758] [2770]  INFO Camera camera.cpp:1197 configuring streams: (0) 2592x1944-BGR888 (1) 1296x972-SGBRG16
[2:41:11.550195184] [2776]  INFO RPI pisp.cpp:1450 Sensor: /base/axi/pcie@120000/rp1/i2c@88000/ov5647@36 - Selected sensor format: 1296x972-SGBRG10_1X10 - Selected CFE format: 1296x972-GB16
{'AeLocked': False,
 'AnalogueGain': 1.0,
 'ColourCorrectionMatrix': (1.9878311157226562,
                            -0.4670906066894531,
                            -0.5207441449165344,
                            -0.5464682579040527,
                            2.0031790733337402,
                            -0.4567108452320099,
                            -0.11487051099538803,
                            -0.7333822250366211,
                            1.8482463359832764),
 'ColourGains': (1.1785097122192383, 1.452620267868042),
 'ColourTemperature': 4000,
 'DigitalGain': 1.0000731945037842,
 'ExposureTime': 99992,
 'FocusFoM': 11,
 'FrameDuration': 100085,
 'Lux': 78.37276458740234,
 'ScalerCrop': (0, 0, 2592, 1944),
 'ScalerCrops': [(0, 0, 2592, 1944)],
 'SensorBlackLevels': (1024, 1024, 1024, 1024),
 'SensorTimestamp':<PHONE_NUMBER>000}
Traceback (most recent call last):
  File "/home/pi/scarletoak/minimum_aelocked_example.py", line 35, in <module>
    assert not "AeLocked" in metadata
               ^^^^^^^^^^^^^^^^^^^^^^
AssertionError

Hardware :
A Raspberry Pi 5 with a Raspberry Pi Camera v1.3 and the latest packages as of last month.
pi@raspberrypi:~/scarletoak $ libcamera-hello --list-cameras
Available cameras
-----------------
0 : ov5647 [2592x1944 10-bit GBRG] (/base/axi/pcie@120000/rp1/i2c@88000/ov5647@36)
    Modes: 'SGBRG10_CSI2P' : 640x480 [58.92 fps - (16, 0)/2560x1920 crop]
                             1296x972 [43.25 fps - (0, 0)/2592x1944 crop]
                             1920x1080 [30.62 fps - (348, 434)/1928x1080 crop]
                             2592x1944 [15.63 fps - (0, 0)/2592x1944 crop]

1 : ov5647 [2592x1944 10-bit GBRG] (/base/axi/pcie@120000/rp1/i2c@80000/ov5647@36)
    Modes: 'SGBRG10_CSI2P' : 640x480 [58.92 fps - (16, 0)/2560x1920 crop]
                             1296x972 [43.25 fps - (0, 0)/2592x1944 crop]
                             1920x1080 [30.62 fps - (348, 434)/1928x1080 crop]
                             2592x1944 [15.63 fps - (0, 0)/2592x1944 crop]
pi@raspberrypi:~/scarletoak $ dpkg -l | grep camera
ii  libcamera-ipa:arm64                  0.3.2+rpt20240927-1              arm64        complex camera support library (IPA modules)
ii  libcamera0.3:arm64                   0.3.2+rpt20240927-1              arm64        complex camera support library
ii  libdc1394-25:arm64                   2.2.6-4                          arm64        high level programming interface for IEEE 1394 digital cameras
ii  libgphoto2-6:arm64                   2.5.30-1                         arm64        gphoto2 digital camera library
ii  libgphoto2-l10n                      2.5.30-1                         all          gphoto2 digital camera library - localized messages
ii  libgphoto2-port12:arm64              2.5.30-1                         arm64        gphoto2 digital camera port library
ii  python3-libcamera:arm64              0.3.2+rpt20240927-1              arm64        complex camera support library (Python bindings)
ii  python3-picamera2                    0.3.22-2                         all          Libcamera based python library

Additional context
I am working on capturing raw images so I wanted to be sure what I was receiving was actually raw. I think it is, but the presence of AeLocked is very misleading.

Hi, and thanks for the comments. I'm sorry that it's a bit misleading, but actually, when AE/AGC is off, quite a lot of it still runs to convert things like the exposure time you set into the internal units (lines) the camera wants. So it's never really "off", for what it's worth, though it does ensure to give you any "manual" values that have been set.
Actually AeLocked needs some work in general (it doesn't work as well as it should), at which point we can consider what it should report in the manual case (if anything).
But in any case, always check the exposure/gain values in the metadata from the request that you capture - these values should be correct.


feat(box-shadow): add preview in box-shadow

Adds a preview box that is updated when the box-shadow sliders and color are updated.
fix #279

🛠 Fixes Issue

Closes #279
👨💻 Changes proposed

Box shadow preview
✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

📷 Screenshots

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


add location but not showing up even after a week

Hi
i recently joined this project and i edit and add some places but not showing Up nowhere
not in the main app and not in the third-Party apps
please help and tell me what i must to do
thanks

What did you? OnOsm only allows submission of a location to be added. A
volunteer still has to add it to the map. Direct editing is not handled by
this website.
On Tue, May 7, 2024, 4:16 AM amink69 @.***> wrote:

Hi
i recently joined this project and i edit and add some places but not
showing Up nowhere
not in the main app and not in the third-Party apps
please help and tell me what i must to do
thanks
—
Reply to this email directly, view it on GitHub
https://github.com/osmlab/onosm.org/issues/143, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIGQREY7Q243F3F5PV5IDDZBCEVPAVCNFSM6AAAAABHKPNSNOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI4DENJZGUZDQNA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


higher traffic mixes everything up

Summary
Every call to an PHP site will be executed in parallel. Imagine the situation, that peoples requests overlap or happen in the same timespan. This will result in losing a certain portion of view counts and data being completly mixed up.
Problems

views can get lost very quickly
file contents can become garbage really quickly as well

This is the basic result of using files in an multi-threaded enviornment.

Solution
PHP offers file locks flock in order to avoid all of the above problems. Additionally PHP offers the use of flags for file_put_contents as seen here. In this case the LOCK_EX flag would avoid causing garbage in the file itself.

Thank you for bringing that to my attention
cd7211c

Thank you for bringing that to my attention
cd7211c

As pointed out in my initial solution, this is not enough. This will fix writing into the counter file, but not the time between reading the current count and updating the content.
Take a deeper look into the linked Documentation of flock.

Ok, so what I could gather so far is to lock the file before reading and writing. this is what the new code looks like:
$file = "counter.txt";
if (!file_exists($file)) {
  touch($file);
}
$handle = fopen($file, "r+");
if (flock($handle, LOCK_EX)) {
  $counter = fread($handle, filesize($file)) ?? 0;
  $counter = intval($counter) + 1;
  ftruncate($handle, 0);
  rewind($handle);
  fwrite($handle, $counter);
  flock($handle, LOCK_UN);
} else {
  die('Could not open file');
}
fclose($handle);

This should be it, nearly. Because now the complete access to the file during updating is locked, but fwrite does not include the sync process of waiting for the whole write process to finish. Do the following change:
  fwrite($handle, $counter);
+ fflush($handle);

With these changes, the following code would be the final version:
$file = "counter.txt";
if (!file_exists($file)) {
  touch($file);
}
// opening file in r/w mode
$handle = fopen($file, "r+");
// following lock functions will block until released (except php exec timeout reached)
if (flock($handle, LOCK_EX)) { // exclusive lock will ensure single access to the file
  // increment current counter
  $counter = fread($handle, filesize($file)) ?? 0;
  $counter = intval($counter) + 1;
  // reset file contents
  ftruncate($handle, 0);
  // reset position
  rewind($handle);
  // write new counter value
  fwrite($handle, $counter);
  // ensure whole data of write process is written
  fflush($handle);
  // release lock
  flock($handle, LOCK_UN);
} else {
  die('Could not open file');
}
// close file access for us
fclose($handle);
// ...

NOTE: I haven't developed with php for a long time, but these kinds of locking and file access things are the same across dozens of programming languages and standard course material in CS.

although I think the file_put_contents (with lock on write) was better - because the client would get a counter no matter what, I'll close this issue with the proposed solution - the client only get an image if the process can adquire a lock on counter.txt. given that it provides more consistent data.
23b605b
thanks a lot for all the inputs.


gstreamer fails to build inside jhbuild citing orc version mismatch

I did jhbuild build gstreamer and then make, as explained in the guide [1] but it fails to build.
[1] https://github.com/Igalia/webkit-container-sdk/blob/main/docs/02-Building-third-party-libraries.md
*** Building gstreamer *** [1/1]
ninja
[320/3389] Generating subprojects/gst-plugins-base/gst-libs/gst/video/video-orc.h with a custom command
FAILED: subprojects/gst-plugins-base/gst-libs/gst/video/video-orc.h
/jhbuild/build/gstreamer/subprojects/orc/tools/orcc --include glib.h --header -o subprojects/gst-plugins-base/gst-libs/gst/video/video-orc.h ../../../home/ntrrgc/checkout/gstreamer/subprojects/gst-plugins-base/gst-libs/gst/video/video-orc.orc
WARNING: unexpected liborc library version 0.4.38 is being picked up by /jhbuild/build/gstreamer/subprojects/orc/tools/orcc, which is version 0.4.34. This might be because orc was installed from source and is also installed via packages, and liborc from the wrong prefix is used. Check your system setup.
[337/3389] Generating subprojects/gstreamer/gst/Gst-1.0.gir with a custom command (wrapped by meson to set env)
ninja: build stopped: subcommand failed.

I tried to repeat this in a pristine container and it worked, so it's likely something specific with the previous container. Closing.


Update dependabot.yml

chore(core): change dependabot schedule interval
Closes #

What I did

How to test

Checklist

[ ] Make sure your changes are tested (stories and/or unit, integration, or end-to-end tests).
[ ] Make sure to add/update documentation regarding your changes.
[ ] You are NOT deprecating/removing a feature.

:tada: This PR is included in version 5.8.0 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


mysql tinyint compiles to bool

As the image shows, I added a kind field to the authors table, then run sqlc generate, in the model, the kind field's type becomes bool, the expected type should be int8

In my understanding, tinyint is a 1byte int whereas int8 is an 8byte datatype. tinyint can hold more than just 2 values, in that regard you are right. I'm using it only for booleans though, so I'm OK in that conversion from MySQL tinyint to Golang bool.

Sorry, complete rubbish from my side (byte/bit). Please disregard :)

https://github.com/kyleconroy/sqlc/blob/21a6cda2667d18cee40b6847a8558d2961f5d771/internal/mysql/gen.go#L297-L301
May have found the cause, but don't know why convert tinyint to bool

This is indeed a bug. I need to do some investigation work around how the MySQL driver handles boolean types.

I've looked into how 1.6.0 handles this. Is it correct that 1.6.0 does not support mysql boolean types?
Intuitively, I'd have expected the following mysql column definitions to be translated to golang data type bool, yet all of them are translated to int32: BOOL, BOOLEAN, TINYINT(1)


Repo issues

I am writing to document my recent critical, blocking issues with Visual Studio Code.  I have also contacted my manager, Jon Meyers<EMAIL_ADDRESS>and the Help Desk Support.
On Friday 10/7/22, I called the Help Desk and spoke to Alejandro Cabrera Araya (DXC Technology Services LLC<EMAIL_ADDRESS>regarding a security issue that popped up. A ticket was filed (ticket numbers available if needed) and we had to merge two accounts. My v-macohen name hasn’t changed, but we had to redownload several programs. While I was able to download VSC, I was unable to clone the repo. On Monday I tried at least four times to clone the repo with the help of a teammate. I tried this using the instructions that the entire ADS UA team uses in the Notebook.
It was suggested by my manager Jon Meyers that I should run over these steps with a member of the Visual Studio help. It is worth noting that these steps have worked for the team, which leads me to believe that the issue is perhaps my computer.
My goal in calling the VS Help desk will be to figure out my my repo is not cloning.
My VSC-savvy teammate provided me with a “buffer command” (git config http.postBuffer 524288000) which I added to the Terminal in VSC. Image available if needed. This failed.

He also provided me with another code (git config --global http.postBuffer 52428800).
That also did not work. Image available.

Yesterday in the late afternoon, I again contacted @Alejandro Cabrera Araya (DXC Technology Services LLC) via the Help Desk. He was able to try several steps with me, but ultimately all failed.
Alejandro connected me with the support for Visual Studio (there does not seem to be on just for  Visual Studio Code). We tried to fill out a ticket but the system tried to sign me up for some kind of support.
We then went to Settings - Microsoft Azure where I tried to add the directory ID under my name. That didn't work either.
Ultimately, Alejandro  gave me the help desk number for Visual Studio (it seems there is not one just for VSC) and the email address<EMAIL_ADDRESS>.
Any ASAP help you can give on this blocking, critical issue would be greatly appreciated. I can be reached at<EMAIL_ADDRESS>or<PHONE_NUMBER>. My manager's info is listed above.
Thank you.

@v-macohen, sorry for hear about the issue that you are running into. If I understand your description correctly, you seem to be unable to clone a particular repository using VS Code. In order to narrow down the root cause, I would like to ask you to take VS Code out of the picture completely and try to clone the repository from the command prompt or Windows Terminal. Are you able to clone the repository outside of VS Code? If not, what is the error that you are running into? Thanks!

Hi,
Thanks so much. We were able to resolve the issue!
Best,
Marissa
From: Ladislau Szomoru @.>
Sent: Thursday, November 17, 2022 6:49 AM
To: microsoft/vscode @.>
Cc: Marissa Cohen (AQUENT LLC) @.>; Mention @.>
Subject: Re: [microsoft/vscode] Repo issues (Issue #163435)
@v-macohenhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fv-macohen&data=05|01|v-macohen%40microsoft.com|43101512adcb4243cbe808dac891b5ca|72f988bf86f141af91ab2d7cd011db47|1|0|638042825400071317|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=njaRSaNyne%2BkXCsijd3LtfnYZZIFllJKCCxX1NgVYyM%3D&reserved=0, sorry for hear about the issue that you are running into. If I understand your description correctly, you seem to be unable to clone a particular repository using VS Code. In order to narrow down the root cause, I would like to ask you to take VS Code out of the picture completely and try to clone the repository from the command prompt or Windows Terminal. Are you able to clone the repository outside of VS Code? If not, what is the error that you are running into? Thanks!

Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode%2Fissues%2F163435%23issuecomment-1318519200&data=05|01|v-macohen%40microsoft.com|43101512adcb4243cbe808dac891b5ca|72f988bf86f141af91ab2d7cd011db47|1|0|638042825400071317|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=dDEIJt7ikyTVXkuhn9%2Bs%2BFhgwsQgs67nZamra7JXm%2Bg%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZYTQTKF5M4OIWSDUFNNG5DWIYLSRANCNFSM6AAAAAARDMODAU&data=05|01|v-macohen%40microsoft.com|43101512adcb4243cbe808dac891b5ca|72f988bf86f141af91ab2d7cd011db47|1|0|638042825400071317|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=Vnvs2KY1pZbYlQ%2BQTUPoT%2F9BqBnjyQhjHEIJLXa96Zk%3D&reserved=0.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>


Librarian database fails when no USER or HOME env is set

Summary
I am trying to run librarian-puppet install on an Amazon EC2 instance with a shell script in the user data.
It is failing because librarian is not picking up the user, this is because when the script is run, neither the USER or HOME environment variables are set.
I was wondering if anyone has any suggestions of how I could make the Environment.default_home method work? I can just add a HOME= to my script, but it would be nice to fix the method.
Versions
librarian (0.1.2)
Stacktrace
`getpwnam': can't convert nil into String (TypeError)
/var/lib/gems/1.9.1/gems/librarian-0.1.2/lib/librarian/environment.rb:206:in `default_home'
/var/lib/gems/1.9.1/gems/librarian-0.1.2/lib/librarian/environment.rb:33:in `block in initialize'
/var/lib/gems/1.9.1/gems/librarian-0.1.2/lib/librarian/environment.rb:33:in `fetch'
/var/lib/gems/1.9.1/gems/librarian-0.1.2/lib/librarian/environment.rb:33:in `initialize'
/var/lib/gems/1.9.1/gems/librarian-0.1.2/lib/librarian/cli.rb:45:in `new'
/var/lib/gems/1.9.1/gems/librarian-0.1.2/lib/librarian/cli.rb:45:in `with_environment'
/var/lib/gems/1.9.1/gems/librarian-0.1.2/lib/librarian/cli.rb:26:in `bin!'
/var/lib/gems/1.9.1/gems/librarian-puppet-1.1.3/bin/librarian-puppet:7:in `<top (required)>'
/usr/local/bin/librarian-puppet:23:in `load'
/usr/local/bin/librarian-puppet:23:in `<main>'

Environment
TERM=linux
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
RUNLEVEL=2
JOB=cloud-config
PWD=/
RESULT=ok
PREVLEVEL=N
SHLVL=1
UPSTART_INSTANCE=
UPSTART_EVENTS=stopped stopped
UPSTART_JOB=cloud-final
INSTANCE=
_=/usr/bin/env

Working version here: https://github.com/ecwws/librarian/commit/c6cc53e7e435ce9b9c871c7eadcd8ed4928bdad0


Request site support :

Looking for support for : www.artstation.com

Request site support here and provide examples: https://github.com/4pr0n/ripme/issues/8


[Layer] Fix 'stream << ' delegation

There was a bug that std::cout << layer is calling undefined function.
This patche fixes the issue and add some regression test.
Self evaluation:

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

Signed-off-by: Jihoon Lee<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.4.20191203. Thank you for submitting PR #664. 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://nnsuite.mooo.com/.


Dispatch to main queue, rather than global

This fixes #59.

I do not get this test failure when running make ios-test locally.

@ reezer > I do not get this test failure when running make ios-test locally.
I see that the error in the check is from step:12 line:1109 which is clearly not related to your commit.

test.MGLDocumentationExampleTests
testMGLAttributedExpression, Asynchronous wait failed: Exceeded timeout of 10 seconds, with unfulfilled expectations: "Map view should finish loading style".
/Users/runner/work/maplibre-gl-native/maplibre-gl-native/platform/ios/platform/darwin/test/MGLDocumentationExampleTests.swift:43

      styleLoadingExpectation = expectation(description: "Map view should finish loading style")
      waitForExpectations(timeout: 10, handler: nil)
  }

I can't explain why the GitHub Action failed in Checks. It was not related to @reezer 's work.  I retriggered the build  and it worked.


PMID:38295128

[x] sensitive to 3-aminotriazole/ synonym sensitive to 3-AT
USE sensitive to amitrole (added synonyms)

[x]  decreased tRNA level during vegetative growth
parent of
decreased mature tRNA level during vegetative growth, and ***

[x]  increased GAAC signaling/synonym  increased integrated stress response signaling

[x]  abolished tRNA cytidine N4-acetylation

added

FYPO:0008101
altered tRNA level during vegetative growth

still need decreased

abolished tRNA cytidine N4-acetylation
isn't under abnormal tRNA modification

also need "normal GAAC signaling"

existed, moved to correct place
decreased pre-tRNA or mature level during vegetative growth


checkForSupportRemoved able to spin out of control

I noticed this in TTA after chopping down a tree via the lowest trunk block, which is meant to have the rest of the tree collapse.
The game slowed to an utter crawl with less than 1 FPS, fans spinning madly, but I was able to enable debug metrics and note "StructuralCheck" higher than 1000ms. Took a screen capture with an external program and by the time I got it GrowingFlora was at 3300 ms and Temp Blocks Cleanup at 1408 ms. Maybe somehow the structural support went viral and infected other adjacent trees causing a massive cascade of broken blocks?
Probably the system needs some optimization somehow, and guards to avoid going too crazy. Wonder if there's anything we can do in the engine to throttle systems causing too much processing? It was still alive enough to put out the "Delta too great ... capping" messages

Back when I was looking at it last time, the tree blocks never had the SideBlockSupportRequired component, and for a good reason. So, this system should not be invoked when chopping down the tree, unless someone came in and changed it. If so, for performance reasons, I'd suggest to increase the "dropDelay" in it. Also, the chopping down the tree could be probably done better - treating the whole tree as a structure and removing it in one go, rather than let it drop blocks all over - causing an entity lag.

It also might be due to the System.out.println... in BlockStructuralSupportSystem, as outputting to console is rather slow.

Thanks for the feedback.
Oddly I actually thought the whole tree insta-poofed some time back (months and months). Then it started coming down in more inconsistent pieces.
The growth system seems to swiss-cheese the trees somehow, maybe that was added later and the trees aren't in one piece anymore, so to say?
And yeah if we have some System.out then we should definitely take that out sometime.

I already did (created the PR). Also, yeah the tree chopping doesn't work correctly, and I have no clue why, which is why I wanted to rewrite it, to simplify the generation.


Increase DefaultDiskVerificationMemoryLimitMBytes

What this PR does / why we need it:
It was observed that recently memory limit applied to virt-chroot is too low. This is an attempt to fix
this issue. Further profiling and optimization are needed.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:
NONE

/cc @dhiller @brianmcarey

/lgtm
the latest run of pull-kubevirt-e2e-kind-1.22-sriov-nonroot against this PR did not hit the memory allocation issue - it hit another flake however so rerunning now.

Let's have a few runs to see if the limit is enough. I made some experiments but let's be sure.

/approve
/hold

/test pull-kubevirt-e2e-kind-1.22-sriov-nonroot

/test pull-kubevirt-e2e-kind-1.22-sriov-nonroot

/test pull-kubevirt-e2e-kind-1.22-sriov-nonroot

/retest

/hold cancel


close pipe returned files objects.

Otherwise, they are leaked.
Signed-off-by: Changwei Ge<EMAIL_ADDRESS>

Codecov Report

Merging #129 (d161cc3) into main (e6cc1fa) will decrease coverage by 0.18%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #129      +/-   ##
==========================================
- Coverage   28.49%   28.30%   -0.19%
==========================================
  Files          19       19
  Lines        1604     1604
==========================================
- Hits          457      454       -3
- Misses       1085     1088       +3
  Partials       62       62

Impacted Files
Coverage Δ

pkg/filesystem/fs/blob_manager.go
44.44% <0.00%> (-11.12%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

It's not a real problem, we have commented here about Closer:
https://github.com/containerd/nydus-snapshotter/blob/e6cc1fa69ab35dcd88424d680e2171ad978c7ce1/pkg/converter/convert_unix.go#L246-L247
And io.PipeReader does not need to be closed explicitly.


Fix to avoid pass Enumerator to Rails.cache.fetch

when no data exists.
it causes the following error.
TypeError (no _dump_data is defined for class Enumerator):
  app/models/fluent_gem.rb:19:in `list'
  app/models/plugin.rb:89:in `block in installed'
  app/models/plugin.rb:88:in `installed'
  app/controllers/plugins_controller.rb:7:in `installed'

LGTM
I've confirmed that error with @yakitorii


{{#has tag='value'}} not working

Hi,
I'm running Ghost 0.7.3 and I've tried to add a custom menu based on tags, however the helper #has doesn't seem to be working as described in themes.ghost.org/docs/has
{{#has tag='value'}}custom code here{{/has}}
I've tried the above snipped within #post both in the page.hbs and post.hbs templates with no success.

Hi @mwo44, sorry to hear you're having trouble. As mentioned in the readme & contrib guide, if you have questions about Ghost or need help, please head on over to slack - https://ghost.org/slack/ - and post in the #help channel. There you can get help & support from the Ghost community, which we're not able to do here in the GitHub bug tracker.


Effective licensing of the repository outcomes - add info to README.md

This repository is MIT licensed, but from .gitmodules we can learn
[submodule "Stack"]
		path = Stack
		url = https://github.com/OPCFoundation/UA-.NETStandard.git

As far as I know, the OPCFoundation/UA-.NETStandard has an incompatible license but the code here depends on it.  My concern is what is an effective license for the deliverables created based on this repository.
It is a blocker for mpostol/ASMD#198

Will raise this with the TCB.

The next public release of the ModeCompiler will use the .NETStandard NuGet packages.
This should eliminate any concern about licensing.

Need to wait for the pull request to be accepted by the .NETStandard stack team before the MC can be linked to the NuGet packages.

@opcfoundation-org  - thanks, but my point is that unfortunately, the problem persists.  It is not important if we referring to external source code or external packages. In both cases, they are licensed separately. My point is that the license of this repository (MIT) is not compliant with the license of the nugget packages:
OPCFoundation.NetStandard.Opc.Ua.
For me, the MIT license is more permissive than the custom licenses attached to the packages.
I am not a lawyer and like most of the users, I don't have the background knowledge to resolve the impact of the NuGet package's license on the base code dependent on these packages.  Therefore, I will appreciate a clear statement in the README.md covering the list of dependencies and final limitations the users must consider using/distributing the source code and deliverables.
Let me stress. My code depends on this repository outcome. Previously the source code was here. Now partially it is removed and the rest depends on the external deliverables licensed separately. In other words, previously we had one MIT license, now we have many that must be considered as one whole.

Anyone can use the pre-built binaries without imposing burdens on s/w built against those libraries.
Building against the source comes with GPL or RCL burdens.
This should be sufficient for anyone who wants to modify and redistribute the ModelCompiler code base.

Not sure how you have derived the sentence: Building against the source comes with GPL or RCL burdens. How it applies to the problem I have reported?

I feel I did address your concerns.
You can modify and distribute the ModelCompiler code without restriction as long as you use the pre-built binaries.
That statement can be confirmed by reading the NuGet package license agreement.
It is no different from building .NET applications that are subject to Microsoft's terms for the .NET Framework.
i.e. MS did not make the NET Framework MIT but you presumably have no issue using the NET binaries.
Why are OPC-F supplied binaries an issue when NET binaries are not?

I feel I did address your concerns.
You can modify and distribute the ModelCompiler code without restriction as long as you use the pre-built binaries.
That statement can be confirmed by reading the NuGet package license agreement.
Can you please explain what more you need other than a note in the readme?

@opcfoundation-org I really appreciate your explanation. Many thanks for your engagement. The only goal I have is to confirm that replacing the code with the external NuGet package(s) changes the licensing policy of the repository outcome as a side effect. It is a new situation that must be signaled to all users. I know that I can read the license of the external packages, but first I must be aware that there is a fundamental change that has an impact on the licensing policy (that I must read something). My point is that it should be manifested as a warning in the README.md file.
I am not in charge to suggest the content of the message. As I said previously it should provide information about dependencies that has an impact on the outcome license and describe the limitations that must be also added to the derived code/products.
I know that your comments are on behalf of the OPC Foundation organization and I am not questioning your rights to provide explanations related to license regulations but we must be aware that they have legal effects. This discussion will disappear after closing the issue at the end of the day but the legal effects will be valid also in the future.
Let me stress I am not expecting anything more than just a note (warning) in the readme stating that starting from the Version .....  I am also expecting that the note will be issued on behalf of (will be approved by) the organization authorities.

6 day ego (commit 6857db62e9c723def61108ce464fb04a89631e7f) the README changed the description related to the code license. From the added text we can read:

## License Model ##

The ModelCompiler code is MIT license, however, it links to the UA-.NETStandard NuGet packages which is covered under the OPC Foundation Redistributables licence. If a user chooses the version that links directly to the  UA-.NETStandard submodule then the license the UA-.NETStandard dual license applies.

It is not any news but now it clearly states that the code dependencies have an incompatible license.


Specto not updating TV shows

Hi!
First of all thank you for your brilliant add on!
I am having trouble with my TV shows... I have added both the Movies and the TV Shows folder to my Kodi library. If I manually search for new episodes in Specto, I can find them, but they are not automatically added to my library. I have tried reinstalling Kodi, Specto and reset settings etc. I use trakt.tv to keep track of watched episodes and I imported my trakt library  to  Specto to have it all there. Please help!

The newest update says they're only 2% done fixing the TV show side.

its working for me


Base: make CFLock_t a pthread mutex on Linux, FreeBSD

Unify the behaviour across macOS and Linux, FreeBSD to use
pthread_mutex_t when CFLock is used.  This will allow us to remove
references to pthread_mutex_{lock,unlock} which makes CoreFoundation
easier to port to Windows.

CC: @mikeash @millenomi

@swift-ci please test

@swift-ci please test

@swift-ci test

I think that I am going to just fold this into the larger PR for the windows port.


ToTestTests.cs:256-258: Make CircularReferenceDetection...

The puzzle 60m-90fcc3c8 from #60m has to be resolved:
https://github.com/DenisZhukovski/ObjectToTest/blob/213e07f0bb93b65c457a042f5fb2b9f73d032413/tests/ObjectToTest.UnitTests/ToTestTests.cs#L256-L258
The puzzle was created by @DenisZhukovski on 26-Aug-22.
role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

@0pdd 2 puzzles #37, #38 are still not solved.

@0pdd 4 puzzles #37, #38, #46, #47 are still not solved.

@0pdd 2 puzzles #37, #38 are still not solved; solved: #46, #47.

@0pdd the puzzle #37 is still not solved; solved: #38, #46, #47.

The puzzle 60m-90fcc3c8 has disappeared from the source code, that's why I closed this issue.

@0pdd all 4 puzzles are solved here: #37, #38, #46, #47.


Create full page release review

Contributes to #1163
Small updates to prepare the component for Release Review

I believe this still needs a dev release review before merging

I believe this still needs a dev release review before merging

No worries, @matthewgallo I'm going to wait it out :)


Liveness & rediness checks timeout on Livy

Currently liveness is being checked on /batches endpoint:
https://github.com/jahstreet/spark-on-kubernetes-helm/blob/a1fd2ac19580feb0d9469c1d7cadd8630710ac13/charts/livy/templates/statefulset.yaml#L33
When there is a bigger number of batches, these check timeout occasionally:
Events:
  Type     Reason     Age                 From                                                    Message
  ----     ------     ----                ----                                                    -------
  Warning  Unhealthy  54m (x56 over 10d)  kubelet, ip-XX  Readiness probe failed: Get http://XX:8998/batches: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
  Warning  Unhealthy  54m (x59 over 10d)  kubelet, ip-XX  Liveness probe failed: Get http://XX:8998/batches: net/http: request canceled (Client.Timeout exceeded while awaiting headers)

Would it be ok to add ?size=1 to limit response size, or at least to have an option to disable these checks on livy chart?

Good point, thanks for the mentioning. Will update the chart.

Will be fixed in #39 .


Ability to disable default location block (nginx)

At the moment it is not possible to augment or cuztomize the / location block for nginx.
Add an option to disable the default location block.

This has already been addressed by 43bbb01a7 (1.3.1)


Update office-365-network-mac-perf-onboarding-tool.md

Added a note stating that it is important to sign in to the tenant before running the test as it uploads and shares the details with the admin.

@JohanFreelancer9 Please copy review

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/3356

@kelleyvice-msft Please merge this PR. Thanks.


Different kinds of 'number'

The number data type is a straightforward IEEE float at the moment. This is an easy solution that covers most kinds of number, but means authors need to understand all the edge cases or implement non-standard operations on top of floating point arithmetic.
It would be nice if we could add more number-like data types, so that the right behaviour happens automatically.
Examples of number-like types:

[x] integers
[x] fractions
[ ] different fields (complex numbers, quaternions, Z_n (#109))
[ ] percentages (displayed as (100*n)%; only exactly 0 should round to 0%; "percentage of" and "percentage change" have different meanings)
[ ] ratios
[ ] vectors and matrices of number-like data
[x] measurements with units (#419)
[x] arbitrary precision numbers, where the precision is specified in advance (#518)
[x] scientific notation (mantissa and exponent handled separately, so precision is not lost when working with numbers on the same order of magnitude)

I learnt a good word recently: 'torsor'. The nLab says a torsor is "roughly speaking, a group that has forgotten its identity element". There's a slightly more understandable essay by John Baez.
Temperatures are examples of torsors: they can be compared, but there's no meaningful zero.


Get installer working

A standalone executable for Windows, Mac and Linux is created automatically when tagging a commit with v* .
Work is in progress for an Electron based installation.

Version 2.3 has an Electron installer working.

Installer is creating with a release. Are we tracking other installer related issues separately?

yes, please create new issues for other problems with the installer @saggu

(and i guess we can close this one, if the installer is "working"-- ie builds automatically, installs on all three systems)


How can I merge cells?

Hello Jan!
Thanks for your great library! I would like to merge two empty cells at the top of the spreadsheet for the title, but I can't seem to find how to do that.
I found the -(void)mergeCellsInRect:(JXLSRECT)range method in JXLSWorkSheet.h but what does the (JXLSRECT)range object refer to?
Can you please help me figure out how to do this? Thanks!

@jcabreram You can Command-click on such symbols in Xcode to trace back to their definitions. This is just a CG/NSRect currently. You can have a look at the implementation of the method in the ame way to figure out what it does internally. Basically it just converts the geometric properties of the rect into integers and passes those to the wrapped C++ method to merge the cells.


JWTDecodedEvent doesn´t work

Hi guys,
I´m following the examples defined on the guide, I have added some info to the payload on JWTCreatedEvent correctly. But, when I´m trying to get that payload information on the JWTDecodedEvent it doesn´t even print any var_dump information.
I´ve just copy pasted the guide example

I´ve tried this example too and i´m unable to dump or get anything

Now the listener is on the Orphaned Events tab inside the profiler

@fd6130 service.yaml
services:
    acme_api.event.jwt_created_listener:
        class: App\EventListener\JWTCreatedListener
        tags:
            - { name: kernel.event_listener, event: lexik_jwt_authentication.on_jwt_created, method: onJWTCreated }

App\EventListener\JWTCreatedListener.php
namespace App\EventListener;

use Lexik\Bundle\JWTAuthenticationBundle\Event\JWTCreatedEvent;

class JWTCreatedListener
{
    /**
     * @param JWTCreatedEvent $event
     *
     * @return void
     */
    public function onJWTCreated(JWTCreatedEvent $event)
    {
        $user = $event->getUser();
        dd($event->getUser());

    }

}

Sorry for the late reply. The JWT_AUTHENTICATED event will work only when you call an api with Bearer <token> header.
And the  JWT_CREATED event will trigger only when JWT is created after username and password are correct.

Hi guys,
I´m following the examples defined on the guide, I have added some info to the payload on JWTCreatedEvent correctly. But, when I´m trying to get that payload information on the JWTDecodedEvent it doesn´t even print any var_dump information.
I´ve just copy pasted the guide example

I guess your intention is to obtain the JWT payload right? Try see #1010, hope that will help you.

@fd6130 thank you


Make validation messages localizable

This function solves the problem (这个功能解决的问题)
Importing a locale does not have any effect on form validation messages as of now. Having them included in the locale definition would greatly improve the localization efforts
Expected API (期望的 API)
Having the validation messages included in the default locale file so we can create the translated versions

This issue does not have any recent activity. If you are still experiencing similar problems, open a new error, including a minimal copy of the problem


Fix README Link

Description
The text links to ethereum-optimism repo's good first issue. Updated the README to point to this repo, but it seems like no 'good first issues' are configured.
Additional context
Should this just link to the issues page as the /contribute page on the repo has not been configured yet?

Yeah, I think that makes sense


Not working with different transports

Hi, I try to use it with different transports like amqp, redis, tcp and not get working properly.

TPC: It send message, but seneca-transport has declared non close issue with tcp. After a restart of node it fail.
AMQP/REDIS: With both of this same issue, no matching pattern bla bla...

To check this I use your examples on 30-multicast-discovery.
I'm really new on this of seneca and maybe lose something.
Can you check this? I'm working on a fork to help you with examples because are not working as is.
Regards.

I have the same issue here. I'm trying use amqp transport with seneca-mesh without any luck.
I've tried to debug the issues and I found out that the cluster member doesn't have a valid entry.
[   {     "pin": "null:true",     "instance": "tscm6v3n2nm3/1478617979800/54959/3.1.0/-"   } ]
From what I understood the transport_listen function gets called to initialize the amqp transport. Then it calls the this.prior and via the callback it calls the join function passing the out parameter from the callback. The issues is that the out parameter is undefined, and thus the pin is defined by default to 'null:true'.
Is there anyone who actually made it work?
Best,
Danilo

I've found a workaround, check out this fork:
https://github.com/danilotorrisi/seneca-mesh/commit/b79a874decf8537086b0c9e2f81f593032e8c58f


nice to have feature: managing ChatGPT errors

Nice project! Thanks
It is a very useful workaround, until the ChatGPT will be available (now is not, using standard openai API).
BTW, maybe it could be useful to catch connection / load errors as tese in screenshot:

thanks again
Giorgio

https://github.com/mmabrouk/chatgpt-wrapper/pull/13

@Tecuya solved this issue in his last PR (Thanks!). I will close this issue.


Error 401 response with a false body and array with an empty string as headers

I received a weired responsethursday 31 of october  at 10:00 a.m. UTC+1while using the v3 api:
 {"\u0000*\u0000statusCode":401,"\u0000*\u0000body":false,"\u0000*\u0000headers":[""]}
It seems to work again later that day

Hello @RaoulWernert,
Thanks for submitting a GitHub issue! We are very sorry that you are running into this problem. In order to better serve you, as this does not present itself as a library specific issue, we would like to ask that you reach out to our support team at https://support.sendgrid.com.
Thank you!
SendGrid DX Team


Update vulcan, vulcan-enumeratum, ... to 1.7.0

Updates

com.github.fd4s:vulcan
com.github.fd4s:vulcan-enumeratum
com.github.fd4s:vulcan-generic

from 1.6.0 to 1.7.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (1.6.0).
You might want to review and update them manually.
project/Dependencies.scala

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.fd4s" } ]

labels: library-update, semver-minor, old-version-remains

Looks like the avro decoders need a tweak, I can take a look if you're not already fixing @catostrophe

@janstenpickle Will fix myself

@janstenpickle
Something's wrong with serialization/deserialization. The derived codec for CompletedSpan works in both ways. But after ser/de it can't decode the GenericData.Record. I am looking at it in the debugger and can't see any difference.

This version has a bug:
https://github.com/fd4s/vulcan/issues/351
Skip for now.


Colab Failure

import timm ( 2nd cell ) fails with:
----> 6 from torch._six import container_abcs
7
8
ImportError: cannot import name 'container_abcs' from 'torch._six' (/usr/local/lib/python3.7/dist-packages/torch/_six.py)

Try using this installation:
!git clone https://github.com/facebookresearch/deit.git
!pip install timm -upgrade
!pip install git+https://github.com/rwightman/pytorch-image-models.git
!pip install submitit

seems to be this issue maybe? https://github.com/pytorch/pytorch/issues/51959

timm==0.3.2 requires torch version less than 1.9. Perhaps colab's PyTorch version is current latest 1.9. So you may need to PyTorch version in colab as follows:
!pip install torch==1.8.1 torchvision==0.9.1 torchaudio===0.8.1

and restart Colab
ref: How To downgrade Torch Version for Google Colab
See also this issue


Defect-R17_2-Receive and pass on collectionExerciseId to party

Receive collection exercise id in the query string for uploading a sample and post it to the party service when creating a new party
Works with other PR's
https://github.com/ONSdigital/rm-collection-exercise-service/pull/43
https://github.com/ONSdigital/ras-party/pull/119
https://github.com/ONSdigital/rm-party-service-api/pull/10
https://github.com/ONSdigital/ras-backstage/pull/87
Trello

 Defect R_17_2 If the business name is updated in a sample for the next period it is historically updating the business name for previous periods


Axelarscan footer needs updating

Please update Axelarscan.io footer. It should have these elements, same as axelar.network footer:
COPYRIGHT © 2024 AXELAR FOUNDATION. ALL RIGHTS RESERVED.
PRIVACY POLICY
TERMS OF USE

updated: https://axelarscan-ui-rebuild.vercel.app/


Create "How to Deploy" instructions

Description
Create "How to Deploy" instructions

@camilamaia would there be much difference in deploying documentation for different cloud providers? I have a personal server hosted on Digital Ocean, I can document the process and create a PR for the same. How does that sound?

@Pradhvan the code is hosted in Heroku, and I have enabled the automatic deploy for the project. So, every time the code is merged into the main branch, a deploy happens. We can see the deploys log here: https://github.com/scanapi/demo-api/deployments
For this ticket, basic we just have to add this info to the readme file:

every time the code is merged into the main branch, a deploy happens
deploys log link: https://github.com/scanapi/demo-api/deployments

Thanks for the help documenting stuff here 🙇♀🙇♀🙇♀

Great! This looks more simple than I had eventually imagined. Will create a PR by tomorrow evening IST. 😄


Fixing squid: S1226 Method parameters, caught exceptions and foreach variables should not be reassigned

This pull request is focused on resolving occurrences of Sonar rule
squid:S1226 - “Method parameters, caught exceptions and foreach variables should not be reassigned ”.  This PR will remove 65 min of TD.
You can find more information about the issue here:
https://dev.eclipse.org/sonar/rules/show/squid:S1226
Please let me know if you have any questions.
Fevzi Ozgul

Thanks for this PR.
I won't merge this change because it doesn't really help in readability of code.


chore(rust): Change Doesnt to DoesNot for enum variants

Current Behaviour
Nothing about this PR changes any behavior, it just changes any Enum variant that has Doesnt in the name to DoesNot.

Proposed Changes
As described, change Doesnt in enum variants to DoesNot for clarity.
Closes #2191

Checks

[x] All commits in this Pull Request are signed.
[x] All commits in this Pull Request follow the Ockam commit message convention.
[x] I accept the Ockam Community Code of Conduct.
[x] I have accepted the Ockam Contributor Licence Agreement by adding my Git/Github details in a row at the end of the CONTRIBUTORS.csv file in a separate pull request to the ockam-network/contributors repository.

@tcd156 Thank you for sending this PR 🙏
This would satisfy the commit linter:
chore(rust): change `Doesnt` to `DoesNot` for enum variants

Thank you, merged in https://github.com/ockam-network/ockam/pull/2195 🎉


Disconnected after 24 hour with 1000 error status

Hi all,
I wonder what is the meaning of the error 1000
ErrConnectionClosed server closed connection,code: 1000,text
What is that's mean.? And should l rescan the QRcode?
UPDATE
I rescanned he QR code at 2020-11-11 14:16:56
and at 2020-11-12 17:29:20 I got disconnection!
Regard

It is when you end the session directly on the device, it is necessary to read the qrcode again.

But the problem that l did not end the sessions on the device. I just got
the error message....
And l did not open whatsapp web on chrome.
Strange 😳
On Tue, 10 Nov 2020, 11:23 pm Bruno Ferreira<EMAIL_ADDRESS>wrote:

It is when you end the session directly on the device, it is necessary to
read the qrcode again.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Rhymen/go-whatsapp/issues/476#issuecomment-724975000,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABDLT2Z3ZESUGKFWEESWSVTSPGVN7ANCNFSM4TRFOGGQ
.

Hey, I really think it is related to version updates of WhatsApp Web.
They do a stepped rollout.

Hey, I really think it is related to version updates of WhatsApp Web.
They do a stepped rollout.

I am not sure that it related.
The WhatsApp Web Version which i have in the Go is : 2.2045.15
Now I scanned my number at
2020-11-11 14:16:56
and at 2020-11-12 17:29:20 I got disconnection!
What do you think ?

Once the server disconnected the Go memeory status is
Alloc = 4 MiB   TotalAlloc = 29 MiB     Sys = 22 MiB    NumGC = 142

I have the same problem, I have to restart the services every 24 hours.

I have the same problem, I have to restart the services every 24 hours.

Strange do you believe it is IP Problem?

I have the same problem, I have to restart the services every 24 hours.

Strange do you believe it is IP Problem?

I didn't make any IP changes at the moment, sometimes restoring the session corrects the problem.

I am not talking about restoring the session... it is just disconnected by it self!

I do receive this same error even when my number is connected less than 24 hours and also when having a new session created.
Re-reading QRCode is not required to recover from this. I just restart the application.
My previous comment about version updates may be just by coincidence.

Hey, I really think it is related to version updates of WhatsApp Web.
They do a stepped rollout.

Why I don't have the same problem with my Chrome session!

I do receive this same error even when my number is connected less than 24 hours and also when having a new session created.
Re-reading QRCode is not required to recover from this. I just restart the application.
My previous comment about version updates may be just by coincidence.

The 1000 error means you lost the session between WhatsApp and your device! @brunoferreiras

Is it related to https://github.com/Rhymen/go-whatsapp/issues/333 ?

Maybe the WhatsApp servers are rebooting? I haven't looked into this issue...
Can you restore the session? If so, you could catch the error via HandleError and restore the session. You are disconnected only for a couple of seconds

@SchulteMK thank you for the steep by.
Well, my program deletes the session when it got "ErrConnectionClosed".... which indicates there is a connection problem which not related to the session.
I scanned the QR and saved the session on another file. once I have a disconnect, I will try to restore the session and see if it will get back or not.
But how can we distinguish if a user Logout from WhatsApp or Logged into the Whatsapp Chrome?

The error code 1000 only states that the connection to whatsapp was closed by the server. The reason for disconnecting is unknown. But in both cases, getting disconnected because someone opend a browser session or because whatsapp disconnects you for some other reason ("maybe reboot", "maybe to reload the page, to get the newest WA web version"), you should be able to restore the session with the saved tokens.
If the restore is not working, we got a serious issue...

Well, my program deletes the session when it got "ErrConnectionClosed".... which indicates there is a connection problem which not related to the session.

You already said it. The connection is closed due to a problem not related to the session. This indicates that you can reuse your session tokens to establish a new connection.

I scanned the QR and saved the session on another file. once I have a disconnect, I will try to restore the session and see if it will get back or not.

Make sure to always save the tokens after successful connecting AND successful reconnecting, because the tokens are changed after every login. The old tokens also work for a while, but they will not give you an immediate session. The API will have to solve one or multiple challenges to get logged in. Mostly the challenge will succeed, but sometimes it will fail, especially if you use a far older token and many challenges are required.

@SchulteMK thank you for the steep by.
Well, my program deletes the session when it got "ErrConnectionClosed".... which indicates there is a connection problem which not related to the session.
I scanned the QR and saved the session on another file. once I have a disconnect, I will try to restore the session and see if it will get back or not.
But how can we distinguish if a user Logout from WhatsApp or Logged into the Whatsapp Chrome?

Logout from WhatsApp: they will throw a 419 error indicating phone is unpaired;
Logged into the WhatsApp Web: they will dispatch a command disconnect with kind replaced.

@SchulteMK @rhsobr great information, well i managed to solve the problem via @SchulteMK method.
Actually l don't know that i can restore the sessions even if user open whatsapp chrome.
Which it seems to work like a charm.
Regard


[AutoPR billing/resource-manager] Billing RP spec changes for GTM FieldLed-Go-Big

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/6661

This PR has been merged into https://github.com/Azure/azure-sdk-for-go/pull/5446


[ServiceBus] prep release 7.12.0

Updating changelog + samples for timeout feature. Updating classifiers.

API change check
API changes are not detected in this pull request.