NextJS mode: "export" can't get InContext tools working in PROD

Can't seem to get DevTools or InContextTools to leverage the Chrome Extension when using mode: "export" with NextJS static generation.
Any tips?

Hey, could you provide more details how to replicate this issue? Do you use app router with next-intl?

Sure, here's a repo with it replicated using your sample nextjs app.
When running with npm run dev, translations are wrapped and it works as expected:

When run with npm run build; npx serve@latest out (how exported static nextjs apps are run locally), there is no wrapping / plugin cannot be used to translate.

Whoops, repo link: https://github.com/i-love-code/tolgee-export-devtools

As for your question, if you haven't seen it already, we are using next-intl but we aren't using the middleware, instead we're providing static export params and using /<locale> prefix to avoid paying for the server costs (able to host static if you don't use middleware to route locales)

Ok, thanks for the example. I've tested your app and when I deploy it with npx serve@latest out, it works as expected - plugin detects tolgee on the page and I'm able to insert api key (in-context works).

My apologies, I didn't make an accurate recreation. There's one other change, we use almost exclusively server-side translations and do not load the entire translation i18n/<file>.json dictionaries in the browser like the example does.
When I replicate the sample project, loading the static translation data, it's true that highlighting works, but the browser payload is almost ~8MB of just translations because next is hiding the entire 10,000+ translation over 3-4 namespace dataset for all translations with locale and fallback locale in the browser in javascript.
To avoid that, I was loading a blank/empty set of static data into the TolgeeNextProvider and only using server-side translations.
I made a branch, no-client-i18n that should replicate it.
All of the server-side translations work and show the translated content, but I can't hover and highlight them to edit. I was hoping it still let them pop up and be editable like it does in dev mode, even if they were server-side translation values.
https://share.ilovecode.dev/msedge_sGZOsvm1XK.mp4
This might be intended, I assume a workaround could be to specifically pull out only the keys from the i18n files that I need for the individual page and provide the TolgeeNextProvider with only the very specific translations I wish to load into the client, but it would make for a lot of manual management of key names.

I've tried the example, but it seems like there is no apiKey passed to tolgee.
You might try to override DevBackendPlugin to return undefined, so it wouldn't load anything from backend. Something like:
const tolgee = TolgeeBase()
  .use((tolgee, tools) => {
    tools.setDevBackend({
      async getRecord() {
        return undefined;
      },
    });
    return tolgee;
  })
  .init();

However, this can be used only with server components, if you'd try to use tolgee with client components, translations won't be there.

Maybe I'm not following -- I tried to put that into tolgee/client.tsx but it didn't seem to change anything, the server component translations still don't have InContext shown with alt+hover, only the client translations do.
https://github.com/i-love-code/tolgee-export-devtools/commit/0154ffe33b1319038a2e4f1f2a2929b877e55d25

And yeah -- I am basically looking for server-side translations only from the files in the i18n folder, not interested in client-side translations or having an apiKey on the client that eventually makes it's way to the user's browser for live reads, but still able to in-context use the Chrome extension to let editors alt+hover and edit translations in PROD.

Hmm, I'm afraid that that is currently not quite possible. Plugin doesn't influence the backend so now you can't easily switch server rendered translations into development mode for updating the translations.
You could however, have a staging version, where the backend would be switched to development mode and ready for translators to change the translations there.
Try this example, it's tweaked, so it only loads translations on the server:
https://github.com/tolgee/next-app-example/tree/stepangranat/i-love-code-example

Ah that's unfortunate. Makes sense -- we can go the "staging running dev mode" route for our translators.
Thanks for your help diagnosing!


Improve dices content hashing speed

Currently, content hash for dices is generated via Unity's Texture.imageContentsHash, which requires creating and filling a texture per dice, which is inefficient: https://github.com/Elringus/SpriteDicing/blob/master/Assets/SpriteDicing/Editor/Processors/TextureDicer.cs#L93
If anyone have an idea on how to replicate the Unity's image content hashing in a way that even slightly different textures will have unique hashes, please share it here or create a pull request. I've already tried hashing color arrays by each item value and its index, but it's not working in some cases (eg, square in Assets/Examples/Atlases/Flat will have artifacts).
We could probably try Hash128.Compute, which accepts arrays in Unity 2020, but I want to keep compatibility with 2019.4 for the time being.

As 2019.4 is falling into the rearview, we can theoretically use HashUnsafeUtilities.ComputeHash128 for legacy compatibility, and use Hash128.Compute elsewhere. This will add a unique codepath, as well as a "must enable unsafe code" warning for 2019.4, but since that requirement is limited to editor-only code, perhaps this is a decent compromise in the name of backwards compatibility?

@konistehrad thank you for the info! I didn't know about HashUnsafeUtilities. It turns out Hash128.Compute in Unity 2020 is just a wrapper over that utility: https://github.com/Unity-Technologies/UnityCsReference/blob/master/Runtime/Export/Hashing/HashUtilities.cs#L58
The hack is now resolved in v1.6.

HA! Wow you're fast, very cool, and excellent work. 👍


Elaborate the content

In this issue, we will replace all the stub pages with real pages.

pull request url:https://github.com/ucsb-cs56-webapps/ucsb-cs56-book-sharing-and-exchange/pull/6


Avoid adding extra newline for script with non-empty prelude

Closes #6364

the test failure seems unrelated🤔

Thanks! Agreed, not sure what that was about.


fix: Removed some extraneous characters from the downloaded pva zip name

Some extra, unwanted characters were being added to the end of the downloaded .zip from PVA. This PR removes those characters.
#minor

Coverage increased (+0.009%) to 54.786% when pulling<PHONE_NUMBER>b9b110c2d53eab571237a7ef92d52e on toanzian/zip-name into 4b573dcf1b45a26d50edb33c9d9e5fa0a2323b62 on main.


OSS-Fuzz: ASSERT: index < operands_.size() && "operand index out of bound"

https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50647
@s-perron for info.

The oss fuzz issue is considered fix. The id bound was larger than the max id bound.


net: samples: fixes for echo_client

Functions for per-interface statistics collection used a pointer to a packet that could've been deallocated in the net_conn callback function. In result, application could crash when interface related to the packet was referenced.
To fix that, packet interface is stored earlier, so it can be used instead for statistics collection.
Additionally, increase main stack size for echo_client in prj_qemu_x86.conf, as the default one caused stack overflow during initialization.
Fixes #7423
Signed-off-by: Robert Lubos<EMAIL_ADDRESS>

Codecov Report

Merging #8312 into master will decrease coverage by <.01%.
The diff coverage is 60%.

@@            Coverage Diff             @@
##           master    #8312      +/-   ##
==========================================
- Coverage   64.53%   64.53%   -0.01%
==========================================
  Files         420      420
  Lines       40122    40125       +3
  Branches     6763     6765       +2
==========================================
+ Hits        25892    25893       +1
  Misses      11110    11110
- Partials     3120     3122       +2

Impacted Files
Coverage Δ

subsys/net/ip/net_stats.h
64.75% <0%> (-1.08%)
:arrow_down:

subsys/net/ip/connection.c
78.41% <100%> (+0.05%)
: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 8e89206...e2e5554. Read the comment docs.

While stressing the sample, I've encountered yet another crash, this time inside ipv6 module. I've added a commit covering it, I guess it's pretty self-explainatory.

@rlubos we have to increase the main stack size in  "prj_qemu_x86_tls.conf" not  in "prj_qemu_x86.conf". I missed this.

not in "prj_qemu_x86.conf"

Are you sure about this? I was hitting stack overflow in this configuration with default stack size.
Ok fine.


Add support for :blank pseudo-class

Hey, I love this postprocessor! Great job!
Please add support for the :blank pseudo-class.
The :blank pseudo-class is kind of like the prettier cousin of :empty.
The :blank pseudo-class will select an element as long as it has no text and no other child elements, regardless of white space. So it could contain white space, line breaks, etc., and it would still qualify.

This require some knowledges about the actual DOM tree, so it's impossible from cssnext side (preprocessor, no client side polyfill involved). Sorry.


What's is the best way of overriding just the actual control, preserving Bootstrap's label/wrapper?

I'm currently using a custom factory to make an Enum editable with the react-select instead of the plain select control. Works fine, but now I'm not getting the .form-group wrapper nor the .control-label. So I guess that also have to go into my factory's render method. Is there a simple way (component/class/function) already available within this library that I can use to wrap my custom control?
I just don't like the idea of copy/paste the library's code to achieve this, while maintaining the flexibility of configuring the control's layout with Forms.props.options.

Hi @mandx,
Sorry for the delay

I'm currently using a custom factory

Should be enough using a custom template
import ReactSelect from 'react-select';

function myRenderSelect(locals) {
  const options = locals.options.filter(o => o.value).map(o => ({value: o.value, label: o.text}));
  function onChange(o) {
    locals.onChange(o ? o.value : '');
  }
  return <ReactSelect options={options} value={locals.value} onChange={onChange} />;
}

const Country = t.enums({
  IT: 'Italy',
  US: 'Unites States'
});

const Type = t.struct({
  country: Country
});

const options = {
  fields: {
    country: {
      template: myRenderSelect
    }
  }
};

Is there a simple way (component/class/function) already available within this library that I can use to wrap my custom control?

We are working on this right now:
https://github.com/gcanti/tcomb-form/issues/254
You'll be able to write something like
import ReactSelect from 'react-select';

function myRenderSelect(locals) {
  const options = locals.options.filter(o => o.value).map(o => ({value: o.value, label: o.text}));
  function onChange(o) {
    locals.onChange(o ? o.value : '');
  }
  return <ReactSelect options={options} value={locals.value} onChange={onChange} />;
}

// override just the select rendering, keep everything else
const mySelect = t.form.Form.templates.select.clone({
  renderSelect: myRenderSelect
});

const Country = t.enums({
  IT: 'Italy',
  US: 'Unites States'
});

const Type = t.struct({
  country: Country
});

const options = {
  fields: {
    country: {
      template: mySelect
    }
  }
};

Thanks for the response! Ok, so I'm closing this and start following #254.

OK, by the way the code above works fine with the current version on master (if yout want to give it a spin)


Add Git detekt pre-commit hook doc

The detekt integration into a Git development has been discussed here:

#2175
#1792
#1057

Thus, this should be persisted on detekt's homepage.

Codecov Report

Merging #2214 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #2214   +/-   ##
=========================================
  Coverage     81.41%   81.41%
  Complexity     2064     2064
=========================================
  Files           340      340
  Lines          5934     5934
  Branches       1077     1077
=========================================
  Hits           4831     4831
  Misses          526      526
  Partials        577      577

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 4e50f60...46b7b44. Read the comment docs.


Add IPv6 support

Along with the feature implementation, there is a refactor about how we deal with multiple argument schemas, my goals were easy scalability/adaptation, and don't repeat the default values; as a downside, the code became a bit verbose.
About the IPv6 feature, I added a very simple heuristic to detect which family the host belongs: const family = host.includes(':') ? 6 : 4, and IDK if it's the recommended way or good enough.
The new unit test was tested on node.js as well.

Let's actually also grab the IP family predicates from https://github.com/holepunchto/udx-native/blob/main/lib/ip.js so the detection becomes rock solid.

Alright, also added a new error handling for the case where ip.isIP function returns 0.


Include example of removing unchanged elements from stream

In the README, please add an example of removing unchanged elements from the stream.
As in what other things can you do in the compare callback, besides console.log(difference)?

difference.changedFiles should contain them. See https://github.com/jwbay/gulp-snapshot/blob/master/index.js#L104


Super hacky webvr support

don't merge this, it breaks a bunch of things.
To use:

Open the 3d demo in Chrome Canary for Android with webvr enabled (chrome://flags)
Select an AA strategy other than 4xSSAA (this hits memory limits and needs investigation)
Click the VR button twice . This is due to a bug in how chrome determines if a VR request was initiated by user action
Put the phone in your Daydream and press the home key on your controller
Connect a physical keyboard to navigate. Yes, really.

The AA breaks down at a distance and shows fuzzy stuff, so you'll need to move closer to the monument to see text.
Will work on a proper mergeable PR later.

https://github.com/pcwalton/pathfinder/pull/76


[SQL] Correct two exception message in UnresolvedGenerator class

What changes were proposed in this pull request?
UnresolvedGenerator  don't support doGenCode and terminate method,but  exception messages are not the same with method name.This PR correct these messages.
How was this patch tested?
Please review http://spark.apache.org/contributing.html before opening a pull request.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Good catch. I believe other files (e.g. VectorizedRleValuesReader.java, Expression.scala, and generators.scala also have the similar problem. Can this PR address them?

Good catch. I believe other files (e.g. VectorizedRleValuesReader.java, Expression.scala, and generators.scala also have the similar problem. Can this PR address them?
···

Good catch. I believe other files (e.g. VectorizedRleValuesReader.java, Expression.scala, and generators.scala also have the similar problem. Can this PR address them?

ok，I will fix them，thanks

@lcqzte10192193 I am sorry for my misunderstanding The original code in VectorizedRleValuesReader.java was correct. Could you please revert you change?

LGTM,thanks

LGTM cc @cloud-fan

thanks, merging to master!


Fixed logout buton alignment in meshery extension

Description
This PR fixes #5683
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

@warunicorn19

Happy accident @warunicorn19  😆 and shoutout prettier.


Nothing happen...

Hi,
I don't know if it is the right place but nothing happens and I don't understand why. I'd love to use this plugin. Any help?
I open a thread on stackoverflow.
http://stackoverflow.com/questions/35089306/speech-to-text-plug-in-phonegap-not-working
Any help?
Thanks

Sorry but the question is really confusing, you are using gap tags, like you were using phonegap build, but you say that you are using phonegap desktop, so you are trying on the phonegap developer app?
You can't run 3rd party plugins on the phonegap developer app, you have to compile your own app
And this plugin can't be used on phonegap build


All chunked upload are being cancelled on the server (Xampp working fine)

I am using Vue and Vue Dropzone for the Frontend.
Everything is working fine on my local Xampp.
For smaller files than my configured chunk size I am using a non-chunked upload with Laravel file upload methods.
Only files bigger than the chunk size are processed by laravel-chunk-upload.
In my productive environment on my managed server chunked uploads are always cancelled and a 500 error is thrown.
It looks like no chunks are being created on the server at all.
My Laravel logfile states this error:
[2018-05-11 07:56:39] production.ERROR: The file "testfile.zip" was only partially uploaded. {"userId":1,"email":"test@domain.de","exception":"[object] (Pion\Laravel\ChunkUpload\Exceptions\UploadFailedException(code: 500): The file "testfile.zip" was only partially uploaded. at /html/myproject/vendor/pion/laravel-chunk-upload/src/Receiver/FileReceiver.php:66)
Any ideas?

HI, unfortunatelly I have no experience with this error:
What server configuration you are using?
Try this: https://wordpress.stackexchange.com/questions/176465/failed-media-upload-the-uploaded-file-was-only-partially-uploaded
I't is definitely error within apache2 configuration.

I am using neither a root server nor a shared hosting.
We do have a Managed Server exclusively for us.
So I can change the php.ini a little bit but not the Apache configuration.
It looks like the installed Linux distribution is a gentoo.
I have checked your link but since I cannot change any Apache configuration settings I cannot experiment with libapache2-mod-php5filter / libapache2-mod-php5 or the KeepAlive flag.
Do you think I am stuck here and have to switch to a root server?

First I Would try to simple html5 upload - use standard multipart form with input[type=file] without any JS library and upload it (you can still use the chunk uploader). If it is successfully, I would try different library for test.

Was this resolved?


Allow configuring of request method for webhooks

📑 I have found these related issues/pull requests
I haven't found anything comparable but I may be wrong.
🏷 Feature Request Type
New notification-provider
🔖 Feature description
A custom notification provider that issues a POST request as a notification.
So that you can use your own API, for example.
✔ Solution
Create a new notification provider with the input fields:

url
Header
Authentication
Body

❓ Alternatives
No response
📝 Additional Context
No response

oh, i need it
please provide enough variables, thanks

The FR is already provided via the webhook monitor

If you need better templating than what v1 proivides, please use https://github.com/louislam/uptime-kuma/releases/tag/2.0.0-beta.0 instead.


readme: Add mention of allowing Github application use within organization

We ran into an issue on Lighthouse which took a long time to debug. We were seeing "404: Not found" when bundlesize ran on travis.
Turns out Github sometimes returns a 404 for authentication errors (rather than 401).  The fix was adding bundlesize to the approved applications list for the github organization.
That happens here: https://github.com/settings/connections/applications/6756cb03a8d6528aca5a
I believe this depends on the organization settings. I imagine we have some non-default permission settings inside the Org i ran into this with.

/cc @siddharthkp

'dra
On Fri, Sep 22, 2017, 12:29 Anup<EMAIL_ADDRESS>wrote:

/cc @siddharthkp https://github.com/siddharthkp
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/siddharthkp/bundlesize/issues/148#issuecomment-331367011,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKv5Jv8V7rUcejsCucBG6DhCao10sGGCks5sk1rigaJpZM4PgShs
.


[Mqtt Agent] MqttAgent_resumeSession 100% Coverage

Complete Unit test coverage for MqttAgent_ResumeSession function in mqtt_agent.c

Does this need to be rebased? The diff looks like it also contains the changes from #13

Does this need to be rebased? The diff looks like it also contains the changes from #13

Yeah rebasing it


[#137700569] Set up Pingdom alerts to PagerDuty

What
Set up Pingdom alerts to PagerDuty
New contacts in pingdom have been created which point to new services created in pagerduty for pingdom alerts - one for in-hours notifications only and one for 24/7. This PR configures pagerduty notifications for CI/Staging (in-hours) and prod (24/7).
How to review
Locally edit dev tfvars file. Copy pingdom contact ids from ci/staging tfvars files. This will enable in-hours pager duty notifications for dev when you create pingdom checks.
Override in-hours schedule to your name. ACTION=apply make dev pingdom.
Don't forget to clean up the override in PD (it's in the right column of schedules interface) and testing pingdom checks: ACTION=destroy make dev pingdom
Who can review
not @mtekel or @paroxp

Updated. This now also needs testing that correct (different) targets are alerted in ci/staging and prod.

Just a quick update. This is in progress but I've got problems with my env to it may take a little bit longer.

Changed this to use list variables now.

Tested this and it works. LGTM.
Merging.


chore: update dependency semantic-release-pub to 0.2.2

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

v2.0.1
GitHub release

Your semantic-release bot :package::rocket:


Set builder.OnlyMetadata back for Secrets

Problem Statement
In https://github.com/external-secrets/external-secrets/pull/2505, I removed the builder.OnlyMetadata, but as a result the operator started consuming much more memory. What I didn't understand was

Owns caches all the resources regardless of owner reference.
The operator disables Secret cache.

I found a related PR. Currently, we cannot disable cache for the Owns, so specifying the builder.OnlyMetadata makes sense since we don't really use the metadata cache except for starting ExternalSecret reconciliation. Thank you for your review 🙇
Here are the test results in my local environment with 1000 Secrets (each consumes 150 KB, so it should be roughly 150 MB).
v0.9.1
NAME                                                CPU(cores)   MEMORY(bytes)
external-secrets-589f65c6f5-pc7zl                   14m          246Mi
external-secrets-cert-controller-56f879cdd5-9mrwq   4m           26Mi
external-secrets-webhook-58d4957dbb-dqmcr           1m           19Mi

v0.9.2
external-secrets-56d45c968b-7tmlh                   3m           718Mi
external-secrets-cert-controller-578d55ddfd-qn6gq   4m           28Mi
external-secrets-webhook-6b895787f-2cdpn            14m          17Mi

This PR
NAME                                               CPU(cores)   MEMORY(bytes)
external-secrets-78bdffb7d-dxk44                   3m           230Mi
external-secrets-cert-controller-7996dc658-dfrgs   5m           26Mi
external-secrets-webhook-c8ddfdcd9-x9dgd           3m           19Mi

Related Issue
Fixes https://github.com/external-secrets/external-secrets/issues/2608
Proposed Changes
Set builder.OnlyMetadata back for Secrets.
Checklist

[x] I have read the contribution guidelines
[x] All commits are signed with git commit --signoff
[x] My changes have reasonable test coverage
[x] All tests pass with make test
[x] I ensured my PR is ready for review with make reviewable

lgtm! :)

/approve

Thanks! I'm merging the PR 🙂


Fix Podcasts

I might be able to tackle this soon, but the current API does not handle Podcasts.
Things that need to be fixed:

The album querySelector fails when podcasts are playing because the element doesn't exist, causing the songInfo API to not return results.
There is also two new buttons, rewind-10 and forward-30 that are not implemented.
We should implement an API method such as isPodcast which can be tracked by checking the current .now-playing-actions for the class podcast.
There are no ratings for podcasts, so those setters/getters "break" as well.

I'm not sure of the feasibility of adding tests as Podcasts are regionally available and we can't upload a podcast (afaik) to test metadata and the new buttons. We may have to settle for finding a podcast and navigating to it directly in order to test.

The change:podcast hook needs to be documented as well.


DOCS

There are some docs? while it's pretty easy to get the code mean from the other mirumee docs, from tests and from reading the code itself, it gets annoying and it is error prone.

Issue splitted into smaller parts.


Inquiry about how to obtain visualizations of samples from spatial-VAEs

Hello! Thank you for your time reading this!
Your work of spatial-VAE is very impressive. I really appreciate that you release your code, and I've managed to run your code (train_mnist.py) and got reasonable values for ELBO, Error, KL.
Besides, I think the animations (GIFs) of learned motions of different bio-particles in the README.md are very helpful for novices (like me) to understand the main idea of your paper. I wonder if I could also generate similar images (like each frame in your GIFs) using my own dataset? If so, would you please give me some suggestion on how to achieve that?
Thank you in advance!

Of course, I'm glad to hear the code release is helpful. To generate images from the model, you need to select some point in latent space ($z$) and then use the generative network to get the conditional distribution over the pixel values. This part of the MNIST training script and the equivalent in the train_particles script do this. The animations here are showing the mean of this distribution (y_mu) moving through latent space.
I've been meaning to add a jupyter notebook to this repo with a code sample. Hopefully, I'll be able to get to it sometime this week.

Thank you very much for your prompt reply!
I appreciate your plan for adding the code example to explain the image generation. Besides, when it comes to the selection of points in the latent space, I am a little bit confused about the way to do that. As noticing that z is obtained using InferenceNetwork, I wonder if InferenceNetwork is the "magic" of constraining latent variables to only represent rotation and translation?
Look forward to your kind reply!

I was referring to the unstructured latent variables with z. These are set to have standard normal prior by the training proceedure. If you want to perform inference on z for some specific image, then you can use the inference network, but this is not required to generate images with the generative model.
The rotation and translation parameters are separate, structured latent variables. The structure is imposed through the generative network, not the inference network, by transforming the coordinates which are then decoded by the spatial generator network. This is described in the paper, but see the eval_minibatch function "if rotate" and "if translate" sections to see how this is done in the code.

I see. Thank you very much for your clarification!


huawei & aws & ucloud fix

这个 PR 实现什么功能/修复什么问题:

huawei & ucloud & aws bugfix

是否需要 backport 到之前的 release 分支:
NONE

/cc  @swordqiu

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.10.0@e96b3a9). Click here to learn what that means.
The diff coverage is 0%.

@@               Coverage Diff                @@
##             release/2.10.0   #2116   +/-   ##
================================================
  Coverage                  ?   7.58%
================================================
  Files                     ?     410
  Lines                     ?   63453
  Branches                  ?       0
================================================
  Hits                      ?    4812
  Misses                    ?   58230
  Partials                  ?     411

Flag
Coverage Δ

#aFlag
7.58% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/guestdrivers/aws.go
6.41% <0%> (ø)

pkg/util/ucloud/securitygroup.go
0% <0%> (ø)

pkg/util/aws/disk.go
0% <0%> (ø)

pkg/compute/models/loadbalancercertificates.go
3.19% <0%> (ø)

pkg/compute/guestdrivers/ucloud.go
12.82% <0%> (ø)

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 e96b3a9...d244254. Read the comment docs.

/lgtm

/approve


for i=1 range n:

From<EMAIL_ADDRESS>on 2014-11-05T02:20:18Z
Spyder Version:  2.2.5
Python Version:  2.7.6
Qt Version    :  4.8.4, PyQt4 (API v2) 4.9.6 on Windows
pyflakes >=0.5.0:  0.8.1 (OK)
pep8 >=0.6      :  1.5.7 (OK)
IPython >=0.13  :  2.1.0 (OK)
rope >=0.9.2    :  0.10.2 (OK)
sphinx >=0.6.6  :  1.2.2 (OK)
matplotlib >=1.0:  1.3.1 (OK)
sympy >=0.7.0   :  None (NOK)
pylint >=0.25   :  1.2.1 (OK)
What steps will reproduce the problem?

What is the expected output? What do you see instead?
Please provide any additional information below
.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=2039

From ccordoba12 on 2014-11-05T05:48:22Z
This is not a Spyder problem, just a syntax error, i.e. you're using incorrectly the Python programming language.
Instead of writing
for i=1 range n:

you need to write
for i in range(n):

If you have more programming problems or questions, we recommend you to ask them in this website:
http://http://stackoverflow.com/
The purpose of our issue tracker is to report problems with Spyder, i.e. things that are working incorrectly with it.
Status: Invalid


"" not included in json schema?

Hello,
I was wondering if you could help with this. I have some annotations in my XSD file like so:
<complexType name="DictionaryType">
      <annotation>
          <appinfo>
        	<dictionary>tgap</dictionary>
          </appinfo>
           <documentation>
               <name>tgap Application Dictionary</name>
               <description>test</description>
             </documentation>
         </annotation>
</complexType>

However this annotation is not brought into the json schema when I run:  java -jar jsonix-schema-compiler-full-2.3.9.jar -generateJsonSchema -p PO schema.xsd
I didn't see anything in the docs to help with this. Any ideas on how I can get this included in the json schema?

Jsonix Schema Compiler does not do anything with XML Schema annotations.
What would you actually expect to be generated?

Ok good to know - thanks for the help.
I guess I would expect it to treat it like any other element but that wouldn't make that much sense...


Fixed #27402 - LocaleMiddleware redirecting when it should display 404.

buildbot, add to whitelist.

The middleware actually tries to redirect the user request to the internationalized url when a 404 is generated, for cases where the user sent a valid request without specifying the language code in the request path. (here)
This behavior seems correct to me.
What you actually want to prevent is the redirection by the middleware here when you are using prefix_default_language=False and the request in the default language.
I believe a better approach would be something similar to replacing the if before the redirect bloc with:
if (path_valid or path_needs_slash) and (  # The url actually exists if the language is prefixed to the query
    not prefixed_default_language and language == settings.LANGUAGE_CODE):  # You can redirect to the prefixed version of the URL

Continued in https://github.com/django/django/pull/7483.


Windows Artifact is Expired

The artifact for the windows installer is expired?

The artifact for the windows installer is expired?

ya...
welp, here's mine in case you need yet, a February build if you don't mind:
https://mega.nz/file/ipgTWCpS#mS3wAx5bA4SuDW9VDStPf5x-_FF4TunuKW8osluMvTk


Application Error

https://cors-anywhere.herokuapp.com/ appears to be down. Therefore when I make a $.get request I receive an error. Because of the $.get error I then receive an No 'Access-Control-Allow-Origin' error as well. Is anyone else experiencing this? Is there a time frame for it to be fixed?

I have (temporarily?) blacklisted requests to plus.google.com and two audio streaming sites because they were responsible for the majority of requests and disrupting the service.

Is https://cors-anywhere.herokuapp.com/ down at the moment?

@rochmirabeau See #100 . It was, but not any more.


[Event Change Request] Codeunit 6620 Copy Document Mgt.

Dear ALAppExtensions team,
Through this issue we would like to request extending event publisher OnCopyPurchLineOnBeforeValidateQuantity in Codeunit 6620 Copy Document Mgt.  to the following signature:
    [IntegrationEvent(false, false)]
    local procedure OnCopyPurchLineOnBeforeValidateQuantity(var ToPurchLine: Record "Purchase Line"; FromPurchLine: Record "Purchase Line"; RecalculateLines: Boolean)
    begin
    end;

with parameters FromPurchLine
which would be called as follows from CopyPurchDocLine:
    procedure CopyPurchDocLine(var ToPurchHeader: Record "Purchase Header"; var ToPurchLine: Record "Purchase Line"; var FromPurchHeader: Record "Purchase Header"; var FromPurchLine: Record "Purchase Line"; var NextLineNo: Integer; var LinesNotCopied: Integer; RecalculateAmount: Boolean; FromPurchDocType: Enum "Purchase Document Type From"; var CopyPostedDeferral: Boolean; DocLineNo: Integer; p_PurchInvLine: Record "Purch. Inv. Line"; p_AppliedTo: Boolean) Result: Boolean
    var
        ...
    begin
        ...
        if ExactCostRevMandatory and
           (FromPurchLine.Type = FromPurchLine.Type::Item) and
           (FromPurchLine."Appl.-to Item Entry" <> 0) and
           not MoveNegLines
        then begin
            if RecalculateAmount then begin
                ToPurchLine.Validate("Direct Unit Cost", FromPurchLine."Direct Unit Cost");
                ToPurchLine.Validate("Line Discount %", FromPurchLine."Line Discount %");
                ToPurchLine.Validate(
                  "Line Discount Amount",
                  Round(FromPurchLine."Line Discount Amount", Currency."Amount Rounding Precision"));
                ToPurchLine.Validate(
                  "Inv. Discount Amount",
                  Round(FromPurchLine."Inv. Discount Amount", Currency."Amount Rounding Precision"));
            end;
            ToPurchLine.Validate("Appl.-to Item Entry", FromPurchLine."Appl.-to Item Entry");
            if not CreateToHeader then
                if ToPurchLine."Expected Receipt Date" = 0D then begin
                    if ToPurchHeader."Expected Receipt Date" <> 0D then
                        ToPurchLine."Expected Receipt Date" := ToPurchHeader."Expected Receipt Date"
                    else
                        ToPurchLine."Expected Receipt Date" := WorkDate;
                end;
        end;

        OnCopyPurchLineOnBeforeValidateQuantity(ToPurchLine, FromPurchLine, RecalculateLines);

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Training_on_new_data

Hi. @rykov8 .FIrstly, thanks for this keras port for SSD. You are amazing :)
I have been trying to train the model for hand detection. I have basically a single class then, that of a hand. I set NUM_CLASSES=2 as you specified in other issues. Can you please let me know about my input format. My data currently has the 5 tuple.:- label, x0, y0, width, height to specify the coords of the bounding box. I have generated the same corresponding to each hand image in my dataset . Do we represent our input through prior_boxes_ssd300.pkl and gt_pascal.pkl?? How exactly do i do that. What is the prior_boxes_ssd300.pkl for. It would be great if you can help me out. Thanks in advance..

@ayushchopra96 hi! I believe, that in #15  quite a lot is explained. Try to read this issue and cite some parts, that are not clear, and I'll try to explain better.

hi @rykov8 , I am working with @ayushchopra96 we are clear with gt_pascal.pkl but we are still having problem in understanding about prior_boxes_ssd300.pkl we get the idea what's the purpose of this file but how to initialise the priors for any other dataset. Please explain it would be a great if you help. Thanks in advance.

Hi @primebuilder, I think the prior_boxes_ssd300.pkl contains what the paper calls "default boxes". Just leave the file as it is and it should work.

hi @lunardog , We were applying this on different data set so we want to know how to initialise these priors and @rykov8 which data set you have used to train the model. Can you provide us the data set for a demo run to understand it completely. Thanks for early reply. :)

I think that prior_boxes_ssd300.pkl doesn't need to be changed with datasets. Just use it to initialize BBoxUtility, like in SSD_training notebook and it should work. Don't create your own prior_boxes unless you have a good reason to modify how SSD works.

@lunardog thanks for your comments. Actually, you're totally right, prior_boxes depend on the net architecture and don't depend on the dataset. Unfortunately, I cannot make my dataset public because of NDA, but @primebuilder @ayushchopra96 you don't really need it to understand what happens.

Hi.. @rykov8 . We trained the model on our data.. Pretty much overfit it the first time around.(loss less that 1%). But when we test the same on an image from the train data itself. The model does not make any predictions.. ie. the results list is empty for the data.
Another issue we had if needed to scale the values before creating gt_pascal? .ie. Do we actually divide the our xmin ymin xmax ymax by 300 for all out entries?

Can you please  explain the annotation you mentioned
[xmin, ymin, xmax, ymax, prob1] = [x0, y0, x0 + width, y0 + height, 1]
?

@primebuilder @ayushchopra96
I checked SSD_training.ipynb  and still can not figure my way to train.
I actually have 2 classes vehicle and pedestrian
can you please advice?
Thanks

@primebuilder Can you please advice where should I store images for my training dataset?

@primebuilder
@rykov8
hi!
how to generate gt_pascal.pkl ?
I've been searching for 2 days and still no answer..
what tool did you use to generate such files (from XML?)
the data from gt_pascal.pkl looks like that:
{u'frame04303.png': array([[ 0.35078125,  0.43472222,  0.67734375,  0.68194444,  1.        ,
0.        ,  0.        ]])
how to generate such a row?

Hi @rykov8,
Thanks so much for your work!
I am trying to train SSD on MS-COCO dataset. I created the ground truth according to your gt file format, and the training procedure can execute successfully. However, the loss is very large, initially around 245 and will finally fixed at around 190. I then tried to train with VOC2007, and the loss is only 4~0.6... Is it possible for COCO to have such a large loss?
In addition, after training the model with COCO data, I cannot use the trained model. The error is
RuntimeWarning: overflow encountered in exp   decode_bbox_height = np.exp(mbox_loc[:, 3] * variances[:, 3]), which occurs at
results = bbox_util.detection_out(preds)
and will make the result an empty array [ ]. Any idea why will this happen?
Thanks in advance!

Hello @sklin93,
a possible problem that you could be having is that you are not pre-processing the box dimensions correctly. Have you looked at how is done in the get_data_from_XML.py? Have you normalized the x_min, y_min, x_max, y_max dimensions?

Hi @oarriaga,
Exactly! Solved, thank you!!

@sklin93
If you don't mind, could you share your code for training on the MSCOCO dataset?
Thanks.

Hi @rykov8,
Could you please let me know how to make prior_boxes_ssd512.pkl file?
Thanks


[Question] How could we use Lasso to solve real problems?

Hi, developers of Lasso, I recently got to know and learn about this impressive project.
After I have an idea about how to write a subtable, I'm getting excited and want to solve some more complicated problems with the help of those subtables from src/subtables.  Like calculating ((a AND b) XOR b) OR a with help of subtable AND, OR and XOR.
But I really don't have a strong background of lookup argument and surge. This makes me not even know where to start. So if Lasso is able to solve any real problems, is there anybody could help me with it? A doc or tutorial would help a lot. Thanks in advance.

Hi, you may find these lectures by Justin Thaler helpful for context:
Part 1
Part 2


Laravel 10.19.0 Shift

This pull request includes updates for the recent minor version release of Laravel as well as updates to your package dependencies. Feel free to commit any additional changes to the shift-ci-v10.19.0 branch.
Before merging, you need to:

Checkout the shift-ci-v10.19.0 branch
Review all pull request comments for additional changes
Run composer update
Thoroughly test your application (no tests?, no CI?)

:x: Shift was unable to run composer update. Please be sure to run composer update before merging to ensure your dependency changes are fully compatible and reflected in your composer.lock file.


Add Terms of Service/Privacy Policy

Users should be shown the model after clicking sign up when they sign up for email. If they sign up with google, we should show our terms of service link in the popup: https://firebase.google.com/docs/auth/web/start

[ ] Add Verify email modal
[ ] Flesh out complete privacy policy and terms of service pages
[ ] Move auth modals into top-level page layout
[ ] Add Verify email modal

For implementing the full policy pages, we could store the text of the policies as markdown in firestore and use that to render the policy on the frontend. This would allow us to update the policy without having to change source code.
marked library
existing sanitizing code for testimonies

FYI @jellyyams  - We have now received a final draft of the legal language from our support team at Northeastern Law. You can find that text here:
https://docs.google.com/document/d/1sQL3wDvh1uBagQuKTDjBOPgzz9wWL0HGGNk_-vyxPBA/edit

Katie just finished updating the expanded ToS/Privacy Policy pages yesterday :) they can be found in the Figma file

I mispoke in my earlier comment. I think it would be easier to implement and maintain by adding markdown/mdx support following this documentation. See also this blog post. The markdown files are converted to HTML during the site build.
The advantage of markdown is that anyone can edit, preview, and review it using github's tools.

Here are the figma designs: https://www.figma.com/file/oMNmgiqDGTMco2v54gOW3b/MAPLE-Soft-Launch-(Jan-2023)?version-id=2882065371&node-id=3303%3A13918&viewport=738%2C1083%2C0.07&t=dTBOKV5ROWjbHxQD-0


Offer data generators

Currently most other LDBC benchmarks offer data generator implementations that can be used/referenced, but currently graphalytics doesn't offer anything (that I can find).
The datasets involved in graphalytics are very large and can be incredibly slow to download, so being able to generate them would be very nice

Well, that's pretty much the issue, it's hard to ask new devs or CI to take 2+ hours to download a benchmark

Unfortunately, I don't see a quick fix for that.
Approach 1: Regenerating the data
Let's suppose we can get the data generation pipeline working such that it produces the exact same graph500, datagen, etc. graphs as the ones available for this benchmark. Still, it is going to be slow due to limitations in the generator and processing scripts. E.g. the datagen graphs should be generated with the old Hadoop-based Datagen which is single-threaded on a single machine (Hadoop's pseudo-distributed mode) and only parallelizes when run in an actual Hadoop cluster. Then, they are post-processed by a shell script using standard UNIX tools (sort, cat, cut) which sometimes dump intermediate data sets to disk. Overall, re-generating the data sets wouldn't be much faster than downloading them at the current (slow) rate.
Approach 2: Moving to a faster hosting service
Regarding faster hosting, I see two potential solutions:

Upload the data sets to the object storage services of the three major cloud providers and make them available with the "requester pays" (or equivalent) option. This is quite expensive for LDBC: napkin math shows ~1 USD / GB / year, and we have tens of terabytes of data for SNB and Graphalytics (some of these are currently being generated and not yet available). Also, thse cloud deployments will not going to benefit users with on-prem deployments, they will need to use the SURF service (which is also a paid one although it is subsidized).

Use an egress-free fast object storage service. Cloudflare R2 seems promising but it's still beta and does not support public buckets out of the box. Getting public buckets requires a (seemingly simple) workaround of running a Cloudflare worker. Users in the Reddit thread on R2 bandwith report 200-300 megabit/s (25-37.5 MB/s) which still isn't great and 5-10x off from what e.g. S3 can do within AWS.

If you are aware of an alternative service for data hosting, please let me know.

I deployed that data sets on Cloudflare R2 (URLs may change in the future). This does the job well.

https://r2-public-worker.ldbc.workers.dev/graphalytics/cit-Patents.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/com-friendster.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/datagen-7_5-fb.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/datagen-7_6-fb.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/datagen-7_7-zf.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/datagen-7_8-zf.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/datagen-7_9-fb.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/datagen-8_0-fb.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/datagen-8_1-fb.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/datagen-8_2-zf.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/datagen-8_3-zf.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/datagen-8_4-fb.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/datagen-8_5-fb.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/datagen-8_6-fb.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/datagen-8_7-zf.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/datagen-8_8-zf.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/datagen-8_9-fb.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/datagen-9_0-fb.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/datagen-9_1-fb.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/datagen-9_2-zf.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/datagen-9_3-zf.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/datagen-9_4-fb.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/datagen-sf10k-fb.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/datagen-sf3k-fb.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/dota-league.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/example-directed.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/example-undirected.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/graph500-22.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/graph500-23.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/graph500-24.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/graph500-25.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/graph500-26.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/graph500-27.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/graph500-28.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/graph500-29.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/graph500-30.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/kgs.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/twitter_mpi.tar.zst
https://r2-public-worker.ldbc.workers.dev/graphalytics/wiki-Talk.tar.zst


Dependencies were updated.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 75.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 77.86%. Comparing base (d6786c1) to head (c28f738).

Files with missing lines
Patch %
Lines

taskiq/kicker.py
0.00%
2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #354      +/-   ##
==========================================
- Coverage   77.95%   77.86%   -0.09%
==========================================
  Files          62       62
  Lines        1855     1857       +2
==========================================
  Hits         1446     1446
- Misses        409      411       +2

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


Will work with GT-511C1R and raspberrypi2?

Hi
As this is for GT511C3 and I have GT511C1R module I am confused little bit.
I do know that both are very similar and have used arduino library of GT511C3 on the same
But unsure about image upload/download implementation of bot as Arduino library does not support
Also I want to use it with raspberry pi 2 and PL2303HX USB to ttl so that I can easily connect both
Raspberry pi 2 USB port :-> ttl :-> GT511C1R
I will have a serial port through this converter which I can use.But still want to ensure that It should work.
Also do I need potential divider between the ttl and FPS module same as arduino interfacing
I should be able to do everything image upload/download authentication identification enrolling etc
Thanks

Hi,
the GT511C1R should be 100% compatible with GT511C3. There is only less fingerprints' memory in the GT511C1R.
The Raspberry Pi2 have a built in serial port:
TxD is on pin 8, GPIO14 (serial output 3V3 logic)
RxD is on pin 10, GPIO15 (serial input 3V3 logic)
You may use this serial port rather than the PL2303HX usb module, you just have to care about the raspberryPi2 RX line which is 3.3V. I mean that you have to use a limit resistor between the FPS TX line (5V) and the Pi2 RX line (3.3V).
The last (and best) option is to use a "logic level converter" between the raspberry serial port and the FPS module. (here an example: https://www.sparkfun.com/products/12009 )

potential devider will also do it right?
also I should be able to do everything image upload/download authentication identification enrolling etc
Will update once I get jst sh connector as I lost mine
Thanks

Yeah, a potential divider / voltage divider will do the job.
The image download functionality is still under development, anyway all the other operations are available. Check out the README file.
Have a nice day!

but can I upload images on the fly?
In the sense record and send images of people who make attempt to open it to host pc(rpi2)....

one more thing can I call the functions from c code somehow?

actually its possible to get the buffer sequence of bytes with the commands getImage() and getRawImage(). You will have to decode it to a valid image format yourself.
About calling the function from c code, I don't know if exist something like a node wrapper. Dunno...

ok do u know any tool to convert those images ?

I Know m troubling a lot but just curious

actually no. I've planned to develop a function to export directly a bitmap image.

ok I will be looking forward to that function for sure thank u alot
Amazing work
Was going to code it myself in c for raspberry pi 2 than I found this
cheers

one sec the fps is also a 3.3 logic level ttl uart device
than why do I Need a resistor?

I am trying to get the raspberry pi 2 talk to fps
meanwhile I have a request
I am using GT511C1R which has only 19 fingerprints
to make the code easily portable to C1 and C3 can we have a constant with value as 199  /  200
so that no one has to change 199 to 19 and 200 to 20 in entire code ?
one has to change just value of the constant?

@


Regarding inlineCode under xdm and @mdx-js/loader

I'm replacing @mdx-js/loader with xdm in my project https://github.com/chenxsan/voidjs/pull/426/files#diff-a94978bc24b042c57f0140409ac8c8101cad618fd24c90a2d88136e193b92e14, everything works fine (that's impressive!) but one.
With @mdx-js/loader, I can customize inlineCode targeting inline code like below:
// `this is inline code` I want to target
const inlineCode = (props) =>
<MDXProvider components={{inlineCode}>
  // ...
</MDXProvider>

However with xdm, inline code seem to be handled by code:
// `this is inline code` I want to target
const code = (props) =>
<MDXProvider components={{code}>
  // ...
</MDXProvider>

But I didn't find anything related to this change in the doc.

Ah correct, I removed that too, I’ll add it to the notes on the differences below.
Are you also asking about help with differentiating between “inline” and “block” code? If so: this might help: for blocks you can sometimes use pre, or otherwise check if there’s a language-\w+ className

Also very cool to hear that switching was mostly fine! Do let me know if there is anything missing or complex!

Ah correct, I removed that too, I’ll add it to the notes on the differences below.
Are you also asking about help with differentiating between “inline” and “block” code? If so: this might help: for blocks you can sometimes use pre, or otherwise check if there’s a language-\w+ className

Thanks for your help!

sorry，I’m  confuse about，blockCode render 111 also call inlineCode, It seem nest mixed. check props.children.props.className seem not graceful。


Fixes #67: respecting XDG_CONFIG_HOME for config

Hi, Surrealist shouldn't create files in the $HOME dir if the user doesn't want to (as mentioned in #67), this fixes that.
To have backwards compatibility:

check for the old config location, use it if it exists.
check if $XDG_CONFIG_HOME is set, if not use old location.
use $XDG_CONFIG_HOME/surrealist/config.json as location.

I have tested this on linux, I cannot test this on other platforms.
Thank you.

Thanks!


Add tests of update snippets with array/object/etc. prefix

Looking forward to the improvement of this multiple prefix function.


fix: index.js - eval suite if it is json string.

If prototype.js is specified in the karma config, the specSucess fails.
This is because the result.suite is a json string instead of the
array which it evalutes into.  This patch resolves the issue by
eval'ing the json back into an array.  I suppose it would be a problem
if the name of the suite began with "[", however.  Not sure how
likely that is?
Closes #30

I'd rather add some documentation about this than adding this hack into the code base. Would you be up to changing the PR to a simple docs update that warns about this?


BNCurve.hashModOrder can return negative

In BNCurve.hashModOrder, the BigInteger is constructed from the hash output without specifying the signum argument to the constructor. Because BigInteger is two's-complement, if the hash output happens to start with a 1-bit, the BigInteger constructor will then interpret this as a negative number (though we assume all numbers are positive).
This is problematic because the result of the mod(this.getOrder()) operation, for the same byte array, will produce a different BigInteger if the hash is interpreted as a negative number.

Good catch, thanks Zane!


Add DSR Concepts to Fideslang [#94]

Closes https://github.com/ethyca/fideslang/issues/94
Code Changes

[x] Move FidesDatasetReference, FidesMeta, FidesCollectionKey, and CollectionMeta, and EdgeDirection concepts from Fides -> Fideslang.
[x] Rename Dataset.fidesctl_meta to Dataset.fides_meta - merging the ops and ctl concepts.  Currently this just has the resource_id field and a new after field that allows you to specify the Datasets which should precede the current Dataset when running a DSR
[x] Add DatasetCollection.fides_meta which currently only holds an after field, allowing you to specify which collections should run before the current collection in a DSR
[x] Add fides_meta fields to DatasetField which is a FidesMeta resource.  This has several attributes, including which fields the current field references or is referenced by,  if the current field can be queried directly using identity data supplied for a DSR, whether the field is a primary key, a fides-supported datatype and other less common attributes.

[x] Add additional DatasetField.fields validation for fields of object type, related to what data a DSR may return
[x] Add additional fides_meta validation

[x] Add a backwards compatible mixin that allows fidesops_meta to be specified on Datasets/Collections/Fields, and this is turned into a fides_meta attribute on instantiation
[x] Have FidesValidationError be a subclass of ValueError instead of Exception so Pydantic can pick this up and raise ValidationErrors that are handled properly in FastAPI (note: this was one of the reasons why we opted to override FidesKey in Fidesops. See the "FidesOpsKey" concept in Fides.
[x] Add "<", ">" to allowed keys in FidesKey (need approval that this is OK) - this is useful in the saas datasets where we want to specify fields in yaml that are eventually replaced with other text

Steps to Confirm
I think the best way to validate is to pull this fides branch down and QA it, which is specifically using this fideslang branch https://github.com/ethyca/fides/pull/2009

[ ] First check out main. In the Admin UI, under connections http://localhost:3000/datastore-connection, create a Postgres Connection and a Saas connector like sentry.  Verify in the db that their datasetconfig.datasets uses fidesops_meta.  Run a privacy request
[ ] Still in main, also go to the Datasets tab and create a Dataset http://localhost:3000/dataset.  Verify existence in ctl_datasets table
[ ] Now switch to https://github.com/ethyca/fides/pull/2009 branch.  View the previously created ops dataset Postgres configs and saas configs.  View the previously created ctl dataset
[ ] Run another privacy request that should use the previously saved connection configs with fidesops_meta
[ ] Delete those connectors and create new ones - Verify in the db that their datasetconfig.datasets uses fides_meta. now
[ ] Run a privacy request, verify output is what is expected.
[ ]  go to the Datasets tab and create another dataset http://localhost:3000/dataset.  Verify existence in ctl_datasets table
[ ] Verify ctl_datasets table has fides_meta column instead of fidesctl_meta.
[ ] Spot check various cli commands

Pre-Merge Checklist

[x] All CI Pipelines Succeeded
[ ] Documentation Updated
[ ] Issue Requirements are Met
[ ] Relevant Follow-Up Issues Created
[ ] Update CHANGELOG.md

Description Of Changes
Fidesops expanded Fideslang Dataset/Collection/Field concepts in its own repo primarily to add concepts to carry out DSR's.  The most important of these are the DatasetField.fidesops_meta information which summarizes things like how collections are related to each other or if a collection is an entrypoint (what identity data we should start with to query the collection).
Move several DSR concepts from Fides back to Fideslang.

thanks so much for your comments @SteveDMurphy 🏆

these steps to confirm are 🔥 thank you for being so thorough @pattisdr

Thanks so much for your comments @TheAndrewJackson and @ThomasLaPiana. I'll address today!

So I think we can go ahead and merge this!  For fides to be able to use this, there are some slight tweaks needed but we are handling as part of the unified fides resources. Fides is pinned to a specific fideslang version so I think this should be fine.


How is this async?

From your source, you don't seem to do anything async here. Your JSON.parse is in the main thread and does block the event loop.

Not real async because parsing is a pure CPU function.
The only thing you can do is deferred the execution/response for the next tick. Exactly the thing this library does.
BTW, I think this library is outdated; Currently Please, check json-future 😄


insync: <IP_ADDRESS>499 -> <IP_ADDRESS>504

Description of changes
Upgrading to insync <IP_ADDRESS>504.
Fixes:

Top-level runner is now simply insync, in sync with vendor's desktopfile.
Desktop files part of the top package.

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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

[ ] Fits CONTRIBUTING.md.

@ofborg build insync

Hmm, why is https://github.com/NixOS/nixpkgs/pull/233044/checks?check_run_id=13630890667 not evaluated?

Thanks for this! Can you please also add the contents of /share/icons?

/share/man would be good to in order to have man pages for the cli commands.

Thanks for this! Can you please also add the contents of /share/icons?
/share/man would be good to in order to have man pages for the cli commands.

Actually I might just expose all /share from insync vendor package:
$ tree -L 2  ./result/share
./result/share
├── applications
│   ├── insync.desktop
│   └── insync-helper.desktop
├── doc
│   └── insync
├── icons
│   └── hicolor
├── man
│   └── man1
└── mime
    └── packages

Btw, what are you looking from having /share/icons exposed in the top-level package? I am still getting nonetheless:
$ ./result/bin/insync start --no-daemon
QSystemTrayIcon::setVisible: No Icon set

The icons need to be exposed in order for desktop environments to find them. That way it will show the insync icon when you put the launcher in the dock or taskbar.

The icons need to be exposed in order for desktop environments to find them. That way it will show the insync icon when you put the launcher in the dock or taskbar.

I meant the SystemTrayIcon, they were not working for me.
I am yet to upgrade to 23.05, I hope to do that shortly after the release. So I cannot actually fully test this package apart from running the ./result/bin/insync for now. If you could test and report if the known bugs are fixed, that'd be great! If not it's not a problem neither, I will give it another short another time!

Thanks @SuperSandro2000, incorporated your changes, especially now using stdenvNoCC in both occasions.
I haven't found the original document of it, but I assume it means what it says on the label...

@hellwolf Thank you very much for your work on this!
I am running nix on Fedora Silverblue and I was getting this error when running insync start
Doing a little bit of googling I found NixGL which may be necessary for people running nix on something other than NixOS.
After doing
nix-channel --add https://github.com/guibou/nixGL/archive/main.tar.gz nixgl && nix-channel --update   nix-env -iA nixgl.auto.nixGLDefault
I was able to get insync running with
nixGL insync start
However, while an entry shows up in the KDE systemtray for Insync, there's no icon there. I can open up the insync app window if I right click on the entry in the systemtray, but it would be nice if I could get an icon to show up.
If anyone knows how to address that, please chime in.
Thanks again!

@hellwolf Thank you very much for your work on this!
I am running nix on Fedora Silverblue and I was getting this error when running insync start
Doing a little bit of googling I found NixGL which may be necessary for people running nix on something other than NixOS.
After doing nix-channel --add https://github.com/guibou/nixGL/archive/main.tar.gz nixgl && nix-channel --update ; nix-env -iA nixgl.auto.nixGLDefault
I was able to get insync running with
nixGL insync start
However, while an entry shows up in the KDE systemtray for Insync, there's no icon there. I can open up the insync app window if I right click on the entry in the systemtray, but it would be nice if I could get an icon to show up.
If anyone knows how to address that, please chime in.
Thanks again!

Thanks for the information. That is interesting, I haven't heard that before. Could it be Fedora Silverblue specific?
Also re icon not shown issue, it had been reported here: https://github.com/NixOS/nixpkgs/issues/244813

@hellwolf, Thanks very much for the reply. Yes, I think the bug that you link to is my issue and not something Silverblue specific. If I run insync status, I also get the same reply reported there, "Insync doesn't seem to be running. Start it first." Nevertheless, it is running and I can access it via the kde system tray, however there's simply a blank space for the icon. As you indicate, this is most likely an upstream bug. Thanks!


[Request] Grafana Dashboard

Hello, and thanks for this amazing exporter.
I'm not very good with PromQL and I'm sort of a beginner, I'd really appreciate it if you'd upload a Grafana dashboard .json for this exporter.

I use this kind of dashboard at work. I guess it should be a good start for you?
I can tweak a bit our json (since it use some labels very specific to us) and add it to the repo.

I use this kind of dashboard at work. I guess it should be a good start for you?
I can tweak a bit our json (since it use some labels very specific to us) and add it to the repo.

Could you add it to the repository?

Hi @aleroyer , could you attach you dashboard json?


Awake Feature UI Feedback

Description of the new feature / enhancement
As a user, I should be able to know if PC awake is currently off or keeping PC awake by looking at the notification bar icon, so that I get relevant status info without any mouse clicks.
A way to differentiate - maybe a little smoke over the cup of coffee so I know if it is active.
Scenario when this would be used?
There are instances I use Awake Feature, but looking at the blue colored coffee doesn't give me any idea if it is on or off, and would sometime give me anxiety if this was mistakenly toggled on / off with the way it is today.
Supporting information
No response

/dup #11996


Didnt work

When i use this library, the app didnt show the update from store even it has the latest version code. Please respond

According to the docs,

In-app updates are available only to user accounts that own the app. So, make sure the account you’re using has downloaded your app from Google Play at least once before using the account to test in-app updates.

Therefore what you can do is upload an APK with lower version code to play store and download it, Then again upload an APK with higher version code to playstore
Also, In-app updates works only with devices running Android 5.0 (API level 21) or higher

I have already did as you said, it's not really works, anything I'm missing
further
On Fri, Jul 19, 2019, 18:25 Sanoj Punchihewa<EMAIL_ADDRESS>wrote:

According to the docs,
In-app updates are available only to user accounts that own the app. So,
make sure the account you’re using has downloaded your app from Google Play
at least once before using the account to test in-app updates.
Therefore what you can do is upload an APK with lower version code to play
store and download it, Then again upload an APK with higher version code to
playstore
Also, In-app updates works only with devices running Android 5.0 (API
level 21) or higher
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SanojPunchihewa/InAppUpdater/issues/3?email_source=notifications&email_token=ADFXYXF646VUJEFASGDZOG3QAG2VPA5CNFSM4IFFNJQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2LRM4I#issuecomment-513218161,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADFXYXGTEL345TDVZV5IJC3QAG2VPANCNFSM4IFFNJQA
.

It's hard to say anything without knowing what you have done and how you have done it. Have a look at the demo app

Have added the code of your git project in my splash screen, my current app
version is 1.11 and in store having 1.12 version
But it still not showing update info. Before that my app is in beta mode,
today have rolled out to production also
On Fri, Jul 19, 2019, 19:20 Sanoj Punchihewa<EMAIL_ADDRESS>wrote:

It's hard to say anything without knowing what you have done and how you
have done it. Have a look at the demo app
https://github.com/SanojPunchihewa/InAppUpdater/tree/master/app
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SanojPunchihewa/InAppUpdater/issues/3?email_source=notifications&email_token=ADFXYXHVWXOB5F7BVCCFPE3QAHBDZA5CNFSM4IFFNJQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2LVZSY#issuecomment-513236171,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADFXYXDUNW37JWBOHAYPZMLQAHBDZANCNFSM4IFFNJQA
.

What is the OS of the device you are using to test?

On Android 8.0 oreo
On Fri, Jul 19, 2019, 21:03 Sanoj Punchihewa<EMAIL_ADDRESS>wrote:

What is the OS of the device you are using to test?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SanojPunchihewa/InAppUpdater/issues/3?email_source=notifications&email_token=ADFXYXBRCDOBLD2TGFXMEQ3QAHNERA5CNFSM4IFFNJQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2L7F6Y#issuecomment-513274619,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADFXYXHCEQZLCOXH6LYZBXDQAHNERANCNFSM4IFFNJQA
.

@santhoshrao519 Are you still there? I released an alpha version(1.0.3-alpha.1) with debug logs . Can you try to update the dependency to 1.0.3-alpha.1 and check for Debug logs(use UpdateManager regex to filter the logs)

Closing issue due to inactivity of the author


YI Dome U 2K (h51ga) reboot frequently

Hi,
I've got an issue with my h51ga camera, firmware version 0.3.2, base version <IP_ADDRESS>_202109101104. It frequently (once or twice an hour) reboots.
Here are some info :

The following services are enabled :

RTSP server
ONVIF
SSH
FTP
NTPD
HTTPD
All the others are disabled.

The swap file is enabled, and the swappiness value is at 15.
The kernel tuning is enabled.
No detection is enabled.
Is there a way to fix this issue ?
Thanks.

Try to disable kernel tuning.
For some models these settings are too "strong".

I've the same issue. Disabling kernel optimization didn't help. After a reboot all camera settings are reverted.
@roleoroleo do you know any workaround?

Please try another power supply or cable.
II have seen this problem many times.


Demo Offline?

Hi, we are considering using/contributing to this theme for a time-sensitive prototype project
It's not clear if it is current and ready for deployment.
Additionally, the demo at: https://demo.vuetique.io/ is currently offline
Can you please confirm status of the Demo and this project?
Thanks!
Terrrance

Hi, master branch is ready for deployment, but it's for VSF 1.11. There is release/1.12.2 branch for VSF 1.12 but it's not fully tested yet.
Demo is offline currently, @youanden may know more about it.

@EarthmanWeb Demo is online


[HG] Add new category for Outdoor Kitchens

Add new category for Outdoor Kitchens and expand Furniture/Fixture material to Prefabricated Kitchens & Kitchenettes:

I think that need to add "item included" as attribute with sink, Cabinet etc.

Yes, agreed. Let's add Furniture/Fixture features that captures most of those values.


Add Stringtie script

Add stringtie script and just an update from the fork sync on the README_human.md file.

I have just realised some text issues that arose after the fork sync, but hopefully I have fixed them with this final commit


should GLCreateContext use a *Window receiver?

I expected to be able to call window.GLCreateContext() as other functions follow that pattern, but currently it is sdl.GLCreateContext(window)

Hi @jackmott
I've merged the following changes into the Master branch. Thank you for bringing this up.

GLCreateContext(), GLMakeCurrent(), GLGetDrawableSize(), GLSwapWindow() are now methods of Window
Renamed GL_SwapWindow() to GLSwap()

func (window *Window) GLCreateContext() {}
func (window *Window) GLMakeCurrent(glcontext GLContext) {}
func (window *Window) GLGetDrawableSize() {}
func (window *Window) GLSwap() {}


docker-sercrets scan command runs infinitely in ubuntu container

After I have installed the the detect secret Version: 0.14.3 i am trying to run detect-secrets scan command in container but unfortunately it runs infinitely in project root directory. Am I missing something here ?

@ramshankar000 , try running it with the verbose flags on -vvv. This will often give you a good start for debugging. If you are still stuck, please provide some output from this that our team can look at to investigate.

We're going to close this issue as it hasn't received any update in a very long time. Feel free to re-open it if you think it's still relevant.


Possibility to disable logging native commands

I have suggestion to add option to disable logging native commands.
I use looped $.native.getNativeViews and my output from flutter logs looks like:

Adding patrol_cli label because I think we'll also want a possibility to disable these logs with some CLI flag. We could re-use --verbose for it (if passed, then print the native logs), but I don't think it's a good idea – --verbose is a bit different thing.
We can add a

@bartekpacia We need to be able to do custom logging with patrol, is there any movement on adding nativeAutomatorLogger as an argument to the PatrolTester constructor so it can be used inside patrolTest?


Refactor queries to be in single variables instead of an object

/cib remove query objects

Branch 29-remove-query-objects created!

Wrong repo oops


user_add_creditcard now can return 805 error code

805 This user is not allowed to use this method

Awesome!

Oops. Sorry @akhrol you have to revert this. stable uses only HTTP codes.


Increase in frames after switching between chrome and crouton repeatedly

Please paste the output of the following command here: [Not Applicable]

name: xenial
encrypted: no
crouton: version 1-20200724165050~master:08dac970
release: xenial
architecture: amd64
xmethod: xorg
targets: xfce
host: version 13816.55.0 (Official Build) stable-channel setzer
kernel: Linux localhost 4.19.176-11262-ge5fd762f9648 #1 SMP PREEMPT Mon Apr 19 20:11:30 PDT 2021 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Please describe your issue:
I'm trying to run minecraft on crouton and usually have horrible frames. However, sometimes when switching between chrome and crouton, I get up to 60 frames consistently. I want to replicate this all the time. Also I've noticed that crouton is only using 60% of its cpu and not much in general even after considering I changed the niceness of java to -20. Anyone know how to also use 100% or close to that much cpu?
If known, describe the steps to reproduce the issue:
Switch back and forth between chrome os and crouton over and over

Download a recent linux release like focal fossa. It should have updated drivers. Xenial is pretty old now. There's a whole disccusion about focal fossa in pinnied issues

Download a recent linux release like focal fossa. It should have updated drivers. Xenial is pretty old now. There's a whole discussion about focal fossa in pinned issues


Pie Chart Support

Hi Team,
Is there any roadmap to include Pie Chart as one of the Chart options?

Hi Praveen, it's not on our roadmap currently.


fix broken link

Which issue(s) this PR addresses:

This PR is to fix the broken link of enabeld_apis(https://github.com/openshift/microshift/blob/main/docs/enabled_apis.md)

/lgtm


pkg/asset/internal: standardize around k8s-app label

We'll wait until the tectonic one goes in before merging this. Also the only tests that failed are the api-server deletion ones because the test relies on component labels. Will update the tests after this merges.

Tectonic one is in and they tested api-server deletion successful which is the one part of our suite down because of label change. So this should be OK to merge.


[Bug]: Snowflake key pair auth - user gets logged out on trying to save snowflake datasource credentials in the attached application

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When I try to configure a particular snowflake datasource for an environment that is not already configured, I get logged out
Steps To Reproduce

Login to release-ee.appsmith.com and open the app here.
Edit the Snowwithpassphrase datasource
Add the details for staging config and test. Test passes
Save the config and note that you get logged out

Public Sample App
No response
Environment
Release
Severity
High (Blocker to building or releasing)
Issue video log
https://jam.dev/c/6dd56d80-fbd1-4480-bcea-2d29e1fdcc13
Version
Cloud

Bumping this issue up to prod because it should have made it's way there by now if it was not fixed

After thorough investigation, figured out the steps to reproduce the issue consistently across any apps and datasources. Below are the steps:
Steps:

Create any datasource (where environments is supported) Postgres, MySQL, MSSQL, Redshift or Snowflake
Go to manage environments and add a new environment for eg. testenv
Now configure this datasource for the new environment and save it
Edit the datasource again and delete the environment for which we had configured our datasource
Once the environment is deleted, edit the datasource again, go to production/staging environment and save it. This time we will get logged out and redirected to the login page.

Short RCA:
This is happening because environment mapping stored in datasourceStorages does not get deleted when we delete environments, which leads to incorrect environments keys being present in datasourceStorages which leads to You do not have access to this environment error with 401 which logs out the user.
Decision for snowflake roll out:
Since this is a core environments deletion issue and not specific to snowflake or snowflake key pair auth feature, we can confidently roll out this feature to 100% of the users.
Tagging @manish535 and @nidhi-nair to take a further look into it.
CC: @nerbos @rohan-arthur @carinanfonseca

Very specific scenario and user flow, where this issue can occur. Considering the probability of this scenario to be very less, deprioiritising to low.

we should roll out this feature to GA, and also update #33278 upon doing so


Add support for seek-bzip style indexing and decompressing individual blocks

Bzip2 files can be randomly accessed if you can index which compressed bit offsets map to which uncompressed byte offsets.
It seems that the original seek-bzip was on BitBucket and was taken down upon the author's untimely death last year. But there is a fork on GitHub: https://github.com/cscott/seek-bzip and also a JavaScript implementation: https://github.com/galaxyproject/seek-bzip2
I've tried looking at the code but I'm too new to rust. I guess it can already decompress a single block or a range of blocks pretty trivially. I was looking at the test code in block/mod.rs
For supporting bzip-table, we need to do most of the decompression of each block the output the a mapping from the bit offset where each block begins in the compressed file, to either the byte offset of the length in bytes of that block in the raw file. Since we're throwing away the decompressed blocks as we're only interested in their lengths, there's probably a shortcut possible where we don't have to fully decompress the block.

Thanks for the detailed explaination. I didn't realize seeking bzip2 decompression was possible, and would indeed be very interesting for this crate to implement for a future release.
I have some parts of the block decoder I'd like to refactor, making it easier to implement features like this one, so we could get back to this after I get a chance to do that.

No worries. It's not that widely known but there are quite a few projects that use this functionality that I found last time I looked around. I might put a feature request in on the C FFI bzip2 module as well but yours is faster - thanks for making it. Random access is possible in gzip too but in a quite different way, but I haven't looked at the Rust gzip crates yet.

Here's my quick attempt at adding bzip-table as a test in src/decoder/block/mod.rs
I'm not good enough yet at either Rust or the codebase to integrate it better or to shortcut getting just the length of the output block without fully decompressing it, assuming that is possible. It tests the first few entries of the current latest English Wiktionary dump file (non-multistream) here: https://dumps.wikimedia.org/enwiktionary/20210701/
It's quite slow as a debug build but as a release build I think it's already faster than existing bzip-table implementations!
    use std::fs::File;
    use std::io::Read;
    use std::io::BufReader;

    #[test]

    fn bziptable() {
        let file = File::open("../Downloads/enwiktionary-20210701-pages-articles.xml.bz2").unwrap();
        let mut br = BufReader::new(file);
        let mut compressed = vec![0; 1024 * 1024 * 820];
        br.read_to_end(&mut compressed).unwrap();

        let header = Header::parse(compressed[..4].try_into().unwrap()).unwrap();
        println!("SEEK BZIP BLOCK SIZE: {}", header.raw_blocksize());

        let compressed = &compressed[4..];

        let mut bits = BitReader::new(&compressed);
        let mut reader = Block::new(header);

        let mut out = vec![0u8; 1024 * 1024 * 820];

        let mut table: Vec<(usize, usize)> = vec!();

        let mut i = 0;

        loop {
            let bitpos_before = bits.position();
            reader.set_ready_for_read();
            if let Ok(bytelen) = reader.read(&mut bits, &mut out) {

                println!("SEEK BZIP TABLE: {}\t{}", 32 + bitpos_before, bytelen);
                table.push((32 + bitpos_before, bytelen));
            } else {
                break;
            }
            i += 1;
        }

        let expected: [(usize, usize); 10] = [
            (32, 899219),
            (1885718, 899712),
            (3785876, 901449),
            (5313257, 900445),
            (7093243, 900820),
            (8407991, 897722),
            (10199906, 899613),
            (12034482, 898887),
            (13990588, 899440),
            (15907858, 899643),
        ];
        assert_eq!(&table[..10], expected);
    }


A question about r_gcn

When trying to train a r_gcn model with the following  code:
from deeprobust.graph.data import Dataset from deeprobust.graph.defense import RGCN data = Dataset(root='/tmp/', name='cora') adj, features, labels = data.adj, data.features, data.labels idx_train, idx_val, idx_test = data.idx_train, data.idx_val, data.idx_test rgcn = RGCN(nnodes=adj.shape[0],nfeat=features.shape[1],           nhid=16,           nclass=labels.max().item() + 1,           dropout=0.5, device='cuda') rgcn.fit(features, adj, labels, idx_train) # train without earlystopping rgcn.fit(features, adj, labels, idx_train, idx_val, patience=30) # train with earlystopping rgcn.test(idx_test)
I encountered the following error:
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! (when checking arugment for argument mat2 in method wrapper_mm)
I also tried the codes in the official document by changing the parameter "device='cpu'" into "device='cuda'", it also raised the same error.

Hi, can you provide more details about this bug?  I just ran python examples/graph/test_rgcn.py and it works fine.

Ah, silly of me. I forgot to add that model = model.to(device). Sorry about that.


request_ocs_local_storage role fails with Waiting for pv pods to come up for all nodes

Describe the bug
request_ocs_local_storage role fails with Waiting for pv pods to come up for all nodes.
The localblock CR seems to be saying found possible matching disk, waiting 1m0s to claim and thats the only event 20 mins later
To Reproduce
Steps to reproduce the behavior:

Get OCP cluster on Fyre
??? Install ICP4D - NOT SURE if this is important for recreating the issues ???
Run request_ocs_local_storage role against cluster.

Expected behavior
request_ocs_local_storage role to pass
OCP
4.6.16 with 3 master, 3 worker (64gb ram, 300 GB extra disk, 16 CPU)
Additional context
localblock-describe.log
auto-discover-devices-describe.log
playbookSnippet.log

TWe eventually figured out the issue, It was caused by use trying csi_cephfs role first which started to use the disks on the fyre nodes (/dev/vdb) and so the ocs_local_storage role failed when the disks were already in use.


Remove highlight designation from user profile edit page

There's text regarding "highlight designation" but it doesn't seem to do anything. Maybe it should be removed.

Yes we should remove it.


Incomplete shceduling for "where"

I was trying TVM IR with the following simple computation pattern that creates a set of reference data ref to filter the computation at the next stage. Here is the code I used:
N = tvm.var('N')
V = tvm.var('V')

data = tvm.placeholder((N,V), name='data')
rv = tvm.reduce_axis((0, N), name='rv')

ref  = tvm.compute((N,), lambda n: data[n, 0], name='ref')
masked_data = tvm.compute((N,),
        lambda n: tvm.sum(data[n, rv], rv, ref[rv] == 1),
        name='masked_data')

s = tvm.create_schedule(masked_data.op)
print(tvm.lower(s, [data, ref, masked_data], simple_mode=True))

The output from lower is shown below:
produce masked_data {
  for (n, 0, N) {
    masked_data[n] = 0.000000f
    for (rv, 0, N) {
      if ((ref[rv] == 1.000000f)) {
        masked_data[n] = (masked_data[n] + data[((n*V) + rv)])
      }
    }
  }
}

As can be seen, the computation for ref was missing. Did I misunderstand anything of using TVM IR?
p.s. I know this piece of code looks silly since we can achieve the same functionality without creating ref. On the other hand, this is just the simplified code example to illustrate the problem I'm encountering.

TVM fails to detect the dependence here. You can explicitly add it when creating schedule
s = tvm.create_schedule([ref.op, masked_data.op])

Thanks, it works!
Would you please confirm if this is a bug or not? I'll take a closer look and try to fix it if so.

I think it is a bug. if you put ref in the body of tvm.sum,  tvm can detect the dependency. But it fails when ref is in the condition.

seems to be a bug that should be fixed

@comaniac @merrymercy do you mind look into it and submit a fix? Likely we missed something when trace the dependency(in visitor or some recursive pattern)

Sure I'll take a close look later on, since I have other plans during the Christmas.


Distributed Ingest  bug

When running
- chico(rate=10mb)*4

Indexer eventually stops with as indexer-0 WAL hits its disk limit.
(Example at 8:42 UTC december 28.)
The WAL memory limit truncation on the other hand is ok.
After stopping pushing new documents, the faulty server does not go back to normal (the WAL stays at the limit).
This suggests a single shard is not being truncated ever.
Downloading the WAL informs us that the
shard 4 of simian_chico_1072342904323664203 still contains documents.
3838250..3956732
The publish position in the metastore is 3838249. (which matches the WAL)
This position is alspo published correctly on chitchat. The logs tell us the last publish happended on indexer1 at 2023-12-28 08:44:49.105.
At 08:43:04.356, indexer-2 receives the assign shard command for shard 4.
https://console.cloud.google.com/logs/query;query=resource.labels.container_name%3D"quickwit" resource.labels.namespace_name%3D"simian"
labels."k8s-pod%2Fstatefulset_kubernetes_io%2Fpod-name"%3D"simian-indexer-2";summaryFields=labels%252F%2522k8s-pod%252Fstatefulset_kubernetes_io%252Fpod-name%2522:false:32:beginning;cursorTimestamp=2023-12-28T08:44:14.307609241Z;startTime=2023-12-28T08:43:04.000Z;endTime=2023-12-28T08:44:57.384Z?_ga=2.235303489.-1376293965.1696294435&_gac=1.85231211.1703487344.CjwKCAiAyp-sBhBSEiwAWWzTnjRcqsvgsNhTwM-zzGj6rqUmDwRdBHD-yaauJLT3F1KcA3iiWXpPgxoCwZ8QAvD_BwE&hl=fr&authuser=1&project=quickwit-prod
We see invalid publish token errors.

What this is not:

a truncation message not being sent.

What this is:

a bug somewhere in the ingester or the ingesting pipeline that puts it in a state where indexing never progress on a shard.

Everything looks like somehow an error occurs, and indexing stops.
023-12-28 08:43:28.171
ingester 0 not available closing shard 4.
INFO 2023-12-28T08:43:28.171370938Z [labels."k8s-pod.statefulsetKubernetesIo.pod-name": simian-indexer-2] [resource.labels.containerName: quickwit] 2023-12-28T08:43:28.171Z ERROR quickwit_ingest::ingest_v2::fetch: ingester `simian-indexer-0` is not available: closing fetch stream client_id=indexer/simian-indexer-2/simian_chico_1072342904323664203:01HJQP9T4YVTSG528AH2R1JB0M/_ingest-source/01HJQP9T8GDXQ2YWT8Q8FGK8TR index_uid=simian_chico_1072342904323664203:01HJQP9T4YVTSG528AH2R1JB0M source_id=_ingest-source shard_id=4
  {
    "textPayload": "2023-12-28T08:43:28.171Z ERROR quickwit_ingest::ingest_v2::fetch: ingester `simian-indexer-0` is not available: closing fetch stream client_id=indexer/simian-indexer-2/simian_chico_1072342904323664203:01HJQP9T4YVTSG528AH2R1JB0M/_ingest-source/01HJQP9T8GDXQ2YWT8Q8FGK8TR index_uid=simian_chico_1072342904323664203:01HJQP9T4YVTSG528AH2R1JB0M source_id=_ingest-source shard_id=4",
    "insertId": "hm3q6a38ab365heg",
    "resource": {
      "type": "k8s_container",
      "labels": {
        "location": "us-east1-d",
        "cluster_name": "quickwit-prod-gke",
        "container_name": "quickwit",
        "project_id": "quickwit-prod",
        "namespace_name": "simian",
        "pod_name": "simian-indexer-2"
      }
    },
    "timestamp": "2023-12-28T08:43:28.171370938Z",
    "severity": "INFO",
    "labels": {
      "k8s-pod/app_kubernetes_io/component": "indexer",
      "k8s-pod/app_kubernetes_io/name": "quickwit",
      "k8s-pod/controller-revision-hash": "simian-indexer-5658df6d98",
      "compute.googleapis.com/resource_name": "gke-quickwit-prod-gk-quickwit-prod-gk-c4ded138-updk",
      "k8s-pod/statefulset_kubernetes_io/pod-name": "simian-indexer-2",
      "k8s-pod/app_kubernetes_io/instance": "release-name"
    },
    "logName": "projects/quickwit-prod/logs/stdout",
    "receiveTimestamp": "2023-12-28T08:43:32.440340296Z"
  }

Most likely possibility:
Ingester was removed from the pool due to overload and being detected as failing in chitchat.
Source just removed it from the shards being consumed forever.
 let Some(mut ingester) = ingester_pool.get(ingester_id) else {
            if let Some(failover_ingester_id) = failover_ingester_id_opt {
                warn!(
                    client_id=%client_id,
                    index_uid=%index_uid,
                    source_id=%source_id,
                    shard_id=%shard_id,
                    "ingester `{ingester_id}` is not available: failing over to ingester `{failover_ingester_id}`"
                );
            } else {
                error!(
                    client_id=%client_id,
                    index_uid=%index_uid,
                    source_id=%source_id,
                    shard_id=%shard_id,
                    "ingester `{ingester_id}` is not available: closing fetch stream"
                );
                let ingest_error = IngestV2Error::IngesterUnavailable {
                    ingester_id: ingester_id.clone(),
                };
                // Attempt to send the error to the consumer in a best-effort manner before
                // returning.
                let fetch_stream_error = FetchStreamError {
                    index_uid,
                    source_id,
                    shard_id,
                    ingest_error,
                };
                let _ = fetch_message_tx.send(Err(fetch_stream_error)).await;
                return;
            }
            continue;
        };


Make training scripts also Linux compatible

Datastores created under Windows cannot be reopened in Linux (accessing the images)!


tf.contrib.layers.bias_add

Describe the feature and the current behavior/state.
Relevant information

Are you willing to contribute it (yes/no): no
If you wish to contribute, then read the requirements for new contributions in CONTRIBUTING.md
Are you willing to maintain it going forward? (yes/no): no
Is there a relevant academic paper? (if so, where): -
Does the relavent academic paper exceed 50 citations? (yes/no): -
Is there already an implementation in another framework? (if so, where): -
Was it part of tf.contrib? (if so, where): tf.contrib.layers.bias_add

Which API type would this fall under (layer, metric, optimizer, etc.)
layer
Who will benefit with this feature?
all users that need use tf.contrib.layers.bias_add
Any other info.
I was maintaining a tf project that was written in TF1. I use tf.compat.v1 in many part of it but in some places, that project rely on tf.contrib and uses tf.contrib.layers.bias_add function. I couldn't find any suitable replace function for that, so I decide to tell you to add tf.contrib.layers.bias_add in addons or where you want.
Sorry for my bad English and thank you for your attention.

Did you solve this problem? I have met it too but I can find any solutions.

I met this too but have no idea what tf.contrib.layers.bias_add has became :<

TensorFlow Addons is transitioning to a minimal maintenance and release mode. New features will not be added to this repository. For more information, please see our public messaging on this decision:
TensorFlow Addons Wind Down
Please consider sending feature requests / contributions to other repositories in the TF community with a similar charters to TFA:
Keras
Keras-CV
Keras-NLP


page links in merge mode

I am using SG to create a dynamic catalogue.
The catalogue is updated on a regular base (changing the order of pages).
I set up SG to create single pages and merge them in 1.
In the table of contents, the various chapters should link to the relevant page in the merged document.
The source table tells which page each line should link to.
I am not sure how to create this variable in SG.
Any ideas?
Thanks!

a few ideas: (sorry for late reply, I got no notification for this issue... don't know why)

https://github.com/AlterScribus/ece15 contains feature of a style-based table of content generator
https://github.com/aoloe/scribus-plugin-tableofcontents generates a table of content based on style name (h1, h2, h3...)

You could then simply create your catalogue in SLA with the "merge" mode, and apply (once) the TOC generator of your choice.
Kindly let me know how this goes !
B.


Bulk Not Increasing with size

The amount of bulk a creature can have as encumbered and max is not changing with size. Tiny, Small, Large all have base 5, max 10

The values you are seeing are bulk for items appropriate to the size of the creature. See https://2e.aonprd.com/Rules.aspx?ID=256

To go into more detail, while the Bulk limit of a large creature is doubled (Bulk Limit column), the actual bulk of the items themselves is also reduced in the same tables. However, were we to implement both, then Tiny or Large (or larger) creatures can usually wear and carry about the same amount of appropriately sized gear as a Medium creature. would become an untrue statement. Therefore it is not RAI to implement all of it and we have to pick and choose.
Foundry chose to implement bulk item adjustments, but a different implementation that instead alters maximum bulk could be feasible. I think it'd be reasonable to implement a bulk methodology option that chooses between the two, but someone would have to be willing to implement it, and it'd need to be as uninvasive (aka clean) as possible because it turns out that most people don't actually care about encumbrance.


Prioritize by gas price

This replaces the previous transaction prioritization logic with a simple prioritization by gas price.
This PR takes the opinion that it is not pallet-ethereum's job to ensure that ethereum transactions are prioritized fairly with "normal" frame transactions. Rather it it pallet ethereum's job to prioritize transactions the way ethereum does.
It is the up to any runtime that uses both frame- and pallet-ethereum-style transactions to make sure they are prioritized fairly relative to one another. (This concern is not addressed in this PR.)

lgtm, and all tests pass for me locally. Something went sideways in the CI.


bitwarden-cli: Add xcodebuild to darwin build input.

Description of changes
Add xcodebuild to darwin build input. It fixes the error:
npm error FileNotFoundError: [Errno 2] No such file or directory: 'xcodebuild'

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.11 Release Notes (or backporting 23.11 and 24.05 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.

Add a :+1: reaction to pull requests you find important.

@dotlambda Are you able to review this pull request?

This seems to no longer be necessary with https://github.com/NixOS/nixpkgs/pull/350601, where the build fails for a different reason.