with create() an  ObjectID inside inner object get null value

Waterline version: 0.13.4
Node version: 8.9.1
NPM version: 6.0.1
Operating system: Mac OSX

When i try to insert the following object:
var ObjectID = require('mongodb').ObjectID;
var data_to_insert = {
      user: {
        id: ObjectID( '5b03ce2c0614084178992b83' ),
        fullname: "Mr. Foo Boo",
        avatar: ''
      },
      discussion_id: ObjectID('b9a38ab8936d83129ee55922'),
      content: "bla bla bla bla"
};

If i use the the following command:
Comment.create(data_to_insert)
    .then(function (comment_res) {
        console.log(comment_res)
    })
    .catch(function (err) {
        console.log(err)
    });

I got the following error:
{ AdapterError: Unexpected error from database adapter: object [{"_bsontype":"ObjectID","id":null}] is not a valid ObjectId
....
}

That is referred to the ObjectID in data_to_insert.user.id
But if i use the native command:
var db = Comment.getDatastore().manager;
var comment = db.collection(Comment.tableName);
comment.insert(data_to_send, function (err, results) {
        if (err) {
          console.log(err)
        }
        console.log(results)
});

It will work!
An other workaround that i found out is to use:
{ _bsontype: 'ObjectID', id: '5b03ce2c0614084178992b83' }

inside the inner json instead of:
ObjectID( '5b03ce2c0614084178992b83' )

Ok, fixed!

Hey @zvfvrv, I haven't been able to look more closely at this issue yet, but I did notice in your example that you're using promise chaining (.then() and .catch()).  The Sails/Waterline documentation now recommends using await, which protects you against process crashes and hard-to-debug issues that can stem from promise chaining and callbacks.  It's good to prevent those kinds of issues when you can.


TS-4934: Remove invalid assert

TS-4934
The active timeout could be happen with any states of stream. So this assert doesn't make sense.

FreeBSD build failed! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/934/ for details.

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/828/ for details.

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/936/ for details.

Looks good to me as well.  In my working branch I had extended this assert to
{code}
// Check to see if the stream is in the closed state
ink_assert(get_state() == HTTP2_STREAM_STATE_CLOSED || get_state() == HTTP2_STREAM_STATE_HALF_CLOSED_REMOTE);
{code}
But you are exactly right that with timeouts, checking the state is not particularly useful.

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/833/ for details.

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/941/ for details.


[GHSA-2c4m-59x9-fr2g] Gin Web Framework does not properly sanitize filename parameter of Context.FileAttachment function

Updates

Affected products

Comments
Add patched version

Duplicate of #2348


Update data for Colusa County for cannabis local ordinances

Testing PR review for Colusa County update

This does build not, but seems like we have some https config issues with the branch based PR request, so closing this for now.


Code Quality: use the aliasing also for teamindexes

#27 demonstrates a use case.

Wahts the usecase for aliases here if Neutral|Player|Monster already works?


Source:setPitch crashes game when pitch value less than one.

As described in the title, game crashes with the following message:
Error: monkey.lua:107: Pitch has to be non-zero, positive, finite number.

Referenced line 107:
monkey[n].walkingSound[1]:setPitch(math.random(0.8, 0.9))

Built using compatability version.

For Lua 5.1 the use of floats as arguments to math.random is undefined behaviour.
It looks like in luajit the return value defaults to using the lower bound (in this case 0.8) and in Lua 5.1 PUC (normal non jit lua) it defaults to 0. This is why you don't get an error when you run it on windows or linux, but would if you ran it on the web or on mac.
We have to use Lua 5.1 PUC for the web and mac targets as there is no luajit  support. Much of luajit is written in platform specific assembly.
Using one of the three defined behaviours for math.random fixes this problem. My recommendation for generating a range from 0.8 - 0.9 is:
monkey[n].walkingSound[1]:setPitch(math.random() / 10 + 0.8)


chore: release 2.5.0

:robot: I have created a release *beep* *boop*
2.5.0 (2019-08-19)
Features

allow octokit to be dependency injected (#229) (ac05dc6)
implement generic java strategy (#227) (53b62b8)

This PR was generated with Release Please.

Release is at https://github.com/googleapis/release-please/releases/tag/v2.5.0

The release build has started, the log can be viewed here. :sunflower:

:egg: You hatched a release! The release build finished successfully! :purple_heart:


Incorporate LocalCDN into WebAPPs?

https://gitlab.com/nobody42/localcdn provides a list of known CDNs and js, so that you don't have to load them from external services. This improves privacy and speed as well(according to webboost a similar extension). In the case of Webapps, the privacy part would be what we are interested in.
Often you need to enable cdns to make the site work, integrating cdns from localcdn, user would not have to deal with the most popular ones, and user experience would benefit without damaging privacy.
You could have an option to allow the user to load this list, or have it off or  by default, depends on what do you think is the best solution.
Localcdn does not work on firefox mobile (as far as i know), but you would be interested in getting just the loaded cdns and js.
Localcdn is opensource and it is an actively maintained fork of decentraleyes. It is under Mozilla Public License Version 2.0 so it is opensource.
The only downside I can see is that it would probably increase the size of the app of a few mbs (maybe 3 or 4?) but I think it shouldn't be an issue and it would be worth.

@zayuim Thanks again for updating UAs, any chance you could implement this?
https://codeberg.org/nobody/LocalCDN sourcecode is mostly js, don't know if you are familiar with it.

@WPFilmmaker Not a programmer I'm afraid. I only edited a config file to update the user agents.

It's a nice idea, but not something I would be keen to integrate. CDNs are not a big privacy threat in my opinion, esp. when you strip out the referrer, disable 3rd party cookies, and have local caching. The pain of keeping the resources and CDN redirect lists up to date is just not worth it.


Redo the playbooks to allow for parallel execution

This patch turns each of the packages into an inventory "host", which allows Ansible to become the driver of the various loops. Since multiple "hosts" can be processed at once, this should cut down on the time for a complete run. It will still process InstallModes serially per operator.

/lgtm


x/build/cmd/relui: improve layout for results and outputs

Task and Workflow results are formatted as json in relui. We should format them as a table or dictionary where appropriate in the UI, in order for it to be usable and not completely break the layout for large results (such as artifacts).

It's in pretty decent shape now.


refactor(documentation): generate docs from TSDoc and typescript

@martinkaintas The goal is to have  docs/api-reference.md file that containers all the SDK exported classes and methods only. All methods are in a single file that way it will be easier for developers to search for methods. Although, we can keep the rest of the supporting files under docs/api-reference/ directory

@martinkaintas The goal is to have docs/api-reference.md file that containers all the SDK exported classes and methods only. All methods are in a single file that way it will be easier for developers to search for methods. Although, we can keep the rest of the supporting files under docs/api-reference/ directory

I don't think putting it all into one file is a possibility with this tool. Maybe we want to switch to the .html version which also provides a search bar? It would look like this


unitary() init for qasm_output.py

Fixes https://github.com/quantumlib/Cirq/issues/1139
Derived from https://github.com/quantumlib/Cirq/pull/1145 by @vtomole

Automerge cancelled: No approved review.

Good bot :)

Bad bot :(

Automerge cancelled: A status check is failing.

Google booooootttt...


performance.py error when weights freq is None

On line 205 , method to_weights .
the expression
weights.index.levels[0].freq = factor_data.index.levels[0].freq
is trying to assign a freq , but when is None, raise an error
same as here
I think could be fixed just with that
weights.index.levels[0].freq= pd.tseries.frequencies.to_offset(factor_data.index.levels[0].freq)

The 'factor_data'  should conform to the output of utils.get_clean_factor_and_forward_returns and there documented. it requires freq to be set. So I don't know why you encountered that error. Could you please share some code that produces that error so that we can better understand the issue?

There is a function, infer_trading_calendar, which can be used to computed freq but that doesn't solve the issue: why isn't freq set in your code?

Feel free to reopen this issue if you have a test case where Alphalens fails


[YUNIKORN-670] Update the e2e test coverage matrix

What is this PR for?
chanage e2e test coverage from 1.16, 1.17, 1.18 to 1.17, 1.18, 1.19
What type of PR is it?

[ ] - Bug Fix
[x] - Sub-task
[ ] - Improvement
[ ] - Feature
[ ] - Documentation
[ ] - Hot Fix
[ ] - Refactoring

Todos

[ ] - Task

What is the Jira issue?
https://issues.apache.org/jira/browse/YUNIKORN-670
How should this be tested?
run e2e test via PR
Screenshots (if appropriate)
Questions:

[ ] - The licenses files need update.
[ ] - There is breaking changes for older versions.
[ ] - It needs documentation.

I should use v1.17.9 of kindest/node.

The code change looks good. But looks like we have even a basic installation issue on K8s 1.19.
We have to look into that first, need to try https://issues.apache.org/jira/browse/YUNIKORN-671 and fix the issue then we can rerun this.

Understood.
Weiwei Yang @.***> 於 2021年5月16日 週日 上午4:51寫道：

The code change looks good. But looks like we have even a basic
installation issue on K8s 1.19.
We have to look into that first, need to try
https://issues.apache.org/jira/browse/YUNIKORN-671 and fix the issue then
we can rerun this.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/apache/incubator-yunikorn-k8shim/pull/263#issuecomment-841723505,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AK6DJMBKULUJ6BD65SR52ADTN3NEVANCNFSM445R76AA
.


Stop calling the function in loadMoreAsync once end is reached !

There is one gotcha in the my app.
Consider,
<InfiniteScroll loadMoreAsync={this.callAPI} ...... />
callAPI() {
     /* here I'm sending request to the server */
}

Now if someone is constantly scrolling then function callAPI is called everytime without new content being loaded
So I think there must be a way to debounce once the end is reached & stop the loadMoreAsync function to be called until new content is loaded

@deadcoder0904 I think it should be on your side this kind of check. Because you know, the library, has no knowledge where data is coming from, neither it's safe to assume that an empty set necessarily means that no more data is present.
For example, imagine a list of images loaded from google. You could be querying the google image endpoint to get data with the real-time user input.
If the user inputs "cats" and you load all images available, it doesn't necessarily mean "no more images". It's just "no more cat images". That way by changing the query to "dog" you start returning new data, inside the same component.
Don't know if I made a clear example, of course it's easier to lose the user than having google to have no more images for a particular topic :)

@deadcoder0904 I usually make this by setting a state or redux prop with the no response status, or a boolean. Then my callAPI looks like:
callAPI() {
    if (this.state.noMoreToLoad) {
        return;
    }

    // actually load something
}

Yep, I tried doing the same thing.
I'm setting the state's loadMore boolean to false inside callAPI & after the API promise is resolved its toogled to true. But as you know this.setState is async I can't do that too 😢
I think this might make a question for StackOverflow. Posting it there 😂

@deadcoder0904 use redux, or if you can to async/await (if you're using a recent enough version).
By the way you could just wait for it
this.setState({something}, () => { /*mycallback here*/ })

Async/Await  works out of the box with react-native-cli & CRNA
Redux is what I'll use when it gets complex to manage 😕
Ur 3rd suggestion is awesome, I'll give it a shot 💯
Thanks 😄

You're welcome.
BTW a personal note, I didn't find any case where redux couldn't make it more simple to manage my app state, and to be honest nowadays I include it in almost any project I start, just to get rid of the state latency. When your components start to get bigger if you don't implement a proper shouldComponentUpdate logic it will considerably slow thing down, and users are not that tolerant.
Glad to help.

Not every application needs redux. Think about an application where each screen does not depend on any other screen. Also, Redux adds a lotta boilerplate. So no need for it in a simple app. Redux is nice & Dan & Andrew made it even nicer, but its overrated (even Dan said so) 😝
Thanks for helping me. I don't think I need StackOverflow now 😄

Sure, I agree with you. (Un)fortunately I never did an app that simple.
You’re welcome. Thank you agami for pointing out the README issues, I
didn’t even know until yesterday someone else was using this module.
Il giorno gio 10 ago 2017 alle 20:38 Akshay Kadam<EMAIL_ADDRESS>ha scritto:

Not every application needs redux. Think about an application where each
screen does not depend on any other screen. Also, Redux adds a lotta
boilerplate. So no need for it in a simple app. Redux is nice & Dan &
Andrew made it even nicer, but its overrated (even Dan
https://twitter.com/dan_abramov/status/667498006925717504?lang=en said
so) 😝
Thanks for helping me. I don't think I need StackOverflow now 😄
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/lexor90/react-native-infinite-scroll/issues/3#issuecomment-321637702,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABr_iBT9g0z4_IO6lMMtlpxmtX-7DfSRks5sW04sgaJpZM4Ozf7I
.

--
-- Alessandro


Add health and metrics port mapping for placement stand-alone mode

Description
Expose healthz and metrics ports when running self-hosted with docker.
Map healthz to 58080, and metrics to 59090, to keep 5xxxx port pattern and keep 8080 and 9090 port numbers which are easier to remember what these ports are mapped to.
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #800
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[ ] Created/updated tests
[ ] Extended the documentation

hi @mukundansundar
I am trying to extract Placement table information via Placement API but it is not working.
A brief summary on my situation below:
Dapr version: CLI version: 1.14.1 Runtime version: 1.14.4 in self-hosted mode with Docker Desktop on my Windows 11 Enterprise laptop
Dapr placement is running as a container on Docker Desktop by default Dapr Init.

I am trying to extract Placement table information via a GET to http://localhost:58080/placement/state but I am receiving 404 Page Not Found, whereas a GET to http://localhost:59090/placement/state is working with metrics information returned.
Can you please help to let me know any Dapr configuration missing?
Thank you,
Kelvin


implemented mesos force_pull_image

From 0.22.x Mesos implemented the force_pull_image flag but set it's default value to false. This means a 'latest' tag is ignored and the docker image is never pulled again, regardless of whether it has been updated on the docker registry.
Requires minimum Mesos 0.22.1.
Referencing these issues...
https://github.com/jenkinsci/mesos-plugin/issues/89
https://github.com/jenkinsci/mesos-plugin/issues/132

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests


[FEATURE] Please put Simple Calendar button back on Token Controls and not Journal Notes, or give us the option to always have the calendar open

I think I mentioned in a past report that hitting Esc on any window (such as a journal or character sheet) also closes Simple Calendar, and if I recall correctly you said you couldn't figure out how to make that not happen. I don't know if this would help, but you could look to IronMonk's Always HP module that managed to figure out how to keep their window permanently open, or even toggling it on and off in the Game Settings.
That said, if it just can't be done, then fair enough, but can you at least put the Calendar toggle back on Token Controls? I can tell you that my experience with this module has been a love/hate relationship between how amazingly useful it is and how frustrating the user experience has been. This is a module that if I could keep the window permanently open, I would want to be writing notes, keeping track of the time of day, fast forwarding every time they take a short/long rest or travel, and it would really add another level to my campaign, which is why I installed this module in the first place. But these little idiosyncrasies, where between hitting ESC closing the window, and now reopening it requires me to hit a button in the Journal Entries tab, has resulted in an overall experience where because it's just so out of sight, out of mind, I barely use the module, and I just kind of spitball at the end of sessions where I think the time should be, if I remember to do it at all.
So yeah, just some feedback! It might just be me experiencing this level of frustration and if so, then fair enough.

I moved the token control to the journals section because I had several people request that it be moved out of token control as it is not for controlling tokens and the journals notes section fits better for what the calendar does.
That said I could possibly add an option to allow the user to choose where it goes in the list then people who like it under token control can have it there.
The escape issue is that when you hit escape it calls the close function for that application. You can define how the close function works for your own applications and what I have found is that other modules just disable closing all together (which is what Always HP does). But allowing someone to click close and not close when escape is pressed is not possible through that function because it doesn't know what action was taken, just that it was told to close.
All that said I could again make a setting to disable being able to close Simple Calendar at all and change the button from the sidebar toggle it open/closed instead.

In version 2.1.73 I added a client setting called Persistent Open. When checked on the calendar the close button will be hidden, and escape will not close it. The button under the Journal Notes section then acts as a toggle to open/close the calendar.
I think that should cover your needs here!


[BUG] netscaler.adc.lbmonitor module logs nitro pass.  no_log is not set in this module

Describe the bug
The module netscaler.adc.lbmonitor apparently does not have the "no_log" option set.  As a result, it logs the password and warnings are given upon execution.
To Reproduce
Steps to reproduce the behaviour:
Use the netscaler.adc.lbmonitor module to create a new custom monitor.  My task is as follows:
  - name: Create TFTP Custom Monitor for Auto Deploy
    delegate_to: localhost
    netscaler.adc.lbmonitor:
      nitro_user: "{{ nitro_user }}"
      nitro_pass: "{{ nitro_pass }}"
      nsip: "{{ nsip }}"
      validate_certs: no

      monitorname: AutoDeployTFTP_Monitor
      state: present
      type: USER
      interval: 5
      resptimeout: 2
      scriptname: "nstftp.pl"
      scriptargs: "file=tramp;content=#!gpxe"

The ansible-playbook command I executed is...
ansible-playbook netscaler.yml

The ansible-playbook logs are...

TASK [Create TFTP Custom Monitor for Auto Deploy] ************************************************************************
[WARNING]: Module did not set no_log for password
ok: [XXX.XXX.XXX.XXX -> localhost]

I am seeing the below error...

[WARNING]: Module did not set no_log for password

Expected behaviour
I expected to not see the "no_log" warning and for the password to not be logged.  All other modules have "no_log" set.
Environment (please complete the following information):

Python version python --version output

python3 --version  Python 3.10.12

Ansible version ansible --version output
-ansible 2.10.17
config file = /home/USER/vsphere_auto_deploy/ansible.cfg
configured module search path = ['/home/USER/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /home/USER/.local/lib/python3.10/site-packages/ansible
executable location = /home/USER/.local/bin/ansible
python version = 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]
NetScaler version show ns version output
NetScaler NS13.1: Build 37.38.nc, Date: Nov 23 2022, 04:42:36   (64-bit)

Please install the latest unreleased collection to get the fix.

https://github.com/netscaler/ansible-collection-netscaleradc#installation

I have installed the latest unreleased collection, but it does not appear to fix the issue.  I still get the exact same error if the monitor is already bound.  It does not appear this resolves the issue.
From: Sumanth Lingappa @.>
Date: Wednesday, October 4, 2023 at 11:04 PM
To: netscaler/ansible-collection-netscaleradc @.>
Cc: Stahl, Jeff @.>, Author @.>
Subject: [External] Re: [netscaler/ansible-collection-netscaleradc] [BUG] netscaler.adc.lbmonitor module logs nitro pass. no_log is not set in this module (Issue #286)
[WARNING]: External Email
Please install the latest unreleased collection to get the fix.

https://github.com/netscaler/ansible-collection-netscaleradc#installation

—
Reply to this email directly, view it on GitHubhttps://github.com/netscaler/ansible-collection-netscaleradc/issues/286#issuecomment-1748000300, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3GLL24PLOTACTPWOIRGC63X5YWWHAVCNFSM6AAAAAA5MWPZ3KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBYGAYDAMZQGA.
You are receiving this because you authored the thread.Message ID: @.***>


Password reset email points to localhost

Describe the bug
Summary
The password reset email contains a link that points to http://localhost:9011/password/change...
URL / Environment
https://users.jodal.nl and user's email client
Steps to reproduce

Go to users.jodal.nl
Click on 'Forgot your password?'
Enter existing user email address
Go to email inbox
See link in password reset email

Expected behavior
Link in email leads to password reset form at users.jodal.nl
Screenshots

Additional context
The password reset functionality is currently not exposed to users, so the issue is non-critical.

Fixed in Fusionauth template.


Update template

@alias-rahil
We've added new files to the template, please make modifications accordingly.

Done(https://github.com/alias-rahil/CSI-BroBot/commit/d4d3d55874c08693fc3692fa387913f2c74dd3fb)!


Ebanx does not implement: do_query

Hi, guys!
I'm trying to use do_query to retrieve payment info like it is explained in the documentation but this is returning this error: Ebanx does not implement: do_query
In the repo there are no examples about other kind of requests. Could you help me with that?
Best regards,
Paulo

Thanks for the report. We'll analyze and if necessary we'll fix this behavior.

@sullyvannunes Any other alternative to query a payment using the gem ?

Hi @paulolangeraela
I couldn't reproduce the error mentioned, could you send us a piece of your code, and the full stack error please?


Update cspell config

@coliff does this still work for you? I don't use cspell through a code editor.

heya - happy new year :-) - yes, I've just tested the .cspell.json config in this PR and it works well with VS Code with https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker installed. 👍

It seems there's a gitignore config option we could use too, not sure if it's enabled by default and I can't figure it out from their docs.

It seems there's a gitignore config option we could use too, not sure if it's enabled by default and I can't figure it out from their docs.

Found this in the v5.12.0:
/**
 * Tells the spell checker to load `.gitignore` files and skip files that match the globs in the `.gitignore` files found.
 * @default false
 */
useGitignore?: boolean;

It was specified in their cspell.schema.json:
"useGitignore": {
    "default": false,
    "description": "Tells the spell checker to load `.gitignore` files and skip files that match the globs in the `.gitignore` files found.",
    "type": "boolean"
},

In the current source code it is still false by default.
The value could be switched in a next version. It was supposed to be done in v5.13.0 apparently. Don't know if it has been abandoned or forgotten.


Resolution error on build

Description
gridsome develop leads to this:
Error: Can't resolve 'core-js/modules/es6.array.filter' in '/home/maxie/GDrive/RHUL/y5/CS4821/FullUnit_1920_MaximilianBerkmann/spirit-cartel/node_modules/gridsome/app'
    at /home/maxie/GDrive/RHUL/y5/CS4821/FullUnit_1920_MaximilianBerkmann/spirit-cartel/node_modules/enhanced-resolve/lib/Resolver.js:209:21
    at /home/maxie/GDrive/RHUL/y5/CS4821/FullUnit_1920_MaximilianBerkmann/spirit-cartel/node_modules/enhanced-resolve/lib/Resolver.js:285:5
    at eval (eval at create (/home/maxie/GDrive/RHUL/y5/CS4821/FullUnit_1920_MaximilianBerkmann/spirit-cartel/node_modules/enhanced-resolve/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:15:1)
    at /home/maxie/GDrive/RHUL/y5/CS4821/FullUnit_1920_MaximilianBerkmann/spirit-cartel/node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js:44:7
    at /home/maxie/GDrive/RHUL/y5/CS4821/FullUnit_1920_MaximilianBerkmann/spirit-cartel/node_modules/enhanced-resolve/lib/Resolver.js:285:5
    at eval (eval at create (/home/maxie/GDrive/RHUL/y5/CS4821/FullUnit_1920_MaximilianBerkmann/spirit-cartel/node_modules/enhanced-resolve/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:15:1)
    at /home/maxie/GDrive/RHUL/y5/CS4821/FullUnit_1920_MaximilianBerkmann/spirit-cartel/node_modules/enhanced-resolve/lib/Resolver.js:285:5
    at eval (eval at create (/home/maxie/GDrive/RHUL/y5/CS4821/FullUnit_1920_MaximilianBerkmann/spirit-cartel/node_modules/enhanced-resolve/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:27:1)
    at /home/maxie/GDrive/RHUL/y5/CS4821/FullUnit_1920_MaximilianBerkmann/spirit-cartel/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js:67:43
    at /home/maxie/GDrive/RHUL/y5/CS4821/FullUnit_1920_MaximilianBerkmann/spirit-cartel/node_modules/enhanced-resolve/lib/Resolver.js:285:5
    at eval (eval at create (/home/maxie/GDrive/RHUL/y5/CS4821/FullUnit_1920_MaximilianBerkmann/spirit-cartel/node_modules/enhanced-resolve/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:28:1)
    at /home/maxie/GDrive/RHUL/y5/CS4821/FullUnit_1920_MaximilianBerkmann/spirit-cartel/node_modules/enhanced-resolve/lib/ModuleKindPlugin.js:30:40
    at /home/maxie/GDrive/RHUL/y5/CS4821/FullUnit_1920_MaximilianBerkmann/spirit-cartel/node_modules/enhanced-resolve/lib/Resolver.js:285:5
    at eval (eval at create (/home/maxie/GDrive/RHUL/y5/CS4821/FullUnit_1920_MaximilianBerkmann/spirit-cartel/node_modules/enhanced-resolve/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:15:1)
    at /home/maxie/GDrive/RHUL/y5/CS4821/FullUnit_1920_MaximilianBerkmann/spirit-cartel/node_modules/enhanced-resolve/lib/Resolver.js:285:5
    at eval (eval at create (/home/maxie/GDrive/RHUL/y5/CS4821/FullUnit_1920_MaximilianBerkmann/spirit-cartel/node_modules/enhanced-resolve/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:16:1)

Steps to reproduce
Clear steps describing how to reproduce the issue. Please please please link to a demo project if possible, this makes your issue much easier to diagnose (seriously).

Have<EMAIL_ADDRESS><EMAIL_ADDRESS>installed like in https://github.com/RHUL-CS-Projects/FullUnit_1920_MaximilianBerkmann/tree/dev/spirit-cartel (it's private but I can try to provide access if needed)
Try to run npm run build (i.e. gridsome build)
Watch the CLI

Expected result
The build succeeds
Actual result
See output above.
Environment
  System:
    OS: Linux 5.4 Arch Linux
    CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
  Binaries:
    Node: 12.6.0 - ~/.nvm/versions/node/v12.6.0/bin/node
    Yarn: 1.21.1 - /usr/bin/yarn
    npm: 6.13.4 - ~/.nvm/versions/node/v12.6.0/bin/npm
  Browsers:
    Firefox: 71.0 (missing Opera 65.0, Chrome, Vivaldi and Brave)
  npmPackages:
    @gridsome/remark-prismjs: ^0.3.0 => 0.3.0
    @gridsome/transformer-remark: ^0.4.0 => 0.4.0
    gridsome: ^0.7.11 => 0.7.11
    gridsome-source-firestore: ^1.1.1 => 1.1.1
  npmGlobalPackages:
    @gridsome/cli: 0.3.1

https://github.com/brunocodutra/webapp-webpack-plugin/issues/72#issuecomment-479233871 seems to help with this issue (even tho it requires installing an unmaintained version of core-js).
Doing this lead to another error:
TypeError: Object(...) is not a function
    at Object.110 (src/storage.js:4:26)
    at __webpack_require__ (webpack/bootstrap:25:0)
    at Module.116 (assets/js/page--src--templates--page-vue.ba7f553b.js:80:14)
    at __webpack_require__ (webpack/bootstrap:25:0)

Re-installing node packages doesn't help (including deleting the package-lock.json).
I've also tried solutions on https://github.com/gatsbyjs/gatsby/issues/7862 (since gatsby seems to be equally affected by the changes in Babel).


Error Code While Shutting Down Windows 11

Microsoft PowerToys version
0.55.1
Running as admin

[X] Yes

Area(s) with issue?
General
Steps to reproduce
Every time that I shut down or restart my PC (Windows 11 Pro, Version 21H2 , Compilation 22000.469), an error appears (just for a brief moment) while doing so.
It doesn't matter if you use it or not; if PowerToys is active on startup, that is enough to trigger the error.
PowerToysReport_2022-02-05-03-54-43.zip
✔ Expected Behavior
Not seeing (and hearing) an error message while shutting down or restarting the PC.
❌ Actual Behavior
An error message appears while shutting down or restarting, but the process is able to complete no problem.
Other Software
No response

Is this still happening?
/needinfo


fix: do not panic on bad percent encoding in nested route

Fixes a panic due to a missing *--poem-rest param in the Nest<E> endpoint. Param is missing because percent_decode returns an error (in radix_tree.rs).
I'm not completely sure if this is the right way to fix it, please let me know if it makes sense to you.
Closes #471.

thank you so much! 🙂


Config Error when running this on GKE cluster

/app/node_modules/@backstage/backend-defaults/node_modules/@backstage/backend-app-api/dist/index.cjs.js:704
            throw new errors.ForwardedError(
                  ^

ForwardedError: Plugin 'app' startup failed; caused by Error: Invalid app bundle schema. If this error is unexpected you need to run `yarn build` in the app. If that doesn't help you should make sure your config schema is correct and rebuild the app bundle again. Caused by the following schema error, Error: Config validation failed, Config must have required property 'infraWallet' { missingProperty=infraWallet } at
    at /app/node_modules/@backstage/backend-defaults/node_modules/@backstage/backend-app-api/dist/index.cjs.js:704:19
    at async /app/node_modules/@backstage/backend-defaults/node_modules/@backstage/backend-app-api/dist/index.cjs.js:703:11
    ... 3 lines matching cause stack trace ...
    at async BackstageBackend.start (/app/node_modules/@backstage/backend-defaults/node_modules/@backstage/backend-app-api/dist/index.cjs.js:867:5) {
  cause: Error: Invalid app bundle schema. If this error is unexpected you need to run `yarn build` in the app. If that doesn't help you should make sure your config schema is correct and rebuild the app bundle again. Caused by the following schema error, Error: Config validation failed, Config must have required property 'infraWallet' { missingProperty=infraWallet } at

hi @gluckzhang  i think this might be a misconfiguration that i cant catch somewhere, if you can take a look that will be great.
As i was trying to add infrawallet to our live cluster. i am getting this config error.
My current config
i created the secret
 kubectl create secret generic gcp-key-secret --from-file=test.json   -n backstage

i am doing the app deployments via helm as you can see the live appconfig defined in the helm chart, as opposed the app-config during build
  extraVolumeMounts:
    - mountPath: /gcp-key-secret
      name: gcp-key-secret
  extraVolumes:
    - name: gcp-key-secret
      secret:
        defaultMode: 420
        secretName: gcp-key-secret

  appConfig:
    app:
      title: Test
      baseUrl: https://test
    organization:
      name: test
      backend:
        listen:
          port: 7007
        host: test.test.team
        auth:
          keys:
            - secret:
        infraWallet:
          integrations:
            gcp:
              - name: gcp-data
                keyFilePath: /gcp-key-secret/key.json
                projectId: projectID
                datasetId: billing
                tableId: billing
        csp:
        database:
        cache:

Things i've checked:

I dont think this is an secret value issue, since i have verified that my secret is accessible by directly going into the Erroring container for the first few seconds, and running a cat against the absolute path i've set, i can cat the json key properly.
the secret is in the correct namespace as the application
i verified the live configmap + deployment is what i defined as above.
the gcp billing parameters are all correct, since i was able to resolve it locally.
I add a dummy block during build so that it can build correct for the local app-config.yaml + app-config.production.yaml

  infraWallet:
    integrations:
      gcp:
        - name: gcp
          keyFilePath: /test.json
          projectId:bq
          datasetId: bill
          tableId: gcp_sample_export

Does anything look off to you based on my current config?

Hi @nia-potato thanks for reporting this issue. I think this might be related to our default settings for frontend (which should be optional by design). Could you please try adding the following configurations to your app-config.yaml file?
infraWallet:
  settings:
    defaultShowLastXMonths: 3

Feel free to adjust the values or add other options documented here.
Also note that infraWallet is put at the root level of the yaml file (you already have backend.infraWallet there but this is another one for frontend).

now works, thanks!


Improve coverage in frontend and remove some dead code

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @paulmelnikow!

  Generated by :no_entry_sign: dangerJS against 45562faced505cefaa19c04ecabf4aad905bfecc


Question: A/B testing +RemoteConfigs- how to track, and is cacheExpiration needed?

I can't find a sample or tutorial about how to track the current variant of the experiment.
For example, suppose we have 2 variants for the position of an button, and we wish to track how many people pressed the button on each variant. I'd also like to know where in the console website I need to see the stats.
I also don't understand the need for cacheExpiration when calling :
mFirebaseRemoteConfig.fetch(cacheExpiration)

Is it really needed? Shouldn't there be an option that the cache will stay for as long as it can, perhaps removing it upon app-update? Or override it when there is new data from the server?

Given your button example, you would use Firebase Analytics to log events when users click on each variant of your button position. Then you can analyse the effectiveness of each button click via the Analytics UI in the Firebase console.
It is up to you when your application fetches new values from the server. If you only want to push new values upon an app-update then you would not need to fetch at all, you could set the default values in the app update and that version would just use the values defined in defaults. However if you do want your app to be able to fetch new values between app launches then you can call fetch whenever that seems reasonable given your application logic.

Yes, I see.
Say, how come the "fetch" command sometimes freezes, not calling its
callback?
I've even reported about this here:
http://stackoverflow.com/questions/37994774/
This makes it unusable in many cases.
On Mon, Jun 27, 2016 at 9:21 PM, Arthur Thompson<EMAIL_ADDRESS>wrote:

Given your button example, you would use Firebase Analytics to log events
when users click on each variant of your button position. Then you can
analyse the effectiveness of each button click via the Analytics UI in the
Firebase console.
It is up to you when your application fetches new values from the server.
If you only want to push new values upon an app-update then you would not
need to fetch at all, you could set the default values in the app update
and that version would just use the values defined in defaults. However if
you do want your app to be able to fetch new values between app launches
then you can call fetch whenever that seems reasonable given your
application logic.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/firebase/quickstart-android/issues/56#issuecomment-228830740,
or mute the thread
https://github.com/notifications/unsubscribe/AFG_1q9kP9a4f3YgpjTaF2wSa84IT70qks5qQBSbgaJpZM4I5tOh
.

We have seen this issue reported and are currently investigating, I will update with a solution as soon as it is available.

I see. I tried workaround of delaying the "fetch" call, but they didn't
work.
Please tell me when it gets fixed, because as long as we have this issue,
we can't really use Firebase in the app.
On Tue, Jun 28, 2016 at 10:54 PM, Arthur Thompson<EMAIL_ADDRESS>wrote:

We have seen this issue reported and are currently investigating, I will
update with a solution as soon as it is available.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/firebase/quickstart-android/issues/56#issuecomment-229163150,
or mute the thread
https://github.com/notifications/unsubscribe/AFG_1oTPzhEO2L8TZy9hRRobixK_6sj9ks5qQXv2gaJpZM4I5tOh
.

Update: This issue has been identified and we are currently working on a fix. I will update once a fix has been released.

@kroikie Thank you.

@kroikie What is status for this problem?

@yoman07 I've sent them a sample, but I didn't get any update about it.
I hope it will get fixed soon.

Update: Apps built with the latest version of the Google Play services SDK (9.4) encounter this issue on fewer devices. A comprehensive fix to this issue is being developed and should be available soon. No changes were visible in the sample app because no changes are required in app code to implement this fix.
I will update once the comprehensive fix has been released.

@kroikie Is there any workaround for this? And why does it occur?
How come it was found only now? The SDK is out for a few months, and the issue even occurred on Nexus devices...

@AndroidDeveloperLB try delaying the call to fetch helps, say from onCreate to onResume. I have not been able to reproduce this on Nexus devices I have tried, which one have you seen this issue on? Given that the issue shows itself on some devices and not others it was difficult to track down. We have been able to reproduce it on one of our test devices and while Google Play services SDK 9.4 does improve things (less devices being affected) we should have a comprehensive fix out soon.

I've already reported you guys about it on 9 devices and I don't remember how it went on each. I do remember that it doesn't always occur, and sometimes when I tried it over and over, it didn't occur.
About delaying, this didn't help.

@AndroidDeveloperLB you are still seeing this issue on SDK 9.4? If so could you indicate the devices here?

@kroikie I don't work on Firebase for the time being, because of this issue, so I can't try it out on 9 devices (have other tasks at the office). It's also a bit rare to notice at the office.
If you work at Google, please have a look at the email sent to<EMAIL_ADDRESS>, title has this number: "[9-0500000012256]" .
The email contains both a sample and information of which devices had this issue.
I've tested now just on my device (Nexus 5x with Android 6.0.1) and it worked fine with 9.4 version of the sdk (on previous sdk version it got stuck), but I don't have time to test on others.

Note that even though it seems that it worked on my device, it doesn't mean that it always works well.
I remember that for Nexus 4 with Android 5.1.1 , it used not to work, and after a few days, when trying it again, it worked fine (though quite slow - took ~5 seconds to get the variants etc...).

I've not tested on Nexus 4 with 4.4.4, which had the issue before. It didn't occur this time.
In order to be sure it got fixed I will need to try on all devices, and also try to reset Play-Store and/or Play-Services.

@AndroidDeveloperLB We have not been able to reproduce the issue on any of our devices with the new SDK I looked for your support case but that number did not seem to match your issue. Either way I will close this issue and feel free to open another one referring to this one if the issue is visible to you again.

@kroikie  But you have succeeded seeing the issue on previous versions of Firebase, right?

Yes in versions previous to 9.4.0 we were able to reproduce the issue so now we are confident that it is very unlikely to occur and are working on another update that will make it impossible.

@kroikie I don't understand. So on which version the issue is gone? On 9.4.0 (which is currently the latest one), or on newer one?
Is it safe to use it on 9.4.0 ?

@AndroidDeveloperLB you should not see the issue on 9.4.0 or later.

@kroikie  OK, thank you.
Sadly, due to the slow handling of this issue (more than a month since I reported it), we won't use it in the near future.
I hope that by the time we try it all again, it will be more friendly for A/B testing, because currently it all seem like a huge workaround by using various Firebase components.

@AndroidDeveloperLB thanks for the feedback, we are working on making A/B testing easier, so I trust the next time you try config it will be more suited to your A/B testing needs.


Set new interface for jpeg image

Common interface for getting jpeg from video.

Make the best use of av_write_header, av_write_frame and av_write_trailer.

fixed

fd9bcb90a2a8aa44000db0e98441fd66dc52d4f7 git commit id


Hardening the implementation

We should consider points of failure for the implementation (see e.g. comments added in this commit: 8835629e0d12b146b81ee27674253fcc7e6bfb73 but also other points). And understand if we understand (and accept and document) the risks, or we need to improve on them.

The implementation has changed since then. I will open specific issues while problems arise while testing.


(TBD) chore: Deprecate use of OSB Dashboard Clients

Needs a new PR with what we discussed around this topic.


[Question]Does OpenYurt support air-gapped deployment and management of nodes?

What happened: I am exploring OpenYurt for a scenario where internet access is limited or unavailable. I would like to understand if OpenYurt supports air-gapped deployment and offline management of the control-plane, including tasks like adding new nodes to the cluster..
What you expected to happen: I expect OpenYurt to allow for:
Offline deployment of the control-plane and edge nodes, without requiring internet access during installation.
The ability to manage and expand the cluster (e.g., adding new nodes) in an offline environment after the initial deployment.
How to reproduce it (as minimally and precisely as possible):
N/A, just general question about offline capabilities and management.
Anything else we need to know?:
Environment:

OpenYurt version: v1.4.0
Kubernetes version (use kubectl version): v1.28.13
OS (e.g: cat /etc/os-release): Ubuntu 22.04.3 LTS
Kernel (e.g. uname -a): Linux master01 5.15.0-112-generic
Install tools: helm
Others: N/A
/kind question

Thank you! I have successfully deployed the project in an air-gapped environment.


How to build RPM on OBS

I'm currently trying to get an RPM build ready for goss on OBS. The first issue is that you can't just pull dependencies from the internet. Everything has to be included in the OBS repository. That's not that much of a problem, since I can just vendorize the dependencies. But building goss still doesn't work. My build command currently looks like this: GO111MODULE=off CGO_ENABLED=0 go build -o goss ./...
And the output I get looks like this:
abuild@sierra:~/rpmbuild/BUILD/goss-0.3.15> GO111MODULE=off CGO_ENABLED=0 go build -o goss ./...
serve.go:12:2: cannot find package "github.com/aelsabbahy/goss/outputs" in any of:
	/usr/lib64/go/1.11/src/github.com/aelsabbahy/goss/outputs (from $GOROOT)
	/home/abuild/go/src/github.com/aelsabbahy/goss/outputs (from $GOPATH)
add.go:9:2: cannot find package "github.com/aelsabbahy/goss/resource" in any of:
	/usr/lib64/go/1.11/src/github.com/aelsabbahy/goss/resource (from $GOROOT)
	/home/abuild/go/src/github.com/aelsabbahy/goss/resource (from $GOPATH)
add.go:10:2: cannot find package "github.com/aelsabbahy/goss/system" in any of:
	/usr/lib64/go/1.11/src/github.com/aelsabbahy/goss/system (from $GOROOT)
	/home/abuild/go/src/github.com/aelsabbahy/goss/system (from $GOPATH)
add.go:11:2: cannot find package "github.com/aelsabbahy/goss/util" in any of:
	/usr/lib64/go/1.11/src/github.com/aelsabbahy/goss/util (from $GOROOT)
	/home/abuild/go/src/github.com/aelsabbahy/goss/util (from $GOPATH)
cmd/goss/goss.go:11:2: cannot find package "github.com/aelsabbahy/goss" in any of:
	/usr/lib64/go/1.11/src/github.com/aelsabbahy/goss (from $GOROOT)
	/home/abuild/go/src/github.com/aelsabbahy/goss (from $GOPATH)
resource/gomega.go:7:2: cannot find package "github.com/aelsabbahy/goss/matchers" in any of:
	/usr/lib64/go/1.11/src/github.com/aelsabbahy/goss/matchers (from $GOROOT)
	/home/abuild/go/src/github.com/aelsabbahy/goss/matchers (from $GOPATH)
abuild@sierra:~/rpmbuild/BUILD/goss-0.3.15> GO111MODULE=off CGO_ENABLED=0 go build -o goss ./...

So it seems like the rest of the folders is ignored. Is there any way to change that? Thanks!

go build cmd/goss/goss.go should work.
But the goss -v command won't work without properly passing that in.
The build is done through this script if you want to mimic the exact build parameters of the goss project itself:
https://github.com/aelsabbahy/goss/blob/620d32b003efedde8ee98e917005dd4642d88dc1/release-build.sh#L24-L27

Thanks for the tip with the -v parameter. I'll add that once it is working. Unfortunately passing cmd/goss/goss.go is not that much of a difference, since
abuild@sierra:~/rpmbuild/BUILD/goss-0.3.15> GO111MODULE=off CGO_ENABLED=0 go build -o goss cmd/goss/goss.go
cmd/goss/goss.go:11:2: cannot find package "github.com/aelsabbahy/goss" in any of:
        /usr/lib64/go/1.11/src/github.com/aelsabbahy/goss (from $GOROOT)
        /home/abuild/go/src/github.com/aelsabbahy/goss (from $GOPATH)
cmd/goss/goss.go:12:2: cannot find package "github.com/aelsabbahy/goss/outputs" in any of:
        /usr/lib64/go/1.11/src/github.com/aelsabbahy/goss/outputs (from $GOROOT)
        /home/abuild/go/src/github.com/aelsabbahy/goss/outputs (from $GOPATH)
cmd/goss/goss.go:13:2: cannot find package "github.com/aelsabbahy/goss/system" in any of:
        /usr/lib64/go/1.11/src/github.com/aelsabbahy/goss/system (from $GOROOT)
        /home/abuild/go/src/github.com/aelsabbahy/goss/system (from $GOPATH)
cmd/goss/goss.go:14:2: cannot find package "github.com/aelsabbahy/goss/util" in any of:
        /usr/lib64/go/1.11/src/github.com/aelsabbahy/goss/util (from $GOROOT)
        /home/abuild/go/src/github.com/aelsabbahy/goss/util (from $GOPATH)

Since the sources for goss are located in ~/rpmbuild/BUILD/goss-<version> and $GOPATH points to ~/go, Go seems not to be able to find the rest of the sources. I can copy the goss sources to the $GOPATH, but that taints the build environment even more. Not sure how a best practice approach would look like in such a case. :thinking:

I honestly have not attempted to build an RPM out of a Go project before. I'm sure there are guides out there on how to manipulate GOPATH and others correctly.
Fedora typically keeps documentation on such patterns:
https://docs.fedoraproject.org/en-US/packaging-guidelines/Golang/
Seems OpenSUSE does the same?
https://en.opensuse.org/openSUSE:Packaging_Go

I don't think manipulating the GOPATH is the problem here. I'm not sure if it should really be necessary to do that for goss itself. Sure, the (vendored) dependencies should be in the GOPATH, since the build environment is air-gapped. But why is go build not seeing the rest of the sources. Right now, if I understood that correctly, go build would fetch the sources of goss from GitHub in order to build goss which is localed on my filesystem already. That's a bit weird.
At least I can build the package for Leap 15.2 and Tumbleweed with the work-around. Everything older won't work, since goss only seems to be compatible with Go >= 1.13.

Alright, a colleague of mine found the solution. If we use -mod=vendor and GO111MODULE=on, then it's working when having vendorized dependencies.
GO111MODULE=on CGO_ENABLED=0 go build -o goss -mod=vendor cmd/goss/goss.go

Awesome, next time someone needs a vendored build I'll refer them to this ticket.
Thanks for posting your findings, really helps others.

FYI: There are now builds for openSUSE Leap 15.2, 15.3, and Tumbleweed: https://build.opensuse.org/package/show/systemsmanagement/goss
Tumbleweed also ships goss in the default repos now. That means you can just do a zypper in goss without adding additional repos.

FYI: There are now builds for openSUSE Leap 15.2, 15.3, and Tumbleweed: https://build.opensuse.org/package/show/systemsmanagement/goss
Tumbleweed also ships goss in the default repos now. That means you can just do a zypper in goss without adding additional repos.

Awesome, looks great. Just read through the goss.spec file.. looks very clean.
Super cool that you got it into the official repos. Wonder what that process would look like for RHEL/Amazon Linux/Centos. :thinking:


feat(udaf): weighted_average example (#138)

Features:

add new aggregate_function_sql type.
add first aggregate_function_sql example with weighted_average.

Fixes:
/
Breaking change:
/
Close #138

Extraordinary!
Love the added with_clause!
Great contribution!

My pleasure!


[PRM-389] - Added accepted by tribunal status

Penalties frontend: https://github.com/hmrc/penalties-frontend/pull/45
Penalties AT's: https://github.com/hmrc/penalties-acceptance-tests/pull/33


haskellPackages.ihp-hsx: Unbroken

Description of changes
The recent ihp-hsx release is building on recent GHC releases (9.4 and 9.6)

Things done

Built on platform(s)

[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.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

[ ] Fits CONTRIBUTING.md.

@ofborg build haskell.packages.ghc962.ihp-hsx

@ofborg build haskell.packages.ghc962.ihp-hsx

It seems to be still broken 👎


scikit_learn failed

MacOS
cmd:  pip install qiskit

error:
Collecting scikit-learn>=0.20.0
Downloading scikit_learn-0.22.2.post1-cp38-cp38-macosx_10_9_x86_64.whl (7.2 MB)
|██████████████████████████████▌ | 6.9 MB 46 kB/s eta 0:00:08ERROR: Exception:
Traceback (most recent call last):
File "/opt/anaconda3/envs/name_of_my_env/lib/python3.8/site-packages/pip/_vendor/urllib3/response.py", line 425, in _error_catcher
yield
File "/opt/anaconda3/envs/name_of_my_env/lib/python3.8/site-packages/pip/_vendor/urllib3/response.py", line 507, in read
data = self._fp.read(amt) if not fp_closed else b""
File "/opt/anaconda3/envs/name_of_my_env/lib/python3.8/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 62, in read
data = self.__fp.read(amt)
File "/opt/anaconda3/envs/name_of_my_env/lib/python3.8/http/client.py", line 454, in read
n = self.readinto(b)
File "/opt/anaconda3/envs/name_of_my_env/lib/python3.8/http/client.py", line 498, in readinto
n = self.fp.readinto(b)
File "/opt/anaconda3/envs/name_of_my_env/lib/python3.8/socket.py", line 669, in readinto
return self._sock.recv_into(b)
File "/opt/anaconda3/envs/name_of_my_env/lib/python3.8/ssl.py", line 1241, in recv_into
return self.read(nbytes, buffer)
File "/opt/anaconda3/envs/name_of_my_env/lib/python3.8/ssl.py", line 1099, in read
return self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/anaconda3/envs/name_of_my_env/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 186, in _main
status = self.run(options, args)
File "/opt/anaconda3/envs/name_of_my_env/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 331, in run
resolver.resolve(requirement_set)
File "/opt/anaconda3/envs/name_of_my_env/lib/python3.8/site-packages/pip/_internal/legacy_resolve.py", line 177, in resolve
discovered_reqs.extend(self._resolve_one(requirement_set, req))
File "/opt/anaconda3/envs/name_of_my_env/lib/python3.8/site-packages/pip/_internal/legacy_resolve.py", line 333, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "/opt/anaconda3/envs/name_of_my_env/lib/python3.8/site-packages/pip/_internal/legacy_resolve.py", line 282, in _get_abstract_dist_for
abstract_dist = self.preparer.prepare_linked_requirement(req)
File "/opt/anaconda3/envs/name_of_my_env/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 480, in prepare_linked_requirement
local_path = unpack_url(
File "/opt/anaconda3/envs/name_of_my_env/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 282, in unpack_url
return unpack_http_url(
File "/opt/anaconda3/envs/name_of_my_env/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 158, in unpack_http_url
from_path, content_type = _download_http_url(
File "/opt/anaconda3/envs/name_of_my_env/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 303, in _download_http_url
for chunk in download.chunks:
File "/opt/anaconda3/envs/name_of_my_env/lib/python3.8/site-packages/pip/_internal/utils/ui.py", line 160, in iter
for x in it:
File "/opt/anaconda3/envs/name_of_my_env/lib/python3.8/site-packages/pip/_internal/network/utils.py", line 15, in response_chunks
for chunk in response.raw.stream(
File "/opt/anaconda3/envs/name_of_my_env/lib/python3.8/site-packages/pip/_vendor/urllib3/response.py", line 564, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "/opt/anaconda3/envs/name_of_my_env/lib/python3.8/site-packages/pip/_vendor/urllib3/response.py", line 529, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File "/opt/anaconda3/envs/name_of_my_env/lib/python3.8/contextlib.py", line 131, in exit
self.gen.throw(type, value, traceback)
File "/opt/anaconda3/envs/name_of_my_env/lib/python3.8/site-packages/pip/_vendor/urllib3/response.py", line 430, in _error_catcher
raise ReadTimeoutError(self._pool, None, "Read timed out.")
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.

run the command  "pip install qiskit" again.
It works.

This is a problem connecting to host='files.pythonhosted.org', to grab files.  This is not really a Qiskit issue.

got it.
Thank you.


Vulnerability roundup 98: mediawiki-1.34.4: 11 advisories [8.8]

search, files

[ ] CVE-2020-35625 CVSSv3=8.8 (nixos-20.09)
[ ] CVE-2020-35626 CVSSv3=8.8 (nixos-20.09)
[ ] CVE-2020-35475 CVSSv3=7.5 (nixos-20.09)
[ ] CVE-2020-35623 CVSSv3=7.5 (nixos-20.09)
[ ] CVE-2020-35474 CVSSv3=6.1 (nixos-20.09)
[ ] CVE-2020-35478 CVSSv3=6.1 (nixos-20.09)
[ ] CVE-2020-35479 CVSSv3=6.1 (nixos-20.09)
[ ] CVE-2020-35622 CVSSv3=6.1 (nixos-20.09)
[ ] CVE-2020-35477 CVSSv3=5.3 (nixos-20.09)
[ ] CVE-2020-35480 CVSSv3=5.3 (nixos-20.09)
[ ] CVE-2020-35624 CVSSv3=5.3 (nixos-20.09)

Scanned versions: nixos-20.09: aa5b9cd16b9.
Cc @redvers

See also: #106207

See also: #106207

Checked off CVEs affect plugins which must be separately installed.

Checked off CVEs affect plugins which must be separately installed.


Can't login Udemy Business account!

Udeler | Udemy Course Downloader
1.11.4
Running as Business Account

[ ] Yes

Steps to reproduce

✔ Expected Behavior
It should log in like it was logged in before
❌ Actual Behavior
the the login window hanged up

Remove the www and place your business name

for business url remove www


Roda app: After upgrading agent, memory went up

Description
Upgrading gem, my Roda app in Heroku, with 2 dynos w/512mb each, the memory went up above the limit, > 700mb. Gemfile.lock diff:
-    newrelic_rpm (9.2.2)
+    newrelic_rpm (9.6.0)
+      base64

Your Environment
ruby 3.1.3
Roda 3.74.0
Heroku metrics screenshot showing the pre, post deploy and later rollback:

Thanks for letting us know about your experience with upgrading the agent.
In 9.4.0, we introduced auto-instrumentation for Roda, which provides more insight into your transactions, but could also result in an increase in agents memory usage due to recording more data. If you do not want this additional information, you could try disabling the Roda instrumentation by setting the config instrumentation.roda to disabled in your newrelic.yml.
We introduced instrumentation for several other gems recently as well, including stripe, httpx, ethon, and Async::HTTP. In general, you can disable instrumentation for any of our supported gems by disabling the configuration option.
You can also configure the agent to store less data to help decrease the agents memory usage using these configuration options:
transaction_events.max_samples_stored
span_events.max_samples_stored
application_logging.forwarding.max_samples_stored
custom_insights_events.max_samples_stored (if you're using custom events)

You can find more details about all of these config options here.
Hopefully that helps explain why memory usage might increase in the ruby agent, and some ways you can decrease how much memory the agent uses in your application.

Thanks. I read about Roda support and some new options. So, disabling Roda instrumentation should have the same features as before the upgrade?

Yes, it should work the same as before since it will skip installing the new code.

Thanks. I just disabled the Roda instrumentation with the env. var and seems to work fine now.
Just in case, I'm adding screenshots where I see lot of new object allocations in the heap and GC work. Maybe that could help in future tuning.


feat: add export plan

This proposal adds the boilerplate code needed to add batch exporting.

Hello,
Seems this solution is better than the previous one.
But loop on objects is only done on "root objects", so I don't know how you are managing plan where objects have parents?
Same for animated objects
Not that a big refactoring of export will come in next months, where tree is first store in a virtual vtree, and then exported.
(See #1494 for what it will be)
I will also add some hook to be able to change the vtree filtering.

I'll fix that. What should I do in a situation where a root object has a grandchild, but the parent of that object isn't exported?
e.g.

Object 1 (export)

Object 2 (don't export)

Object 3 (export)

In current master, object 2 is exported as empty.
In future vtree version, object 3 is reparented to object 1, and object 2 is not exported

So in this instance, would it be best to just wait until the vtree PR gets merged ?

Closing this to wait for the vtree PR.


Drop file pairs and click on bundle hangs browser

Using the emu-webapp on 'local files' by loading one or more pairs of *.wav and *.TextGrid via file dialog:
clicking on a bundle in the left-side bundle list does not work and the browser 'hangs' (work in progress bar on top is shown).
Tested with Firefox 54.0 and Chromium 59.0.3071.109 (sorry, don't have Chrome here).
NB: bundle names are longer than the column width, but the scroll bar is shown correctly and works.

I have the same problem:
When I drop a pair of *.wave and annotJSON to the bundle list and click on the bundle the browser freezes and the progress bar on the top shows: "Loading bundle [...]"
Browser: Chrome Version 62.0.3202.94 (Offizieller Build) (64-Bit)
OS: MacOS 10.13.1
Console Output:
vendor.ce184991.js:5 TypeError: Cannot read property 'encoding' of undefined
    at scripts.ed8d56b1.js:8
    at i (vendor.ce184991.js:5)
    at vendor.ce184991.js:5
    at n.$digest (vendor.ce184991.js:6)
    at b.$apply (vendor.ce184991.js:6)
    at HTMLDivElement.<anonymous> (vendor.ce184991.js:8)
    at HTMLDivElement.dispatch (vendor.ce184991.js:2)
    at HTMLDivElement.q.handle (vendor.ce184991.js:2) "Possibly unhandled rejection: {}"

I encountered this problem as well some time in the last weeks. Did not look at console output, though.

Thanks for this. Will look into it asap. I fear that it might, once again, have to do with an API change in something like the window.FileReader or window.FileList API. But will have to have a look...


Memory must have some unit, used MB

I would like memory to have a unit. I work with that elsewhere in the Collector and then I process the units in the UI too, e.g.  https://github.com/Karm/collector-web/blob/runtime_data-1/src/Collector.main.cpp#L221 , so I need to know if they are already MB or KB or B...
If you find it clumsy to be a part of the attribute itself, we can add a memoryUnit attribute I guess.

Perhaps go with bytes instead? Folding a scale on top of it is then fairly easy (or at least loss-less).

It's for the machine's RAM. O.K. I'll switch it to bytes, and fix any place that is trying to treat it as integer.


UI/UX: implements a fully revamped direct message composer

I pulled the PR locally and used it, and one thing that stands out is that the "loading slider" is invoked very often, sometimes it's so fast it feels like an error, like it's too sensitive and quick.

Agreed, I made minor changes which should limit this, let's see how it goes

Will merge this tomorrow morning, thanks for help!


Slack is down !

Hello happy people,
I can not access the slack (vulcanjs.slack.com requires a specific mail domain, and slack.vulcanjs.org shows an Heroku error).
Can someone do something about it ? I would be happy to talk with you folks.
Regards

It was the first time I tried so I couldn't tell.
It's working atm,
Thanks

@SachaG Still down :(

I think it goes down sometimes for some reason, but then comes back up automatically. Don't have the time to look into it right now but maybe we should switch to now.sh instead of heroku.


Cannot logout (soft or complete) from lite mode connection error screen

Cannot logout from lite mode connection error screen in transaction view.   (when it says, go to settings and choose a different server)
Will provide gif in future.

i can't seem to reproduce it
do you have any specific steps to reproduce
better if you can grab a video


OMNI HRO not loading

OMNI HRO data is not loading when "with" statement is present.
This has happened on both my Mac OSX Sierra machines.  The error I get is:
In [172]: omni.load(date=dtime)
AttributeError                            Traceback (most recent call last)
 in ()
----> 1 omni.load(date=dtime)
/Users/ab763/Programs/Git/pysat/pysat/_instrument.py in load(self, yr, doy, date, fname, fid, verifyPad)
742         # if self.pad is False, load single day
743         else:
--> 744             self.data, meta = self._load_data(date=self.date, fid=self._fid)
745             if not self.data.empty:
746                 self.meta = meta
/Users/ab763/Programs/Git/pysat/pysat/_instrument.py in _load_data(self, date, fid)
506             load_fname = [os.path.join(self.files.data_path, f) for f in fname]
507             data, mdata = self._load_rtn(load_fname, tag=self.tag,
--> 508                                          sat_id=self.sat_id, **self.kwargs)
509         else:
510             data = DataFrame(None)
/Users/ab763/Programs/Git/pysat/pysat/instruments/omni_hro.py in load(fnames, tag, sat_id)
120         fname = fnames[0][0:-11]
121         date = pysat.datetime.strptime(fnames[0][-10:], '%Y-%m-%d')
--> 122         with pysatCDF.CDF(fname) as cdf:
123             data, meta = cdf.to_pysat()
124             # pick out data for date
AttributeError: exit
And this went away when I removed the "with" statement.

With is made for opening files... and the code passed testing on CI.  Maybe pysatCDF has an issue.....
On Mar 26, 2018, at 7:34 PM, Angeline Burrell <notifications<EMAIL_ADDRESS>wrote:
OMNI HRO data is not loading when "with" statement is present.
This has happened on both my Mac OSX Sierra machines. The error I get is:
In [172]: omni.load(date=dtime)
AttributeError Traceback (most recent call last)
in ()
----> 1 omni.load(date=dtime)
/Users/ab763/Programs/Git/pysat/pysat/_instrument.py in load(self, yr, doy, date, fname, fid, verifyPad)
742 # if self.pad is False, load single day
743 else:
--> 744 self.data, meta = self._load_data(date=self.date, fid=self._fid)
745 if not self.data.empty:
746 self.meta = meta
/Users/ab763/Programs/Git/pysat/pysat/_instrument.py in _load_data(self, date, fid)
506 load_fname = [os.path.join(self.files.data_path, f) for f in fname]
507 data, mdata = self._load_rtn(load_fname, tag=self.tag,
--> 508 sat_id=self.sat_id, **self.kwargs)
509 else:
510 data = DataFrame(None)
/Users/ab763/Programs/Git/pysat/pysat/instruments/omni_hro.py in load(fnames, tag, sat_id)
120 fname = fnames[0][0:-11]
121 date = pysat.datetime.strptime(fnames[0][-10:], '%Y-%m-%d')
--> 122 with pysatCDF.CDF(fname) as cdf:
123 data, meta = cdf.to_pysat()
124 # pick out data for date
AttributeError: exit
And this went away when I removed the "with" statement.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/rstoneback/pysat/issues/19, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADbdebJ6Bbpoo6uOmV-dU6ZuejoVcnQvks5tiYj9gaJpZM4S8G6n.

Yes, I hadn't encountered it before so I read up on it.  Since I'm not well versed with the "with" statements I'm not sure why pyCDF would fail under these conditions.

I’m not sure either. The error raised looks like the Omni file is missing an attribute pysatCdF is trying to grab. That should fail all the time though. If the attribute isn’t there why is pysatCDF trying to read it?
I’m hoping to try a few direct loads during office hours. Is there a specific day or do you get the error for all days?
On Mar 27, 2018, at 9:47 AM, Angeline Burrell <notifications<EMAIL_ADDRESS>wrote:
Yes, I hadn't encountered it before so I read up on it. Since I'm not well versed with the "with" statements I'm not sure why pyCDF would fail under these conditions.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/rstoneback/pysat/issues/19#issuecomment-376553034, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADbdeWsMt0beviFiF63g0mws-8etXT4wks5tilEPgaJpZM4S8G6n.

There was a problem with missing attributes, but I fixed it when I added the additional custom routines.  The problem with that was that the files you had downloaded used all caps, while the files it downloaded for me had the attributes all in lower case.  However, the reading still failed with the "with" statement after that was fixed.  I'll take a peak at the code real quick and see if my attribute error fix got removed in the recent upgrades.

Oh, and there's no specific day.  I get this no matter what day I try.

Honestly, I don't know what to tell you about this.  If I run this using "with" it fails.  If I run it without "with" it succeeds.

Oh, I have an idea.  Wait a sec.

Ok, I found out what it was!  The problem was that I had an old version of pysatCDF installed.  I downloaded the latest version from pip and now it works on python 2.7 and 3.5 (so I'm going to assume it works everywhere now).
I wonder if there's a clever way to test for versions of dependencies so something like this doesn't pop up again?

Good question.
We could list pysatCDF as a required library in pysat and put a version requirement in there. Downside, windows users wouldn’t be able to use pysat because pysatCDF doesn’t compile on windows.
There is apparently support for “extras" (http://peak.telecommunity.com/DevCenter/setuptools#declaring-dependencies) though I don’t think it is exactly what I’m looking for.
On Mar 27, 2018, at 11:04 AM, Angeline Burrell <notifications<EMAIL_ADDRESS>wrote:
Ok, I found out what it was! The problem was that I had an old version of pysatCDF installed. I downloaded the latest version from pip and now it works on python 2.7 and 3.5 (so I'm going to assume it works everywhere now).
I wonder if there's a clever way to test for versions of dependencies so something like this doesn't pop up again?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/rstoneback/pysat/issues/19#issuecomment-376580785, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADbdeWe5X283_Ex8V9uoDa1-vj3uDZtGks5timMQgaJpZM4S8G6n.

So much of pysat uses pysatCDF, I think it would be worth doing.  Is there some way to work out the windows kinks?  Or is the problem with some code outside of your control?

On 27 Mar 2018, at 13:28, Russell Stoneback<EMAIL_ADDRESS>wrote:
Good question.
We could list pysatCDF as a required library in pysat and put a version requirement in there. Downside, windows users wouldn’t be able to use pysat because pysatCDF doesn’t compile on windows.
There is apparently support for “extras" (http://peak.telecommunity.com/DevCenter/setuptools#declaring-dependencies) though I don’t think it is exactly what I’m looking for.
On Mar 27, 2018, at 11:04 AM, Angeline Burrell <notifications<EMAIL_ADDRESS>wrote:
Ok, I found out what it was! The problem was that I had an old version of pysatCDF installed. I downloaded the latest version from pip and now it works on python 2.7 and 3.5 (so I'm going to assume it works everywhere now).
I wonder if there's a clever way to test for versions of dependencies so something like this doesn't pop up again?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/rstoneback/pysat/issues/19#issuecomment-376580785, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADbdeWe5X283_Ex8V9uoDa1-vj3uDZtGks5timMQgaJpZM4S8G6n.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/rstoneback/pysat/issues/19#issuecomment-376627658, or mute the thread https://github.com/notifications/unsubscribe-auth/AGuC_h05mJNHddvsO-IVavDgnuFVlsSnks5tioS2gaJpZM4S8G6n.

I’m with ya.
The root problem is getting NASA’s CDF library to compile at all on windows. I’ve sent an email to Matthew asking for some help.
On Mar 27, 2018, at 1:38 PM, Angeline Burrell <notifications<EMAIL_ADDRESS>wrote:
So much of pysat uses pysatCDF, I think it would be worth doing. Is there some way to work out the windows kinks? Or is the problem with some code outside of your control?

On 27 Mar 2018, at 13:28, Russell Stoneback <notifications<EMAIL_ADDRESS>wrote:
Good question.
We could list pysatCDF as a required library in pysat and put a version requirement in there. Downside, windows users wouldn’t be able to use pysat because pysatCDF doesn’t compile on windows.
There is apparently support for “extras" (http://peak.telecommunity.com/DevCenter/setuptools#declaring-dependencies) though I don’t think it is exactly what I’m looking for.
On Mar 27, 2018, at 11:04 AM, Angeline Burrell <notifications@github.commailto:notifications<EMAIL_ADDRESS>wrote:
Ok, I found out what it was! The problem was that I had an old version of pysatCDF installed. I downloaded the latest version from pip and now it works on python 2.7 and 3.5 (so I'm going to assume it works everywhere now).
I wonder if there's a clever way to test for versions of dependencies so something like this doesn't pop up again?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/rstoneback/pysat/issues/19#issuecomment-376580785, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADbdeWe5X283_Ex8V9uoDa1-vj3uDZtGks5timMQgaJpZM4S8G6n.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/rstoneback/pysat/issues/19#issuecomment-376627658, or mute the thread https://github.com/notifications/unsubscribe-auth/AGuC_h05mJNHddvsO-IVavDgnuFVlsSnks5tioS2gaJpZM4S8G6n.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/rstoneback/pysat/issues/19#issuecomment-376630758, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADbdeX5lwciqhwJGKUhdVfzuX2dVJ5gaks5tiocUgaJpZM4S8G6n.


Plugin request for Buf Schema Registry - protoc-gen-grpc-gateway-ts

Not ready to open an issue, but want to chat about your plugin? Come find us on our Public Slack channel:
https://buf.build/links/slack
Mandatory
Where is the source code for the plugin?
the source code for the protoc-gen-grpc-gateway-ts plugin is found here:
https://github.com/grpc-ecosystem/protoc-gen-grpc-gateway-ts
Optional
Does the plugin have a valid semver version?
Yes it is, you can check it here

Thanks for opening an issue, I'll check with the team and get back on whether we'll publish this alongside the other 2 plugins we already package and publish at https://buf.build/grpc-ecosystem/plugins.

thank you @mfridman 🙇


Update manifest json

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

16 of 16 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.2%) to 70.056%

Totals

Change from base Build<PHONE_NUMBER>:
1.2%

Covered Lines:
124

Relevant Lines:
177

💛  - Coveralls


Contact sensor automatically closes

Hi,
I am using the Sonoff DW2 RF Door/Window sensor and RF Bridge R2 443 so I can detect if the door is open or close.  The plugin seems to be working when I open the door and the state changes to open but it then automatically changed to the close state after a few seconds.
Is it possible for the contact sensor to stay in the open state while the door is open?
Thanks in advance.

Hi @euge1015
Once this sensor has been activated (and so shows as open), it should then revert back to closed after 60 seconds as per your config. When you say a few seconds is it 60?
Via the eWeLink app, is it possible to see when a door closes after it opens?

Hi,
Closing this just as been a little overwhelmed with issues recently.
If this is still an issue or a feature you would like implemented then please do re-open this ticket!
Thanks for your understanding!


cargo fmt

A $ cargo fmt run.

Maybe we should check this in the CI?

Maybe we should check this in the CI?

Yep. :)


fix: self is not defined

In some cases, it will prompt that self is not defined.
I believe webpack has set it as self for a certain reason. But in order to work on browser and node we can simply switch to this

@zVolodymyr TBR

Fixed this issue with globalThis


Move intro to about page

Move intro message to about page
Remove footer
Tested on mobile resolution

@planemad thank you!
Can you make the map 100% height?


Issue #2670 replace interp2d in processed variable

Description
replace interp2d in processed variable
Fixes #2670
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.

[ ] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[ ] Bug fix (non-breaking change which fixes an issue)

Key checklist:

[ ] No style issues: $ pre-commit run (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)
[ ] All tests pass: $ python run-tests.py --all
[ ] The documentation builds: $ python run-tests.py --doctest

You can run unit and doctests together at once, using $ python run-tests.py --quick.
Further checks:

[ ] Code is commented, particularly in hard-to-understand areas
[ ] Tests added that prove fix is effective or that feature works

@rtimms I am stuck currently, had been following this but almost all tests are failing with ValueError: Method '[0.e+00 2.e-05 4.e-05 6.e-05 8.e-05 1.e-04]' is not defined or ValueError: There are 42 points and 1 values in dimension 0.
I believe i need some help here so I'd be grateful for any guidance. Thanks.


YOu named oct 3 markown file as sept 3

🌟 Thank You for Your Sharp Eyes! 🌟
Hey there, arush75! 👋
I wanted to take a moment to extend my heartfelt gratitude for spotting the naming mix-up in my repository. 🎉 Your keen attention to detail has not only helped me correct the October 3 markdown file but also reinforced the importance of collaboration in this amazing community! 🙌
Why You Rock:

A True Detective 🔍: Your ability to notice even the tiniest discrepancies is admirable!
Community Champion 🏆: Thanks to your input, our project is now even more polished and professional.
Knowledge Sharing 📚: Each issue raised is a chance for growth, and your contribution is invaluable.

As a Token of Appreciation:

Shoutout: I'll mention you 💖
Special Mention: Next time I update the project, I'll be sure to include a section on how teamwork makes the dream work, inspired by your support!

Keep shining bright! ✨ Together, we can make this project even better. Feel free to reach out anytime—your insights are always welcome!
Thank you once again, and happy coding! 🚀


Suggestion: add "don't hover the mouse over any link while saving as PDF" to https://se-education.org/guides/tutorials/savingPdf.html

As in the title. I suggest adding "don't hover the mouse over any link while saving as PDF" to https://se-education.org/guides/tutorials/savingPdf.html .
Reason: otherwise one of the link may look blackened and underlined like this.

Good suggestion, @E0735389
Thanks 💯


IP check in add earn isn't checking last IP

We are using the following logic to check for the last IP the user connected from
  const lastIp = lastIPs.length > 0 ? lastIPs[lastIPs.length - 1] : undefined

https://github.com/GaloyMoney/galoy/blob/e821b328d03737f60e9e0d2525b63645cb63aec3/src/app/accounts/add-earn.ts#L55
But when we update the lastIPs in the database we update the entry in place if the user has connected from that IP before
      const lastIP = userIP.lastIPs.find((ipObject) => ipObject.ip === ip)

      if (lastIP) {
        lastIP.lastConnection = lastConnection
      } else {
       ...
        }
        userIP.lastIPs.push(ipInfo)
      }
      const result = await usersIp.update(userIP)

https://github.com/GaloyMoney/galoy/blob/e821b328d03737f60e9e0d2525b63645cb63aec3/src/app/users/get-user.ts#L76
So in the addEarn code we are assuming the IP the user is connecting from is the last one in the array, but that is actually jus the last new IP the user connected from.

@dolcalmi I think you were the last person to touch the addEarn IP protection so interested in your opinion about this.  Also @vindard.

the type of things that should be remove from the core I think

this PR https://github.com/GaloyMoney/galoy/commit/a9a5f5fe1137ae6290517ac27a44d7ab96f9b5e3 should have address this issue
@daviroo please reopen if the issue persists.


Support Ubuntu 24.04

Tell us about your request?
Docker desktop official support for ubuntu 24.04
Which service(s) is this request for?
docker desktop/docker cli
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
there is no official support and docker desktop straight up doesn't open, need it for work.
Are you currently working around the issue?
no

I experience this problem too and there is an open forum for this with several people participating. It would be very interesting if you no longer needed a hack to access docker-desktop on Ubuntu 24.
This is the forum:
https://forums.docker.com/t/cannot-get-docker-desktop-to-run-on-ubuntu-24-04/141004

Thanks for your ticket.
We started publishing deb packages for docker-ce ("docker engine") and the docker cli for Ubuntu 24.04 on download.docker.com, but I'm not sure what the current status is for docker desktop (and if it has been fully verified for the Ubuntu 24.04 release).
I'm not on the team maintaining Docker Desktop for Linux, so let me ask that team if they have more information (and to have a look at the issues reported on the forum).

I tried to run 4.28.0 - it wont start.
I then removed docker completely and installed 4.29.0. This ran as expected yesterday. Today ( after a reboot) its not starting either.

There's a workaround, but it exposes a security issue, you can read more here: https://github.com/docker/desktop-linux/issues/209

Thanks for your ticket.
We started publishing deb packages for docker-ce ("docker engine") and the docker cli for Ubuntu 24.04 on download.docker.com, but I'm not sure what the current status is for docker desktop (and if it has been fully verified for the Ubuntu 24.04 release).
I'm not on the team maintaining Docker Desktop for Linux, so let me ask that team if they have more information (and to have a look at the issues reported on the forum).

Did you ask them for more information?

Did you ask them for more information?

Yes, I asked; team was aware of this, and had a couple of pull-requests related to this, but it was a non-trivial change to make (various parts affected that needed a rewrite); it's still being worked on, but I don't have an ETA currently.

@thaJeztah

We started publishing deb packages for docker-ce ("docker engine") and the docker cli for Ubuntu 24.04

Yes, and the official documentation is also available at https://docs.docker.com/engine/install/ubuntu/ but there seem to be problems at step 2. of the Install using the apt repository:
$ sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'moby-containerd' instead of 'containerd.io'
Package docker-ce is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  moby-cli:armhf moby-engine:armhf moby-cli:arm64 moby-engine:arm64 moby-engine moby-cli

Package docker-ce-cli is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  moby-cli:armhf moby-cli:arm64 moby-cli

Package docker-buildx-plugin is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  moby-buildx:armhf moby-buildx:arm64 moby-buildx

E: Package 'docker-ce' has no installation candidate
E: Package 'docker-ce-cli' has no installation candidate
E: Package 'docker-buildx-plugin' has no installation candidate
E: Unable to locate package docker-compose-plugin

@mloskot That error seems to indicate that either the apt-repository is not properly setup; the content of /etc/apt/sources.list.d/docker.list should look something like;
cat /etc/apt/sources.list.d/docker.list
deb [arch=arm64 signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu noble stable

(the arch= bit depending on the hardware architecture you're running on)
In addition, based on some of the messages, I suspect this may be on a machine that's connected to Microsoft's package repositories and has docker setup from their packages. Microsoft packages docker-ce as moby-engine in their package repositories, and it looks like those packages have a Replace directive, which means they "shadow" the docker-ce packages;
Note, selecting 'moby-containerd' instead of 'containerd.io'
Package docker-ce is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  moby-cli:armhf moby-engine:armhf moby-cli:arm64 moby-engine:arm64 moby-engine moby-cli

The installation instructions already have a step to uninstall packages that are known to conflict (for situations where docker is to be installed on an existing machine that may already have some other distributions of docker installed), but it looks like it currently does not take those packages into account, as they're less common (i.e., not part of packages provided by the Linux distribution itself); https://docs.docker.com/engine/install/ubuntu/#uninstall-old-versions

@thaJeztah I have followed the guide step by step, including the uninstallation part. However, I made a mistake by dumbly copying these commands from the step 1. and pasting into terminal

making a mistake by not noticing there is no && \ continuation at the end of the sudo commands.
Pasting and executing those commands one by one deployed the correct /etc/apt/sources.list.d/docker.list indeed, and that obviously did the trick. Thank you and apologies for the unnecessary noise.

Has there been an ETA established for this?

Thank you for your interest and patience. We want to let you know that we’re actively working on the Linux Ubuntu 24.04, and it's already in the testing phase. It’s coming soon, though we don’t have a confirmed release date just yet.
We’ll keep you updated as progress continues!

I also have this problem with Ubuntu 24.04. I clicked the Docker Desktop icon, but nothing happens. However, when I checked the status of the Docker Desktop service, it shows as running.

Hi friends, Ubuntu 24.04 is now supported on Docker Desktop as of v.4.35
https://docs.docker.com/desktop/release-notes/

Docker Desktop does not open on Ubuntu 22.04 Noble, I have the latest version.
Distributor ID:	Ubuntu
Description:	Ubuntu 24.04.1 LTS
Release:	24.04
Codename:	noble

Docker Desktop does not open on Ubuntu 22.04 Noble, I have the latest version. Distributor ID: Ubuntu Description: Ubuntu 24.04.1 LTS Release: 24.04 Codename: noble

Hey @Ignacio-Trottaa Sorry to hear about this! Can you please help us investigate what's going on by passing us the diagnostic id following instructions in https://docs.docker.com/desktop/troubleshoot/#diagnose-from-the-terminal? Thank you!


fix:fix/error-propagating

the origin implementation
if false {
        Err(ProgramError::UninitializedAccount)
    } else {
        Ok(account)
    }

the line Err(ProgramError::UninitializedAccount) will never be reached, as there is a hardcoded value of false
in fact, in
let account = RandomnessAccountData::try_deserialize(&mut &account_info.data.borrow()[..])?;

when ? is applied, in case there is any error from try_deserialize, the error will return from this line immediately,  the remaining logic will be skipped.
To keep the code tidy, I provided this PR.

Thanks for bringing this to our attention. This is some leftover code which we'll remove in the next version.
Our plan is to release it in the next few days together with the callback version and Anchor 0.30.1 support.


当我使用yarn creact vite react --template react-ts 时无论使用yarn npm 等安装依赖出现的错误

Describe the bug
node 12 14 >=14 都使用过
macos m1

Reproduction
no
System Info
yarn

Used Package Manager
yarn
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

这不是错误。

注意，命令行的输出是 info，不是 warn 也不是 error。
https://github.com/evanw/esbuild/releases/tag/v0.13.0 这里有解释 esbuild 的发布策略。


Look into NBT tags

Take a look at NBT tags for keys and crates to keep better track of what key and crate is what and who owns them etc...

I've spent the evening desperately looking for ways to integrate physical crates into freshly generated BO3 objects, before the chunks are generated.  I feel like I am so close... but I'm not even 100% sure if it's possible.  With the generation and block ID and data folder changes coming to 1.13 however, I am feeling optimistic that this will happen soon.
If this is possible already please find a moment to drop me a line!  I am about ready to call it impossible, for the time.  But the NBT tags would probably help, no?

@adamlaughlin I have never tried doing anything like that but I would assume NBT tags would possibly help. I am quite busy at the moment so I won't be adding NBT tags for a while.

I've started writing the plugin, I will support ArchonCrates.


In-memory reading from tar archives instead of extract to temp folder

Get rid of work with filesystem in fs-unrelated tests.
No more problems like https://github.com/rs-ipfs/rust-ipfs/issues/465 lead to tests failure.

This does seem like a very obvious fix, thanks for this! I don't really know why I failed to consider an inmemory version here initially. The build is a bit broken but we'll look into getting it fixed this week, so I'll leave this pending until fixed.

Not approving for workflow run. Thanks for small PR, lets see if we can just let bors handle this.
bors r+


Line termination inconsistency

Can you please check for line termination in generated tarball.
 $ file *.c *.h src/*.c include/*.h
 hprose.c:                       C source, ASCII text, with CRLF line terminators
 php_hprose.h:                   C source, ASCII text, with CRLF line terminators
 include/hprose.h:               C source, ASCII text, with CRLF line terminators
 ...

All others files are "C source, ASCII text"

OK, Fixed it now.


fix(module:select): add title property for select component

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: #1974
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information

@tirelyl Please rebase to branch:next.

HI @tirelyl , we are going to merge next to master now, plz submit this pr to master now, closed now.


Question/request expose platform file links to discord content

I'd like to put links to the files uploaded to each platform in discord.content rather than using embeds, since that gives me more control over the formatting.
Are these links exposed? I couldn't find where.
If not, could this be added?

This is similar to https://github.com/modmuss50/mod-publish-plugin/issues/28.
I really want to provide a way to fully customise the discord content but I am struggling to think of an ergomic way of doing it. Do you have any suggestions?

I think having a couple presets like you suggested in #28 would be good, paired with ways to override the content and/or the embed(s) that provide access to the links.
As for exposing the links, would setting the content/embeds like this make sense?
discord.supplyContent(links -> {
    // return String with links
})

discord.supplyEmbeds(links -> {
    // return Iterable<DiscordAPI.Embed> with links
})

where links has a getter for each link (and  returns Optional/Provider/@Nullable)
IDK a lot about making groovy DSLs, so IDK if there's a nicer way to provide the links when they're ready.


Fix AzureStorage Config Sample: CloudStorageAccount.Parse & ConnectionString

Parse only accepts a string - to get this sample right inject the ConnectionString property from the config, otherwise a build error will be shown.

Hi @robertmuehsig, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

@robertmuehsig Thanks for this contribution.  I'll send it to the author for review.

Looks good, thanks.